WO2013000123A1 - Pasting method and terminal thereof - Google Patents
Pasting method and terminal thereof Download PDFInfo
- Publication number
- WO2013000123A1 WO2013000123A1 PCT/CN2011/076513 CN2011076513W WO2013000123A1 WO 2013000123 A1 WO2013000123 A1 WO 2013000123A1 CN 2011076513 W CN2011076513 W CN 2011076513W WO 2013000123 A1 WO2013000123 A1 WO 2013000123A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- content
- application
- user
- pasting
- copied
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/543—User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]
Definitions
- the present invention relates to the field of terminal devices, and in particular, to a method and a terminal for sticking. Background technique
- Embodiments of the present invention provide a smart paste method and terminal, which make the paste function more intelligent and convenient.
- a method of pasting including:
- a terminal comprising:
- a copy unit configured to copy the content selected by the user to be copied, to obtain a copy content
- an obtaining unit configured to acquire an application that allows the copy content to perform a paste operation
- a display unit configured to acquire the obtained application Display, so that the user can select the corresponding application
- a pasting unit configured to launch a user-selected application, and paste the copied content into the user-selected application.
- the pasting method and the terminal provided by the embodiment of the present invention, after the user performs the copying operation, according to the determination of the copied content and displaying the application that allows the copying content to perform the pasting operation, after the user selected application is started, the copying is performed.
- the content is pasted into the application selected by the user; when the user performs the copy operation, the user directly pastes into the application to be pasted according to the copied content, thereby avoiding the tedious interface switching operation and making the pasting function more intelligent and convenient.
- Embodiment 1 is a flow chart of a pasting method according to Embodiment 1 of the present invention.
- Embodiment 2 is a flow chart of a pasting method according to Embodiment 2 of the present invention.
- FIG. 3 is a schematic diagram of an operation interface of step 201 in Embodiment 2 of the present invention.
- FIG. 4 is a schematic diagram of an operation interface of step 205 in Embodiment 2 of the present invention.
- FIG. 5 is a schematic diagram of an operation interface of step 207 in Embodiment 2 of the present invention.
- FIG. 6 is a schematic diagram of a terminal composition in Embodiment 3 of the present invention.
- Figure ⁇ is a schematic diagram of another terminal composition in Embodiment 3 of the present invention.
- Embodiment 8 is a schematic diagram of another terminal composition in Embodiment 3 of the present invention.
- Embodiment 9 is a schematic diagram of another terminal composition in Embodiment 3 of the present invention.
- FIG. 10 is a schematic diagram of another terminal composition in Embodiment 3 of the present invention. detailed description
- the embodiment of the invention provides a pasting method. As shown in FIG. 1, the method includes:
- the content selected by the user to be copied may be various types on the terminal, such as text, numbers, pictures, or files. For example, copying a piece of text from a web browser; copying a string of numbers from a text message; copying a document from the explorer; copying a picture from the album, etc.
- the application to which the copied content can be pasted is limited, and not all copied content is allowed to be pasted into all applications. For example, if you copy a picture in a web browser, the copy content is not allowed to be pasted into an application such as a dial pad or mail recipient.
- an application that allows the copy content to be pasted it is necessary to preset an application that allows the copy content to be pasted, so that after copying the content to be copied and obtaining the copied content, obtaining the permission An application that copies content for pasting.
- the application is an application that allows the copying operation to perform the pasting operation, and is obtained in step 102.
- the terminal displays the acquired application in a pop-up menu or other form, so that the user selects an application that needs to be pasted, so that the user can obtain a quick operation option after performing the copy operation.
- the location to be pasted is selected, and the application to be pasted can be directly accessed and pasted, thereby eliminating complicated and cumbersome interface switching operations.
- an application that allows the copy content to be pasted is displayed, and after the user selected application is started, the copied content is pasted into the In the application selected by the user; when the user performs the copy operation, the user directly pastes into the application to be pasted according to the copied content, thereby avoiding the tedious interface switching operation and making the pasting function more intelligent and convenient.
- the embodiment of the invention provides a pasting method. As shown in FIG. 2, the method includes:
- the content selected by the user to be copied may be various types on the terminal, such as text, numbers, pictures, or files. For example, copying a piece of text from a web browser; copying a string of numbers from a text message; copying a document from the explorer; copying a picture from the album, etc. As shown in Figure 3, the user selected a piece of text in the web browser as a copy.
- the type of the copied content can be analyzed and an application allowing the paste operation can be displayed, so that the user can perform the next paste operation.
- step 202 Determine whether to activate the smart paste mode; if it is determined that the smart paste mode is activated, execute step 203; if it is determined that the smart paste mode is not activated, perform step 208.
- the user can choose whether to turn on the function of the present invention, that is, the smart paste function, in the system settings or software settings. If the smart paste mode is enabled on the terminal, the next operation option is displayed in accordance with the method of the present invention after the copy operation. If the smart paste mode is turned off on the terminal, no operation prompt is performed after the copy operation, and a series of interface switching and application startup operations are performed by the user in the prior art method.
- the type of copy content can be text, numbers, pictures or files, etc.
- the types of applications allowed to be pasted are limited, so not all copied content is allowed to be pasted into all applications. For example, if you copy an image in a web browser, the copied content is not allowed to be pasted. Go to an application such as a dial pad or mail recipient. In order to obtain an application that allows the copy content to be pasted, it is necessary to preset an application that allows the copy content to be pasted, so that after copying the content to be copied and obtaining the copied content, obtaining the permission An application that copies content for pasting.
- the predefined configuration file includes the type of the copied content and the application that allows the copied content to be pasted, and if necessary, the default pasted location of the copied content in the application, such as the content shown in Table 1. According to the type of the copied content determined in step 203, the corresponding location of the predefined configuration file is queried, and an application that allows the copied content to be pasted is obtained.
- the configuration file can also include an optional paste location in the application.
- the default focus position can also be set in the predefined configuration file.
- the content in the configuration file is not limited to the above content, and the embodiments of the present invention are not described again. Users can add, delete, or change the applications and paste locations that are allowed to be pasted in the configuration file.
- the embodiment of the present invention may be used as a fixed function of the terminal, or may be a separate function software or other form, so the predefined configuration file may be stored in the global configuration file of the terminal, or may be stored in the software. Other forms and storage locations of the configuration files in the configuration folder will not be described herein again.
- the application is an application that allows the copying operation to perform the pasting operation, and is obtained by querying the predefined configuration file in step 204.
- the terminal displays the acquired application in a pop-up menu or other form so that the user selects the application that needs to be pasted. As shown in Fig. 4, the application that allows the copy to be pasted is displayed according to the type of the copied content.
- the default configuration file includes the default paste location in each application, and the paste location allows the user to set it autonomously in the configuration file.
- the pasteable location can be queried in a predefined configuration file depending on the type of content being copied and the application selected by the user.
- the obtained pasteable position is displayed in a submenu or other form for the user to select Choose the specific location where you want to paste.
- the copied content is pasted to the pasting position.
- focus is focused to the default position, allowing the user to continue working directly in the selected application without having to adjust the focus position again. For example, after the user copies a series of numbers, select "SMS" in the displayed application, and then select "Recipient” in the displayed pasteable position to complete the paste operation.
- the cursor position is focused on the text message "body bar”. . This allows the user to directly edit the text message without having to adjust the cursor position again.
- the normal mode is a pasting method in the prior art.
- the smart paste mode is turned off on the terminal, no operation prompt will be performed after the copy operation, and the user still performs the method in the prior art.
- the pasting method and the terminal provided by the embodiment of the present invention display an application that allows the copying operation to perform the pasting operation according to the type of the copied content after the user performs the copying operation, so that the user directly selects the location to be pasted in the interface of the copying operation, You can go to the application you want to paste to complete the paste. This eliminates the tedious interface switching operation and makes the paste function more intelligent and convenient.
- the embodiment of the present invention provides a terminal.
- the terminal includes: a copy unit 31, an obtaining unit 32, a display unit 33, and a pasting unit 34.
- the copy unit 31 is configured to copy the content selected by the user to be copied, and obtain the copied content.
- the content selected by the user to be copied may be various types on the terminal, such as text, numbers, pictures, or files. For example, copying a piece of text from a web browser; copying a string of numbers from a text message; copying a document from the explorer; copying a picture from the album, etc.
- the display unit 33 is configured to display the application acquired by the obtaining unit 32, so that the user selects the corresponding application.
- the pasting unit 34 is configured to launch a user-selected application, and paste the copied content into the application selected by the user.
- the obtaining unit 32 includes: a determining module 321 and a first obtaining module 322.
- the application to which the copied content can be pasted is limited, and not all copied content is allowed to be pasted into all applications. For example, if you copy a picture in a web browser, the copy content is not allowed to be pasted into an application such as a dial pad or mail recipient. In order to obtain an application that allows the copy content to be pasted, it is necessary to determine the type of the copied content in advance so as to query the corresponding parameter in the configuration file.
- the first obtaining module 322 is configured to query the predefined configuration file according to the type of the copied content, and obtain an application that allows the copied content to perform a paste operation.
- the default configuration file includes the default paste location in each application, and the paste location allows the user to set it autonomously in the configuration file.
- the display module 343 is configured to launch a user-selected application, and display the copied content in a position that can be pasted in the application.
- the pasteable location can be queried in the predefined configuration file according to the type of the copied content and the application selected by the user.
- the obtained pasteable position is displayed in a submenu or other form so that the user can select a specific location to be pasted.
- the second pasting module 344 is configured to paste the copied content to the pasting position according to a user's selection.
- the terminal further includes:
- the obtaining unit 32 is further configured to: when the determining unit 35 determines to activate the smart paste mode, acquire an application that allows the copy content to perform a paste operation.
- the paste operation unit 36 is configured to, when the determining unit 35 determines that the smart paste mode is not activated, perform the interface operation step by step according to the normal mode to implement the paste of the copied content.
- the user can choose whether to open the function of the present invention, that is, the smart paste function, in the system setting or the software setting. If the smart paste mode is enabled on the terminal, the next operation option is displayed in accordance with the method of the present invention after the copy operation. If the terminal is closed In the smart paste mode, no operation prompt is performed after the copy operation, and a series of interface switching and application startup operations are performed by the user in the prior art method.
- the pasting method and the terminal provided by the embodiment of the present invention, after the user performs the copying operation, according to the determination of the copied content and displaying the application that allows the copying content to perform the pasting operation, after the user selected application is started, the copying is performed.
- the content is pasted into the application selected by the user; when the user performs the copy operation, the user directly pastes into the application to be pasted according to the copied content, thereby avoiding the tedious interface switching operation and making the pasting function more intelligent and convenient.
- the present invention can be implemented by means of software plus necessary general hardware, and of course, by hardware, but in many cases, the former is a better implementation. .
- the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a readable storage medium, such as a floppy disk of a computer.
- a hard disk or optical disk or the like includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiments of the present invention disclose a pasting method and a terminal thereof, related to the field of terminal device, which enable pasting function to be more intelligent and convenient. The method of the present invention includes: copying the content, which is selected by the user and needs to be copied, to get the copied content; obtaining the application programs which allow said copied content to be pasted; displaying the obtained application programs from which the user can select the corresponding one; initiating the application program selected by the user and pasting the copied content into the selected application program. The embodiments of the present invention are mostly used in the process of copying and pasting.
Description
粘贴方法和终端 技术领域 Pasting method and terminal
本发明涉及终端设备领域, 尤其涉及一种粘贴方法和终端。 背景技术 The present invention relates to the field of terminal devices, and in particular, to a method and a terminal for sticking. Background technique
目前大部分的终端, 如手机等, 都具备复制和粘贴的功能, 操作的方法 也基本相同。 具体为, 在一个应用程序中选中想要复制的内容并进行复制, 然后进行一系列的界面切换再进入另一个应用程序的界面, 把光标聚焦到想 要粘贴所复制内容的位置, 才能完成粘贴。 例如, 在通过网页浏览器上网时 复制了一段文字, 想要作为短信发送出去, 此时用户需要退出或搁置网页浏 览器, 然后在终端上找到短信界面的入口, 进入短信界面后选择撰写新短信, 并且默认的撰写新短信的界面光标聚焦在收件人栏, 需要进一步的将光标聚 焦到正文栏, 才能进行粘贴。 At present, most terminals, such as mobile phones, have the functions of copying and pasting, and the operation methods are basically the same. Specifically, select the content you want to copy in an application and copy it, then perform a series of interface switching and then enter the interface of another application, focus the cursor to the position where you want to paste the copied content, in order to complete the paste. . For example, when copying a text through a web browser, you want to send it as a text message. At this time, the user needs to quit or put the web browser on, and then find the entrance of the short message interface on the terminal, enter the short message interface and select to compose a new short message. , and the default interface for composing new text messages is focused on the recipient bar. You need to further focus the cursor to the body bar to paste.
在实现上述粘贴功能的过程中, 发明人发现现有技术中至少存在如下问 题: 由于复制内容后, 需要进行繁冗的界面切换操作才能进入想要粘贴的界 面, 导致粘贴功能不够智能和便捷。 发明内容 In the process of implementing the above-mentioned pasting function, the inventors found that at least the following problems exist in the prior art: Since copying the content requires a complicated interface switching operation to enter the interface to be pasted, the pasting function is not intelligent and convenient. Summary of the invention
本发明的实施例提供一种智能粘贴的方法和终端, 使得粘贴功能更加智 能和便捷。 Embodiments of the present invention provide a smart paste method and terminal, which make the paste function more intelligent and convenient.
为达到上述目的, 本发明的实施例采用如下技术方案: In order to achieve the above object, the embodiment of the present invention adopts the following technical solutions:
一种粘贴方法, 包括: A method of pasting, including:
将用户选中的需要复制的内容进行复制, 得到复制内容; Copying the content selected by the user to be copied, and obtaining the copied content;
获取允许所述复制内容进行粘贴操作的应用程序; Obtaining an application that allows the copy content to be pasted;
将获取的所述应用程序显示, 以便用户选定对应的应用程序; Displaying the obtained application so that the user selects the corresponding application;
启动用户选定的应用程序, 将所述复制内容粘贴到所述用户选定的应用 程序中。
一种终端, 包括: Launching the user-selected application and pasting the copied content into the user-selected application. A terminal, comprising:
复制单元, 用于将用户选中的需要复制的内容进行复制, 得到复制内容; 获取单元, 用于获取允许所述复制内容进行粘贴操作的应用程序; 显示单元, 用于将获取的所述应用程序显示, 以便用户选定对应的应用 程序; a copy unit, configured to copy the content selected by the user to be copied, to obtain a copy content, an obtaining unit, configured to acquire an application that allows the copy content to perform a paste operation, and a display unit, configured to acquire the obtained application Display, so that the user can select the corresponding application;
粘贴单元, 用于启动用户选定的应用程序, 将所述复制内容粘贴到所述 用户选定的应用程序中。 a pasting unit, configured to launch a user-selected application, and paste the copied content into the user-selected application.
本发明实施例提供的粘贴方法和终端, 在用户进行复制操作后, 根据复 制内容的确定并显示允许该复制内容进行粘贴操作的应用程序, 在启动用户 选定的应用程序后, 将所述复制内容粘贴到所述用户选定的应用程序中; 使 得用户在进行复制操作时, 根据复制内容直接进入需要粘贴的应用程序完成 粘贴, 避免了繁冗的界面切换操作, 使粘贴功能更加智能和便捷。 附图说明 The pasting method and the terminal provided by the embodiment of the present invention, after the user performs the copying operation, according to the determination of the copied content and displaying the application that allows the copying content to perform the pasting operation, after the user selected application is started, the copying is performed. The content is pasted into the application selected by the user; when the user performs the copy operation, the user directly pastes into the application to be pasted according to the copied content, thereby avoiding the tedious interface switching operation and making the pasting function more intelligent and convenient. DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面 描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。 In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图 1为本发明实施例 1的粘贴方法流程图; 1 is a flow chart of a pasting method according to Embodiment 1 of the present invention;
图 2为本发明实施例 2的粘贴方法流程图; 2 is a flow chart of a pasting method according to Embodiment 2 of the present invention;
图 3为本发明实施例 2中步骤 201的操作界面示意图; 3 is a schematic diagram of an operation interface of step 201 in Embodiment 2 of the present invention;
图 4为本发明实施例 2中步骤 205的操作界面示意图; 4 is a schematic diagram of an operation interface of step 205 in Embodiment 2 of the present invention;
图 5为本发明实施例 2中步骤 207的操作界面示意图; 5 is a schematic diagram of an operation interface of step 207 in Embodiment 2 of the present invention;
图 6为本发明实施例 3中终端组成示意图; 6 is a schematic diagram of a terminal composition in Embodiment 3 of the present invention;
图 Ί为本发明实施例 3中另一种终端组成示意图; Figure Ί is a schematic diagram of another terminal composition in Embodiment 3 of the present invention;
图 8为本发明实施例 3中另一种终端组成示意图; 8 is a schematic diagram of another terminal composition in Embodiment 3 of the present invention;
图 9为本发明实施例 3中另一种终端组成示意图; 9 is a schematic diagram of another terminal composition in Embodiment 3 of the present invention;
图 10为本发明实施例 3中另一种终端组成示意图。
具体实施方式 FIG. 10 is a schematic diagram of another terminal composition in Embodiment 3 of the present invention. detailed description
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而 不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作 出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。 The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
实施例 1 Example 1
本发明实施例提供一种粘贴方法, 如图 1所示, 该方法包括: The embodiment of the invention provides a pasting method. As shown in FIG. 1, the method includes:
101、 将用户选中的需要复制的内容进行复制, 得到复制内容。 101. Copy the content selected by the user to be copied, and obtain the copied content.
其中, 用户选中的需要复制的内容可以是终端上的各种类型, 如文字、 数字、 图片或文件等。 例如从网页浏览器中复制了一段文字; 从短信中复制 了一串数字; 从资源管理器中复制了一个文档; 从相册中复制了一张图片等。 The content selected by the user to be copied may be various types on the terminal, such as text, numbers, pictures, or files. For example, copying a piece of text from a web browser; copying a string of numbers from a text message; copying a document from the explorer; copying a picture from the album, etc.
102、 获取允许所述复制内容进行粘贴操作的应用程序。 102. Obtain an application that allows the copy content to be pasted.
其中, 复制内容可以粘贴到的应用程序有限, 并不是任何复制内容都允 许粘贴到所有应用程序中。 例如, 在网页浏览器中复制了一张图片, 则该复 制内容不允许粘贴到拨号键盘或邮件收件人等应用程序。 为了下一步获取允 许所述复制内容进行粘贴操作的应用程序, 需要预先设定允许所述复制内容 进行粘贴操作的应用程序, 以便在复制了需要复制的内容, 得到复制内容后, 获取允许所述复制内容进行粘贴操作的应用程序。 Among them, the application to which the copied content can be pasted is limited, and not all copied content is allowed to be pasted into all applications. For example, if you copy a picture in a web browser, the copy content is not allowed to be pasted into an application such as a dial pad or mail recipient. In order to obtain an application that allows the copy content to be pasted, it is necessary to preset an application that allows the copy content to be pasted, so that after copying the content to be copied and obtaining the copied content, obtaining the permission An application that copies content for pasting.
103、 将获取的所述应用程序显示, 以便用户选定对应的应用程序。 103. Display the obtained application, so that the user selects the corresponding application.
其中, 所述应用程序为允许复制内容进行粘贴操作的应用程序, 是在步 骤 1 02 中获取的。 终端以弹出菜单或其他形式将获取的所述应用程序显示, 以便用户选定需要进行粘贴操作的应用程序 , 使得用户进行复制操作后能够 得到快捷的操作选项。 The application is an application that allows the copying operation to perform the pasting operation, and is obtained in step 102. The terminal displays the acquired application in a pop-up menu or other form, so that the user selects an application that needs to be pasted, so that the user can obtain a quick operation option after performing the copy operation.
104、 启动用户选定的应用程序, 将所述复制内容粘贴到所述用户选定的 应用程序中。 104. Launch a user-selected application, and paste the copied content into the application selected by the user.
其中, 在复制复制内容的界面选择需要粘贴的位置, 便可直接进入需要 粘贴的应用程序完成粘贴, 免去了复杂繁冗的界面切换操作。
本发明实施例中, 在用户进行复制操作后, 根据复制内容的确定并显示 允许该复制内容进行粘贴操作的应用程序, 在启动用户选定的应用程序后, 将所述复制内容粘贴到所述用户选定的应用程序中; 使得用户在进行复制操 作时, 根据复制内容直接进入需要粘贴的应用程序完成粘贴, 避免了繁冗的 界面切换操作, 使粘贴功能更加智能和便捷。 Wherein, in the interface for copying and copying content, the location to be pasted is selected, and the application to be pasted can be directly accessed and pasted, thereby eliminating complicated and cumbersome interface switching operations. In the embodiment of the present invention, after the user performs the copy operation, according to the determination of the copied content, an application that allows the copy content to be pasted is displayed, and after the user selected application is started, the copied content is pasted into the In the application selected by the user; when the user performs the copy operation, the user directly pastes into the application to be pasted according to the copied content, thereby avoiding the tedious interface switching operation and making the pasting function more intelligent and convenient.
实施例 2 Example 2
本发明实施例提供一种粘贴方法, 如图 2所示, 该方法包括: The embodiment of the invention provides a pasting method. As shown in FIG. 2, the method includes:
201、 将用户选中的需要复制的内容进行复制, 得到复制内容。 201. Copy the content that the user selects to be copied, and obtain the copied content.
其中, 用户选中的需要复制的内容可以是终端上的各种类型, 如文字、 数字、 图片或文件等。 例如从网页浏览器中复制了一段文字; 从短信中复制 了一串数字; 从资源管理器中复制了一个文档; 从相册中复制了一张图片等。 如图 3 所示, 用户在网页浏览器中选定了一段文字作为复制内容。 在现有技 术中, 在一个应用程序中选中并复制所选内容后, 并没有下一步的操作提示, 要退出或搁置当前的应用程序, 寻找并进入需要进行粘贴操作的应用程序才 能进行粘贴。 本实施例中复制一定内容后便能分析复制内容的类型并显示允 许进行粘贴操作的应用程序, 以便用户进行下一步的粘贴操作。 The content selected by the user to be copied may be various types on the terminal, such as text, numbers, pictures, or files. For example, copying a piece of text from a web browser; copying a string of numbers from a text message; copying a document from the explorer; copying a picture from the album, etc. As shown in Figure 3, the user selected a piece of text in the web browser as a copy. In the prior art, after selecting and copying the selected content in an application, there is no next step of the operation prompt, to exit or suspend the current application, and to find and enter the application that needs to be pasted to paste. In this embodiment, after copying a certain content, the type of the copied content can be analyzed and an application allowing the paste operation can be displayed, so that the user can perform the next paste operation.
202、 确定是否启动智能粘贴模式; 若确定启动所述智能粘贴模式, 则执 行步骤 203; 若确定没有启动所述智能粘贴模式, 则执行步骤 208。 202. Determine whether to activate the smart paste mode; if it is determined that the smart paste mode is activated, execute step 203; if it is determined that the smart paste mode is not activated, perform step 208.
在使用复制功能之前, 用户可以在系统设置或软件设置中自主选择是否 开启本发明的功能, 即智能粘贴功能。 若终端上启用了智能粘贴模式, 则在 复制操作后按照本发明的方法显示下一步的操作选项。 若终端上关闭了智能 粘贴模式, 则在复制操作后不进行任何操作提示, 仍然沿用现有技术中的方 法由用户进行一系列的界面切换和启动应用程序等操作。 Before using the copy function, the user can choose whether to turn on the function of the present invention, that is, the smart paste function, in the system settings or software settings. If the smart paste mode is enabled on the terminal, the next operation option is displayed in accordance with the method of the present invention after the copy operation. If the smart paste mode is turned off on the terminal, no operation prompt is performed after the copy operation, and a series of interface switching and application startup operations are performed by the user in the prior art method.
203、 分析所述复制内容, 确定所述复制内容的类型。 203. Analyze the copied content, and determine a type of the copied content.
其中, 复制内容的类型可以是文字、 数字、 图片或文件等, 各个类型允 许粘贴到的应用程序有限, 所以并不是任何复制内容都允许粘贴到所有应用 程序中。 例如, 在网页浏览器中复制了一张图片, 则该复制内容不允许粘贴
到拨号键盘或邮件收件人等应用程序。 为了下一步获取允许所述复制内容进 行粘贴操作的应用程序, 需要预先设定允许所述复制内容进行粘贴操作的应 用程序, 以便在复制了需要复制的内容, 得到复制内容后, 获取允许所述复 制内容进行粘贴操作的应用程序。 Among them, the type of copy content can be text, numbers, pictures or files, etc. The types of applications allowed to be pasted are limited, so not all copied content is allowed to be pasted into all applications. For example, if you copy an image in a web browser, the copied content is not allowed to be pasted. Go to an application such as a dial pad or mail recipient. In order to obtain an application that allows the copy content to be pasted, it is necessary to preset an application that allows the copy content to be pasted, so that after copying the content to be copied and obtaining the copied content, obtaining the permission An application that copies content for pasting.
204、 根据所述复制内容的类型, 查询所述预定义的配置文件, 获取允许 所述复制内容进行粘贴操作的应用程序。 204. Query the predefined configuration file according to the type of the copied content, and obtain an application that allows the copied content to perform a paste operation.
其中, 预定义的配置文件中包含了复制内容的类型和允许复制内容进行 粘贴操作的应用程序, 必要时还包含复制内容在应用程序中默认的粘贴位置, 例如表 1所示内容。 根据步骤 203中确定的复制内容的类型, 查询预定义的 配置文件的对应位置, 便可得到允许所述复制内容粘贴的应用程序。 The predefined configuration file includes the type of the copied content and the application that allows the copied content to be pasted, and if necessary, the default pasted location of the copied content in the application, such as the content shown in Table 1. According to the type of the copied content determined in step 203, the corresponding location of the predefined configuration file is queried, and an application that allows the copied content to be pasted is obtained.
表 1 Table 1
另外, 以表 2 为例, 当复制内容允许在一个应用程序中的多个位置进行 粘贴时, 配置文件中还可以包含应用程序中可选的粘贴位置。 为了粘贴操作 完成后方便用户下一步操作, 预定义的配置文件中还可以设置默认的聚焦位 置。 In addition, taking Table 2 as an example, when copying content allows pasting in multiple places in an application, the configuration file can also include an optional paste location in the application. In order to facilitate the user's next operation after the paste operation is completed, the default focus position can also be set in the predefined configuration file.
复制内容的 允许粘贴的应 应用程序中可选的粘贴 应用程序中默 类型 用程序 位置 认的聚焦位置
数字 短信 联系人、 正文 正文栏 邮件 联系人、 正文 正文栏 Copy the content of the application that allows the pasting of the application in the optional paste application in the application. Digital SMS contact, body text bar mail contact, body text bar
拨号盘 拨号栏 拨号栏 Dial pad dial bar dial bar
通讯录 联系人号码、联系人姓名 联系人姓名栏 Contact list Contact number, contact name Contact name column
Goog le搜索 搜索内容 搜索按钮 Goog le Search Search Content Search button
表 2 Table 2
需要说明的是, 在个别情况下配置文件中的内容不仅限于上述内容, 本 发明实施例不再——贅述。 用户可以在配置文件中自主添加、 删除或更改允 许粘贴的应用程序和粘贴位置等。 另外, 本发明实施例可以作为终端的固定 功能, 也可以作为一个单独的功能软件或其他形式, 所以所述预定义的配置 文件可以存放于终端的全局配置文件中, 也可以存放在本软件的配置文件夹 中, 配置文件的其他形式和存放位置本发明实施例这里将不再贅述。 It should be noted that, in an individual case, the content in the configuration file is not limited to the above content, and the embodiments of the present invention are not described again. Users can add, delete, or change the applications and paste locations that are allowed to be pasted in the configuration file. In addition, the embodiment of the present invention may be used as a fixed function of the terminal, or may be a separate function software or other form, so the predefined configuration file may be stored in the global configuration file of the terminal, or may be stored in the software. Other forms and storage locations of the configuration files in the configuration folder will not be described herein again.
205、 将获取的所述应用程序显示, 以便用户选定对应的应用程序。 其中, 所述应用程序为允许复制内容进行粘贴操作的应用程序, 是在步 骤 204 中查询预定义的配置文件得到的。 为了在用户进行复制操作后提供快 捷的操作选项, 终端以弹出菜单或其他形式将获取的所述应用程序显示, 以 便用户选定需要进行粘贴操作的应用程序。 如图 4 所示, 根据复制内容的类 型, 将允许所述复制内容进行粘贴的应用程序显示。 205. Display the obtained application, so that the user selects the corresponding application. The application is an application that allows the copying operation to perform the pasting operation, and is obtained by querying the predefined configuration file in step 204. In order to provide a quick operation option after the user performs the copy operation, the terminal displays the acquired application in a pop-up menu or other form so that the user selects the application that needs to be pasted. As shown in Fig. 4, the application that allows the copy to be pasted is displayed according to the type of the copied content.
206、 启动用户选定的应用程序, 获取所述复制内容粘贴到所述用户选定 的应用程序中的粘贴位置。 206. Start an application selected by the user, and obtain a pasting location where the copied content is pasted into the application selected by the user.
需要说明的是, 在预定义的配置文件中包含各个应用程序中默认的粘贴 位置, 该粘贴位置允许用户在配置文件中自主设定。 It should be noted that the default configuration file includes the default paste location in each application, and the paste location allows the user to set it autonomously in the configuration file.
207、 将所述复制内容粘贴到所述粘贴位置。 207. Paste the copied content to the pasting location.
其中, 如图 5 所示, 当复制内容在选定的应用程序中允许粘贴的位置是 唯一的, 则直接将复制内容显示在预定义的粘贴位置。 Among them, as shown in Figure 5, when the location where the copied content is allowed to be pasted in the selected application is unique, the copied content is directly displayed in the predefined pasting position.
另外, 当复制内容允许在一个应用程序中的多个位置进行粘贴时, 根据 复制内容的类型和用户所选定的应用程序, 可以在预定义的配置文件中查询 可粘贴位置。 将获取到的可粘贴位置以子菜单或其他形式显示, 以便用户选
择要进行粘贴操作的具体位置。 用户从显示的粘贴位置选项中选择具体的粘 贴位置后, 将所述复制内容粘贴到所述粘贴位置。 同时, 将焦点聚焦到默认 位置, 方便用户直接在选定的应用程序中继续操作, 而不用再次调整聚焦位 置。 例如, 用户复制一串数字后, 在显示的应用程序中选择 "短信", 然后在 显示的可粘贴位置中选择 "收件人", 完成粘贴操作, 此时光标位置聚焦在短 信 "正文栏"。这样用户便可以直接编辑短信内容, 而不用再次调整光标位置。 In addition, when copying content allows pasting in multiple locations in an application, the pasteable location can be queried in a predefined configuration file depending on the type of content being copied and the application selected by the user. The obtained pasteable position is displayed in a submenu or other form for the user to select Choose the specific location where you want to paste. After the user selects a specific pasting position from the displayed pasting position options, the copied content is pasted to the pasting position. At the same time, focus is focused to the default position, allowing the user to continue working directly in the selected application without having to adjust the focus position again. For example, after the user copies a series of numbers, select "SMS" in the displayed application, and then select "Recipient" in the displayed pasteable position to complete the paste operation. At this time, the cursor position is focused on the text message "body bar". . This allows the user to directly edit the text message without having to adjust the cursor position again.
208、 按照普通模式逐步进行界面操作, 实现复制内容的粘贴。 208. Step through the interface operation in the normal mode to implement the paste of the copied content.
需要说明的是, 普通模式即为现有技术中的粘贴方法, 当终端上关闭了 智能粘贴模式时, 在复制操作后将不进行任何操作提示, 仍然沿用现有技术 中的方法由用户进行一系列的界面切换和启动应用程序等操作。 It should be noted that the normal mode is a pasting method in the prior art. When the smart paste mode is turned off on the terminal, no operation prompt will be performed after the copy operation, and the user still performs the method in the prior art. Series of interface switching and launching applications and other operations.
本发明实施例提供的粘贴方法和终端, 在用户进行复制操作后, 根据复 制内容的类型显示允许复制内容进行粘贴操作的应用程序, 使得用户在进行 复制操作的界面直接选择需要粘贴的位置, 便可进入需要粘贴的应用程序完 成粘贴。 从而免去了繁冗的界面切换操作, 使粘贴功能更加智能和便捷。 The pasting method and the terminal provided by the embodiment of the present invention display an application that allows the copying operation to perform the pasting operation according to the type of the copied content after the user performs the copying operation, so that the user directly selects the location to be pasted in the interface of the copying operation, You can go to the application you want to paste to complete the paste. This eliminates the tedious interface switching operation and makes the paste function more intelligent and convenient.
并且, 在完成粘贴操作后, 可以根据用户的需要聚焦在预定义的聚焦位 聚焦位置。 And, after the paste operation is completed, it can be focused on the predefined focus position focus position according to the user's needs.
实施例 3 Example 3
本发明实施例提供一种终端, 如图 6所示, 该终端包括: 复制单元 31、 获取单元 32、 显示单元 33、 粘贴单元 34。 The embodiment of the present invention provides a terminal. As shown in FIG. 6, the terminal includes: a copy unit 31, an obtaining unit 32, a display unit 33, and a pasting unit 34.
复制单元 31 , 用于将用户选中的需要复制的内容进行复制, 得到复制内 容。 The copy unit 31 is configured to copy the content selected by the user to be copied, and obtain the copied content.
其中, 用户选中的需要复制的内容可以是终端上的各种类型, 如文字、 数字、 图片或文件等。 例如从网页浏览器中复制了一段文字; 从短信中复制 了一串数字; 从资源管理器中复制了一个文档; 从相册中复制了一张图片等。 The content selected by the user to be copied may be various types on the terminal, such as text, numbers, pictures, or files. For example, copying a piece of text from a web browser; copying a string of numbers from a text message; copying a document from the explorer; copying a picture from the album, etc.
获取单元 32 , 用于获取允许所述复制内容进行粘贴操作的应用程序。 其中, 所述获取单元 32用于根据预定义的配置文件和所述复制内容, 获
取允许所述复制内容进行粘贴操作的应用程序; 所述预定义的配置文件中包 含复制内容的类型和允许所述复制内容进行粘贴操作的应用程序。 The obtaining unit 32 is configured to acquire an application that allows the copy content to perform a paste operation. The obtaining unit 32 is configured to obtain, according to the predefined configuration file and the copied content, Taking an application that allows the copy content to perform a paste operation; the predefined configuration file includes a type of the copy content and an application that allows the copy content to perform a paste operation.
显示单元 33 , 用于将所述获取单元 32获取的所述应用程序显示, 以便用 户选定对应的应用程序。 The display unit 33 is configured to display the application acquired by the obtaining unit 32, so that the user selects the corresponding application.
粘贴单元 34 , 用于启动用户选定的应用程序, 将所述复制内容粘贴到所 述用户选定的应用程序中。 The pasting unit 34 is configured to launch a user-selected application, and paste the copied content into the application selected by the user.
进一步的, 如图 7所示, 所述获取单元 32包括: 确定模块 321和第一获 取模块 322。 Further, as shown in FIG. 7, the obtaining unit 32 includes: a determining module 321 and a first obtaining module 322.
确定模块 321 , 用于分析所述复制内容, 确定所述复制内容的类型。 The determining module 321 is configured to analyze the copied content, and determine a type of the copied content.
其中, 复制内容可以粘贴到的应用程序有限, 并不是任何复制内容都允 许粘贴到所有应用程序中。 例如, 在网页浏览器中复制了一张图片, 则该复 制内容不允许粘贴到拨号键盘或邮件收件人等应用程序。 为了下一步获取允 许所述复制内容进行粘贴操作的应用程序, 需要预先确定复制内容的类型, 以便在配置文件中查询对应的参数。 Among them, the application to which the copied content can be pasted is limited, and not all copied content is allowed to be pasted into all applications. For example, if you copy a picture in a web browser, the copy content is not allowed to be pasted into an application such as a dial pad or mail recipient. In order to obtain an application that allows the copy content to be pasted, it is necessary to determine the type of the copied content in advance so as to query the corresponding parameter in the configuration file.
第一获取模块 322 , 用于根据所述复制内容的类型, 查询所述预定义的配 置文件, 获取允许所述复制内容进行粘贴操作的应用程序。 The first obtaining module 322 is configured to query the predefined configuration file according to the type of the copied content, and obtain an application that allows the copied content to perform a paste operation.
其中, 预定义的配置文件中包含了复制内容的类型和允许复制内容进行 粘贴操作的应用程序, 必要时还包含复制内容在应用程序中默认的粘贴位置。 根据确定模块 321 确定的复制内容的类型, 查询预定义的配置文件的对应位 置, 便可得到允许所述复制内容粘贴的应用程序。 Among them, the predefined configuration file contains the type of copy content and the application that allows the copy content to be pasted, and if necessary, the default paste location of the copy content in the application. According to the type of the copied content determined by the determining module 321, the corresponding location of the predefined configuration file is queried, and an application allowing the copied content to be pasted is obtained.
需要说明的是, 在个别情况下配置文件中的内容不仅限于上述内容, 还 可以包含光标所在位置、 焦点所在位置等内容, 本发明实施例不再——贅述。 用户可以在配置文件中自主添加、 删除或更改允许粘贴的应用程序和粘贴位 置等。 另外, 本发明实施例可以作为终端的固定功能, 也可以作为一个单独 的功能软件或其他形式, 所以所述预定义的配置文件可以存放于终端的全局 配置文件中, 也可以存放在本软件的配置文件夹中, 配置文件的其他形式和 存放位置本发明实施例这里将不再贅述。
进一步的, 如图 8所示, 所述粘贴单元 34包括: It should be noted that, in an individual case, the content in the configuration file is not limited to the above content, and may also include the location of the cursor, the location of the focus, and the like. Users can add, delete, or change the applications and paste locations that are allowed to be pasted in the configuration file. In addition, the embodiment of the present invention may be used as a fixed function of the terminal, or may be a separate function software or other form, so the predefined configuration file may be stored in the global configuration file of the terminal, or may be stored in the software. Other forms and storage locations of the configuration files in the configuration folder will not be described herein again. Further, as shown in FIG. 8, the pasting unit 34 includes:
第二获取模块 341 , 用于启动用户选定的应用程序, 获取所述复制内容粘 贴到所述用户选定的应用程序中的粘贴位置。 The second obtaining module 341 is configured to start a user-selected application, and obtain the pasting position of the copied content in the application selected by the user.
需要说明的是, 在预定义的配置文件中包含各个应用程序中默认的粘贴 位置, 该粘贴位置允许用户在配置文件中自主设定。 It should be noted that the default configuration file includes the default paste location in each application, and the paste location allows the user to set it autonomously in the configuration file.
第一粘贴模块 342 , 用于将所述复制内容粘贴到所述粘贴位置。 The first pasting module 342 is configured to paste the copied content to the pasting position.
进一步的, 如图 9所示, 所述粘贴单元 34包括: 显示模块 343、 第二粘 贴模块 344。 Further, as shown in FIG. 9, the pasting unit 34 includes: a display module 343 and a second pasting module 344.
显示模块 343 , 用于启动用户选定的应用程序, 将所述复制内容在所述应 用程序中可粘贴的位置显示。 The display module 343 is configured to launch a user-selected application, and display the copied content in a position that can be pasted in the application.
其中, 当复制内容允许在一个应用程序中的多个位置进行粘贴时, 根据 复制内容的类型和用户所选定的应用程序, 可以在预定义的配置文件中查询 可粘贴位置。 将获取到的可粘贴位置以子菜单或其他形式显示, 以便用户选 择要进行粘贴操作的具体位置。 Wherein, when the copied content is allowed to be pasted in multiple places in one application, the pasteable location can be queried in the predefined configuration file according to the type of the copied content and the application selected by the user. The obtained pasteable position is displayed in a submenu or other form so that the user can select a specific location to be pasted.
第二粘贴模块 344 , 用于根据用户的选择, 将所述复制内容粘贴到所述粘 贴位置。 The second pasting module 344 is configured to paste the copied content to the pasting position according to a user's selection.
进一步的, 如图 10所示, 所述终端还包括: Further, as shown in FIG. 10, the terminal further includes:
确定单元 35 , 用于确定是否启动智能粘贴模式。 The determining unit 35 is configured to determine whether to activate the smart paste mode.
在使用复制功能之前, 用户可以在系统设置或软件设置中自主选择是否 开启本发明的功能, 即智能粘贴模式。 Before using the copy function, the user can choose whether to turn on the function of the present invention, that is, the smart paste mode, in the system settings or software settings.
所述获取单元 32还用于, 在所述确定单元 35确定启动所述智能粘贴模 式时, 获取允许所述复制内容进行粘贴操作的应用程序。 The obtaining unit 32 is further configured to: when the determining unit 35 determines to activate the smart paste mode, acquire an application that allows the copy content to perform a paste operation.
粘贴操作单元 36 ,用于在所述确定单元 35确定没有启动所述智能粘贴模 式时, 按照普通模式逐步进行界面操作, 实现复制内容的粘贴。 The paste operation unit 36 is configured to, when the determining unit 35 determines that the smart paste mode is not activated, perform the interface operation step by step according to the normal mode to implement the paste of the copied content.
其中, 在使用复制功能之前, 用户可以在系统设置或软件设置中自主选 择是否开启本发明的功能, 即智能粘贴功能。 若终端上启用了智能粘贴模式, 则在复制操作后按照本发明的方法显示下一步的操作选项。 若终端上关闭了
智能粘贴模式, 则在复制操作后不进行任何操作提示, 仍然沿用现有技术中 的方法由用户进行一系列的界面切换和启动应用程序等操作。 Among them, before using the copy function, the user can choose whether to open the function of the present invention, that is, the smart paste function, in the system setting or the software setting. If the smart paste mode is enabled on the terminal, the next operation option is displayed in accordance with the method of the present invention after the copy operation. If the terminal is closed In the smart paste mode, no operation prompt is performed after the copy operation, and a series of interface switching and application startup operations are performed by the user in the prior art method.
需要说明的是, 本终端发明实施例的各个功能模块的技术方案已经在实 施例 1和 2中相应位置描述, 本发明实施例这里将不再贅述。 It should be noted that the technical solutions of the various functional modules of the embodiments of the present invention have been described in the corresponding positions in the embodiments 1 and 2, and the embodiments of the present invention will not be described herein.
本发明实施例提供的粘贴方法和终端, 在用户进行复制操作后, 根据复 制内容的确定并显示允许该复制内容进行粘贴操作的应用程序, 在启动用户 选定的应用程序后, 将所述复制内容粘贴到所述用户选定的应用程序中; 使 得用户在进行复制操作时, 根据复制内容直接进入需要粘贴的应用程序完成 粘贴, 避免了繁冗的界面切换操作, 使粘贴功能更加智能和便捷。 The pasting method and the terminal provided by the embodiment of the present invention, after the user performs the copying operation, according to the determination of the copied content and displaying the application that allows the copying content to perform the pasting operation, after the user selected application is started, the copying is performed. The content is pasted into the application selected by the user; when the user performs the copy operation, the user directly pastes into the application to be pasted according to the copied content, thereby avoiding the tedious interface switching operation and making the pasting function more intelligent and convenient.
通过以上的实施方式的描述, 所属领域的技术人员可以清楚地了解到本 发明可借助软件加必需的通用硬件的方式来实现, 当然也可以通过硬件, 但 很多情况下前者是更佳的实施方式。 基于这样的理解, 本发明的技术方案本 质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来, 该 计算机软件产品存储在可读取的存储介质中, 如计算机的软盘, 硬盘或光盘 等, 包括若干指令用以使得一台计算机设备(可以是个人计算机, 服务器, 或者网络设备等)执行本发明各个实施例所述的方法。 Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software plus necessary general hardware, and of course, by hardware, but in many cases, the former is a better implementation. . Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a readable storage medium, such as a floppy disk of a computer. A hard disk or optical disk or the like includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限 于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易 想到变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护 范围应以所述权利要求的保护范围为准。
The above is only the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the appended claims.
Claims
1、 一种粘贴方法, 其特征在于, 包括: A pasting method, characterized in that it comprises:
将用户选中的需要复制的内容进行复制, 得到复制内容; Copying the content selected by the user to be copied, and obtaining the copied content;
获取允许所述复制内容进行粘贴操作的应用程序; Obtaining an application that allows the copy content to be pasted;
将获取的所述应用程序显示, 以便用户选定对应的应用程序; Displaying the obtained application so that the user selects the corresponding application;
启动用户选定的应用程序, 将所述复制内容粘贴到所述用户选定的应用程 序中。 Launching the user-selected application and pasting the copied content into the user-selected application.
2、 根据权利要求 1所述粘贴方法, 其特征在于, 所述获取允许所述复制内 容进行粘贴操作的应用程序, 包括: 2. The pasting method according to claim 1, wherein the obtaining an application that allows the copying content to perform a paste operation comprises:
根据预定义的配置文件和所述复制内容, 获取允许所述复制内容进行粘贴 操作的应用程序; 所述预定义的配置文件中包含复制内容的类型和允许所述复 制内容进行粘贴操作的应用程序。 Obtaining, according to the predefined configuration file and the copying content, an application that allows the copying content to perform a pasting operation; the predefined configuration file includes a type of the copied content and an application that allows the copied content to be pasted .
3、 根据权利要求 2所述粘贴方法, 其特征在于, 所述根据预定义的配置文 件和所述用户选中的需要复制的内容, 获取允许所述复制内容进行粘贴操作的 应用程序, 包括: The pasting method according to claim 2, wherein the obtaining, according to the predefined configuration file and the content selected by the user, the application for allowing the copy content to be pasted, includes:
分析所述复制内容, 确定所述复制内容的类型; Analyzing the copied content, determining a type of the copied content;
根据所述复制内容的类型, 查询所述预定义的配置文件, 获取允许所述复 制内容进行粘贴操作的应用程序。 Querying the predefined configuration file according to the type of the copied content, and obtaining an application that allows the copying content to perform a paste operation.
4、 根据权利要求 2所述粘贴方法, 其特征在于, 所述配置文件中还包括复 制内容粘贴到对应应用程序的粘贴位置; 所述启动用户选定的应用程序, 将所 述复制内容粘贴到所述用户选定的应用程序中包括: The pasting method according to claim 2, wherein the configuration file further includes a pasting location where the copied content is pasted into the corresponding application; the launching the selected application by the user, and pasting the copied content to The user selected application includes:
启动用户选定的应用程序, 获取所述复制内容粘贴到所述用户选定的应用 程序中的粘贴位置; Launching a user-selected application, and obtaining a pasted location of the copied content into the application selected by the user;
将所述复制内容粘贴到所述粘贴位置。 Paste the copied content to the pasting location.
5、 根据权利要求 1所述粘贴方法, 其特征在于, 所述启动用户选定的应用 程序, 将所述复制内容粘贴到所述用户选定的应用程序中包括: 5. The pasting method according to claim 1, wherein the initiating a user-selected application to paste the copied content into the user-selected application comprises:
启动用户选定的应用程序, 将所述复制内容在所述应用程序中可粘贴的位 置显示; Launching a user-selected application, the bits that the copied content can be pasted in the application Display
根据用户的选择, 将所述复制内容粘贴到所述粘贴位置。 The copied content is pasted to the pasting location according to the user's selection.
6、 根据权利要求 1-5任一项所述粘贴方法, 其特征在于, 在将用户选中的 需要复制的内容进行复制, 得到复制内容之后, 还包括: The pasting method according to any one of claims 1-5, wherein after copying the content selected by the user and copying the content to obtain the copied content, the method further includes:
确定是否启动智能粘贴模式; Determine whether to activate the smart paste mode;
所述获取允许所述复制内容进行粘贴操作的应用程序为: 若确定启动所述 智能粘贴模式, 则获取允许所述复制内容进行粘贴操作的应用程序; The obtaining an application that allows the copy content to perform a paste operation is: if it is determined that the smart paste mode is activated, acquiring an application that allows the copy content to perform a paste operation;
若确定没有启动所述智能粘贴模式, 则按照普通模式逐步进行界面操作, 实现复制内容的粘贴。 If it is determined that the smart paste mode is not activated, the interface operation is performed step by step in the normal mode to implement pasting of the copied content.
7、 一种终端, 其特征在于, 包括: 7. A terminal, comprising:
复制单元, 用于将用户选中的需要复制的内容进行复制, 得到复制内容; 获取单元, 用于获取允许所述复制内容进行粘贴操作的应用程序; 显示单元, 用于将所述获取单元获取的所述应用程序显示, 以便用户选定 对应的应用程序; a copying unit, configured to: copy the content that is selected by the user to be copied, to obtain the copied content; the acquiring unit, configured to obtain an application that allows the copying operation to perform the pasting operation; and a display unit, configured to acquire the acquiring unit The application displays, so that the user selects the corresponding application;
粘贴单元, 用于启动用户选定的应用程序, 将所述复制内容粘贴到所述用 户选定的应用程序中。 a pasting unit, configured to launch a user-selected application, and paste the copied content into the application selected by the user.
8、 根据权利要求 7所述终端, 其特征在于, 所述获取单元用于, 根据预定 义的配置文件和所述复制内容, 获取允许所述复制内容进行粘贴操作的应用程 序; 所述预定义的配置文件中包含复制内容的类型和允许所述复制内容进行粘 贴操作的应用程序。 The terminal according to claim 7, wherein the acquiring unit is configured to: obtain an application that allows the copy content to perform a paste operation according to the predefined configuration file and the copy content; The configuration file contains the type of copy content and the application that allows the copy content to be pasted.
9、 根据权利要求 8所述终端, 其特征在于, 所述获取单元包括: 确定模块, 用于分析所述复制内容, 确定所述复制内容的类型; The terminal according to claim 8, wherein the obtaining unit comprises: a determining module, configured to analyze the copied content, and determine a type of the copied content;
第一获取模块, 用于根据所述复制内容的类型, 查询所述预定义的配置文 件, 获取允许所述复制内容进行粘贴操作的应用程序。 And a first obtaining module, configured to query the predefined configuration file according to the type of the copied content, and obtain an application that allows the copied content to perform a paste operation.
10、 根据权利要求 8 所述终端, 其特征在于, 所述配置文件中还包括复制 内容粘贴到对应应用程序的粘贴位置; 所述粘贴单元包括: The terminal according to claim 8, wherein the configuration file further includes: a pasting location where the copied content is pasted into the corresponding application; the pasting unit includes:
第二获取模块, 用于启动用户选定的应用程序, 获取所述复制内容粘贴到 所述用户选定的应用程序中的粘贴位置; a second obtaining module, configured to start a user selected application, and obtain the copied content to be pasted into a pasting location in the application selected by the user;
第一粘贴模块, 用于将所述复制内容粘贴到所述粘贴位置。 a first pasting module, configured to paste the copied content to the pasting position.
11、 根据权利要求 7所述终端, 其特征在于, 所述粘贴单元包括: 显示模块, 用于启动用户选定的应用程序, 将所述复制内容在所述应用程 序中可粘贴的位置显示; The terminal according to claim 7, wherein the pasting unit comprises: a display module, configured to start an application selected by the user, and display the copied content in a position that can be pasted in the application;
第二粘贴模块, 用于根据用户的选择, 将所述复制内容粘贴到所述粘贴位 置。 And a second pasting module, configured to paste the copied content to the pasting position according to a user's selection.
12、 根据权利要求 7-11任一项所述终端, 其特征在于, 还包括: 确定单元, 用于在所述复制单元将用户选中的需要复制的内容进行复制, 得到复制内容之后, 确定是否启动智能粘贴模式; The terminal according to any one of claims 7 to 11, further comprising: a determining unit, configured to: after the copying unit copies the content that needs to be copied selected by the user, and obtain the copied content, determine whether Start smart paste mode;
所述获取单元还用于, 在所述确定单元确定启动所述智能粘贴模式时, 获 取允许所述复制内容进行粘贴操作的应用程序; The obtaining unit is further configured to: when the determining unit determines to start the smart paste mode, obtain an application that allows the copy content to perform a paste operation;
粘贴操作单元, 用于在所述确定单元确定没有启动所述智能粘贴模式时, 按照普通模式逐步进行界面操作, 实现复制内容的粘贴。 And a pasting operation unit, configured to perform the interface operation step by step according to the normal mode when the determining unit determines that the smart paste mode is not activated, and implement paste of the copied content.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2011/076513 WO2013000123A1 (en) | 2011-06-28 | 2011-06-28 | Pasting method and terminal thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2011/076513 WO2013000123A1 (en) | 2011-06-28 | 2011-06-28 | Pasting method and terminal thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2013000123A1 true WO2013000123A1 (en) | 2013-01-03 |
Family
ID=47423363
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2011/076513 WO2013000123A1 (en) | 2011-06-28 | 2011-06-28 | Pasting method and terminal thereof |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2013000123A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2558349A (en) * | 2016-12-30 | 2018-07-11 | Google Llc | Contextual paste target prediction |
US10853564B2 (en) | 2016-04-28 | 2020-12-01 | Huawei Technologies Co., Ltd. | Operation for copied content |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020175955A1 (en) * | 1996-05-10 | 2002-11-28 | Arno Gourdol | Graphical user interface having contextual menus |
CN101523350A (en) * | 2006-09-29 | 2009-09-02 | 株式会社爱可信 | Document processing device and program |
CN101763341A (en) * | 2009-12-23 | 2010-06-30 | 宇龙计算机通信科技(深圳)有限公司 | Text cooperative method, system and touch screen equipment |
-
2011
- 2011-06-28 WO PCT/CN2011/076513 patent/WO2013000123A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020175955A1 (en) * | 1996-05-10 | 2002-11-28 | Arno Gourdol | Graphical user interface having contextual menus |
CN101523350A (en) * | 2006-09-29 | 2009-09-02 | 株式会社爱可信 | Document processing device and program |
CN101763341A (en) * | 2009-12-23 | 2010-06-30 | 宇龙计算机通信科技(深圳)有限公司 | Text cooperative method, system and touch screen equipment |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10853564B2 (en) | 2016-04-28 | 2020-12-01 | Huawei Technologies Co., Ltd. | Operation for copied content |
US11868710B2 (en) | 2016-04-28 | 2024-01-09 | Honor Device Co., Ltd. | Method and apparatus for displaying a text string copied from a first application in a second application |
US12406133B2 (en) | 2016-04-28 | 2025-09-02 | Honor Device Co., Ltd. | Method and apparatus for displaying text content copied from a first application in a second application |
GB2558349A (en) * | 2016-12-30 | 2018-07-11 | Google Llc | Contextual paste target prediction |
US10514833B2 (en) | 2016-12-30 | 2019-12-24 | Google Llc | Contextual paste target prediction |
US11567642B2 (en) | 2016-12-30 | 2023-01-31 | Google Llc | Contextual paste target prediction |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105867925B (en) | Shortcut establishing method and electronic equipment | |
CN103064584B (en) | Pasting method and device | |
US10728196B2 (en) | Method and storage medium for voice communication | |
CN103616992B (en) | Application control method and device | |
WO2015070581A1 (en) | Method and apparatus for saving file, and mobile terminal | |
CN106201204B (en) | Start the method and apparatus of application function | |
CN110704647B (en) | Content processing method and device | |
WO2022089568A1 (en) | File sharing method and apparatus, and electronic device | |
CN102577584A (en) | Routing user data entries to applications | |
WO2012089049A1 (en) | Method and cell phone for capturing audio file or video file | |
WO2013178152A1 (en) | Method for copying and pasting text through dragging for terminal, and terminal | |
CN105872254A (en) | Method and device for forwarding messages | |
CN106789551B (en) | Conversation message display method and device | |
CN103945073A (en) | Method and electronic device for providing call rejection function | |
CN111142756A (en) | Page display method, equipment and computer readable storage medium | |
WO2017008646A1 (en) | Method of selecting a plurality targets on touch control terminal and equipment utilizing same | |
CN111813305A (en) | Application startup method and device | |
CN103530110A (en) | Timing reminder method using pictures as timing reminder content | |
CN108196779B (en) | Background setting method based on double screens, mobile terminal and device | |
CN106161518A (en) | Information sharing method and device | |
CN104881208A (en) | To-be-processed message display control method and device | |
WO2013000123A1 (en) | Pasting method and terminal thereof | |
CN106778507A (en) | Text extraction method and device | |
WO2016061921A1 (en) | Method, device, terminal and computer storage medium for combining multiple application operations | |
CN104598023A (en) | Method and device for selecting files through gesture recognition |
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: 11868742 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 29.04.14) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 11868742 Country of ref document: EP Kind code of ref document: A1 |