WO2016173307A1 - Message copying method and device, and smart terminal - Google Patents

Message copying method and device, and smart terminal Download PDF

Info

Publication number
WO2016173307A1
WO2016173307A1 PCT/CN2016/072171 CN2016072171W WO2016173307A1 WO 2016173307 A1 WO2016173307 A1 WO 2016173307A1 CN 2016072171 W CN2016072171 W CN 2016072171W WO 2016173307 A1 WO2016173307 A1 WO 2016173307A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
touch screen
gesture
screen operation
copy source
Prior art date
Application number
PCT/CN2016/072171
Other languages
French (fr)
Chinese (zh)
Inventor
杜霁轩
马骏
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016173307A1 publication Critical patent/WO2016173307A1/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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Definitions

  • This document relates to, but is not limited to, the field of intelligent terminal technologies, and in particular, to a message copying method and apparatus, and an intelligent terminal.
  • touch screens have become more and more popular as a popular configuration.
  • the main operation modes are also increasingly moving toward touch mode.
  • the development of capacitive touch screens also makes the system touch.
  • the identification of control operations is more intelligent and diversified, and supports multi-touch operation.
  • the screen is also getting larger and larger, so the split-screen technology has been applied, making the terminal devices such as mobile phones like PCs. In the same way, you can open multiple interfaces at the same time and operate at the same time.
  • the embodiment of the invention provides a message copying method and device, and an intelligent terminal, which can avoid cumbersome copying and pasting operations and improve user experience.
  • the embodiment of the invention provides a message copying method, including:
  • the message copying method includes:
  • the message element in the copy source is extracted according to the touch screen operation gesture
  • the extracted message elements are saved to the pasteboard.
  • the extracting the message element in the copy source according to the touch screen operation gesture specifically includes:
  • One or more message elements in the copy source are extracted according to a predetermined extraction rule according to the number of touch points corresponding to the touch screen operation gesture.
  • the predetermined extraction rule comprises one or more of the following rules:
  • N the number of the touched points is N
  • the N-1th message element in the copy source is extracted; wherein N is 2, 3, 4 or 5.
  • the extracting the message element in the copy source according to the touch screen operation gesture specifically includes:
  • extracting one of the message elements in the predetermined priority order includes:
  • the touch screen operation gesture is a single first gesture, extracting the first message element in the copy source according to a predetermined priority order;
  • one of the plurality of message elements is sequentially switched and extracted according to a predetermined priority order according to the number of clicks of the first gesture consecutively.
  • the extracting the message element in the copy source according to the touch screen operation gesture specifically includes:
  • the type of message element includes one or more of a text field, a phone number, a mail, a hyperlink, or a picture.
  • An embodiment of the present invention further provides a message replication apparatus, where the message replication apparatus method includes:
  • a monitoring unit configured to detect a touch screen operation gesture of the touch screen
  • the extracting unit is configured to: when the touch screen operation gesture is detected and the touch point of the touch screen operation gesture is in the range of the copy source, extract the message element in the copy source according to the touch screen operation gesture;
  • a copy unit configured to save the extracted message element to the pasteboard.
  • the extracting unit comprises:
  • the first extraction module is configured to extract one or more message elements in the copy source according to a predetermined extraction rule according to the number of touch points corresponding to the touch screen operation gesture.
  • the extracting unit further includes:
  • the second extraction module is configured to: when the touch screen operation gesture is the first gesture, extract one of the message elements in the copy source according to a predetermined priority order according to the number of touch screens of the first gesture.
  • the second extraction module specifically includes:
  • a single extraction sub-module configured to extract the first message element in the copy source according to a predetermined priority order when the touch screen operation gesture is a single first gesture
  • the extracting unit further includes:
  • a third extraction module configured to: when the touch screen operation gesture is a second gesture, select all message elements in the copy source, and use all the message elements as optional items according to input through the touch screen Selection operation, retaining one or more message elements in the optional item as a mention The message element to fetch.
  • the message copying apparatus further includes: a message prompting unit, configured to display, after the completion of the message element in the extracted copy source, a prompt message indicating that the extraction has been completed, where the prompt message is Include the content of the message element.
  • a message prompting unit configured to display, after the completion of the message element in the extracted copy source, a prompt message indicating that the extraction has been completed, where the prompt message is Include the content of the message element.
  • An embodiment of the present invention further provides an intelligent terminal, where the smart terminal includes any of the foregoing message copying devices.
  • the message element to be copied can be directly extracted by the operation gesture, thereby completing the copying operation.
  • the operation is not required through the pop-up menu, thereby simplifying copying and pasting.
  • the operational process improves the user experience satisfaction.
  • an extracting of a message element to be copied is performed by the number of touched points, and by copying the setting manner, the copying and pasting of the message element can be completed in a quick and simple manner. Operation improves the user experience satisfaction.
  • FIG. 1 is a schematic flowchart of a message copying method according to an embodiment of the present invention.
  • FIGS. 2A to 2D are schematic diagrams showing operations of a message copying method in different scenarios according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a message copying apparatus according to an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart of a message copying method according to an embodiment of the present invention. It can be applied to terminal devices such as smart terminals.
  • a message copying method provided by an embodiment of the present invention includes:
  • Step S200 When a touch screen operation gesture is detected and a touch point of the touch screen operation gesture is in a range of the copy source, the message element in the copy source is extracted according to the touch screen operation gesture;
  • Step S300 Save the extracted message element to the pasteboard.
  • step S200 before step S200, further comprising step S100, detecting a touch screen operation gesture of the touch screen, and determining whether the touch point of the touch screen operation gesture is at the copy source when the touch screen operation gesture is detected In the scope.
  • the copy source is a copy object in any area in the current screen.
  • the specific content of the copy source includes one or more of a copyable text field, a message field, a picture, a hyperlink, and a number.
  • the message element refers to content that can be copied or cut within the copy source.
  • the type of message element includes one or more of a text field, a phone number, a mail, a hyperlink, and a picture.
  • the crawling method according to the prior art can identify individual message elements within the copy source.
  • the content in the pasteboard can be copied to the paste target.
  • the touch screen operation gesture may be a first gesture or a second gesture.
  • the first gesture is set as a click gesture
  • the second gesture is set as a pressing gesture
  • the foregoing setting is an optional manner, and other setting manners may also be adopted.
  • the touch screen operation gesture may include one or more touch points.
  • the touch screen operation gesture includes 2 to 5 touch points.
  • the touch screen operation gesture includes 3 touch points.
  • the touch screen operation gesture is simultaneous click of two fingers, or the touch screen operation gesture is simultaneous pressing by two fingers, or the touch screen operation gesture is simultaneous click by three fingers.
  • determining whether the touch point of the touch screen operation gesture is included in the range of the copy source includes: confirming coordinates of the touch point, if multiple touch points are included, acquiring coordinates of the plurality of touch points, according to coordinates of the touch point, and Copy the coordinate range of the source to determine the coordinates of the touch point of the touch screen operation gesture Whether it is within the coordinate range of the copy source.
  • step S200 includes: extracting one or more message elements in the copy source according to a predetermined extraction rule according to the number of touch points corresponding to the touch screen operation gesture.
  • step S100 determining whether the touch point of the touch screen operation gesture is in the range of the copy source further comprises: acquiring the touch points in the range of the same copy source number.
  • the predetermined extraction rule includes one or more of the following rules: when the number of the touched points is one, all the message elements in the copy source are extracted; when the number of the touched points is N, Extracting the N-1th message element in the copy source; where N is 2, 3, 4, or 5.
  • the predetermined extraction rule is: according to the number of touched points and the priority order of preset different types of message elements. Extract different types of message elements, including:
  • the priority order of the message elements is set from high to low in order: phone number, mail, hyperlink, picture, text field.
  • the priority order may be set by a user.
  • step S200 includes:
  • Step S210 The system determines whether the touch screen operation gesture is a press gesture or a click gesture
  • the first time threshold may be set to 400 ms to 1 s, for example, the first time threshold may be 500 ms, 800 ms, or 1000 ms.
  • the touch screen operation gesture includes one or more touch points, in an implementation of the present invention
  • the touch screen operation gesture includes 2 to 4 touch points, for example, the touch screen operation gesture includes 3 touch points.
  • the touch screen operation gesture is that two fingers click at the same time, or the touch screen operation gesture is pressed by two fingers at the same time, or the touch screen operation gesture is three fingers simultaneously clicking,
  • Step S220 When the touch screen operation gesture is the second gesture, select all message elements in the copy source.
  • Step S230 If it is a click gesture, according to the number of touch screens of the first gesture, the corresponding message elements in the copy source are extracted according to a predetermined priority order.
  • the method further includes: using all the message elements as optional items, and retaining the available according to a selection operation input through a touch screen Select one or more message elements in the item as the extracted message element.
  • Step S230 includes:
  • Step S232 When the touch screen operation gesture is a single first gesture, extract the first message element in the copy source according to a predetermined priority order.
  • Step S233 When the touch screen operation gesture is the first plurality of gestures consecutively, according to the number of clicks of the first gesture consecutively, one of the plurality of message elements is sequentially switched and extracted according to a predetermined priority order. element.
  • step S230 further includes step S231, and step S231 is before step S232;
  • Step S231 If the touch screen operation gesture is a click gesture, continue to determine whether it is a continuous multiple click gesture or a single click gesture. In the case of consecutive multiple click gestures, it is also necessary to determine the number of clicks of the first gesture consecutive times.
  • the predetermined priority order is set to the priority of multiple message elements in the range of the copy source from first to last, then, when clicked once, the first message element is extracted, and when two consecutive clicks are taken, the extraction is performed.
  • the second message element and so on.
  • the adjacent two clicks may be determined as a continuous click gesture
  • the second time threshold may be set to 0.5 to 5 s, for example, the second time threshold may be 1 s, 2 s, 3 s or 4 s.
  • step S200 may be used alone or in combination.
  • the following description will be made in the specific implementation scenario with reference to the accompanying drawings.
  • 2A-2D are schematic diagrams of operations of a message copying method in different scenarios according to an embodiment of the present invention.
  • the left side of the touch screen of the mobile phone includes a copy source 100
  • the copy source 100 is a text message containing two message elements, namely a phone number 1234567 and an email address abcd@zte.com
  • the mobile phone displays
  • the right side of the interface includes a paste field 200, which is an edit area within a notepad window.
  • the system extracts the message element in the copy source according to the touch screen operation gesture. Different extraction processes will be performed according to the settings of the system.
  • the system is set to determine whether the touch screen operation gesture is a press gesture or a click gesture, and performs different operations according to the press gesture and the click gesture as an example.
  • the touch screen operation gesture corresponding to the touch point 110 is a click gesture
  • the first message element is extracted, and the message element is copied into the pasteboard, and the pasteboard is actually a paste for the system setting, and the user can paste Paste the contents of the board into other pasted fields.
  • the system may pop up a prompt box 210 as shown on the right side of FIG. 2A, prompting the currently copied content, that is, the extracted message element is the phone number 1234567.
  • the touch screen operation gesture corresponding to the touch point 110 is a press gesture
  • all the message elements are extracted, all the message elements are used as optional items, and the selection prompt box 220 is displayed, and the user can select
  • the prompt box 220 selects a message element to be pasted, and the system reserves one or more message elements in the selectable item according to the selection operation input through the selection prompt box 220.
  • the user selects the second one.
  • the message element the system copies the second message element into the pasteboard, and at the same time, the system may pop up a prompt box 230 as shown on the right side of FIG. 2B, prompting the currently copied content, that is, the extracted message element is an email. Address Abcd@zte.com.
  • the following is an example in which the system is set to extract one or more message elements in the copy source according to a predetermined extraction rule according to the number of touch points corresponding to the touch screen operation gesture.
  • the system may pop up a prompt box 240 as shown on the right side of FIG. 2C.
  • Prompt for the currently copied content ie the extracted message elements are phone number 1234567 and email address abcd@zte.com.
  • the first message element is extracted according to a predetermined extraction rule, and the system may pop up the prompt box 250 as shown on the right side of FIG. 2D. , prompts the currently copied content, that is, the extracted message element is the phone number 1234567.
  • the embodiment of the present invention further provides a message copying apparatus, which can be disposed in a terminal device, such as an intelligent terminal.
  • FIG. 3 is a schematic structural diagram of a message copying apparatus according to an embodiment of the present invention. As shown in FIG. 3, the message copying apparatus method provided by the embodiment of the present invention includes:
  • the monitoring unit 10 is configured to detect a touch screen operation gesture of the touch screen
  • the extracting unit 20 is configured to: when the touch screen operation gesture is detected and the touch point of the touch screen operation gesture is in the range of the copy source, extract the message element in the copy source according to the touch screen operation gesture;
  • the copy unit 30 is arranged to save the extracted message elements into the pasteboard.
  • the monitoring unit 10 is further configured to determine whether the touch point of the touch screen operation gesture is in the range of the copy source when the touch screen operation gesture is detected.
  • the extracting unit 20 includes:
  • the first extraction module 21 is configured to extract one or more message elements in the copy source according to a predetermined extraction rule according to the number of touch points corresponding to the touch screen operation gesture.
  • the extracting unit further includes:
  • the second extraction module 22 is configured to: when the touch screen operation gesture is the first gesture, extract one of the message elements in the copy source according to a predetermined priority order according to the number of touch screens of the first gesture.
  • the second extraction module 22 includes:
  • the single extraction sub-module 222 is configured to: when the touch screen operation gesture is a single first gesture, extract the first message element in the copy source according to a predetermined priority order;
  • the multiple extraction sub-module 223 is configured to sequentially switch among the plurality of message elements according to a predetermined priority order according to the number of clicks of the first plurality of gestures when the touch screen operation gesture is the first plurality of gestures consecutively. And extract one of the message elements.
  • the second extraction module 22 further includes a determining sub-module 221, configured to determine whether the touch-screen operation gesture is a plurality of consecutive first gestures or a single first gesture, and is in touch The screen operation gesture is that the first gesture is consecutive times, and the number of clicks of the first gesture is determined.
  • the extracting unit 20 further includes:
  • the third extraction module 23 is configured to select all the message elements in the copy source when the touch screen operation gesture is the second gesture, and use all the message elements as optional items according to the touch screen The selected selection operation retains one or more of the message elements in the optional item as the extracted message element.
  • the message copying apparatus further includes: a message prompting unit 40, configured to display, after the completion of the message element in the extracted copy source, a prompt message indicating that the extraction has been completed, where the prompt message includes the The content of the message element.
  • a message prompting unit 40 configured to display, after the completion of the message element in the extracted copy source, a prompt message indicating that the extraction has been completed, where the prompt message includes the The content of the message element.
  • An embodiment of the present invention further provides an intelligent terminal, where the smart terminal includes any of the message copying devices in the foregoing embodiments.
  • the smart terminal may be a smartphone, a tablet, a personal computer with touch screen input, or the like.
  • each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function.
  • the invention is not limited to any specific form of combination of hardware and software.
  • the above technical solution can directly extract the message element to be copied by operating gestures, thereby completing the copying operation, and simplifying the operation flow during copying and pasting.

Landscapes

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

Abstract

A message copying method and device, and a smart terminal. The message copying method comprises: upon detection of a touch screen operation gesture and detection that a touch point of the touch screen operation gesture is within a range of a copy source, extracting a message element within the copy source according to the touch screen operation gesture; storing the extracted message element within a pasteboard. In the message copying method, the message element to be copied may be directly extracted via the operation gesture, thereby completing a copy operation, and under normal conditions, performing operations via a pop-up menu is not necessary. The message copying method thus simplifies an operation process during copying and pasting, and improves the experience satisfaction for user operations.

Description

一种消息复制方法和装置、以及智能终端Message copying method and device, and intelligent terminal 技术领域Technical field
本文涉及但不限于智能终端技术领域,特别涉及一种消息复制方法和装置、以及智能终端。This document relates to, but is not limited to, the field of intelligent terminal technologies, and in particular, to a message copying method and apparatus, and an intelligent terminal.
背景技术Background technique
在当前包括PC个人电脑和通讯终端的智能设备中,触摸屏已经越来越作为一种普及的配置存在,主要的操作方式也越来越向触摸方式发展,电容式触摸屏的发展也使得系统对触控操作的识别更加智能化和多样化,同时支持多点触摸操作,此外,在当前的终端设备上,屏幕也越来越大,于是分屏技术得到了应用,使得手机等终端设备像PC机一样,可以同时打开多个界面,同时进行操作。In the current smart devices including PC personal computers and communication terminals, touch screens have become more and more popular as a popular configuration. The main operation modes are also increasingly moving toward touch mode. The development of capacitive touch screens also makes the system touch. The identification of control operations is more intelligent and diversified, and supports multi-touch operation. In addition, on the current terminal devices, the screen is also getting larger and larger, so the split-screen technology has been applied, making the terminal devices such as mobile phones like PCs. In the same way, you can open multiple interfaces at the same time and operate at the same time.
在当前的触摸屏设备中,大多数对消息的复制都需要通过点选(长按)触发事件,在弹出的菜单中选择“复制”等相应选项,同时在需要文本字段粘贴的地方长按,在弹出的菜单中选择“粘贴”等相应选项。在应用复制粘贴时,很多情况下需要选取电话号码或邮件地址等特殊的要素进行粘连,如果需要提取消息中的不同要素,则需要进行多次的复制和粘贴的操作,例如,一个短消息中既包括电话号码,又包括邮箱地址,还包括用户ID等元素,这些元素在短消息中并不是连续的,如果需要复制上述不同元素,需要进行多次的复制和粘贴操作。因此,相关的复制和粘贴方法在某些应用场景下,其操作过程较为复杂,影响了用户的使用体验。In the current touch screen device, most of the copying of the message needs to trigger the event by clicking (long press), select the corresponding option such as "copy" in the pop-up menu, and long press in the place where the text field is pasted, at In the pop-up menu, select the appropriate option such as "Paste". In the application copy and paste, in many cases, you need to select special elements such as phone number or email address to paste. If you need to extract different elements in the message, you need to copy and paste multiple times, for example, in a short message. It includes both phone numbers and email addresses, as well as elements such as user IDs. These elements are not contiguous in short messages. If you need to copy the above different elements, you need to copy and paste multiple times. Therefore, the related copy and paste method is complicated in some application scenarios, which affects the user experience.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例提供一种消息复制方法和装置、以及智能终端,可避免出现繁琐的复制和粘贴操作,提高用户使用体验。 The embodiment of the invention provides a message copying method and device, and an intelligent terminal, which can avoid cumbersome copying and pasting operations and improve user experience.
本发明实施例提供了一种消息复制方法,包括:The embodiment of the invention provides a message copying method, including:
所述消息复制方法包括:The message copying method includes:
当检测到触屏操作手势且触屏操作手势的触摸点在复制源的范围中时,根据所述触屏操作手势提取所述复制源中的消息元素;When a touch screen operation gesture is detected and a touch point of the touch screen operation gesture is in a range of the copy source, the message element in the copy source is extracted according to the touch screen operation gesture;
将所提取的所述消息元素保存到粘贴板中。The extracted message elements are saved to the pasteboard.
在本发明的一种实施例中,所述根据所述触屏操作手势提取所述复制源中的消息元素具体包括:In an embodiment of the present invention, the extracting the message element in the copy source according to the touch screen operation gesture specifically includes:
根据触屏操作手势对应的触摸点的个数,按照预定的提取规则提取复制源中的一个或多个消息元素。One or more message elements in the copy source are extracted according to a predetermined extraction rule according to the number of touch points corresponding to the touch screen operation gesture.
在本发明的一种实施例中,所述预定的提取规则包括如下规则中的一个或多个:In an embodiment of the invention, the predetermined extraction rule comprises one or more of the following rules:
当所述触摸点的个数为1个时,提取复制源中的全部消息元素;When the number of the touched points is one, all the message elements in the copy source are extracted;
当所述触摸点的个数为N个时,提取复制源中的第N-1个消息元素;其中,N为2、3、4或5。When the number of the touched points is N, the N-1th message element in the copy source is extracted; wherein N is 2, 3, 4 or 5.
在本发明的一种实施例中,所述根据所述触屏操作手势提取所述复制源中的消息元素具体包括:In an embodiment of the present invention, the extracting the message element in the copy source according to the touch screen operation gesture specifically includes:
当判断所述触屏操作手势是第一手势时,根据第一手势的触屏次数,按照预定的优先级顺序提取复制源中相应的消息元素。When it is determined that the touch screen operation gesture is the first gesture, according to the number of touch screens of the first gesture, corresponding message elements in the copy source are extracted according to a predetermined priority order.
在本发明的一种实施例中,所述根据第一手势的触屏次数,则按照预定的优先级顺序提取复制源中的某一个消息元素包括:In an embodiment of the present invention, according to the number of touch screens of the first gesture, extracting one of the message elements in the predetermined priority order includes:
当所述触屏操作手势是单次第一手势时,按照预定的优先级顺序提取复制源中第一个消息元素;When the touch screen operation gesture is a single first gesture, extracting the first message element in the copy source according to a predetermined priority order;
当所述触屏操作手势是连续多次第一手势时,根据连续多次第一手势的点击次数,按照预定的优先级顺序在多个消息元素中依次切换并提取其中的一个消息元素。When the touch screen operation gesture is a plurality of first gestures consecutively, one of the plurality of message elements is sequentially switched and extracted according to a predetermined priority order according to the number of clicks of the first gesture consecutively.
在本发明的一种实施例中,所述根据所述触屏操作手势提取所述复制源中的消息元素具体包括: In an embodiment of the present invention, the extracting the message element in the copy source according to the touch screen operation gesture specifically includes:
当所述触屏操作手势是第二手势时,选择复制源中的所有的消息元素,并且,将所述所有的消息元素作为可选项目,根据通过触屏输入的选择操作,保留所述可选项目中的一个或多个消息元素作为提取的消息元素。When the touch screen operation gesture is the second gesture, all the message elements in the copy source are selected, and all the message elements are used as optional items, and the reservation is retained according to the selection operation input through the touch screen One or more message elements in the optional item as the extracted message element.
在本发明的一种实施例中,所述消息元素的类型包括文本字段、电话号码、邮件、超级链接、或图片中的一种或多种。In one embodiment of the invention, the type of message element includes one or more of a text field, a phone number, a mail, a hyperlink, or a picture.
本发明实施例还提供一种消息复制装置,所述消息复制装置法包括:An embodiment of the present invention further provides a message replication apparatus, where the message replication apparatus method includes:
监听单元,设置为检测触摸屏的触屏操作手势;a monitoring unit configured to detect a touch screen operation gesture of the touch screen;
提取单元,设置为当检测到触屏操作手势且触屏操作手势的触摸点在复制源的范围中时,根据所述触屏操作手势提取所述复制源中的消息元素;The extracting unit is configured to: when the touch screen operation gesture is detected and the touch point of the touch screen operation gesture is in the range of the copy source, extract the message element in the copy source according to the touch screen operation gesture;
复制单元,设置为将所提取的所述消息元素保存到粘贴板中。A copy unit configured to save the extracted message element to the pasteboard.
在本发明的一种实施例中,所述提取单元包括:In an embodiment of the invention, the extracting unit comprises:
第一提取模块,设置为根据触屏操作手势对应的触摸点的个数,按照预定的提取规则提取复制源中的一个或多个消息元素。The first extraction module is configured to extract one or more message elements in the copy source according to a predetermined extraction rule according to the number of touch points corresponding to the touch screen operation gesture.
在本发明的一种实施例中,所述提取单元还包括:In an embodiment of the present invention, the extracting unit further includes:
第二提取模块,设置为当所述触屏操作手势是第一手势时,根据第一手势的触屏次数,按照预定的优先级顺序提取复制源中的某一个消息元素。The second extraction module is configured to: when the touch screen operation gesture is the first gesture, extract one of the message elements in the copy source according to a predetermined priority order according to the number of touch screens of the first gesture.
在本发明的一种实施例中,所述第二提取模块具体包括:In an embodiment of the present invention, the second extraction module specifically includes:
单次提取子模块,设置为当所述触屏操作手势是单次第一手势时,按照预定的优先级顺序提取复制源中第一个消息元素;a single extraction sub-module, configured to extract the first message element in the copy source according to a predetermined priority order when the touch screen operation gesture is a single first gesture;
多次提取子模块,设置为当所述触屏操作手势是连续多次第一手势时,根据连续多次第一手势的点击次数,按照预定的优先级顺序在多个消息元素中依次切换并提取其中的一个消息元素。Extracting the sub-module multiple times, when the touch screen operation gesture is the first plurality of gestures consecutively, according to the number of clicks of the first gesture consecutively, sequentially switching among the plurality of message elements according to a predetermined priority order Extract one of the message elements.
在本发明的一种实施例中,所述提取单元还包括:In an embodiment of the present invention, the extracting unit further includes:
第三提取模块,设置为当所述触屏操作手势是第二手势时,选择复制源中的所有的消息元素,并且,将所述所有的消息元素作为可选项目,根据通过触屏输入的选择操作,保留所述可选项目中的一个或多个消息元素作为提 取的消息元素。a third extraction module, configured to: when the touch screen operation gesture is a second gesture, select all message elements in the copy source, and use all the message elements as optional items according to input through the touch screen Selection operation, retaining one or more message elements in the optional item as a mention The message element to fetch.
在本发明的一种实施例中,所述消息复制装置还包括:消息提示单元,设置为在提取复制源中消息元素完成之后,显示用于表示提取已完成的提示消息,所述提示消息中包括所述消息元素的内容。In an embodiment of the present invention, the message copying apparatus further includes: a message prompting unit, configured to display, after the completion of the message element in the extracted copy source, a prompt message indicating that the extraction has been completed, where the prompt message is Include the content of the message element.
本发明实施例还提供一种智能终端,所述智能终端包括上述任一消息复制装置。An embodiment of the present invention further provides an intelligent terminal, where the smart terminal includes any of the foregoing message copying devices.
本发明实施例的有益效果包括:Advantageous effects of embodiments of the present invention include:
本发明实施例提供的消息复制方法中,可以通过操作手势直接提取待复制的消息元素,从而完成复制的操作,在一般情况下,不需要通过弹出的菜单进行操作,因此简化了复制和粘贴时的操作流程,提高了用户操作的体验满意度。此外,本发明的一个实施例中提供了一个通过触摸点的个数进行待复制的消息元素的提取,通过这种复制的设置方式,可以通过快捷和简单的方式完成了消息元素的复制和粘贴操作,提高了用户操作的体验满意度。In the message copying method provided by the embodiment of the present invention, the message element to be copied can be directly extracted by the operation gesture, thereby completing the copying operation. In general, the operation is not required through the pop-up menu, thereby simplifying copying and pasting. The operational process improves the user experience satisfaction. In addition, in one embodiment of the present invention, an extracting of a message element to be copied is performed by the number of touched points, and by copying the setting manner, the copying and pasting of the message element can be completed in a quick and simple manner. Operation improves the user experience satisfaction.
在阅读并理解了附图和详细描述后,可以明白其它方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图说明DRAWINGS
图1为本发明实施例提供的一种消息复制方法的流程示意图;1 is a schematic flowchart of a message copying method according to an embodiment of the present invention;
图2A~2D为本发明实施例提供的不同场景下的消息复制方法的操作示意图;2A to 2D are schematic diagrams showing operations of a message copying method in different scenarios according to an embodiment of the present invention;
图3为本发明实施例提供的一种消息复制装置的结构示意图。FIG. 3 is a schematic structural diagram of a message copying apparatus according to an embodiment of the present invention.
具体实施方式detailed description
为使本领域的技术人员更好地理解本发明的技术方案,下面结合附图对本发明实施例提供的一种非接触存储单元数据读写方法、非接触芯片和非接触芯片卡及其生产方法进行详细描述。In order to enable a person skilled in the art to better understand the technical solution of the present invention, a non-contact memory cell data reading and writing method, a non-contact chip and a non-contact chip card and a production method thereof according to embodiments of the present invention are provided below with reference to the accompanying drawings. Carry out a detailed description.
请参阅图1,为本发明实施例提供的一种消息复制方法的流程示意图, 可应用于终端设备,如智能终端。FIG. 1 is a schematic flowchart of a message copying method according to an embodiment of the present invention. It can be applied to terminal devices such as smart terminals.
如图1所示,本发明实施例提供的消息复制方法,包括:As shown in FIG. 1 , a message copying method provided by an embodiment of the present invention includes:
步骤S200、当检测到触屏操作手势且触屏操作手势的触摸点在复制源的范围中时,根据所述触屏操作手势提取所述复制源中的消息元素;Step S200: When a touch screen operation gesture is detected and a touch point of the touch screen operation gesture is in a range of the copy source, the message element in the copy source is extracted according to the touch screen operation gesture;
步骤S300、将所提取的所述消息元素保存到粘贴板中。Step S300: Save the extracted message element to the pasteboard.
在本发明的一种实施例中,在步骤S200之前还包括步骤S100、检测触摸屏的触屏操作手势,以及当检测到触屏操作手势时,判断触屏操作手势的触摸点是否在复制源的范围中。In an embodiment of the present invention, before step S200, further comprising step S100, detecting a touch screen operation gesture of the touch screen, and determining whether the touch point of the touch screen operation gesture is at the copy source when the touch screen operation gesture is detected In the scope.
其中,所述复制源为当前屏幕内任意一区域内的复制对象。复制源的具体内容包括可复制的文本字段、消息字段、图片、超级链接、和号码等类型中的一种或多种。The copy source is a copy object in any area in the current screen. The specific content of the copy source includes one or more of a copyable text field, a message field, a picture, a hyperlink, and a number.
其中,所述消息元素指复制源内可复制或剪切的内容。消息元素的类型包括文本字段、电话号码、邮件、超级链接、和图片中的一种或多种。其中,根据现有技术的抓取方法可以识别复制源内的各个消息元素。Wherein, the message element refers to content that can be copied or cut within the copy source. The type of message element includes one or more of a text field, a phone number, a mail, a hyperlink, and a picture. Among them, the crawling method according to the prior art can identify individual message elements within the copy source.
本发明实施例中,在将所述消息元素复制到粘贴板中之后,可以将粘贴板中的内容复制到粘贴目标处。In the embodiment of the present invention, after the message element is copied into the pasteboard, the content in the pasteboard can be copied to the paste target.
本发明实施例中,所述触屏操作手势可以是第一手势或者第二手势。本发明实施例中,第一手势设置为点击手势,第二手势设置为按压手势,上述设置为可选的方式,也可以采用其他的设置方式。In the embodiment of the present invention, the touch screen operation gesture may be a first gesture or a second gesture. In the embodiment of the present invention, the first gesture is set as a click gesture, and the second gesture is set as a pressing gesture, and the foregoing setting is an optional manner, and other setting manners may also be adopted.
其中,所述触屏操作手势可以包括一个或多个触摸点,在本发明的一种实施例中,所述触屏操作手势包括2~5个触摸点。例如,所述触屏操作手势包括3个触摸点。例如,所述触屏操作手势为两个手指同时点击,或所述触屏操作手势为两个手指同时按压,或所述触屏操作手势为三个手指同时点击。通过多个触摸点启动复制操作,可以区别于现有常用的操作手势,避免与现有操作系统中已使用的触屏操作手势相冲突。The touch screen operation gesture may include one or more touch points. In an embodiment of the invention, the touch screen operation gesture includes 2 to 5 touch points. For example, the touch screen operation gesture includes 3 touch points. For example, the touch screen operation gesture is simultaneous click of two fingers, or the touch screen operation gesture is simultaneous pressing by two fingers, or the touch screen operation gesture is simultaneous click by three fingers. Starting a copy operation through multiple touch points can be distinguished from existing common operation gestures to avoid conflict with touch screen operation gestures already used in existing operating systems.
步骤S100中,判断触屏操作手势的触摸点是否在复制源的范围中包括:确认触摸点的坐标,如果包括多个触摸点,则获取多个触摸点的坐标,根据触摸点的坐标、以及复制源的坐标范围,判断触屏操作手势的触摸点的坐标 是否在复制源的坐标范围之内。In step S100, determining whether the touch point of the touch screen operation gesture is included in the range of the copy source includes: confirming coordinates of the touch point, if multiple touch points are included, acquiring coordinates of the plurality of touch points, according to coordinates of the touch point, and Copy the coordinate range of the source to determine the coordinates of the touch point of the touch screen operation gesture Whether it is within the coordinate range of the copy source.
本发明实施例中,步骤S200包括:根据触屏操作手势对应的触摸点的个数,按照预定的提取规则提取复制源中的一个或多个消息元素。In the embodiment of the present invention, step S200 includes: extracting one or more message elements in the copy source according to a predetermined extraction rule according to the number of touch points corresponding to the touch screen operation gesture.
对应地,在本发明的一种实施例中,在步骤S100中,判断触屏操作手势的触摸点是否在复制源的范围中还包括:获取在同一个复制源的范围中的触摸点的个数。Correspondingly, in an embodiment of the present invention, in step S100, determining whether the touch point of the touch screen operation gesture is in the range of the copy source further comprises: acquiring the touch points in the range of the same copy source number.
上述预定的提取规则包括如下规则中的一个或多个:当所述触摸点的个数为1个时,提取复制源中的全部消息元素;当所述触摸点的个数为N个时,提取复制源中的第N-1个消息元素;其中,N为2、3、4或5。The predetermined extraction rule includes one or more of the following rules: when the number of the touched points is one, all the message elements in the copy source are extracted; when the number of the touched points is N, Extracting the N-1th message element in the copy source; where N is 2, 3, 4, or 5.
上述提取规则的设置方式仅为示例性的说明,也可以设定为其他的提取规则,例如,预定的提取规则为:根据触摸点的个数以及预设的不同类型的消息元素的优先顺序,提取不同类型的消息元素,具体包括:The setting manner of the foregoing extraction rule is only an exemplary description, and may also be set as other extraction rules. For example, the predetermined extraction rule is: according to the number of touched points and the priority order of preset different types of message elements. Extract different types of message elements, including:
当所述触摸点的个数为1个时,提取类型为电话号码的消息元素;When the number of the touched points is one, extracting a message element of a type of a phone number;
当所述触摸点的个数为2个时,提取类型为邮件的消息元素;When the number of the touched points is two, the message element of the type is extracted;
当所述触摸点的个数为3个时,提取类型为超级链接的消息元素;When the number of the touched points is three, the message element of the type of the hyperlink is extracted;
当所述触摸点的个数为4个时,提取类型为图片的消息元素;When the number of the touched points is four, the message element of the type is extracted;
当所述触摸点的个数为5个时,提取类型为文本字段的消息元素。When the number of the touched points is five, a message element of a type is extracted as a text field.
上述示例中,消息元素的优先顺序从高到低依次设置为:电话号码、邮件、超级链接、图片、文本字段。在本发明的一种实施例中,上述优先级顺序可以由用户进行设定。In the above example, the priority order of the message elements is set from high to low in order: phone number, mail, hyperlink, picture, text field. In an embodiment of the invention, the priority order may be set by a user.
在本发明的一种实施例中,本发明实施例中,步骤S200包括:In an embodiment of the present invention, in the embodiment of the present invention, step S200 includes:
步骤S210、系统判断所述触屏操作手势是按压手势还是点击手势;Step S210: The system determines whether the touch screen operation gesture is a press gesture or a click gesture;
可选地,如果触摸操作持续,并超过预定的第一时间阀值,则判定触摸手势为按压手势,如果触摸操作小于预定的第一时间阀值,则判定触摸手势为点击手势。例如,可以将第一时间阈值设置为400ms~1s,例如,第一时间阈值可以是500ms、800ms或1000ms。Optionally, if the touch operation continues and exceeds the predetermined first time threshold, determining that the touch gesture is a press gesture, and if the touch operation is less than the predetermined first time threshold, determining that the touch gesture is a tap gesture. For example, the first time threshold may be set to 400 ms to 1 s, for example, the first time threshold may be 500 ms, 800 ms, or 1000 ms.
其中,所述触屏操作手势包括一个或多个触摸点,在本发明的一种实施 例中,所述触屏操作手势包括2~4个触摸点,例如,所述触屏操作手势包括3个触摸点。例如,所述触屏操作手势为两个手指同时点击,或所述触屏操作手势为两个手指同时按压,或所述触屏操作手势为三个手指同时点击,Wherein the touch screen operation gesture includes one or more touch points, in an implementation of the present invention In an example, the touch screen operation gesture includes 2 to 4 touch points, for example, the touch screen operation gesture includes 3 touch points. For example, the touch screen operation gesture is that two fingers click at the same time, or the touch screen operation gesture is pressed by two fingers at the same time, or the touch screen operation gesture is three fingers simultaneously clicking,
步骤S220、当所述触屏操作手势是第二手势时,选择复制源中的所有的消息元素。Step S220: When the touch screen operation gesture is the second gesture, select all message elements in the copy source.
步骤S230、如果是点击手势,则根据第一手势的触屏次数,则按照预定的优先级顺序提取复制源中的相应的消息元素。Step S230: If it is a click gesture, according to the number of touch screens of the first gesture, the corresponding message elements in the copy source are extracted according to a predetermined priority order.
其中,among them,
在本发明的一种实施例中,在步骤S220之后、以及在所述步骤S300之前还包括:将所述所有的消息元素作为可选项目,根据通过触屏输入的选择操作,保留所述可选项目中的一个或多个消息元素作为提取的消息元素。In an embodiment of the present invention, after step S220, and before the step S300, the method further includes: using all the message elements as optional items, and retaining the available according to a selection operation input through a touch screen Select one or more message elements in the item as the extracted message element.
步骤S230包括:Step S230 includes:
步骤S232、当所述触屏操作手势是单次第一手势时,按照预定的优先级顺序提取复制源中第一个消息元素。Step S232: When the touch screen operation gesture is a single first gesture, extract the first message element in the copy source according to a predetermined priority order.
步骤S233、当所述触屏操作手势是连续多次第一手势时,根据连续多次第一手势的点击次数,按照预定的优先级顺序在多个消息元素中依次切换并提取其中的一个消息元素。Step S233: When the touch screen operation gesture is the first plurality of gestures consecutively, according to the number of clicks of the first gesture consecutively, one of the plurality of message elements is sequentially switched and extracted according to a predetermined priority order. element.
在本发明的一种实施例中,步骤S230还包括步骤S231,步骤S231在步骤S232之前;In an embodiment of the present invention, step S230 further includes step S231, and step S231 is before step S232;
步骤S231:如果所述触屏操作手势是点击手势,继续判断是连续多次点击手势还是单次点击手势,在连续多次点击手势情况下,还需要判断连续多次第一手势的点击次数。Step S231: If the touch screen operation gesture is a click gesture, continue to determine whether it is a continuous multiple click gesture or a single click gesture. In the case of consecutive multiple click gestures, it is also necessary to determine the number of clicks of the first gesture consecutive times.
例如,预定的优先级顺序设置为复制源的范围中多个消息元素的优先级别为从先到后的顺序,那么,当点击一次时,提取第一个消息元素,连续点击两次时,提取第二个消息元素,依次类推。For example, the predetermined priority order is set to the priority of multiple message elements in the range of the copy source from first to last, then, when clicked once, the first message element is extracted, and when two consecutive clicks are taken, the extraction is performed. The second message element, and so on.
在判断连续多次点击手势时,相邻两次点击的时间间隔小于预定的第二时间阈值,则可以将相邻的两次点击判断为连续点击手势,例如,可以将第二时间阈值设置为0.5~5s,例如,第二时间阈值可以是1s,2s、3s或4s。 一般来说,判断连续多次点击手势必须都在同一个复制源的范围中,且连续多次点击手势中不能包括其他的手机控制操作动作。When judging the continuous multiple click gesture, if the interval between two consecutive clicks is less than the predetermined second time threshold, the adjacent two clicks may be determined as a continuous click gesture, for example, the second time threshold may be set to 0.5 to 5 s, for example, the second time threshold may be 1 s, 2 s, 3 s or 4 s. In general, it is determined that consecutive multiple click gestures must be in the same copy source range, and other mobile phone control operation actions cannot be included in consecutive multiple click gestures.
需要说明的是,对于上述实施例中给出的步骤S200的具体实现方式,可以单独使用,也可以组合使用。下面结合附图在具体的实施场景下进行说明。It should be noted that the specific implementation manners of step S200 given in the foregoing embodiments may be used alone or in combination. The following description will be made in the specific implementation scenario with reference to the accompanying drawings.
请参阅图2A~2D,为本发明实施例提供的不同场景下的消息复制方法的操作示意图。2A-2D are schematic diagrams of operations of a message copying method in different scenarios according to an embodiment of the present invention.
如图2A~2D所示,手机触摸屏幕的左侧包括复制源100,复制源100为一条文本消息,包含2个消息元素,分别为电话号码1234567和电子邮件地址abcd@zte.com,手机显示界面的右侧包括粘贴域200,粘贴域200为一记事本窗口内的编辑区。As shown in FIG. 2A to FIG. 2D, the left side of the touch screen of the mobile phone includes a copy source 100, and the copy source 100 is a text message containing two message elements, namely a phone number 1234567 and an email address abcd@zte.com, and the mobile phone displays The right side of the interface includes a paste field 200, which is an edit area within a notepad window.
如图2A所示,当手机操作系统检测到在当前屏幕中,复制源100中有触摸点110时,系统根据所述触屏操作手势提取所述复制源中的消息元素。根据系统的设置将执行不同的提取过程,下面以系统设置为判断所述触屏操作手势是按压手势还是点击手势,并根据按压手势和点击手势执行不同的操作为例进行说明。As shown in FIG. 2A, when the mobile phone operating system detects that there is a touch point 110 in the copy source 100 in the current screen, the system extracts the message element in the copy source according to the touch screen operation gesture. Different extraction processes will be performed according to the settings of the system. The system is set to determine whether the touch screen operation gesture is a press gesture or a click gesture, and performs different operations according to the press gesture and the click gesture as an example.
如果触摸点110对应的触屏操作手势为点击手势,则提取第一个消息元素,并将所述消息元素复制到粘贴板中,粘贴板实际为系统设置的粘贴用的缓存,用户可以将粘贴板中的内容粘贴到其他的粘贴域。同时,系统可以弹出如图2A右侧所示的提示框210,提示当前复制的内容,即提取的消息元素为电话号码1234567。If the touch screen operation gesture corresponding to the touch point 110 is a click gesture, the first message element is extracted, and the message element is copied into the pasteboard, and the pasteboard is actually a paste for the system setting, and the user can paste Paste the contents of the board into other pasted fields. At the same time, the system may pop up a prompt box 210 as shown on the right side of FIG. 2A, prompting the currently copied content, that is, the extracted message element is the phone number 1234567.
如图2B所示,如果触摸点110对应的触屏操作手势为按压手势,则提取全部的消息元素,将所述所有的消息元素作为可选项目,并显示选择提示框220,用户可以通过选择提示框220对需要粘贴的消息元素进行选择,系统根据通过选择提示框220输入的选择操作,保留所述可选项目中的一个或多个消息元素,例如,本示例中,用户选择第二个消息元素,则系统将所述第二个消息元素复制到粘贴板中,同时,系统可以弹出如图2B右侧所示的提示框230,提示当前复制的内容,即提取的消息元素为电子邮件地址 abcd@zte.com。As shown in FIG. 2B, if the touch screen operation gesture corresponding to the touch point 110 is a press gesture, all the message elements are extracted, all the message elements are used as optional items, and the selection prompt box 220 is displayed, and the user can select The prompt box 220 selects a message element to be pasted, and the system reserves one or more message elements in the selectable item according to the selection operation input through the selection prompt box 220. For example, in this example, the user selects the second one. The message element, the system copies the second message element into the pasteboard, and at the same time, the system may pop up a prompt box 230 as shown on the right side of FIG. 2B, prompting the currently copied content, that is, the extracted message element is an email. Address Abcd@zte.com.
下面以系统设置为根据触屏操作手势对应的触摸点的个数,按照预定的提取规则提取复制源中的一个或多个消息元素为例进行说明。The following is an example in which the system is set to extract one or more message elements in the copy source according to a predetermined extraction rule according to the number of touch points corresponding to the touch screen operation gesture.
如图2C所示,如果触屏操作手势对应的触摸点120为1个,则根据预定的提取规则,提取全部的消息元素,同时,系统可以弹出如图2C右侧所示的提示框240,提示当前复制的内容,即提取的消息元素为电话号码1234567和电子邮件地址abcd@zte.com。As shown in FIG. 2C, if the touch point 120 corresponding to the touch screen operation gesture is one, all message elements are extracted according to a predetermined extraction rule, and the system may pop up a prompt box 240 as shown on the right side of FIG. 2C. Prompt for the currently copied content, ie the extracted message elements are phone number 1234567 and email address abcd@zte.com.
如图2D所示,如果触屏操作手势对应的触摸点130为2个,则根据预定的提取规则,提取第1个消息元素,同时,系统可以弹出如图2D右侧所示的提示框250,提示当前复制的内容,即提取的消息元素为电话号码1234567。As shown in FIG. 2D, if the touch screen operation gesture corresponds to two touch points 130, the first message element is extracted according to a predetermined extraction rule, and the system may pop up the prompt box 250 as shown on the right side of FIG. 2D. , prompts the currently copied content, that is, the extracted message element is the phone number 1234567.
基于与上述方法实施例相同或相似的构思,本发明实施例还提供一种消息复制装置,可以设置于终端设备,如智能终端。Based on the same or similar concepts as the foregoing method embodiments, the embodiment of the present invention further provides a message copying apparatus, which can be disposed in a terminal device, such as an intelligent terminal.
请参阅图3,为本发明实施例提供的一种消息复制装置的结构示意图,如图3所示,本发明实施例提供的消息复制装置法包括:FIG. 3 is a schematic structural diagram of a message copying apparatus according to an embodiment of the present invention. As shown in FIG. 3, the message copying apparatus method provided by the embodiment of the present invention includes:
监听单元10,设置为检测触摸屏的触屏操作手势;The monitoring unit 10 is configured to detect a touch screen operation gesture of the touch screen;
提取单元20,设置为当检测到触屏操作手势且触屏操作手势的触摸点在复制源的范围中时,根据所述触屏操作手势提取所述复制源中的消息元素;The extracting unit 20 is configured to: when the touch screen operation gesture is detected and the touch point of the touch screen operation gesture is in the range of the copy source, extract the message element in the copy source according to the touch screen operation gesture;
复制单元30,设置为将所提取的所述消息元素保存到粘贴板中。The copy unit 30 is arranged to save the extracted message elements into the pasteboard.
在本发明的一种实施例中,所述监听单元10还设置为在检测到触屏操作手势时,判断触屏操作手势的触摸点是否在复制源的范围中。In an embodiment of the present invention, the monitoring unit 10 is further configured to determine whether the touch point of the touch screen operation gesture is in the range of the copy source when the touch screen operation gesture is detected.
本发明实施例中,所述提取单元20包括:In the embodiment of the present invention, the extracting unit 20 includes:
第一提取模块21,设置为根据触屏操作手势对应的触摸点的个数,按照预定的提取规则提取复制源中的一个或多个消息元素。The first extraction module 21 is configured to extract one or more message elements in the copy source according to a predetermined extraction rule according to the number of touch points corresponding to the touch screen operation gesture.
本发明实施例中,所述提取单元还包括:In the embodiment of the present invention, the extracting unit further includes:
第二提取模块22,设置为当所述触屏操作手势是第一手势时,根据第一手势的触屏次数,按照预定的优先级顺序提取复制源中的某一个消息元素。The second extraction module 22 is configured to: when the touch screen operation gesture is the first gesture, extract one of the message elements in the copy source according to a predetermined priority order according to the number of touch screens of the first gesture.
本发明实施例中,所述第二提取模块22包括: In the embodiment of the present invention, the second extraction module 22 includes:
单次提取子模块222,设置为当所述触屏操作手势是单次第一手势时,按照预定的优先级顺序提取复制源中第一个消息元素;The single extraction sub-module 222 is configured to: when the touch screen operation gesture is a single first gesture, extract the first message element in the copy source according to a predetermined priority order;
多次提取子模块223,设置为当所述触屏操作手势是连续多次第一手势时,根据连续多次第一手势的点击次数,按照预定的优先级顺序在多个消息元素中依次切换并提取其中的一个消息元素。The multiple extraction sub-module 223 is configured to sequentially switch among the plurality of message elements according to a predetermined priority order according to the number of clicks of the first plurality of gestures when the touch screen operation gesture is the first plurality of gestures consecutively. And extract one of the message elements.
在本发明的一种实施例中,所述第二提取模块22还包括判断子模块221,设置为判断所述触屏操作手势是连续多次第一手势还是单次第一手势,以及在触屏操作手势是连续多次第一手势是判断连续多次第一手势的点击次数。In an embodiment of the present invention, the second extraction module 22 further includes a determining sub-module 221, configured to determine whether the touch-screen operation gesture is a plurality of consecutive first gestures or a single first gesture, and is in touch The screen operation gesture is that the first gesture is consecutive times, and the number of clicks of the first gesture is determined.
本发明实施例中,所述提取单元20还包括:In the embodiment of the present invention, the extracting unit 20 further includes:
第三提取模块23,设置为当所述触屏操作手势是第二手势时,选择复制源中的所有的消息元素,并且,将所述所有的消息元素作为可选项目,根据通过触屏输入的选择操作,保留所述可选项目中的一个或多个消息元素作为提取的消息元素。The third extraction module 23 is configured to select all the message elements in the copy source when the touch screen operation gesture is the second gesture, and use all the message elements as optional items according to the touch screen The selected selection operation retains one or more of the message elements in the optional item as the extracted message element.
本发明实施例中,所述消息复制装置还包括:消息提示单元40,设置为在提取复制源中消息元素完成之后,显示用于表示提取已完成的提示消息,所述提示消息中包括所述消息元素的内容。In the embodiment of the present invention, the message copying apparatus further includes: a message prompting unit 40, configured to display, after the completion of the message element in the extracted copy source, a prompt message indicating that the extraction has been completed, where the prompt message includes the The content of the message element.
本发明实施例还提供一种智能终端,所述智能终端包括上述实施例中任一消息复制装置。例如,该智能终端可以是智能手机、平板电脑、具有触摸屏输入的个人电脑等。An embodiment of the present invention further provides an intelligent terminal, where the smart terminal includes any of the message copying devices in the foregoing embodiments. For example, the smart terminal may be a smartphone, a tablet, a personal computer with touch screen input, or the like.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序/指令来实现其相应功能。本发明不限制于任何特定形式的硬件和软件的结合。本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改 或者等同替换,而不脱离本发明技术方案的精神和范围,均应涵盖在本发明的权利要求范围当中。One of ordinary skill in the art will appreciate that all or a portion of the above steps may be performed by a program to instruct related hardware, such as a processor, which may be stored in a computer readable storage medium, such as a read only memory, disk or optical disk. Wait. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function. The invention is not limited to any specific form of combination of hardware and software. Those skilled in the art should understand that the technical solution of the present invention can be modified. Rather, the scope of the claims of the present invention should be included in the scope of the appended claims.
工业实用性Industrial applicability
上述技术方案可以通过操作手势直接提取待复制的消息元素,从而完成复制的操作,简化了复制和粘贴时的操作流程。 The above technical solution can directly extract the message element to be copied by operating gestures, thereby completing the copying operation, and simplifying the operation flow during copying and pasting.

Claims (15)

  1. 一种消息复制方法,所述消息复制方法包括:A message copying method, the message copying method comprising:
    当检测到触屏操作手势且触屏操作手势的触摸点在复制源的范围中时,根据所述触屏操作手势提取所述复制源中的消息元素;When a touch screen operation gesture is detected and a touch point of the touch screen operation gesture is in a range of the copy source, the message element in the copy source is extracted according to the touch screen operation gesture;
    将所提取的所述消息元素保存到粘贴板中。The extracted message elements are saved to the pasteboard.
  2. 如权利要求1所述的方法,其中,所述根据所述触屏操作手势提取所述复制源中的消息元素包括:The method of claim 1, wherein the extracting the message elements in the copy source according to the touch screen operation gesture comprises:
    根据触屏操作手势对应的触摸点的个数,按照预定的提取规则提取复制源中的一个或多个消息元素。One or more message elements in the copy source are extracted according to a predetermined extraction rule according to the number of touch points corresponding to the touch screen operation gesture.
  3. 如权利要求2所述的方法,其中,所述预定的提取规则包括如下规则中的一个或多个:The method of claim 2 wherein said predetermined extraction rule comprises one or more of the following rules:
    当所述触摸点的个数为1个时,提取复制源中的全部消息元素;When the number of the touched points is one, all the message elements in the copy source are extracted;
    当所述触摸点的个数为N个时,提取复制源中的第N-1个消息元素;其中,N为2、3、4或5。When the number of the touched points is N, the N-1th message element in the copy source is extracted; wherein N is 2, 3, 4 or 5.
  4. 如权利要求1所述的方法,其中,所述根据所述触屏操作手势提取所述复制源中的消息元素包括:The method of claim 1, wherein the extracting the message elements in the copy source according to the touch screen operation gesture comprises:
    当判断所述触屏操作手势是第一手势时,根据第一手势的触屏次数,按照预定的优先级顺序提取复制源中相应的消息元素。When it is determined that the touch screen operation gesture is the first gesture, according to the number of touch screens of the first gesture, corresponding message elements in the copy source are extracted according to a predetermined priority order.
  5. 如权利要求4所述的方法,其中,所述根据第一手势的触屏次数,则按照预定的优先级顺序提取复制源中的某一个消息元素包括:The method of claim 4, wherein extracting one of the copy source sources according to a predetermined priority order according to the number of touch screens of the first gesture comprises:
    当所述触屏操作手势是单次第一手势时,按照预定的优先级顺序提取复制源中第一个消息元素;When the touch screen operation gesture is a single first gesture, extracting the first message element in the copy source according to a predetermined priority order;
    当所述触屏操作手势是连续多次第一手势时,根据连续多次第一手势的点击次数,按照预定的优先级顺序在多个消息元素中依次切换并提取其中的一个消息元素。When the touch screen operation gesture is a plurality of first gestures consecutively, one of the plurality of message elements is sequentially switched and extracted according to a predetermined priority order according to the number of clicks of the first gesture consecutively.
  6. 如权利要求5所述的方法,其中,所述根据所述触屏操作手势提取所述复制源中的消息元素包括: The method of claim 5, wherein the extracting the message elements in the copy source according to the touch screen operation gesture comprises:
    当所述触屏操作手势是第二手势时,选择复制源中的所有的消息元素,并且,将所述所有的消息元素作为可选项目,根据通过触屏输入的选择操作,保留所述可选项目中的一个或多个消息元素作为提取的消息元素。When the touch screen operation gesture is the second gesture, all the message elements in the copy source are selected, and all the message elements are used as optional items, and the reservation is retained according to the selection operation input through the touch screen One or more message elements in the optional item as the extracted message element.
  7. 如权利要求1~6任一项所述的方法,其中,所述消息元素的类型包括文本字段、电话号码、邮件、超级链接、和图片中的一种或多种。The method of any one of claims 1 to 6, wherein the type of the message element comprises one or more of a text field, a phone number, a mail, a hyperlink, and a picture.
  8. 一种消息复制装置,所述消息复制装置法包括:A message copying device, the message copying device method comprising:
    监听单元,设置为检测触摸屏的触屏操作手势;a monitoring unit configured to detect a touch screen operation gesture of the touch screen;
    提取单元,设置为当检测到触屏操作手势且触屏操作手势的触摸点在复制源的范围中时,根据所述触屏操作手势提取所述复制源中的消息元素;The extracting unit is configured to: when the touch screen operation gesture is detected and the touch point of the touch screen operation gesture is in the range of the copy source, extract the message element in the copy source according to the touch screen operation gesture;
    复制单元,设置为将所提取的所述消息元素保存到粘贴板中。A copy unit configured to save the extracted message element to the pasteboard.
  9. 如权利要求8所述的装置,其中,所述提取单元包括:The apparatus of claim 8 wherein said extracting unit comprises:
    第一提取模块,设置为根据触屏操作手势对应的触摸点的个数,按照预定的提取规则提取复制源中的一个或多个消息元素。The first extraction module is configured to extract one or more message elements in the copy source according to a predetermined extraction rule according to the number of touch points corresponding to the touch screen operation gesture.
  10. 如权利要求8所述的装置,其中,所述提取单元还包括:The apparatus of claim 8, wherein the extracting unit further comprises:
    第二提取模块,设置为当所述触屏操作手势是第一手势时,根据第一手势的触屏次数,按照预定的优先级顺序提取复制源中的某一个消息元素。The second extraction module is configured to: when the touch screen operation gesture is the first gesture, extract one of the message elements in the copy source according to a predetermined priority order according to the number of touch screens of the first gesture.
  11. 如权利要求10所述的装置,其中,所述第二提取模块包括:The apparatus of claim 10 wherein said second extraction module comprises:
    单次提取子模块,设置为当所述触屏操作手势是单次第一手势时,按照预定的优先级顺序提取复制源中第一个消息元素;a single extraction sub-module, configured to extract the first message element in the copy source according to a predetermined priority order when the touch screen operation gesture is a single first gesture;
    多次提取子模块,设置为当所述触屏操作手势是连续多次第一手势时,根据连续多次第一手势的点击次数,按照预定的优先级顺序在多个消息元素中依次切换并提取其中的一个消息元素。Extracting the sub-module multiple times, when the touch screen operation gesture is the first plurality of gestures consecutively, according to the number of clicks of the first gesture consecutively, sequentially switching among the plurality of message elements according to a predetermined priority order Extract one of the message elements.
  12. 如权利要求11所述的装置,其中,所述提取单元还包括:The apparatus of claim 11, wherein the extracting unit further comprises:
    第三提取模块,设置为当所述触屏操作手势是第二手势时,选择复制源中的所有的消息元素,并且,将所述所有的消息元素作为可选项目,根据通过触屏输入的选择操作,保留所述可选项目中的一个或多个消息元素作为提取的消息元素。 a third extraction module, configured to: when the touch screen operation gesture is a second gesture, select all message elements in the copy source, and use all the message elements as optional items according to input through the touch screen The selection operation retains one or more of the message elements in the optional item as the extracted message element.
  13. 如权利要求12所述的装置,其中,所述消息复制装置还包括:消息提示单元,设置为在提取复制源中消息元素完成之后,显示用于表示提取已完成的提示消息,所述提示消息中包括所述消息元素的内容。The apparatus of claim 12, wherein the message copying apparatus further comprises: a message prompting unit configured to display, after the completion of the message element in the extracted copy source, a prompt message indicating that the extraction has been completed, the prompt message The content of the message element is included.
  14. 一种智能终端,其中,所述智能终端包括如权利要求8~13中任一项所述的消息复制装置。An intelligent terminal, wherein the smart terminal comprises the message copying device according to any one of claims 8 to 13.
  15. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1~7中任一项所述的方法。 A computer storage medium having stored therein computer executable instructions for performing the method of any one of claims 1-7.
PCT/CN2016/072171 2015-04-29 2016-01-26 Message copying method and device, and smart terminal WO2016173307A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510212306.8 2015-04-29
CN201510212306.8A CN106201295B (en) 2015-04-29 2015-04-29 Message copying method and device and intelligent terminal

Publications (1)

Publication Number Publication Date
WO2016173307A1 true WO2016173307A1 (en) 2016-11-03

Family

ID=57198933

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/072171 WO2016173307A1 (en) 2015-04-29 2016-01-26 Message copying method and device, and smart terminal

Country Status (2)

Country Link
CN (1) CN106201295B (en)
WO (1) WO2016173307A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10917838B2 (en) 2018-05-11 2021-02-09 Mediatek Inc. Handling of PLMN-specific attempt counter in mobile communications
CN112631502A (en) * 2020-12-30 2021-04-09 安徽鸿程光电有限公司 Information copying method and device, touch control equipment and computer readable storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107145286B (en) * 2017-05-27 2020-07-10 北京小米移动软件有限公司 Browsing interaction processing method and device
CN107861824A (en) * 2017-11-30 2018-03-30 努比亚技术有限公司 A kind of text handling method, mobile terminal and computer-readable recording medium
CN113760167A (en) * 2021-07-21 2021-12-07 广州朗国电子科技股份有限公司 Method for copying object by using gesture, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010107653A2 (en) * 2009-03-16 2010-09-23 Apple Inc. Methods and graphical user interfaces for editing on a multifunction device with a touch screen display
CN102609208A (en) * 2012-02-13 2012-07-25 广州市动景计算机科技有限公司 Method and system for word capture on screen of touch screen equipment, and touch screen equipment
CN102915296A (en) * 2011-05-27 2013-02-06 三星电子株式会社 Method and apparatus for editing text using multiple selection and multiple paste
CN104360990A (en) * 2014-10-27 2015-02-18 深圳市金立通信设备有限公司 Content editing method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102883066B (en) * 2012-09-29 2015-04-01 Tcl通讯科技(成都)有限公司 Method for realizing file operation based on hand gesture recognition and cellphone
US20150082238A1 (en) * 2013-09-18 2015-03-19 Jianzhong Meng System and method to display and interact with a curve items list

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010107653A2 (en) * 2009-03-16 2010-09-23 Apple Inc. Methods and graphical user interfaces for editing on a multifunction device with a touch screen display
CN102915296A (en) * 2011-05-27 2013-02-06 三星电子株式会社 Method and apparatus for editing text using multiple selection and multiple paste
CN102609208A (en) * 2012-02-13 2012-07-25 广州市动景计算机科技有限公司 Method and system for word capture on screen of touch screen equipment, and touch screen equipment
CN104360990A (en) * 2014-10-27 2015-02-18 深圳市金立通信设备有限公司 Content editing method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10917838B2 (en) 2018-05-11 2021-02-09 Mediatek Inc. Handling of PLMN-specific attempt counter in mobile communications
CN112631502A (en) * 2020-12-30 2021-04-09 安徽鸿程光电有限公司 Information copying method and device, touch control equipment and computer readable storage medium
CN112631502B (en) * 2020-12-30 2022-05-10 安徽鸿程光电有限公司 Information copying method and device, touch control equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN106201295B (en) 2020-05-12
CN106201295A (en) 2016-12-07

Similar Documents

Publication Publication Date Title
US11449220B2 (en) Electronic device including touch sensitive display and method for managing the display
US10990268B2 (en) Operation method and terminal device
US10140014B2 (en) Method and terminal for activating application based on handwriting input
CN105373326B (en) Data processing system and method
US20210064193A1 (en) Method of processing content and electronic device thereof
US10168868B2 (en) Method and apparatus for multitasking
TWI626591B (en) System and method for switching applications
WO2016173307A1 (en) Message copying method and device, and smart terminal
US20190317658A1 (en) Interaction method and device for a flexible display screen
WO2017032307A1 (en) File folder merging method and device
WO2015106510A1 (en) Screen splitting method and device for applications, intelligent terminal and storage medium
KR20110063410A (en) Method of moving content between applications and apparatus for the same
US10521248B2 (en) Electronic device and method thereof for managing applications
US11095627B2 (en) Message display method, apparatus, and device
US20150160907A1 (en) Information processing method and electronic device
US20170300225A1 (en) Displaying application page of mobile terminal
WO2022022566A1 (en) Graphic code identification method and apparatus and electronic device
US20150220205A1 (en) User input method and apparatus in electronic device
WO2015117526A1 (en) Touch control processing method and device
CN103150083B (en) A kind of display packing of self-defined desktop icons and device
CN113268182A (en) Application icon management method and electronic equipment
US11460971B2 (en) Control method and electronic device
CN108664080A (en) Control method, electronic device and non-instantaneous readable in computer recording medium
TW201520946A (en) Method for fast displaying Skype contact person list and computer program product thereof and portable electronic device

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: 16785738

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: 16785738

Country of ref document: EP

Kind code of ref document: A1