WO2021027485A9 - Information processing method and apparatus, storage medium, and electronic device - Google Patents

Information processing method and apparatus, storage medium, and electronic device Download PDF

Info

Publication number
WO2021027485A9
WO2021027485A9 PCT/CN2020/102449 CN2020102449W WO2021027485A9 WO 2021027485 A9 WO2021027485 A9 WO 2021027485A9 CN 2020102449 W CN2020102449 W CN 2020102449W WO 2021027485 A9 WO2021027485 A9 WO 2021027485A9
Authority
WO
WIPO (PCT)
Prior art keywords
clipboard
information
display interface
input box
display
Prior art date
Application number
PCT/CN2020/102449
Other languages
French (fr)
Chinese (zh)
Other versions
WO2021027485A1 (en
Inventor
卢胤婷
卢军军
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2021027485A1 publication Critical patent/WO2021027485A1/en
Publication of WO2021027485A9 publication Critical patent/WO2021027485A9/en

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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • 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]

Definitions

  • This application relates to the field of computer technology, and specifically to an information processing method, device, storage medium, and electronic equipment.
  • the embodiments of the application provide an information processing method, device, storage medium, and electronic equipment.
  • the user only needs to drag the clipboard to the information input box to paste the copied content.
  • the operation is simple and fast, and the information is improved. Paste efficiency and improve user experience.
  • the technical solution is as follows:
  • an embodiment of the present application provides an information processing method, and the method includes:
  • the target information is displayed in the information input box.
  • an information processing device including:
  • An information storage module configured to receive a copy operation for target information in the first display interface, and store the target information in the clipboard in response to the copy operation;
  • a clipboard display module configured to display a second display interface, and display the clipboard on the second display interface; wherein the second display interface includes an information input box;
  • the information display module is configured to display the target information in the information input box when it is detected that the clipboard is in the information input box.
  • an embodiment of the present application provides a computer storage medium, the computer storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the above method steps.
  • an embodiment of the present application provides an electronic device, which may include a processor and a memory; wherein the memory stores a computer program, and the computer program is adapted to be loaded by the processor and execute the above method steps .
  • FIG. 1 is a schematic flowchart of an information processing method provided by an embodiment of the present application
  • FIGS. 2a-2c are schematic diagrams showing examples of several clipboard display modes on the second display interface provided by embodiments of the present application.
  • FIG. 3 is a schematic diagram of an example of an editing operation on a clipboard provided by an embodiment of the present application
  • FIG. 4 is a schematic flowchart of an information processing method provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of an example of a long-press operation interface for target information provided by an embodiment of the present application
  • FIG. 6 is a schematic diagram of an example of an operation interface for copying target information provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of an example of a prompt interface for successful copying of target information provided by an embodiment of the present application.
  • FIG. 8 is a schematic diagram of an example of a drag operation effect when a second display interface includes an information input box provided by an embodiment of the present application.
  • FIG. 9 is a schematic diagram of an example of a drag operation effect when a second display interface includes multiple information input boxes according to an embodiment of the present application.
  • FIG. 10 is a schematic diagram of an example of a target information sending effect provided by an embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of an information processing device provided by an embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of an information processing device provided by an embodiment of the present application.
  • FIG. 13 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • the information processing method provided by the embodiments of the present application will be described in detail below with reference to FIG. 1 to FIG. 10.
  • the method can be implemented by relying on a computer program, and can be run on a message processing device based on the von Neumann system.
  • the computer program can be integrated in the application or run as an independent tool application.
  • the instruction response device in the embodiment of the present application may be a user terminal, and the user terminal includes, but is not limited to: a smart phone, a personal computer, a tablet computer, a handheld device, a vehicle-mounted device, a wearable device, a computing device, or a wireless connection Other processing equipment of the modem, etc.
  • FIG. 1 is a schematic flowchart of an information processing method provided by an embodiment of this application. As shown in Figure 1, the method of the embodiment of the present application may include the following steps:
  • S101 Receive a copy operation for target information in the first display interface, and store the target information in a clipboard in response to the copy operation;
  • the first display interface is a display interface of any application that is started, and the display interface includes information such as text, pictures, audio, video, and animation.
  • the target information can be any one or more of the above information. When there are multiple types, the target information can be of the same type, such as two text paragraphs, or different types, such as one text paragraph and one picture.
  • the information input box may be included on the first display interface, of course, the information input box may not be included.
  • the information input box is used to input information, as long as it is a compatible format type, such as text, picture, audio, video, animation and other information.
  • the user can perform a copy or cut operation. For example, if you press and hold a paragraph of text in the first display interface, an operation box containing a "copy” control or a "cut” control will be displayed in the text section. The user clicks on the "copy” control to complete the text Copy operation. For another example, select a paragraph of text with the mouse, click the right mouse button and select the copy function to complete the copy operation of the paragraph. After the copy is completed, the copied information will be automatically stored in the clipboard.
  • the clipboard is a continuous memory space in the operating system that can store information along with it, and is used to temporarily store and exchange information.
  • the clipboard is built into the operating system, and uses the system's internal resource RAM or virtual memory to temporarily save the cut and copied information.
  • the storage space of the clipboard is limited. When the storage is online, the newly saved information will overwrite part of the stored information, or the information saved in the clipboard can be periodically cleared.
  • the information processing device detects the operation signal and responds, and at the same time, caches the copied information in the clipboard.
  • the second display interface may be the same interface as the first display interface, or may be a different interface from the first display interface. It should be noted that the second display interface includes an information input box, that is, there is an information input entry, such as a search entry on a search engine interface, an information editing entry on a short message interface, and the like.
  • the clipboard can be directly displayed on the current display interface.
  • the clipboard can be displayed on the display interface after the copying is completed.
  • the user enters the second display interface to perform the operation after completing the operation on the first display interface.
  • the way to enter the second display interface can be to click on the second application icon and start an interface of the second application.
  • the first display interface corresponds to the A application and the second display interface corresponds to the B application.
  • the first display interface and The second display interface is either display interface of the two applications. Or, it can also be to enter another display interface that belongs to the same application as the first display interface. For example, if the first display interface and the second display interface both correspond to the A application, the first display interface and the second display interface may be interfaces of different display levels of the application.
  • the information processing device detects whether the interface includes an information input box, and if so, displays the clipboard on the second display interface. Otherwise, it is not displayed.
  • the clipboard can be displayed on the second display interface in a floating manner.
  • the transparency of the floating icon can be adjusted.
  • the floating icon can be displayed in the default position (such as the upper right corner, the lower right corner, etc.), and the movement of the floating icon can be controlled by the user's drag operation.
  • it is a clipboard displayed as a floating icon.
  • the clipboard can also be displayed on the second display interface in a split-screen manner.
  • the second display interface is divided into a taskbar area and a text area.
  • the taskbar area is located at the top of the display interface, and the clipboard icon is displayed in the taskbar area.
  • the clipboard can be displayed on the second display interface in a folded manner.
  • an input device such as a user's finger, a mouse, or a stylus is placed at the folded position of the icon, the clipboard is displayed on the interface, and when the input device manages the folded position, the clipboard is hidden.
  • the content in the clipboard can be expanded and displayed by double-clicking or long-pressing, so as to facilitate the user to edit.
  • the clipboard is expanded and displayed, including information 1, information 2,..., information 5.
  • the user can select target information (such as selecting information 1) for editing, and after editing is completed, Save the edited content to the clipboard by entering the confirmation command.
  • drag operation that is, drag the clipboard to the information input box.
  • the drag operation refers to an operation process in which the user selects the clipboard and moves on the second display page. This may include information such as dragging trajectory, dragging pressure value, and dragging fingerprints.
  • the drag information of the drag operation it can be judged whether to drag the clipboard to the information input box. If so, read the target information stored in the clipboard and display the target information in the information input box. Further, the simulating click operation generates a confirmation instruction in response to the target information.
  • each drag operation includes three states of DOWN, MOVE and UP, and they all start from ACTION_DOWN to the end of ACTION_UP.
  • voice operation that is, the user enters a voice control command for the clipboard, such as "move the clipboard to the information input box", and control the clipboard movement by parsing the voice control command and responding to the command Go to the information input box and read the target information stored in the clipboard and paste it into the information input box for display.
  • Another feasible operation method is a shaking operation, that is, when the user shakes the user terminal with respect to the clipboard, the clipboard moves on the display interface with the shaking of the user, and when the shaking operation ends, the position of the clipboard is acquired, If the stay position is within the position range of the information input box, it is determined that the clipboard is in the information input box, and the target information stored in the clipboard is read and pasted into the information input box for display.
  • the copy operation for the target information in the first display interface is received, the target information is saved in the clipboard, and the second display interface containing at least one information input box is displayed.
  • the display interface displays the clipboard, and through the user's operation, when it is determined that the clipboard is moved to the information input box, the target information is displayed in the information input box.
  • FIG. 4 is a schematic flowchart of an information processing method provided by an embodiment of this application.
  • the information processing method is applied to a smart phone as an example.
  • the information processing method may include the following steps:
  • S201 When receiving a long-press operation for target information in the first display interface, display an operation box containing a copy control on the first display interface;
  • the first display interface is a display interface of any application opened on the smart phone, and the display interface includes information such as text, pictures, audio, video, and animation.
  • the target information may be any one or more of the above information.
  • the information input box may be included on the first display interface, of course, the information input box may not be included.
  • the description is made by taking as an example that the information input box is not included on the first display interface.
  • FIG. 5 is the display interface of an e-book APP.
  • This display interface is the first display interface.
  • An operation box pops up above the text, and the operation box contains controls such as "cut”, “copy”, “share”, and “select all”.
  • S202 Receive a selection operation for the copy control, and store the target information in a clipboard;
  • the selection operation may be an operation process of selecting a target object through input signals such as a finger, a mouse, a stylus, and voice.
  • the display screen of the smart phone is a touch screen, and a finger touch is taken as an example for description.
  • the clipboard is a continuous memory space in the operating system that can store information along with it, and is used to temporarily store and exchange information.
  • the clipboard is built into the operating system, and uses the system's internal resource RAM or virtual memory to temporarily save the cut and copied information.
  • the storage space of the clipboard is limited. When the storage is online, the newly saved information will overwrite part of the stored information.
  • the information cached in the clipboard can be periodically cleared.
  • the target information When the target information includes multiple, it can be saved in one clipboard. For example, if 3 text paragraphs are currently copied, then these 3 text paragraphs are saved through a clipboard. When the clipboard is displayed on other interfaces, just display a clipboard icon.
  • a prompt box of "copied to clipboard” is displayed on the first display interface, and at the same time, a floating icon corresponding to the clipboard is displayed at a preset position on the display interface.
  • the prompt box is hidden after a preset duration.
  • prompt information is also output, so that it is convenient for the user to re-copy or inform the user of the reason for the failure (such as the copying of media that does not support jpg format), thereby avoiding the user from performing invalid copy operations.
  • S204 Display a second display interface, and display the clipboard on the second display interface in the form of a floating icon; wherein, the second display interface includes an information input box;
  • the second display interface may be the same interface as the first display interface, or may be a different interface from the first display interface. It should be noted that the second display interface includes an input box, that is, there is an information input entry. Of course, multiple information input boxes may also be included on the second display interface. In the embodiment of the present application, the second display interface is different from the first display interface as an example for description.
  • the second display interface is a text message editing interface
  • the operation to start the second display interface can be to exit the first display interface and click the SMS icon to enter the second display interface; it can also be multiple applications running in the background Select the SMS application to enter the second display interface.
  • the second display interface is shown in Figure 8.
  • the interface is started, first confirm whether there is an input box in the interface. If so, the floating icon corresponding to the clipboard is displayed in the preset position, as shown in the middle of the right edge in Figure 8.
  • the floating icon is transparently displayed on the second display interface, and its transparency can be adjusted, so as to prevent the icon from obscuring the content of the short message. At the same time, the icon can be moved on the display interface through user operations.
  • the second display interface when the second display interface includes multiple information input boxes, a corresponding display effect is shown in Figure 9, including information input box 1 and information input box 2. The same information can be input in the two information input boxes. You can also enter different information separately.
  • S205 Receive a drag operation for the floating icon, and obtain a drag end position corresponding to the drag operation;
  • the finger selects the floating icon to drag, and continues to move to the information input box, and then release the finger to complete the dragging process, as shown in Figure 8.
  • the dragged floating icon can continue to be displayed in the original position, or it can be hidden after the user drags successfully.
  • the display interface has multiple information input boxes, as shown in Figure 9, the user can drag and drop them into different input boxes respectively in the above-mentioned manner.
  • the display screen is located in a rectangular coordinate system, as shown in Figure 9, if the four edge points of the information input box 1 are A(x1, y1), B(x2, y2), C(x3, y3), D( x4, y4), then the abscissa range of the information input box 1 is x1 ⁇ x2, x3 ⁇ x4, and the ordinate range is y1 ⁇ y3, y2 ⁇ y4.
  • the coordinates will be compared with the coordinates of the information input box 1, if they are within the position range of the information input box 1, make sure to move the clipboard to the information input box 1 in.
  • the floating icon when it is not dragged into the input box, the floating icon can be moved back to the drag start position.
  • S207 Display the target information in the information input box, generate a confirmation instruction corresponding to the target information, and perform a confirmation operation on the target information in response to the confirmation instruction;
  • the smart phone reads the target information, and automatically fills the read information into the input box for display, and simulates the sending operation (such as clicking the send control) to send the target information, as shown in Figure 10, without the need
  • the target information can be filled into the search box and the search function will be simulated automatically, and the corresponding search will be displayed result.
  • the target information can be understood as the information copied most recently from the current time.
  • the clipboard will be monitored in the background. If the entire closed-loop process of cutting and copying is completed or the clipboard has no content, the clipboard floating icon will not be displayed, as shown in Figure 10. This completes the process of copying and pasting information.
  • the process of pasting text information is also the same.
  • the copy operation for the target information in the first display interface is received, the target information is saved in the clipboard, and the second display interface containing at least one information input box is displayed.
  • the display interface displays the clipboard, and through the user's operation, when it is determined that the clipboard is moved to the information input box, the target information is displayed in the information input box.
  • FIG. 11 shows a schematic structural diagram of an information processing apparatus provided by an exemplary embodiment of the present application.
  • the information processing device can be implemented as all or a part of the user terminal through software, hardware or a combination of the two.
  • the device 1 includes an information storage module 10, a clipboard display module 20, and an information display module 30.
  • the information storage module 10 is configured to receive a copy operation for the target information in the first display interface, and store the target information in the clipboard in response to the copy operation;
  • the clipboard display module 20 is configured to display a second display interface, and display the clipboard on the second display interface; wherein, the second display interface includes an information input box;
  • the information display module 30 is configured to display the target information in the information input box when it is detected that the clipboard is in the information input box.
  • the device further includes:
  • the instruction response module 40 is configured to generate a confirmation instruction corresponding to the target information, and perform a confirmation operation on the target information in response to the confirmation instruction.
  • the information display module 30 is specifically used for:
  • the information display module 30 is specifically used for:
  • the information storage module 10 is specifically used for:
  • the device further includes:
  • the information display module 50 is configured to display a prompt message indicating that the copy is successful on the first display interface when it is determined that the copy is successful.
  • the clipboard display module 20 is specifically used for:
  • the clipboard is displayed on the second display interface in a split-screen manner.
  • the information processing device provided in the above embodiment executes the information processing method
  • only the division of the above functional modules is used as an example for illustration.
  • the above functions can be allocated by different functional modules according to needs.
  • the information processing device and the information processing method embodiment provided in the above embodiment belong to the same concept, and the implementation process is detailed in the method embodiment, which will not be repeated here.
  • the copy operation for the target information in the first display interface is received, the target information is saved in the clipboard, and the second display interface containing at least one information input box is displayed.
  • the display interface displays the clipboard, and through the user's operation, when it is determined that the clipboard is moved to the information input box, the target information is displayed in the information input box.
  • the embodiment of the present application also provides a computer storage medium.
  • the computer storage medium may store a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the method steps of the embodiments shown in FIGS. 1 to 10 above.
  • the specific execution process please refer to the specific description of the embodiments shown in FIG. 1 to FIG. 10, which will not be repeated here.
  • the electronic device 1000 may include: at least one processor 1001, at least one network interface 1004, a user interface 1003, a memory 1005, and at least one communication bus 1002.
  • the communication bus 1002 is used to implement connection and communication between these components.
  • the user interface 1003 may include a display screen (Display) and a camera (Camera), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
  • Display display screen
  • Camera Camera
  • the optional user interface 1003 may also include a standard wired interface and a wireless interface.
  • the network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).
  • the processor 1001 may include one or more processing cores.
  • the processor 1001 uses various excuses and lines to connect various parts of the entire electronic device 1000, and executes by running or executing instructions, programs, code sets or instruction sets stored in the memory 1005, and calling data stored in the memory 1005 Various functions and processing data of the electronic device 1000.
  • the processor 1001 may adopt at least one of digital signal processing (Digital Signal Processing, DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable Logic Array, PLA).
  • DSP Digital Signal Processing
  • FPGA Field-Programmable Gate Array
  • PLA Programmable Logic Array
  • the processor 1001 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), a modem, and the like.
  • the CPU mainly processes the operating system, user interface, and application programs; the GPU is used to render and draw the content that needs to be displayed on the display screen; the modem is used to process wireless communication. It is understandable that the above-mentioned modem may not be integrated into the processor 1001, but may be implemented by a chip alone.
  • the memory 1005 may include random access memory (RAM) or read-only memory (Read-Only Memory).
  • the memory 1005 includes a non-transitory computer-readable storage medium.
  • the memory 1005 may be used to store instructions, programs, codes, code sets or instruction sets.
  • the memory 1005 may include a program storage area and a data storage area, where the program storage area may store instructions for implementing the operating system and instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), Instructions used to implement the foregoing method embodiments, etc.; the storage data area can store data and the like involved in the foregoing method embodiments.
  • the memory 1005 may also be at least one storage device located far away from the foregoing processor 1001.
  • the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an information processing application program.
  • the user interface 1003 is mainly used to provide an input interface for the user to obtain data input by the user; and the processor 1001 can be used to call an information processing application stored in the memory 1005, and specifically Do the following:
  • the target information is displayed in the information input box.
  • the processor 1001 executes displaying the target information in the information input box, it further executes the following operations:
  • a confirmation instruction corresponding to the target information is generated, and a confirmation operation on the target information is performed in response to the confirmation instruction.
  • processor 1001 when the processor 1001 detects that the clipboard is in the information input box, specifically executes the following operations:
  • processor 1001 when the processor 1001 detects that the clipboard is in the information input box, specifically executes the following operations:
  • the processor 1001 specifically executes the following operations when receiving a copy operation for the target information in the first display interface:
  • the processor 1001 after the processor 1001 executes the storage of the target information in the clipboard in response to the copy operation, the processor 1001 further executes the following operations:
  • a prompt message indicating that the copy is successful is displayed on the first display interface.
  • the processor 1001 when the processor 1001 executes displaying the clipboard on the second display interface, it specifically executes the following operations:
  • the clipboard is displayed on the second display interface in a split-screen manner.
  • the copy operation for the target information in the first display interface is received, the target information is saved in the clipboard, and the second display interface containing at least one information input box is displayed.
  • the display interface displays the clipboard, and through the user's operation, when it is determined that the clipboard is moved to the information input box, the target information is displayed in the information input box.
  • the program can be stored in a computer readable storage medium. During execution, it may include the procedures of the above-mentioned method embodiments.
  • the storage medium can be a magnetic disk, an optical disc, a read-only storage memory or a random storage memory, etc.

Landscapes

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

Abstract

Disclosed in embodiments of the present application are an information processing method and apparatus, a storage medium, and an electronic device. The method comprises: receiving a copy operation for target information in a first display interface, and in response to the copy operation, storing the target information to a clipboard; displaying a second display interface, and displaying the clipboard on the second display interface, the second display interface comprising an information input box; and when it is detected that the clipboard is located in the information input box, displaying the target information in the information input box. Therefore, by using the embodiments of the present application, a user can paste copied content only by moving a clipboard into an information input box. The operation is simple and fast, and the information paste efficiency is improved.

Description

信息处理方法、装置、存储介质及电子设备Information processing method, device, storage medium and electronic equipment 技术领域Technical field
本申请涉及计算机技术领域,具体而言,涉及一种信息处理方法、装置、存储介质及电子设备。This application relates to the field of computer technology, and specifically to an information processing method, device, storage medium, and electronic equipment.
背景技术Background technique
目前大部分的用户终端,如智能手机等,都具备复制和粘贴的功能,操作方法也基本相同。具体为,在一个应用程序的页面中选中想要复制的内容并进行复制,然后再进入另一个应用程序的页面,把光标聚焦到想要粘贴所复制内容的位置,再从剪贴板中选择复制的内容以完成粘贴。例如,在通过网页浏览器上网时复制了一段文字,想要作为短信发送出去,此时用户需要退出该网页浏览器,然后在终端上找到短信界面的入口,进入短信界面后选择撰写新短信,而光标默认聚焦在撰写新短信的界面的收件人栏,则需要进一步的将光标移动到正文栏,再从剪贴板中选中这段文字才能进行粘贴,最后选择发送键发送给收件人。At present, most user terminals, such as smart phones, have copy and paste functions, and the operation methods are basically the same. Specifically, select the content you want to copy on the page of one application and copy it, then enter the page of another application, focus the cursor on the location where you want to paste the copied content, and then select Copy from the clipboard To complete the paste. For example, when you copy a piece of text while surfing the Internet through a web browser and want to send it out as a text message, the user needs to log out of the web browser and find the entry of the text message interface on the terminal, and then choose to write a new text message after entering the text message interface. By default, the cursor is focused on the recipient column of the interface for composing a new message, you need to further move the cursor to the text column, and then select this text from the clipboard to paste it, and finally select the send button to send it to the recipient.
发明内容Summary of the invention
本申请实施例提供了一种信息处理方法、装置、存储介质及电子设备,用户只需要将剪贴板拖拽至信息输入框中即可实现对所复制内容的粘贴,操作简单快捷,提高了信息粘贴效率,并提升用户体验。所述技术方案如下:The embodiments of the application provide an information processing method, device, storage medium, and electronic equipment. The user only needs to drag the clipboard to the information input box to paste the copied content. The operation is simple and fast, and the information is improved. Paste efficiency and improve user experience. The technical solution is as follows:
第一方面,本申请实施例提供了一种信息处理方法,所述方法包括:In the first aspect, an embodiment of the present application provides an information processing method, and the method includes:
接收针对第一显示界面中目标信息的复制操作,响应所述复制操作将所述目标信息存储至剪贴板;Receiving a copy operation for the target information in the first display interface, and storing the target information in a clipboard in response to the copy operation;
显示第二显示界面,在所述第二显示界面显示所述剪贴板;其中,所述第二显示界面包含信息输入框;Displaying a second display interface, and displaying the clipboard on the second display interface; wherein the second display interface includes an information input box;
当检测到所述剪贴板处于所述信息输入框时,在所述信息输入框内显示所述目标信息。When it is detected that the clipboard is in the information input box, the target information is displayed in the information input box.
第二方面,本申请实施例提供了一种信息处理装置,所述装置包括:In a second aspect, an embodiment of the present application provides an information processing device, the device including:
信息存储模块,用于接收针对第一显示界面中目标信息的复制操作,响应所述复制操作将所述目标信息存储至剪贴板;An information storage module, configured to receive a copy operation for target information in the first display interface, and store the target information in the clipboard in response to the copy operation;
剪贴板显示模块,用于显示第二显示界面,在所述第二显示界面显示所述剪贴板;其中,所述第二显示界面包含信息输入框;A clipboard display module, configured to display a second display interface, and display the clipboard on the second display interface; wherein the second display interface includes an information input box;
信息显示模块,用于当检测到所述剪贴板处于所述信息输入框时,在所述信息输入框内显示所述目标信息。The information display module is configured to display the target information in the information input box when it is detected that the clipboard is in the information input box.
第三方面,本申请实施例提供一种计算机存储介质,所述计算机存储介质存储有多条指令,所述指令适于由处理器加载并执行上述的方法步骤。In a third aspect, an embodiment of the present application provides a computer storage medium, the computer storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the above method steps.
第四方面,本申请实施例提供一种电子设备,可包括:处理器和存储器;其中,所述存储器存储有计算机程序,所述计算机程序适于由所述处理器加载并执行上述的方法步 骤。In a fourth aspect, an embodiment of the present application provides an electronic device, which may include a processor and a memory; wherein the memory stores a computer program, and the computer program is adapted to be loaded by the processor and execute the above method steps .
附图说明Description of the drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work.
图1是本申请实施例提供的一种信息处理方法的流程示意图;FIG. 1 is a schematic flowchart of an information processing method provided by an embodiment of the present application;
图2a-2c是本申请实施例提供的几种剪贴板在第二显示界面展示方式的举例示意图;2a-2c are schematic diagrams showing examples of several clipboard display modes on the second display interface provided by embodiments of the present application;
图3是本申请实施例提供的一种对剪贴板编辑操作的举例示意图;FIG. 3 is a schematic diagram of an example of an editing operation on a clipboard provided by an embodiment of the present application;
图4是本申请实施例提供的一种信息处理方法的流程示意图;FIG. 4 is a schematic flowchart of an information processing method provided by an embodiment of the present application;
图5是本申请实施例提供的一种目标信息长按操作界面的举例示意图;5 is a schematic diagram of an example of a long-press operation interface for target information provided by an embodiment of the present application;
图6是本申请实施例提供的一种目标信息复制操作界面的举例示意图;6 is a schematic diagram of an example of an operation interface for copying target information provided by an embodiment of the present application;
图7是本申请实施例提供的一种目标信息复制成功的提示界面的举例示意图;FIG. 7 is a schematic diagram of an example of a prompt interface for successful copying of target information provided by an embodiment of the present application;
图8是本申请实施例提供的一种第二显示界面包含一个信息输入框时的拖拽操作效果的举例示意图;FIG. 8 is a schematic diagram of an example of a drag operation effect when a second display interface includes an information input box provided by an embodiment of the present application; FIG.
图9是本申请实施例提供的一种第二显示界面包含多个信息输入框时的拖拽操作效果的举例示意图;9 is a schematic diagram of an example of a drag operation effect when a second display interface includes multiple information input boxes according to an embodiment of the present application;
图10是本申请实施例提供的一种目标信息发送效果的举例示意图;FIG. 10 is a schematic diagram of an example of a target information sending effect provided by an embodiment of the present application;
图11是本申请实施例提供的一种信息处理装置的结构示意图;FIG. 11 is a schematic structural diagram of an information processing device provided by an embodiment of the present application;
图12是本申请实施例提供的一种信息处理装置的结构示意图;FIG. 12 is a schematic structural diagram of an information processing device provided by an embodiment of the present application;
图13是本申请实施例提供的一种电子设备的结构示意图。FIG. 13 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
具体实施方式detailed description
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施例方式作进一步地详细描述。In order to make the purpose, technical solutions, and advantages of the present application clearer, the following will further describe the embodiments of the present application in detail with reference to the accompanying drawings.
下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
在本申请的描述中,需要理解的是,术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本申请中的具体含义。此外,在本申请的描述中,除非另有说明,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。In the description of this application, it should be understood that the terms "first", "second", etc. are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance. For those of ordinary skill in the art, the specific meanings of the above-mentioned terms in this application can be understood under specific circumstances. In addition, in the description of this application, unless otherwise specified, "plurality" means two or more. "And/or" describes the association relationship of the associated objects, indicating that there can be three types of relationships, for example, A and/or B, which can mean: A alone exists, A and B exist at the same time, and B exists alone. The character "/" generally indicates that the associated objects before and after are in an "or" relationship.
在实现上述粘贴功能的过程中,由于复制内容后,需要进行繁冗的界面操作才能将信息粘贴到输入框中,导致粘贴功能不够智能和便捷。In the process of implementing the above-mentioned paste function, since the content is copied, tedious interface operations are required to paste the information into the input box, which results in the paste function not being smart and convenient enough.
为了解决上述技术问题,下面将结合附图1-附图10,对本申请实施例提供的信息处理方法进行详细介绍。该方法可依赖于计算机程序实现,可运行于基于冯诺依曼体系的消息处理装置上。该计算机程序可集成在应用中,也可作为独立的工具类应用运行。其中,本申请实施例中的指令响应装置可以为用户终端,所述用户终端包括但不限于:智能手机、 个人电脑、平板电脑、手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其它处理设备等。In order to solve the above technical problems, the information processing method provided by the embodiments of the present application will be described in detail below with reference to FIG. 1 to FIG. 10. The method can be implemented by relying on a computer program, and can be run on a message processing device based on the von Neumann system. The computer program can be integrated in the application or run as an independent tool application. Wherein, the instruction response device in the embodiment of the present application may be a user terminal, and the user terminal includes, but is not limited to: a smart phone, a personal computer, a tablet computer, a handheld device, a vehicle-mounted device, a wearable device, a computing device, or a wireless connection Other processing equipment of the modem, etc.
请参见图1,为本申请实施例提供的一种信息处理方法的流程示意图。如图1所示,本申请实施例的所述方法可以包括以下步骤:Please refer to FIG. 1, which is a schematic flowchart of an information processing method provided by an embodiment of this application. As shown in Figure 1, the method of the embodiment of the present application may include the following steps:
S101,接收针对第一显示界面中目标信息的复制操作,响应所述复制操作将所述目标信息存储至剪贴板;S101: Receive a copy operation for target information in the first display interface, and store the target information in a clipboard in response to the copy operation;
第一显示界面为所开启的任一应用的某一显示界面,在该显示界面中包括有文本、图片、音频、视频、动画等信息。所述目标信息可以为上述信息中的任一种或多种,当为多种时,可以为同一类型,如两个文本段落,也可以为不同类型,如一个文本段落,一个图片。The first display interface is a display interface of any application that is started, and the display interface includes information such as text, pictures, audio, video, and animation. The target information can be any one or more of the above information. When there are multiple types, the target information can be of the same type, such as two text paragraphs, or different types, such as one text paragraph and one picture.
同时,在第一显示界面上可以包括信息输入框,当然,也可以不包括信息输入框。所述信息输入框用于输入信息,只要是可兼容的格式类型均可输入,如文本、图片、音频、视频、动画等信息。At the same time, the information input box may be included on the first display interface, of course, the information input box may not be included. The information input box is used to input information, as long as it is a compatible format type, such as text, picture, audio, video, animation and other information.
针对第一显示界面上所显示的信息,用户可以进行复制或剪切操作。例如长按第一显示界面中的某段文字,则在该文字部分显示包含“复制”控件或“剪切”控件的操作框,用户点击其中的“复制”控件,从而完成对该段文字的复制操作。又例如,通过鼠标选中某段文字后点击鼠标右键并选择复制功能而完成对该段文字的复制操作。在复制完成后,所复制的信息会自动存储至剪贴板中。For the information displayed on the first display interface, the user can perform a copy or cut operation. For example, if you press and hold a paragraph of text in the first display interface, an operation box containing a "copy" control or a "cut" control will be displayed in the text section. The user clicks on the "copy" control to complete the text Copy operation. For another example, select a paragraph of text with the mouse, click the right mouse button and select the copy function to complete the copy operation of the paragraph. After the copy is completed, the copied information will be automatically stored in the clipboard.
剪贴板是操作系统一段可连续的、可随着存放信息的内存空间,用来临时存放交换信息。剪贴板内置在操作系统中,并且使用系统的内部资源RAM或虚拟内存来临时保存剪切和复制的信息。当然,剪贴板的存储空间有限,当达到存储上线时,新保存的信息就会覆盖一部分已存储的信息,或者,可周期性清除剪贴板中保存的信息。The clipboard is a continuous memory space in the operating system that can store information along with it, and is used to temporarily store and exchange information. The clipboard is built into the operating system, and uses the system's internal resource RAM or virtual memory to temporarily save the cut and copied information. Of course, the storage space of the clipboard is limited. When the storage is online, the newly saved information will overwrite part of the stored information, or the information saved in the clipboard can be periodically cleared.
具体实现中,当用户选中第一显示界面上的目标信息进行复制操作时,信息处理装置检测到该操作信号并响应,同时,将所复制的信息缓存至剪贴板中。In specific implementation, when the user selects the target information on the first display interface to perform a copy operation, the information processing device detects the operation signal and responds, and at the same time, caches the copied information in the clipboard.
S102,显示第二显示界面,在所述第二显示界面显示所述剪贴板;其中,所述第二显示界面包含信息输入框;S102. Display a second display interface, and display the clipboard on the second display interface; wherein, the second display interface includes an information input box;
所述第二显示界面可以为与所述第一显示界面相同的界面,也可以为与所述第一显示界面不同的界面。需要说明的是,在所述第二显示界面中包含有信息输入框,即存在信息输入入口,如搜索引擎界面的搜索入口,短信界面信息编辑入口等。The second display interface may be the same interface as the first display interface, or may be a different interface from the first display interface. It should be noted that the second display interface includes an information input box, that is, there is an information input entry, such as a search entry on a search engine interface, an information editing entry on a short message interface, and the like.
当第二显示界面与第一显示界面相同时,可以直接在当前显示界面显示剪贴板。When the second display interface is the same as the first display interface, the clipboard can be directly displayed on the current display interface.
例如,当需要在短信界面复制一条历史信息并发送给当前号码时,可在复制完成后,在该显示界面显示剪贴板。For example, when you need to copy a piece of historical information on the SMS interface and send it to the current number, you can display the clipboard on the display interface after the copy is completed.
又例如,当在搜索引擎界面复制一条信息后需要在信息搜索框中搜索时,可在复制完成后,在该显示界面显示剪贴板。For another example, when a piece of information needs to be searched in the information search box after copying a piece of information on the search engine interface, the clipboard can be displayed on the display interface after the copying is completed.
当第二显示界面不同于第一显示界面时,用户在第一显示界面操作完成后,则进入第二显示界面进行操作。而进入第二显示界面的方式可以为点击第二应用图标并启动该第二应用的某一界面,例如,第一显示界面对应A应用,第二显示界面对应B应用,那么第一显示界面和第二显示界面分别为这两应用的任一显示界面。或者也可以是进入与第一显示界面属于同一应用的另一显示界面。例如,第一显示界面和第二显示界面均对应A应用,则第一显示界面和第二显示界面可以为该应用的不同显示层次的界面。When the second display interface is different from the first display interface, the user enters the second display interface to perform the operation after completing the operation on the first display interface. The way to enter the second display interface can be to click on the second application icon and start an interface of the second application. For example, the first display interface corresponds to the A application and the second display interface corresponds to the B application. Then the first display interface and The second display interface is either display interface of the two applications. Or, it can also be to enter another display interface that belongs to the same application as the first display interface. For example, if the first display interface and the second display interface both correspond to the A application, the first display interface and the second display interface may be interfaces of different display levels of the application.
需要说明的是,在开启了第二显示界面后,信息处理装置检测在该界面是否包含有信息输入框,若包含,则在该第二显示界面显示剪贴板。否则,则不显示。It should be noted that, after the second display interface is turned on, the information processing device detects whether the interface includes an information input box, and if so, displays the clipboard on the second display interface. Otherwise, it is not displayed.
其中,剪贴板可以悬浮方式显示在第二显示界面。同时,该悬浮图标的透明度可调节,当设置为一定透明度时,可避免覆盖第二显示界面的显示内容。当然,当确定该第二显示 界面包含信息输入框时,可在默认位置(如右上角、右下角等)显示该悬浮图标,并可通过用户的拖拽操作控制该悬浮图标的移动。例如,如图2a所示,为以悬浮图标方式所显示的剪贴板。Among them, the clipboard can be displayed on the second display interface in a floating manner. At the same time, the transparency of the floating icon can be adjusted. When it is set to a certain transparency, it can avoid covering the display content of the second display interface. Of course, when it is determined that the second display interface contains an information input box, the floating icon can be displayed in the default position (such as the upper right corner, the lower right corner, etc.), and the movement of the floating icon can be controlled by the user's drag operation. For example, as shown in Figure 2a, it is a clipboard displayed as a floating icon.
当然,剪贴板还可以分屏方式显示在第二显示界面。如图2b所示,第二显示界面分屏为任务栏区域以及正文区域,任务栏区域位于显示界面的顶端,剪贴板图标显示在该任务栏区域中。Of course, the clipboard can also be displayed on the second display interface in a split-screen manner. As shown in Figure 2b, the second display interface is divided into a taskbar area and a text area. The taskbar area is located at the top of the display interface, and the clipboard icon is displayed in the taskbar area.
可选的,该剪贴板可以折叠方式显示在第二显示界面。如图2c所示,当用户手指、鼠标或者触控笔等输入设备放置在图标的折叠位置处时,剪贴板在界面上进行显示,当输入设备理该该折叠位置时,该剪贴板隐藏。Optionally, the clipboard can be displayed on the second display interface in a folded manner. As shown in Figure 2c, when an input device such as a user's finger, a mouse, or a stylus is placed at the folded position of the icon, the clipboard is displayed on the interface, and when the input device manages the folded position, the clipboard is hidden.
进一步的,当用户需要对所显示的剪贴板中的目标信息进行编辑修改时,可通过双击或长按等方式展开显示剪贴板中的内容,从而方便用户编辑。如图3所示,当用户点击剪贴板时,剪贴板展开显示,包括信息1、信息2、…、信息5,用户可选择目标信息(如选择信息1)进行编辑,并在编辑完成后,通过输入确认指令将编辑后的内容保存至剪贴板中。Further, when the user needs to edit and modify the target information in the displayed clipboard, the content in the clipboard can be expanded and displayed by double-clicking or long-pressing, so as to facilitate the user to edit. As shown in Figure 3, when the user clicks on the clipboard, the clipboard is expanded and displayed, including information 1, information 2,..., information 5. The user can select target information (such as selecting information 1) for editing, and after editing is completed, Save the edited content to the clipboard by entering the confirmation command.
S103,当检测到所述剪贴板处于所述信息输入框时,在所述信息输入框内显示所述目标信息。S103: When it is detected that the clipboard is in the information input box, display the target information in the information input box.
一种可行的操作方式为拖拽操作,即将剪贴板拖拽至信息输入框。所述拖拽操作是指用户选中剪贴板并在第二显示页面移动的操作过程。其中可包括拖拽轨迹、拖拽压力值、拖拽指纹等信息。One feasible operation method is drag operation, that is, drag the clipboard to the information input box. The drag operation refers to an operation process in which the user selects the clipboard and moves on the second display page. This may include information such as dragging trajectory, dragging pressure value, and dragging fingerprints.
当拖拽轨迹的拖拽终点坐标位于信息输入框的坐标范围内时,可确定将该剪贴板拖拽至信息输入框中;当拖拽压力值属于预设压力值范围(不同拖拽压力值对应不同的拖拽区域)时,可确定将该剪贴板拖拽至信息输入框中;当拖拽指纹与预设指纹相匹配(不同拖拽指纹对应不同的拖拽区域)时,可确定将该剪贴板拖拽至信息输入框中。When the drag end point coordinates of the drag track are within the coordinate range of the information input box, you can determine to drag the clipboard to the information input box; when the drag pressure value belongs to the preset pressure value range (different drag pressure values Corresponding to different drag areas), you can determine to drag the clipboard to the information input box; when the drag fingerprint matches the preset fingerprint (different drag fingerprints correspond to different drag areas), you can determine to drag Drag the clipboard to the information input box.
即通过拖拽操作的拖拽信息可判断是否将剪贴板拖拽至信息输入框中,若是,则读取剪贴板中所存储的目标信息,并将该目标信息在信息输入框中进行显示,进一步的,模拟点击操作生成确认指令以响应该目标信息。That is, through the drag information of the drag operation, it can be judged whether to drag the clipboard to the information input box. If so, read the target information stored in the clipboard and display the target information in the information input box. Further, the simulating click operation generates a confirmation instruction in response to the target information.
需要说明的是,对于android系统而言,每个拖拽操作(Touch事件)包括DOWN、MOVE以及UP三个状态,且都是从ACTION_DOWN开始到ACTION_UP结束,It should be noted that for the android system, each drag operation (Touch event) includes three states of DOWN, MOVE and UP, and they all start from ACTION_DOWN to the end of ACTION_UP.
其中,对于单手指操作:Among them, for single finger operation:
ACTION_DOWN---ACTION_MOVE----ACTION_UPACTION_DOWN---ACTION_MOVE----ACTION_UP
对于多手指操作:For multi-finger operation:
ACTION_DOWN---ACTION_POINTER_DOWN---ACTION_MOVE--ACTION_POINTER_UP---ACTION_UP。ACTION_DOWN---ACTION_POINTER_DOWN---ACTION_MOVE--ACTION_POINTER_UP---ACTION_UP.
因此,当检测到拖拽操作对应的状态为ACTION_UP时,表明拖拽结束,则获取该拖拽操作的拖拽信息。Therefore, when it is detected that the state corresponding to the drag operation is ACTION_UP, it indicates that the drag is ended, and the drag information of the drag operation is acquired.
另一种可行的操作方式为语音操作,即用户针对剪贴板输入语音控制指令,如“将剪贴板移动至信息输入框中”,通过对语音控制指令的解析并响应该指令,控制剪贴板移动到信息输入框中,并读取剪贴板中所存储的目标信息粘贴至该信息输入框中进行显示。Another feasible operation method is voice operation, that is, the user enters a voice control command for the clipboard, such as "move the clipboard to the information input box", and control the clipboard movement by parsing the voice control command and responding to the command Go to the information input box and read the target information stored in the clipboard and paste it into the information input box for display.
另一种可行的操作方式为摇动操作,即用户针对剪贴板摇晃用户终端时,剪贴板随着用户的摇晃在显示界面移动,当在所述摇动操作结束时获取所述剪贴板的停留位置,若所述停留位置位于所述信息输入框的位置范围内时,确定所述剪贴板处于所述信息输入框,并读取剪贴板中所存储的目标信息粘贴至该信息输入框中进行显示。Another feasible operation method is a shaking operation, that is, when the user shakes the user terminal with respect to the clipboard, the clipboard moves on the display interface with the shaking of the user, and when the shaking operation ends, the position of the clipboard is acquired, If the stay position is within the position range of the information input box, it is determined that the clipboard is in the information input box, and the target information stored in the clipboard is read and pasted into the information input box for display.
在本申请实施例中,接收针对第一显示界面中目标信息的复制操作,将该目标信息保存到剪贴板中,并显示包含有至少一个信息输入框的第二显示界面,在所述第二显示界面 显示所述剪贴板,通过用户的操作,当确定该剪贴板移动到信息输入框中时,在所述信息输入框内显示所述目标信息。通过将所复制的内容存放至剪贴板中,并在需要粘贴的界面显示该剪贴板,用户只需要将剪贴板移动至信息输入框中即可实现对所复制内容的粘贴,操作简单快捷,提高了信息粘贴效率,并提升用户体验。In the embodiment of the present application, the copy operation for the target information in the first display interface is received, the target information is saved in the clipboard, and the second display interface containing at least one information input box is displayed. The display interface displays the clipboard, and through the user's operation, when it is determined that the clipboard is moved to the information input box, the target information is displayed in the information input box. By storing the copied content in the clipboard, and displaying the clipboard on the interface that needs to be pasted, the user only needs to move the clipboard to the information input box to paste the copied content. The operation is simple and fast, and it improves Improve the efficiency of information pasting and improve user experience.
请参见图4,为本申请实施例提供的一种信息处理方法的流程示意图。本实施例以信息处理方法应用于智能手机中来举例说明。该信息处理方法可以包括以下步骤:Please refer to FIG. 4, which is a schematic flowchart of an information processing method provided by an embodiment of this application. In this embodiment, the information processing method is applied to a smart phone as an example. The information processing method may include the following steps:
S201,接收针对第一显示界面中目标信息的长按操作时,在所述第一显示界面显示包含复制控件的操作框;S201: When receiving a long-press operation for target information in the first display interface, display an operation box containing a copy control on the first display interface;
第一显示界面为智能手机上所开启的任一应用的某一显示界面,在该显示界面中包括有文本、图片、音频、视频、动画等信息。所述目标信息可以为上述信息中的任一种或多种。The first display interface is a display interface of any application opened on the smart phone, and the display interface includes information such as text, pictures, audio, video, and animation. The target information may be any one or more of the above information.
同时,在第一显示界面上可以包括信息输入框,当然,也可以不包括信息输入框。在本申请实施例中,以第一显示界面上不包括信息输入框为例进行描述。At the same time, the information input box may be included on the first display interface, of course, the information input box may not be included. In the embodiment of the present application, the description is made by taking as an example that the information input box is not included on the first display interface.
例如,如图5所示为一电子书APP的显示界面,该显示界面为第一显示界面,当用户用手指选中“《权力的游戏》(Game of Thrones)”这段文字并长按时,在该文字上方弹出操作框,在操作框中包含“剪切”、“复制”、“分享”、“全选”等各控件。For example, as shown in Figure 5 is the display interface of an e-book APP. This display interface is the first display interface. When the user selects the text "Game of Thrones" with a finger and long presses it, An operation box pops up above the text, and the operation box contains controls such as "cut", "copy", "share", and "select all".
S202,接收针对所述复制控件的选择操作,将所述目标信息存储至剪贴板中;S202: Receive a selection operation for the copy control, and store the target information in a clipboard;
所述选择操作可以为通过手指、鼠标、触控笔、语音等输入信号选择目标对象的操作过程。在本申请实施例中,智能手机的显示屏为触控屏,以手指触控为例进行说明。The selection operation may be an operation process of selecting a target object through input signals such as a finger, a mouse, a stylus, and voice. In the embodiment of the present application, the display screen of the smart phone is a touch screen, and a finger touch is taken as an example for description.
例如,如图6所示,用户通过手指点击其中的“复制”控件,从而完成对这段文字的复制操作,并同步将这段文字保存至剪贴板中。For example, as shown in Figure 6, the user clicks on the "copy" control with his finger to complete the copy operation of this paragraph of text, and synchronously save the paragraph to the clipboard.
当然,也可点击其中的“剪切”控件以实现对这段文字的复制操作。Of course, you can also click on the "cut" control to copy the text.
剪贴板是操作系统一段可连续的、可随着存放信息的内存空间,用来临时存放交换信息。剪贴板内置在操作系统中,并且使用系统的内部资源RAM或虚拟内存来临时保存剪切和复制的信息。当然,剪贴板的存储空间有限,当达到存储上线时,新保存的信息就会覆盖一部分已存储的信息。The clipboard is a continuous memory space in the operating system that can store information along with it, and is used to temporarily store and exchange information. The clipboard is built into the operating system, and uses the system's internal resource RAM or virtual memory to temporarily save the cut and copied information. Of course, the storage space of the clipboard is limited. When the storage is online, the newly saved information will overwrite part of the stored information.
可选的,可周期性清空剪贴板中缓存的信息。Optionally, the information cached in the clipboard can be periodically cleared.
当目标信息包括多个时,可通过一个剪贴板保存。例如,当前复制了3个文本段落,那么这3个文本段落都通过一个剪贴板保存,当在其他界面显示剪贴板时,显示一个剪贴板图标即可。When the target information includes multiple, it can be saved in one clipboard. For example, if 3 text paragraphs are currently copied, then these 3 text paragraphs are saved through a clipboard. When the clipboard is displayed on other interfaces, just display a clipboard icon.
S203,当确定复制成功时,在所述第一显示界面展示复制成功的提示信息;S203: When it is determined that the copying is successful, a prompt message indicating that the copying is successful is displayed on the first display interface;
在复制完成后,判断剪切板中是否存储有所复制的目标信息,若有,则复制成功,并输出提示信息以告知用户,从而可避免在未复制成功时,导致后续粘贴识别而用户无法知晓失败原因。After the copy is completed, judge whether the copied target information is stored in the clipboard. If so, the copy is successful, and a prompt message is output to inform the user, so as to avoid the subsequent paste recognition when the copy is not successful, and the user cannot be recognized. Know the reason for the failure.
例如,如图7所示,当确定复制成功时,在该第一显示界面显示“已复制到剪贴板”的提示框,同时,在该显示界面预设位置显示剪贴板对应的悬浮图标。可选的,该提示框在预设时长后隐藏。For example, as shown in FIG. 7, when it is determined that the copy is successful, a prompt box of "copied to clipboard" is displayed on the first display interface, and at the same time, a floating icon corresponding to the clipboard is displayed at a preset position on the display interface. Optionally, the prompt box is hidden after a preset duration.
可选的,当复制失败时,同样输出提示信息,从而可方便用户再重新复制或者告知用户失败原因(如不支持jpg格式的媒体的复制),进而可避免用户做无效的复制操作。Optionally, when the copy fails, prompt information is also output, so that it is convenient for the user to re-copy or inform the user of the reason for the failure (such as the copying of media that does not support jpg format), thereby avoiding the user from performing invalid copy operations.
S204,显示第二显示界面,以悬浮图标方式在所述第二显示界面显示所述剪贴板;其中,所述第二显示界面包含信息输入框;S204: Display a second display interface, and display the clipboard on the second display interface in the form of a floating icon; wherein, the second display interface includes an information input box;
所述第二显示界面可以为与所述第一显示界面相同的界面,也可以为与所述第一显示界面不同的界面。需要说明的是,在所述第二显示界面中包含有输入框,即存在信息输入 入口。当然,在第二显示界面上也可以包括多个信息输入框。在本申请实施例中,以第二显示界面不同于第一显示界面为例进行说明。The second display interface may be the same interface as the first display interface, or may be a different interface from the first display interface. It should be noted that the second display interface includes an input box, that is, there is an information input entry. Of course, multiple information input boxes may also be included on the second display interface. In the embodiment of the present application, the second display interface is different from the first display interface as an example for description.
例如,第二显示界面为短信编辑界面,启动该第二显示界面的操作方式可以为退出第一显示界面,并点击短信图标,从而进入第二显示界面;也可以为在后台运行的多个应用中选择短信应用,从而进入第二显示界面。第二显示界面如图8所示,当启动该界面后,首先确认在该界面是否有输入框,若有,则在预设位置显示剪贴板对应的悬浮图标,如图8中右边缘中部。该悬浮图标透明显示在第二显示界面上,其透明度可调节,从而避免该图标遮挡短信内容。同时,该图标可通过用户的操作在显示界面移动。For example, the second display interface is a text message editing interface, and the operation to start the second display interface can be to exit the first display interface and click the SMS icon to enter the second display interface; it can also be multiple applications running in the background Select the SMS application to enter the second display interface. The second display interface is shown in Figure 8. When the interface is started, first confirm whether there is an input box in the interface. If so, the floating icon corresponding to the clipboard is displayed in the preset position, as shown in the middle of the right edge in Figure 8. The floating icon is transparently displayed on the second display interface, and its transparency can be adjusted, so as to prevent the icon from obscuring the content of the short message. At the same time, the icon can be moved on the display interface through user operations.
其中,当第二显示界面包括多个信息输入框时,其对应的一种显示效果如图9所示,包括信息输入框1和信息输入框2,两信息输入框中可输入相同的信息,也可以分别输入不同的信息。Wherein, when the second display interface includes multiple information input boxes, a corresponding display effect is shown in Figure 9, including information input box 1 and information input box 2. The same information can be input in the two information input boxes. You can also enter different information separately.
S205,接收针对所述悬浮图标的拖拽操作,获取所述拖拽操作对应的拖拽终点位置;S205: Receive a drag operation for the floating icon, and obtain a drag end position corresponding to the drag operation;
手指选中该悬浮图标进行拖拽,并持续移动到信息输入框中,再松开手指,从而完成拖拽过程,如图8所示。而被拖拽的悬浮图标可以在原来位置继续显示,也可在用户拖拽成功后隐藏。The finger selects the floating icon to drag, and continues to move to the information input box, and then release the finger to complete the dragging process, as shown in Figure 8. The dragged floating icon can continue to be displayed in the original position, or it can be hidden after the user drags successfully.
若显示界面有多个信息输入框,如图9所示,用户可按照上述方式分别拖拽至不同的输入框中。If the display interface has multiple information input boxes, as shown in Figure 9, the user can drag and drop them into different input boxes respectively in the above-mentioned manner.
在拖拽结束后(手指松开时),获取该拖拽操作的拖拽轨迹,并获取拖拽轨迹的终点坐标。After the drag is finished (when the finger is released), the drag trajectory of the drag operation is obtained, and the end point coordinates of the drag trajectory are obtained.
S206,当所述拖拽终点位置位于所述信息输入框的位置范围内时,确定所述剪贴板处于所述信息输入框;S206: When the drag end position is within the position range of the information input box, determine that the clipboard is in the information input box;
显示屏位于一直角坐标系中,如图9所示,若信息输入框1的四个边缘点分别为A(x1,y1)、B(x2,y2)、C(x3,y3)、D(x4,y4),那么,该信息输入框1的横坐标范围为x1~x2,x3~x4,纵坐标范围为y1~y3,y2~y4。The display screen is located in a rectangular coordinate system, as shown in Figure 9, if the four edge points of the information input box 1 are A(x1, y1), B(x2, y2), C(x3, y3), D( x4, y4), then the abscissa range of the information input box 1 is x1~x2, x3~x4, and the ordinate range is y1~y3, y2~y4.
若拖拽终点坐标为(x0,y0),则将该坐标分别与信息输入框1的坐标进行比对,若为与信息输入框1的位置范围内,确定将该剪贴板移动到信息输入框1中。If the drag end point coordinates are (x0, y0), then the coordinates will be compared with the coordinates of the information input box 1, if they are within the position range of the information input box 1, make sure to move the clipboard to the information input box 1 in.
可选的,当未拖拽至输入框中时,该悬浮图标可回退至拖拽起点位置。Optionally, when it is not dragged into the input box, the floating icon can be moved back to the drag start position.
S207,在所述信息输入框内显示所述目标信息,生成所述目标信息对应的确认指令,响应所述确认指令执行对所述目标信息的确认操作;S207: Display the target information in the information input box, generate a confirmation instruction corresponding to the target information, and perform a confirmation operation on the target information in response to the confirmation instruction;
智能手机读取目标信息,并将所读取的信息自动填入到输入框中进行显示,同时模拟发送操作(如点击发送控件)将该目标信息发送出去,如图10所示,而不需要用户点击发送控件进行发送,减少用户操作流程。The smart phone reads the target information, and automatically fills the read information into the input box for display, and simulates the sending operation (such as clicking the send control) to send the target information, as shown in Figure 10, without the need The user clicks the send control to send, reducing the user's operation flow.
相应的,若第二显示页面为浏览器的某一显示页面,将悬浮图标拖拽至搜索框中后,则可将该目标信息填入搜索框并模拟搜索功能自动搜索,并显示相应的搜索结果。Correspondingly, if the second display page is a certain display page of the browser, after dragging the floating icon into the search box, the target information can be filled into the search box and the search function will be simulated automatically, and the corresponding search will be displayed result.
需要说明的是,剪贴板中缓存的信息可能较多,所述目标信息可以理解为距离当前时间最近一次所复制的信息。It should be noted that there may be more information cached in the clipboard, and the target information can be understood as the information copied most recently from the current time.
可选的,隐藏所述悬浮图标。即在目标信息发送出去以后,后台会对剪切板进行监听,如果完成了整个剪切复制的闭环流程或当剪切板没有内容时则不显示剪切板悬浮图标,如图10所示,从而完成信息的复制粘贴流程。Optionally, hide the floating icon. That is, after the target information is sent, the clipboard will be monitored in the background. If the entire closed-loop process of cutting and copying is completed or the clipboard has no content, the clipboard floating icon will not be displayed, as shown in Figure 10. This completes the process of copying and pasting information.
可选的,若目标信息为图片,将剪贴板移动到信息输入框中时,也与文本信息的粘贴过程相同,当然也可以不需要在输入框中显示该图片,而是模拟确认操作直接将图片发送出去。Optionally, if the target information is a picture, when the clipboard is moved to the information input box, the process of pasting text information is also the same. Of course, it is not necessary to display the picture in the input box, but simulate the confirmation operation directly The picture is sent out.
在本申请实施例中,接收针对第一显示界面中目标信息的复制操作,将该目标信息保存到剪贴板中,并显示包含有至少一个信息输入框的第二显示界面,在所述第二显示界面 显示所述剪贴板,通过用户的操作,当确定该剪贴板移动到信息输入框中时,在所述信息输入框内显示所述目标信息。通过将所复制的内容存放至剪贴板中,并在需要粘贴的界面显示该剪贴板,用户只需要将剪贴板移动至信息输入框中即可实现对所复制内容的粘贴,操作简单快捷,提高了信息粘贴效率,并提升用户体验。同时,将信息粘贴至信息输入框中后,还可以模拟确认操作,从而减少了用户点击确认控键的操作,进一步提升了信息粘贴的智能性并提升用户体验。In the embodiment of the present application, the copy operation for the target information in the first display interface is received, the target information is saved in the clipboard, and the second display interface containing at least one information input box is displayed. The display interface displays the clipboard, and through the user's operation, when it is determined that the clipboard is moved to the information input box, the target information is displayed in the information input box. By storing the copied content in the clipboard, and displaying the clipboard on the interface that needs to be pasted, the user only needs to move the clipboard to the information input box to paste the copied content. The operation is simple and fast, and it improves Improve the efficiency of information pasting and improve user experience. At the same time, after pasting the information into the information input box, the confirmation operation can also be simulated, thereby reducing the operation of the user to click the confirmation control key, further enhancing the intelligence of information pasting and improving the user experience.
下述为本申请装置实施例,可以用于执行本申请方法实施例。对于本申请装置实施例中未披露的细节,请参照本申请方法实施例。The following are device embodiments of this application, which can be used to execute the method embodiments of this application. For details not disclosed in the device embodiment of this application, please refer to the method embodiment of this application.
请参见图11,其示出了本申请一个示例性实施例提供的信息处理装置的结构示意图。该信息处理装置可以通过软件、硬件或者两者的结合实现成为用户终端的全部或一部分。该装置1包括信息存储模块10、剪贴板显示模块20和信息显示模块30。Please refer to FIG. 11, which shows a schematic structural diagram of an information processing apparatus provided by an exemplary embodiment of the present application. The information processing device can be implemented as all or a part of the user terminal through software, hardware or a combination of the two. The device 1 includes an information storage module 10, a clipboard display module 20, and an information display module 30.
信息存储模块10,用于接收针对第一显示界面中目标信息的复制操作,响应所述复制操作将所述目标信息存储至剪贴板;The information storage module 10 is configured to receive a copy operation for the target information in the first display interface, and store the target information in the clipboard in response to the copy operation;
剪贴板显示模块20,用于显示第二显示界面,在所述第二显示界面显示所述剪贴板;其中,所述第二显示界面包含信息输入框;The clipboard display module 20 is configured to display a second display interface, and display the clipboard on the second display interface; wherein, the second display interface includes an information input box;
信息显示模块30,用于当检测到所述剪贴板处于所述信息输入框时,在所述信息输入框内显示所述目标信息。The information display module 30 is configured to display the target information in the information input box when it is detected that the clipboard is in the information input box.
可选的,如图12所示,所述装置还包括:Optionally, as shown in FIG. 12, the device further includes:
指令响应模块40,用于生成所述目标信息对应的确认指令,响应所述确认指令执行对所述目标信息的确认操作。The instruction response module 40 is configured to generate a confirmation instruction corresponding to the target information, and perform a confirmation operation on the target information in response to the confirmation instruction.
可选的,所述信息显示模块30,具体用于:Optionally, the information display module 30 is specifically used for:
接收针对所述剪贴板的拖拽操作,获取所述拖拽操作对应的拖拽终点位置;Receiving a drag operation on the clipboard, and obtaining a drag end position corresponding to the drag operation;
当所述拖拽终点位置位于所述信息输入框的位置范围内时,确定所述剪贴板处于所述信息输入框。When the drag end position is within the position range of the information input box, it is determined that the clipboard is in the information input box.
可选的,所述信息显示模块30,具体用于:Optionally, the information display module 30 is specifically used for:
接收针对所述剪贴板的摇动操作,在所述摇动操作结束时获取所述剪贴板的停留位置;Receiving a shaking operation for the clipboard, and obtaining the stay position of the clipboard when the shaking operation ends;
当所述停留位置位于所述信息输入框的位置范围内时,确定所述剪贴板处于所述信息输入框。When the stay position is within the position range of the information input box, it is determined that the clipboard is in the information input box.
可选的,所述信息存储模块10,具体用于:Optionally, the information storage module 10 is specifically used for:
接收针对第一显示界面中目标信息的长按操作时,在所述第一显示界面显示包含复制控件的操作框;When receiving a long-press operation for the target information in the first display interface, display an operation box containing a copy control on the first display interface;
接收针对所述复制控件的选择操作。Receive a selection operation for the copy control.
可选的,如图12所示,所述装置还包括:Optionally, as shown in FIG. 12, the device further includes:
信息展示模块50,用于当确定复制成功时,在所述第一显示界面展示复制成功的提示信息。The information display module 50 is configured to display a prompt message indicating that the copy is successful on the first display interface when it is determined that the copy is successful.
可选的,所述剪贴板显示模块20,具体用于:Optionally, the clipboard display module 20 is specifically used for:
以悬浮图标方式在所述第二显示界面显示所述剪贴板;或Display the clipboard on the second display interface in the form of a floating icon; or
以分屏方式在所述第二显示界面显示所述剪贴板。The clipboard is displayed on the second display interface in a split-screen manner.
需要说明的是,上述实施例提供的信息处理装置在执行信息处理方法时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的信息处理装置与信息处理方法实施例属于同一构思,其 体现实现过程详见方法实施例,这里不再赘述。It should be noted that, when the information processing device provided in the above embodiment executes the information processing method, only the division of the above functional modules is used as an example for illustration. In actual applications, the above functions can be allocated by different functional modules according to needs. , Divide the internal structure of the device into different functional modules to complete all or part of the functions described above. In addition, the information processing device and the information processing method embodiment provided in the above embodiment belong to the same concept, and the implementation process is detailed in the method embodiment, which will not be repeated here.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the foregoing embodiments of the present application are only for description, and do not represent the superiority or inferiority of the embodiments.
在本申请实施例中,接收针对第一显示界面中目标信息的复制操作,将该目标信息保存到剪贴板中,并显示包含有至少一个信息输入框的第二显示界面,在所述第二显示界面显示所述剪贴板,通过用户的操作,当确定该剪贴板移动到信息输入框中时,在所述信息输入框内显示所述目标信息。通过将所复制的内容存放至剪贴板中,并在需要粘贴的界面显示该剪贴板,用户只需要将剪贴板移动至信息输入框中即可实现对所复制内容的粘贴,操作简单快捷,提高了信息粘贴效率,并提升用户体验。同时,将信息粘贴至信息输入框中后,还可以模拟确认操作,从而减少了用户点击确认控键的操作,进一步提升了信息粘贴的智能性并提升用户体验。In the embodiment of the present application, the copy operation for the target information in the first display interface is received, the target information is saved in the clipboard, and the second display interface containing at least one information input box is displayed. The display interface displays the clipboard, and through the user's operation, when it is determined that the clipboard is moved to the information input box, the target information is displayed in the information input box. By storing the copied content in the clipboard, and displaying the clipboard on the interface that needs to be pasted, the user only needs to move the clipboard to the information input box to paste the copied content. The operation is simple and fast, and it improves Improve the efficiency of information pasting and improve user experience. At the same time, after pasting the information into the information input box, the confirmation operation can also be simulated, thereby reducing the operation of the user to click the confirmation control key, further enhancing the intelligence of information pasting and improving the user experience.
本申请实施例还提供了一种计算机存储介质,所述计算机存储介质可以存储有多条指令,所述指令适于由处理器加载并执行如上述图1-图10所示实施例的方法步骤,具体执行过程可以参见图1-图10所示实施例的具体说明,在此不进行赘述。The embodiment of the present application also provides a computer storage medium. The computer storage medium may store a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the method steps of the embodiments shown in FIGS. 1 to 10 above. For the specific execution process, please refer to the specific description of the embodiments shown in FIG. 1 to FIG. 10, which will not be repeated here.
请参见图14,为本申请实施例提供了一种电子设备的结构示意图。如图14所示,所述电子设备1000可以包括:至少一个处理器1001,至少一个网络接口1004,用户接口1003,存储器1005,至少一个通信总线1002。Please refer to FIG. 14, which provides a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in FIG. 14, the electronic device 1000 may include: at least one processor 1001, at least one network interface 1004, a user interface 1003, a memory 1005, and at least one communication bus 1002.
其中,通信总线1002用于实现这些组件之间的连接通信。Among them, the communication bus 1002 is used to implement connection and communication between these components.
其中,用户接口1003可以包括显示屏(Display)、摄像头(Camera),可选用户接口1003还可以包括标准的有线接口、无线接口。The user interface 1003 may include a display screen (Display) and a camera (Camera), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
其中,网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。Among them, the network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).
其中,处理器1001可以包括一个或者多个处理核心。处理器1001利用各种借口和线路连接整个电子设备1000内的各个部分,通过运行或执行存储在存储器1005内的指令、程序、代码集或指令集,以及调用存储在存储器1005内的数据,执行电子设备1000的各种功能和处理数据。可选的,处理器1001可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器1001可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示屏所需要显示的内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器1001中,单独通过一块芯片进行实现。The processor 1001 may include one or more processing cores. The processor 1001 uses various excuses and lines to connect various parts of the entire electronic device 1000, and executes by running or executing instructions, programs, code sets or instruction sets stored in the memory 1005, and calling data stored in the memory 1005 Various functions and processing data of the electronic device 1000. Optionally, the processor 1001 may adopt at least one of digital signal processing (Digital Signal Processing, DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable Logic Array, PLA). A kind of hardware form to realize. The processor 1001 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), a modem, and the like. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is used to render and draw the content that needs to be displayed on the display screen; the modem is used to process wireless communication. It is understandable that the above-mentioned modem may not be integrated into the processor 1001, but may be implemented by a chip alone.
其中,存储器1005可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。可选的,该存储器1005包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器1005可用于存储指令、程序、代码、代码集或指令集。存储器1005可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现上述各个方法实施例的指令等;存储数据区可存储上面各个方法实施例中涉及到的数据等。存储器1005可选的还可以是至少一个位于远离前述处理器1001的存储装置。如图14所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及信息处理应用程序。The memory 1005 may include random access memory (RAM) or read-only memory (Read-Only Memory). Optionally, the memory 1005 includes a non-transitory computer-readable storage medium. The memory 1005 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 1005 may include a program storage area and a data storage area, where the program storage area may store instructions for implementing the operating system and instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), Instructions used to implement the foregoing method embodiments, etc.; the storage data area can store data and the like involved in the foregoing method embodiments. Optionally, the memory 1005 may also be at least one storage device located far away from the foregoing processor 1001. As shown in FIG. 14, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an information processing application program.
在图14所示的电子设备1000中,用户接口1003主要用于为用户提供输入的接口,获取用户输入的数据;而处理器1001可以用于调用存储器1005中存储的信息处理应用程 序,并具体执行以下操作:In the electronic device 1000 shown in FIG. 14, the user interface 1003 is mainly used to provide an input interface for the user to obtain data input by the user; and the processor 1001 can be used to call an information processing application stored in the memory 1005, and specifically Do the following:
接收针对第一显示界面中目标信息的复制操作,响应所述复制操作将所述目标信息存储至剪贴板;Receiving a copy operation for the target information in the first display interface, and storing the target information in a clipboard in response to the copy operation;
显示第二显示界面,在所述第二显示界面显示所述剪贴板;其中,所述第二显示界面包含信息输入框;Displaying a second display interface, and displaying the clipboard on the second display interface; wherein the second display interface includes an information input box;
当检测到所述剪贴板处于所述信息输入框时,在所述信息输入框内显示所述目标信息。When it is detected that the clipboard is in the information input box, the target information is displayed in the information input box.
在一个实施例中,所述处理器1001在执行在所述信息输入框内显示所述目标信息之后,还执行以下操作:In an embodiment, after the processor 1001 executes displaying the target information in the information input box, it further executes the following operations:
生成所述目标信息对应的确认指令,响应所述确认指令执行对所述目标信息的确认操作。A confirmation instruction corresponding to the target information is generated, and a confirmation operation on the target information is performed in response to the confirmation instruction.
在一个实施例中,所述处理器1001在执行当检测到所述剪贴板处于所述信息输入框时,具体执行以下操作:In an embodiment, when the processor 1001 detects that the clipboard is in the information input box, specifically executes the following operations:
接收针对所述剪贴板的拖拽操作,获取所述拖拽操作对应的拖拽终点位置;Receiving a drag operation on the clipboard, and obtaining a drag end position corresponding to the drag operation;
当所述拖拽终点位置位于所述信息输入框的位置范围内时,确定所述剪贴板处于所述信息输入框。When the drag end position is within the position range of the information input box, it is determined that the clipboard is in the information input box.
在一个实施例中,所述处理器1001在执行当检测到所述剪贴板处于所述信息输入框时,具体执行以下操作:In an embodiment, when the processor 1001 detects that the clipboard is in the information input box, specifically executes the following operations:
接收针对所述剪贴板的摇动操作,在所述摇动操作结束时获取所述剪贴板的停留位置;Receiving a shaking operation for the clipboard, and obtaining the stay position of the clipboard when the shaking operation ends;
当所述停留位置位于所述信息输入框的位置范围内时,确定所述剪贴板处于所述信息输入框。When the stay position is within the position range of the information input box, it is determined that the clipboard is in the information input box.
在一个实施例中,所述处理器1001在执行接收针对第一显示界面中目标信息的复制操作时,具体执行以下操作:In an embodiment, the processor 1001 specifically executes the following operations when receiving a copy operation for the target information in the first display interface:
接收针对第一显示界面中目标信息的长按操作时,在所述第一显示界面显示包含复制控件的操作框;When receiving a long-press operation for the target information in the first display interface, display an operation box containing a copy control on the first display interface;
接收针对所述复制控件的选择操作。Receive a selection operation for the copy control.
在一个实施例中,所述处理器1001在执行响应所述复制操作将所述目标信息存储至剪贴板之后,还执行以下操作:In one embodiment, after the processor 1001 executes the storage of the target information in the clipboard in response to the copy operation, the processor 1001 further executes the following operations:
当确定复制成功时,在所述第一显示界面展示复制成功的提示信息。When it is determined that the copy is successful, a prompt message indicating that the copy is successful is displayed on the first display interface.
在一个实施例中,所述处理器1001在执行在所述第二显示界面显示所述剪贴板时,具体执行以下操作:In one embodiment, when the processor 1001 executes displaying the clipboard on the second display interface, it specifically executes the following operations:
以悬浮图标方式在所述第二显示界面显示所述剪贴板;或Display the clipboard on the second display interface in the form of a floating icon; or
以分屏方式在所述第二显示界面显示所述剪贴板。The clipboard is displayed on the second display interface in a split-screen manner.
在本申请实施例中,接收针对第一显示界面中目标信息的复制操作,将该目标信息保存到剪贴板中,并显示包含有至少一个信息输入框的第二显示界面,在所述第二显示界面显示所述剪贴板,通过用户的操作,当确定该剪贴板移动到信息输入框中时,在所述信息输入框内显示所述目标信息。通过将所复制的内容存放至剪贴板中,并在需要粘贴的界面显示该剪贴板,用户只需要将剪贴板移动至信息输入框中即可实现对所复制内容的粘贴,操作简单快捷,提高了信息粘贴效率,并提升用户体验。同时,将信息粘贴至信息输入框中后,还可以模拟确认操作,从而减少了用户点击确认控键的操作,进一步提升了信息粘贴的智能性并提升用户体验。In the embodiment of the present application, the copy operation for the target information in the first display interface is received, the target information is saved in the clipboard, and the second display interface containing at least one information input box is displayed. The display interface displays the clipboard, and through the user's operation, when it is determined that the clipboard is moved to the information input box, the target information is displayed in the information input box. By storing the copied content in the clipboard, and displaying the clipboard on the interface that needs to be pasted, the user only needs to move the clipboard to the information input box to paste the copied content. The operation is simple and fast, and it improves Improve the efficiency of information pasting and improve user experience. At the same time, after pasting the information into the information input box, the confirmation operation can also be simulated, thereby reducing the operation of the user to click the confirmation control key, further enhancing the intelligence of information pasting and improving the user experience.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中, 该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体或随机存储记忆体等。A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing relevant hardware through a computer program. The program can be stored in a computer readable storage medium. During execution, it may include the procedures of the above-mentioned method embodiments. Wherein, the storage medium can be a magnetic disk, an optical disc, a read-only storage memory or a random storage memory, etc.
以上所揭露的仅为本申请较佳实施例而已,当然不能以此来限定本申请之权利范围,因此依本申请权利要求所作的等同变化,仍属本申请所涵盖的范围。The above-disclosed are only preferred embodiments of this application, and of course the scope of rights of this application cannot be limited by this. Therefore, equivalent changes made according to the claims of this application still fall within the scope of this application.

Claims (20)

  1. 一种信息处理方法,其特征在于,所述方法包括:An information processing method, characterized in that the method includes:
    接收针对第一显示界面中目标信息的复制操作,响应所述复制操作将所述目标信息存储至剪贴板;Receiving a copy operation for the target information in the first display interface, and storing the target information in a clipboard in response to the copy operation;
    显示第二显示界面,在所述第二显示界面显示所述剪贴板;其中,所述第二显示界面包含信息输入框;Displaying a second display interface, and displaying the clipboard on the second display interface; wherein the second display interface includes an information input box;
    当检测到所述剪贴板处于所述信息输入框时,在所述信息输入框内显示所述目标信息。When it is detected that the clipboard is in the information input box, the target information is displayed in the information input box.
  2. 根据权利要求1所述的方法,其特征在于,所述在所述信息输入框内显示所述目标信息之后,所述方法还包括:The method according to claim 1, wherein after the target information is displayed in the information input box, the method further comprises:
    生成所述目标信息对应的确认指令,响应所述确认指令执行对所述目标信息的确认操作。A confirmation instruction corresponding to the target information is generated, and a confirmation operation on the target information is performed in response to the confirmation instruction.
  3. 根据权利要求1所述的方法,其特征在于,所述检测到所述剪贴板处于所述信息输入框,包括:The method according to claim 1, wherein the detecting that the clipboard is in the information input box comprises:
    接收针对所述剪贴板的拖拽操作,获取所述拖拽操作对应的拖拽终点位置;Receiving a drag operation on the clipboard, and obtaining a drag end position corresponding to the drag operation;
    当所述拖拽终点位置位于所述信息输入框的位置范围内时,确定所述剪贴板处于所述信息输入框。When the drag end position is within the position range of the information input box, it is determined that the clipboard is in the information input box.
  4. 根据权利要求1所述的方法,其特征在于,所述检测到所述剪贴板处于所述信息输入框,包括:The method according to claim 1, wherein the detecting that the clipboard is in the information input box comprises:
    接收针对所述剪贴板的摇动操作,在所述摇动操作结束时获取所述剪贴板的停留位置;Receiving a shaking operation for the clipboard, and obtaining the stay position of the clipboard when the shaking operation ends;
    当所述停留位置位于所述信息输入框的位置范围内时,确定所述剪贴板处于所述信息输入框。When the stay position is within the position range of the information input box, it is determined that the clipboard is in the information input box.
  5. 根据权利要求1所述的方法,其特征在于,所述接收针对第一显示界面中目标信息的复制操作,包括:The method according to claim 1, wherein the receiving a copy operation for the target information in the first display interface comprises:
    接收针对第一显示界面中目标信息的长按操作时,在所述第一显示界面显示包含复制控件的操作框;When receiving a long-press operation for the target information in the first display interface, display an operation box containing a copy control on the first display interface;
    接收针对所述复制控件的选择操作。Receive a selection operation for the copy control.
  6. 根据权利要求1所述的方法,其特征在于,所述响应所述复制操作将所述目标信息存储至剪贴板之后,还包括:The method according to claim 1, wherein after storing the target information in a clipboard in response to the copy operation, the method further comprises:
    当确定复制成功时,在所述第一显示界面展示复制成功的提示信息。When it is determined that the copy is successful, a prompt message indicating that the copy is successful is displayed on the first display interface.
  7. 根据权利要求1所述的方法,其特征在于,所述在所述第二显示界面显示所述剪贴板,包括:The method of claim 1, wherein the displaying the clipboard on the second display interface comprises:
    以悬浮图标方式在所述第二显示界面显示所述剪贴板;或Display the clipboard on the second display interface in the form of a floating icon; or
    以分屏方式在所述第二显示界面显示所述剪贴板。The clipboard is displayed on the second display interface in a split-screen manner.
  8. 根据权利要求7所述的方法,其特征在于,所述方法还包括:The method according to claim 7, wherein the method further comprises:
    接收针对所述剪贴板的编辑操作,展开显示所述剪贴板中所述目标信息;Receiving an editing operation for the clipboard, and expanding and displaying the target information in the clipboard;
    接收针对所述目标信息的编辑完成确认操作,将编辑后的所述目标信息保存至所述剪贴板中。Receiving the editing completion confirmation operation for the target information, and saving the edited target information in the clipboard.
  9. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    周期性清空所述剪贴板中缓存的信息。The information cached in the clipboard is periodically cleared.
  10. 一种信息处理装置,其特征在于,所述装置包括:An information processing device, characterized in that the device includes:
    信息存储模块,用于接收针对第一显示界面中目标信息的复制操作,响应所述复制操作将所述目标信息存储至剪贴板;An information storage module, configured to receive a copy operation for target information in the first display interface, and store the target information in the clipboard in response to the copy operation;
    剪贴板显示模块,用于显示第二显示界面,在所述第二显示界面显示所述剪贴板;其中,所述第二显示界面包含信息输入框;A clipboard display module, configured to display a second display interface, and display the clipboard on the second display interface; wherein the second display interface includes an information input box;
    信息显示模块,用于当检测到所述剪贴板处于所述信息输入框时,在所述信息输入框内显示所述目标信息。The information display module is configured to display the target information in the information input box when it is detected that the clipboard is in the information input box.
  11. 根据权利要求10所述的装置,其特征在于,所述装置还包括:The device according to claim 10, wherein the device further comprises:
    指令响应模块,用于生成所述目标信息对应的确认指令,响应所述确认指令执行对所述目标信息的确认操作。The instruction response module is configured to generate a confirmation instruction corresponding to the target information, and perform a confirmation operation on the target information in response to the confirmation instruction.
  12. 根据权利要求10所述的装置,其特征在于,所述信息显示模块,具体用于:The device according to claim 10, wherein the information display module is specifically configured to:
    接收针对所述剪贴板的拖拽操作,获取所述拖拽操作对应的拖拽终点位置;Receiving a drag operation on the clipboard, and obtaining a drag end position corresponding to the drag operation;
    当所述拖拽终点位置位于所述信息输入框的位置范围内时,确定所述剪贴板处于所述信息输入框。When the drag end position is within the position range of the information input box, it is determined that the clipboard is in the information input box.
  13. 根据权利要求10所述的装置,其特征在于,所述信息显示模块,具体用于:The device according to claim 10, wherein the information display module is specifically configured to:
    接收针对所述剪贴板的摇动操作,在所述摇动操作结束时获取所述剪贴板的停留位置;Receiving a shaking operation for the clipboard, and obtaining the stay position of the clipboard when the shaking operation ends;
    当所述停留位置位于所述信息输入框的位置范围内时,确定所述剪贴板处于所述信息输入框。When the stay position is within the position range of the information input box, it is determined that the clipboard is in the information input box.
  14. 根据权利要求10所述的装置,其特征在于,所述信息存储模块,具体用于:The device according to claim 10, wherein the information storage module is specifically configured to:
    接收针对第一显示界面中目标信息的长按操作时,在所述第一显示界面显示包含复制控件的操作框;When receiving a long-press operation for the target information in the first display interface, display an operation box containing a copy control on the first display interface;
    接收针对所述复制控件的选择操作。Receive a selection operation for the copy control.
  15. 根据权利要求10所述的装置,其特征在于,所述装置还包括:The device according to claim 10, wherein the device further comprises:
    信息展示模块,用于当确定复制成功时,在所述第一显示界面展示复制成功的提示信息。The information display module is configured to display a prompt message of successful copying on the first display interface when it is determined that the copying is successful.
  16. 根据权利要求10所述的装置,其特征在于,所述剪贴板显示模块,具体用于:The device according to claim 10, wherein the clipboard display module is specifically configured to:
    以悬浮图标方式在所述第二显示界面显示所述剪贴板;或Display the clipboard on the second display interface in the form of a floating icon; or
    以分屏方式在所述第二显示界面显示所述剪贴板。The clipboard is displayed on the second display interface in a split-screen manner.
  17. 根据权利要求16所述的装置,其特征在于,所述装置还包括信息编辑模块,用于:The device according to claim 16, wherein the device further comprises an information editing module for:
    接收针对所述剪贴板的编辑操作,展开显示所述剪贴板中所述目标信息;Receiving an editing operation for the clipboard, and expanding and displaying the target information in the clipboard;
    接收针对所述目标信息的编辑完成确认操作,将编辑后的所述目标信息保存至所述剪贴板中。Receiving the editing completion confirmation operation for the target information, and saving the edited target information in the clipboard.
  18. 根据权利要求10所述的装置,其特征在于,所述装置还包括信息清理模块,用于:The device according to claim 10, wherein the device further comprises an information cleaning module, configured to:
    周期性清空所述剪贴板中缓存的信息。The information cached in the clipboard is periodically cleared.
  19. 一种计算机存储介质,其特征在于,所述计算机存储介质存储有多条指令,所述指令适于由处理器加载并执行如权利要求1~9任意一项的方法步骤。A computer storage medium, wherein the computer storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the method steps according to any one of claims 1-9.
  20. 一种电子设备,其特征在于,包括:处理器和存储器;其中,所述存储器存储有计算机程序,所述计算机程序适于由所述处理器加载并执行如权利要求1~9任意一项的方法步骤。An electronic device, comprising: a processor and a memory; wherein the memory stores a computer program, and the computer program is adapted to be loaded by the processor and executed as claimed in any one of claims 1-9 Method steps.
PCT/CN2020/102449 2019-08-14 2020-07-16 Information processing method and apparatus, storage medium, and electronic device WO2021027485A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910750705.8A CN110489039A (en) 2019-08-14 2019-08-14 Information processing method, device, storage medium and electronic equipment
CN201910750705.8 2019-08-14

Publications (2)

Publication Number Publication Date
WO2021027485A1 WO2021027485A1 (en) 2021-02-18
WO2021027485A9 true WO2021027485A9 (en) 2021-03-18

Family

ID=68551010

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/102449 WO2021027485A1 (en) 2019-08-14 2020-07-16 Information processing method and apparatus, storage medium, and electronic device

Country Status (2)

Country Link
CN (1) CN110489039A (en)
WO (1) WO2021027485A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110489039A (en) * 2019-08-14 2019-11-22 Oppo广东移动通信有限公司 Information processing method, device, storage medium and electronic equipment
CN111857459B (en) * 2020-06-28 2023-04-07 维沃移动通信有限公司 Application processing method and device, electronic equipment and storage medium
CN111857495A (en) * 2020-06-30 2020-10-30 海尔优家智能科技(北京)有限公司 Information display method, information display device, storage medium, and electronic device
CN112783409A (en) * 2021-03-15 2021-05-11 联想(北京)有限公司 Control method and device and electronic equipment
CN113407959B (en) * 2021-06-11 2023-04-14 维沃移动通信(杭州)有限公司 Operation execution method and device and electronic equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8832577B2 (en) * 2010-10-01 2014-09-09 Z124 Universal clipboard
KR101869522B1 (en) * 2012-01-19 2018-06-22 삼성전자주식회사 Apparatus and method for providing a clipboard in a portable terminal
CN105339880A (en) * 2013-12-27 2016-02-17 华为终端有限公司 Method and equipment for character processing
CN106055202B (en) * 2016-05-27 2019-08-20 维沃移动通信有限公司 A kind of duplication method of attaching and mobile terminal
CN110489039A (en) * 2019-08-14 2019-11-22 Oppo广东移动通信有限公司 Information processing method, device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN110489039A (en) 2019-11-22
WO2021027485A1 (en) 2021-02-18

Similar Documents

Publication Publication Date Title
WO2021027485A9 (en) Information processing method and apparatus, storage medium, and electronic device
US11783117B2 (en) Device, method, and graphical user interface for sharing a content object in a document
US10908703B2 (en) User terminal device and method for controlling the user terminal device thereof
JP7114633B2 (en) Screen mirroring method, device, terminal and storage medium
WO2020147665A1 (en) File processing method and device, terminal, and storage medium
US10452333B2 (en) User terminal device providing user interaction and method therefor
US20210334150A1 (en) Copying and pasting method, data processing apparatus, and user equipment
JP6338829B2 (en) Multiple input processing method and apparatus
WO2016034023A1 (en) Terminal triggering method and relevant device
WO2022242379A1 (en) Stroke-based rendering method and device, storage medium and terminal
JP2014164763A (en) Method and terminal for providing feedback
KR20130133980A (en) Method and apparatus for moving object in terminal having touchscreen
CN110377220B (en) Instruction response method and device, storage medium and electronic equipment
CN111464430B (en) Dynamic expression display method, dynamic expression creation method and device
US9658865B2 (en) Method of editing content and electronic device for implementing the same
US9467495B2 (en) Transferring assets via a server-based clipboard
CN112114734A (en) Online document display method and device, terminal and storage medium
US11036362B2 (en) Graphic flow having unlimited number of connections between shapes
EP3467681A1 (en) Data migration method and device
CN113926190A (en) Method and device for controlling three-dimensional model in game editor and storage medium
CN112948049B (en) Method, device, terminal and storage medium for multi-content parallel display
CN114518822A (en) Application icon management method and device and electronic equipment
WO2024104079A1 (en) Desktop component generation method and apparatus, electronic device, and readable storage medium
US20150130723A1 (en) Two step content selection with trajectory copy
WO2020133386A1 (en) Note partial selection method, apparatus, electronic terminal and readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20853030

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20853030

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20853030

Country of ref document: EP

Kind code of ref document: A1