[go: up one dir, main page]

CN104035701A - Method, device and electronic equipment for compiling object on touch screen of electronic equipment - Google Patents

Method, device and electronic equipment for compiling object on touch screen of electronic equipment Download PDF

Info

Publication number
CN104035701A
CN104035701A CN201310071324.XA CN201310071324A CN104035701A CN 104035701 A CN104035701 A CN 104035701A CN 201310071324 A CN201310071324 A CN 201310071324A CN 104035701 A CN104035701 A CN 104035701A
Authority
CN
China
Prior art keywords
information
editing
input
mode
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310071324.XA
Other languages
Chinese (zh)
Inventor
李晟杰
焦人杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to CN201310071324.XA priority Critical patent/CN104035701A/en
Publication of CN104035701A publication Critical patent/CN104035701A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

公开了一种无需键盘的在电子设备的触摸屏上编辑对象的方法、装置和能够进行这种编辑的电子设备。该方法包括:接收用户的模式切换输入;分析模式切换输入,如果分析得到模式切换输入指示切换到编辑模式,将电子设备切换到编辑模式;在编辑模式下,经由触摸屏接收用户的编辑输入;分析编辑输入并产生编辑输入信息;根据编辑输入信息和与电子设备上显示的对象有关的对象信息,产生编辑动作信息;以及根据编辑动作信息向显示的对象施加编辑动作。

Disclosed are a method and device for editing objects on a touch screen of an electronic device without a keyboard, and the electronic device capable of such editing. The method includes: receiving a user's mode switching input; analyzing the mode switching input, and switching the electronic device to the editing mode if the analysis shows that the mode switching input indicates switching to the editing mode; in the editing mode, receiving the user's editing input via the touch screen; analyzing editing input and generating editing input information; generating editing action information according to the editing input information and object information related to the object displayed on the electronic device; and applying editing action to the displayed object according to the editing action information.

Description

在电子设备的触摸屏上编辑对象的方法、装置和电子设备Method, device and electronic device for editing object on touch screen of electronic device

技术领域technical field

本发明涉及电子设备上的对象编辑,具体涉及一种无需键盘的在电子设备的触摸屏上编辑对象的方法、装置和能够进行这种编辑的电子设备。The invention relates to object editing on electronic equipment, in particular to a method and device for editing objects on a touch screen of an electronic equipment without a keyboard and the electronic equipment capable of such editing.

背景技术Background technique

很长时间以来,例如文本编辑等多种编辑方法给我们的生活各个方面带来了很多便利。近来,随着移动电话和平板电脑等带有触摸屏的电子设备的出现,对例如文本等对象的输入和编辑功能进行了改进以适合此类设备的特性。对于具备触摸屏的电子设备,越来越多的人逐渐使用虚拟键盘代替传统的物理键盘来编辑对象。For a long time, various editing methods such as text editing have brought a lot of convenience to all aspects of our lives. Recently, with the advent of electronic devices with touch screens such as mobile phones and tablet computers, input and editing functions for objects such as text have been improved to suit the characteristics of such devices. For electronic devices with touch screens, more and more people gradually use virtual keyboards to replace traditional physical keyboards to edit objects.

目前存在多种对象编辑方法,大多数需要使用物理或虚拟键盘。例如,文本输入和擦除操作基本上通过物理键盘或屏幕上的虚拟键盘来执行,选择操作通常通过鼠标点击或手指触摸事件来执行,而其他编辑操作,例如插入或分割操作,需要键盘和鼠标(或手指触摸)两者。例如,当用户在个人计算机(PC)或触敏型设备上输入和编辑文本内容时,用户通常使用物理或虚拟键盘来进行输入,并且在输入动作之前确定文本内容的尺寸和位置。用户需要使用鼠标或手指来选择要编辑的文本内容。用户可以通过按压后退键来擦除文本内容,并通过鼠标或手指触摸将选定内容拖动到需要插入或分割的位置。利用文本框,用户可以无需额外的空间而将文本插入到文档中,然而用户仍然需要在例如键盘和鼠标操作之间进行切换以编辑文本内容。Several methods of object editing exist, most requiring the use of a physical or virtual keyboard. For example, text entry and erasing operations are basically performed with a physical keyboard or an on-screen virtual keyboard, selection operations are usually performed with mouse clicks or finger touch events, and other editing operations, such as insert or split operations, require both a keyboard and a mouse (or finger touch) both. For example, when a user inputs and edits text content on a personal computer (PC) or a touch-sensitive device, the user usually uses a physical or virtual keyboard for input, and determines the size and position of the text content before the input action. Users need to use the mouse or fingers to select the text content to be edited. Users can press the back key to erase the text content, and drag the selected content to the position where it needs to be inserted or divided by mouse or finger touch. With the text box, the user can insert text into the document without extra space, but the user still needs to switch between, for example, keyboard and mouse operations to edit the text content.

专利文档1提出了一种基于图形设备接口(GDI)/GDI+的虚拟文本对象编辑方法。该方法包括如下步骤:(a)确定和产生针对文本对象的鼠标事件,(b)产生文本对象的编辑状态(由鼠标事件确定的文本对象的状态),(c)如果系统进入文本对象编辑状态,则文本对象准备好接收进行输入的键盘事件。相比于传统文本框方法,利用该方法,用户不需要任何附加的输入窗口或窗口部件,从而可以节省系统资源和提供系统性能。此外,也使GDI/GDI+文本对象更加直观。Patent document 1 proposes a virtual text object editing method based on Graphics Device Interface (GDI)/GDI+. The method comprises the steps of: (a) determining and generating a mouse event for the text object, (b) generating the editing state of the text object (the state of the text object determined by the mouse event), (c) if the system enters the text object editing state , the text object is ready to receive keyboard events for input. Compared with the traditional text box method, with this method, the user does not need any additional input window or widget, thus saving system resources and improving system performance. Additionally, GDI/GDI+ text objects are made more intuitive.

专利文档1:CN102193905APatent document 1: CN102193905A

发明内容Contents of the invention

要解决的技术问题technical problem to be solved

在具有较大触摸屏的情况下,例如对于触摸屏较大的平板电脑,CN102193905A提出的方法存在如下问题:用户还是必须使用键盘来进行文本输入和编辑。由于例如移动电话和平板电脑上文本显示屏幕过大,使用虚拟键盘不方便。对于尺寸较小的触摸屏,找到按键也更加困难。因此,如果用户想要输入/编辑文本对象,用户不得不在键盘和文本显示屏幕间切换,这很不方便,效率也很低。较大触摸屏使得用户能够在屏幕上的任意位置通过手指或触摸笔等进行手写,包括加标记或备注。因此,需要一种更加便利的方法,使得用户能够在尺寸较大的平板电脑上简单高效地进行输入和编辑,无需键盘也无需额外的空间。In the case of a larger touch screen, for example, for a tablet computer with a larger touch screen, the method proposed by CN102193905A has the following problem: the user still has to use the keyboard for text input and editing. Using virtual keyboards is inconvenient due to the large text display screens on eg mobile phones and tablets. Finding the keys is also more difficult with the smaller touchscreen. Therefore, if the user wants to input/edit a text object, the user has to switch between the keyboard and the text display screen, which is inconvenient and inefficient. The larger touch screen enables users to write by hand anywhere on the screen with a finger or a stylus, for example, including marking or notes. Therefore, a more convenient method is needed to enable users to input and edit simply and efficiently on a tablet computer with a larger size without requiring a keyboard or additional space.

解决问题的方案solution to the problem

根据本发明一个示例实施例,提出了一种无需键盘的在电子设备的触摸屏上编辑对象的方法,包括:接收用户的模式切换输入;分析模式切换输入,如果分析得到模式切换输入指示切换到编辑模式,将电子设备切换到编辑模式;在编辑模式下,经由触摸屏接收用户的编辑输入;分析编辑输入并产生编辑输入信息;根据编辑输入信息和与电子设备上显示的对象有关的对象信息,产生编辑动作信息;以及根据编辑动作信息向显示的对象施加编辑动作。According to an exemplary embodiment of the present invention, a method for editing an object on a touch screen of an electronic device without a keyboard is proposed, including: receiving a user's mode switching input; analyzing the mode switching input, and if the analyzed mode switching input indicates switching to editing mode, switch the electronic device to the editing mode; in the editing mode, receive the user’s editing input via the touch screen; analyze the editing input and generate editing input information; generate editing action information; and applying an editing action to the displayed object according to the editing action information.

根据本发明另一示例实施例,提出了一种无需键盘的在电子设备的触摸屏上编辑对象的装置,包括:输入单元,接收用户的模式切换输入,以及接收用户经由触摸屏的编辑输入;分析单元,分析模式切换输入,如果分析得到模式切换输入指示切换到编辑模式,将电子设备切换到编辑模式,分析单元还分析编辑输入并产生编辑输入信息,并且根据编辑输入信息和与电子设备上显示的对象有关的对象信息,产生编辑动作信息;以及编辑单元,根据编辑动作信息向显示的对象施加编辑动作。According to another exemplary embodiment of the present invention, a device for editing an object on a touch screen of an electronic device without a keyboard is proposed, including: an input unit that receives a user's mode switching input, and receives a user's editing input via the touch screen; an analysis unit , analyze the mode switching input, if the analysis shows that the mode switching input indicates to switch to the editing mode, switch the electronic device to the editing mode, the analysis unit also analyzes the editing input and generates editing input information, and according to the editing input information and the information displayed on the electronic device object information about the object, generating editing action information; and an editing unit applying editing action to the displayed object according to the editing action information.

根据本发明再一示例实施例,提出了一种电子设备,能够无需键盘而编辑对象,所述电子设备包括:输入装置,包括触摸屏,用于接收用户输入;存储装置,用于存储与电子设备上显示的对象有关的对象信息;以及处理装置,用于分析输入装置接收的用户输入,如果分析得到用户输入指示切换到编辑模式,将电子设备切换到编辑模式。输入装置还用于在编辑模式下接收用户经由触摸屏的编辑输入。处理装置还用于分析编辑输入并产生编辑输入信息,根据编辑输入信息和存储的对象信息,产生编辑动作信息,以及根据编辑动作信息向显示的对象施加编辑动作。According to yet another exemplary embodiment of the present invention, an electronic device is provided, which can edit an object without a keyboard, and the electronic device includes: an input device, including a touch screen, for receiving user input; a storage device for storing and interacting with the electronic device Object information related to the object displayed on the display; and a processing device, configured to analyze the user input received by the input device, and switch the electronic device to the editing mode if the analyzed user input indicates switching to the editing mode. The input device is also used to receive editing input from the user via the touch screen in the editing mode. The processing device is also used for analyzing editing input and generating editing input information, generating editing action information according to the editing input information and stored object information, and applying editing action to the displayed object according to the editing action information.

根据本发明又一示例实施例,提出了一种计算机可读介质,其上存储有程序,当由计算机执行时,程序使计算机执行如下操作:接收用户的模式切换输入;分析模式切换输入,如果分析得到模式切换输入指示切换到编辑模式,将电子设备切换到编辑模式;在编辑模式下,经由触摸屏接收用户的编辑输入;分析编辑输入并产生编辑输入信息;根据编辑输入信息和与电子设备上显示的对象有关的对象信息,产生编辑动作信息;以及根据编辑动作信息向显示的对象施加编辑动作。According to yet another exemplary embodiment of the present invention, there is provided a computer-readable medium on which a program is stored, and when executed by a computer, the program causes the computer to perform the following operations: receive a user's mode switching input; analyze the mode switching input, and if Analyzing the mode switch input indicates switching to the editing mode, and switching the electronic device to the editing mode; in the editing mode, receiving the user’s editing input via the touch screen; analyzing the editing input and generating editing input information; according to the editing input information and the electronic device object information related to the displayed object, generating editing action information; and applying an editing action to the displayed object according to the editing action information.

根据本发明的示例实施例,在编辑模式下,通过分析并使用用户经由触摸屏的编辑输入的有关信息以及与电子设备上显示的对象有关的对象信息,可以确定编辑动作、位置、对象等,并直接施加编辑动作至显示对象。可以无需物理或虚拟键盘,也无需额外的显示空间,仅利用触摸笔或用户手指的点击或触摸操作即可完成所有编辑功能,减少了用户的输入操作,提高了编辑效率和便利性。According to an exemplary embodiment of the present invention, in the editing mode, by analyzing and using the relevant information of the user's editing input via the touch screen and the object information related to the object displayed on the electronic device, the editing action, position, object, etc. can be determined, and Apply editing actions directly to the display object. No physical or virtual keyboard, no additional display space is required, and all editing functions can be completed only by clicking or touching the touch pen or the user's finger, which reduces the user's input operations and improves editing efficiency and convenience.

以上发明内容仅仅是说明性的,而绝不是限制性的。除了上述示例性的各方面、各实施例和各特征之外,参照附图和以下详细说明,将清楚其他方面、其他实施例和其他特征。The above summary of the invention is illustrative only and not restrictive in any way. In addition to the exemplary aspects, embodiments and features described above, further aspects, other embodiments and other features will become apparent with reference to the drawings and the following detailed description.

附图说明Description of drawings

在本说明书的结论部分具体指出主题以及明确要求保护的主题。根据以下说明和所附权利要求,结合附图,本公开的前述和其他特征将更加清楚。应当认识到,这些附图仅仅示出了根据本公开的一些实施例,因此不应被认为是限制本公开范围。Subject matter is particularly pointed out and distinctly claimed as subject matter in the concluding portion of the specification. The foregoing and other features of the present disclosure will become more apparent from the following description and appended claims, taken in conjunction with the accompanying drawings. It should be appreciated that these drawings illustrate only some embodiments in accordance with the disclosure and therefore should not be considered as limiting the scope of the disclosure.

在附图中:In the attached picture:

图1示出了本发明示例实施例可应用的环境;Figure 1 shows an environment in which an exemplary embodiment of the present invention is applicable;

图2示出了根据本发明示例实施例,无需键盘的在电子设备的触摸屏上编辑对象的装置的示意结构框图;Fig. 2 shows a schematic structural block diagram of an apparatus for editing an object on a touch screen of an electronic device without a keyboard according to an exemplary embodiment of the present invention;

图3示出了根据本发明示例实施例,无需键盘的在电子设备的触摸屏上编辑对象的方法的流程图;3 shows a flowchart of a method for editing an object on a touch screen of an electronic device without a keyboard according to an exemplary embodiment of the present invention;

图4是示出了根据本发明示例实施例的擦除操作的示意图;FIG. 4 is a schematic diagram illustrating an erase operation according to an exemplary embodiment of the present invention;

图5是示出了根据本发明示例实施例的插入操作的示意图;FIG. 5 is a schematic diagram illustrating an insertion operation according to an exemplary embodiment of the present invention;

图6是示出了根据本发明示例实施例的修改操作的示意图;FIG. 6 is a schematic diagram illustrating a modification operation according to an exemplary embodiment of the present invention;

图7是示出了根据本发明示例实施例的分割操作的示意图;以及FIG. 7 is a schematic diagram illustrating a segmentation operation according to an exemplary embodiment of the present invention; and

图8示出了根据本发明示例实施例的电子设备的示意功能框图。Fig. 8 shows a schematic functional block diagram of an electronic device according to an exemplary embodiment of the present invention.

具体实施方式Detailed ways

以下的描述阐明各种示例以及特定的细节以提供对要求保护的主题的全面理解。然而,本领域的技术人员将理解在没有本文公开的特定细节中的一些或更多细节的情形下也可以实践要求保护的主题。而且,在一些情形下没有详细描述公知的方法、过程、系统、组件和/或电路,以避免不必要地混淆要求保护的主题。The following description sets forth various examples and specific details to provide a thorough understanding of the claimed subject matter. It will be understood, however, by those skilled in the art that claimed subject matter may be practiced without some or more of the specific details disclosed herein. Moreover, in some instances, well-known methods, procedures, systems, components and/or circuits have not been described in detail in order to avoid unnecessarily obscuring claimed subject matter.

对于例如移动电话、平板电脑等具有触摸屏的电子设备,希望能够在不使用物理或虚拟键盘,也无需额外的显示空间的情况下,仅利用触摸笔或用户手指的点击或触摸操作来完成对屏幕上显示的对象的所有编辑功能,减少用户的输入操作,提高编辑效率和便利性。For electronic devices with touch screens such as mobile phones and tablet PCs, it is hoped that the touch screen can be completed only by clicking or touching the touch pen or the user's finger without using a physical or virtual keyboard or requiring additional display space. All the editing functions of the objects displayed on the screen can reduce the user's input operations and improve the editing efficiency and convenience.

本发明涉及一种无需键盘的在电子设备的触摸屏上编辑对象的方法、装置和能够进行这种编辑的电子设备,以及一种计算机可读介质。The invention relates to a method and device for editing objects on a touch screen of an electronic device without a keyboard, an electronic device capable of such editing, and a computer-readable medium.

图1示出了本发明示例实施例可应用的环境的一个示例。如图1所示,该应用环境包括具有大尺寸屏幕的显示设备101,例如平板显示器,主要用于显示功能,由于也带有触摸屏功能,用户可以使用触摸笔103或手指来触摸屏幕。显示设备101可以与主机设备102,例如PC,进行交互。图1所示系统可以用于会议或教学目的。在传统方法中,用户将演讲材料加载到主机设备102中并通过显示设备101显示。用户站在显示设备101旁进行演讲。然而,当用户想要编辑材料,例如插入备注、修改材料时,用户必须走到主机设备102处使用键盘和鼠标来进行编辑。然后,用户回到显示设备101继续演讲。当需要进行更多编辑时,用户不得不重复上述过程多次。Figure 1 shows one example of an environment to which an example embodiment of the present invention may be applied. As shown in FIG. 1 , the application environment includes a display device 101 with a large screen, such as a flat panel display, which is mainly used for display functions. Since it also has a touch screen function, users can use a touch pen 103 or fingers to touch the screen. The display device 101 can interact with a host device 102, such as a PC. The system shown in Figure 1 can be used for conference or teaching purposes. In a conventional method, a user loads presentation material into the host device 102 and displays it through the display device 101 . The user stands beside the display device 101 and makes a speech. However, when the user wants to edit the material, such as inserting a note or modifying the material, the user must go to the host device 102 to use the keyboard and mouse to edit. Then, the user returns to the display device 101 to continue speaking. When more editing is required, the user has to repeat the above process many times.

根据本发明示例实施例,在将演讲材料加载到主机设备102中并通过显示设备101显示后,用户可以站在显示设备101旁,在演讲过程中利用触摸笔103直接在屏幕上进行编辑,而无需来回走动。具体而言,根据本发明示例实施例,当用户需要进行编辑时,用户可以经由触摸屏上的按钮或触摸笔103上的按钮等输入模式切换命令。主机设备102接收到模式切换命令,进行分析并切换到相应的编辑模式。编辑模式可以包括例如擦除、插入、修改和分割等模式。在编辑模式下,用户可以在触摸屏上通过触摸笔103或手指输入编辑动作。主机设备102接收到编辑动作,分析编辑动作,根据编辑动作以及显示对象的对象信息,进行对象编辑。这里,编辑动作可以包括用户输入的用于例如擦除、插入、修改和分割等操作的动作。例如,对于擦除操作,用户可以用触摸笔103或手指在要擦除的文字或字符上绘制斜划图案。对于插入操作,用户可以用触摸笔103或手指选择要插入的对象并拖动对象到插入位置。对于修改操作,用户可以用触摸笔103或手指选择要修改的对象。对于分割操作,用户可以用触摸笔103或手指绘制例如圆形或方形线框来框住要分割的对象。显示对象的对象信息可以包括显示对象的类型信息、位置信息、字体信息、颜色信息、尺寸信息、内容信息和图形信息中的至少一种。显示对象的对象信息可以是预先存储的,或者在用户输入所显示的对象(例如文字或符号)时产生并存储。在一个示例实施例中,在切换到编辑模式之前,用户可以经由触摸屏上的按钮或触摸笔103上的按钮等输入模式切换命令,切换到手写模式。用户可以用触摸笔103或手指在屏幕上手写文字或绘制符号。主机设备102将手写输入转换为文本或符号对象并在屏幕上显示。在此之前或与此同时,主机设备102可以在例如存储器中存储所显示对象的信息,作为对象信息。可以通过本领域技术人员熟知的技术来转换手写输入,例如通过手写识别技术(HWR)来识别用户的手写内容。According to an exemplary embodiment of the present invention, after the speech material is loaded into the host device 102 and displayed by the display device 101, the user can stand beside the display device 101 and use the touch pen 103 to directly edit on the screen during the speech, while No need to go back and forth. Specifically, according to an exemplary embodiment of the present invention, when the user needs to edit, the user may input a mode switching command via a button on the touch screen or a button on the touch pen 103 . The host device 102 receives the mode switching command, analyzes it and switches to the corresponding editing mode. Editing modes may include modes such as erase, insert, modify, and split. In the editing mode, the user can input editing actions through the touch pen 103 or fingers on the touch screen. The host device 102 receives the editing action, analyzes the editing action, and performs object editing according to the editing action and the object information of the displayed object. Here, the editing action may include actions input by the user for operations such as erasing, inserting, modifying, and splitting. For example, for an erasing operation, the user can use the touch pen 103 or a finger to draw an oblique pattern on the text or characters to be erased. For the insertion operation, the user can use the touch pen 103 or a finger to select the object to be inserted and drag the object to the insertion position. For the modification operation, the user can use the touch pen 103 or a finger to select an object to be modified. For the segmentation operation, the user can use the touch pen 103 or a finger to draw, for example, a circular or square wire frame to frame the object to be segmented. The object information of the display object may include at least one of type information, location information, font information, color information, size information, content information, and graphic information of the display object. The object information of the displayed object may be stored in advance, or generated and stored when the user inputs the displayed object (such as characters or symbols). In an example embodiment, before switching to the editing mode, the user may switch to the handwriting mode by inputting a mode switching command via a button on the touch screen or a button on the stylus 103 . The user can use the touch pen 103 or a finger to handwrite characters or draw symbols on the screen. The host device 102 converts the handwritten input into text or symbolic objects and displays them on the screen. Prior to this or at the same time, the host device 102 may store information of the displayed object in, for example, a memory as object information. The handwriting input can be converted by techniques well known to those skilled in the art, such as handwriting recognition technology (HWR) to recognize the user's handwriting content.

在上述示例中,虽然示出了主机设备102与显示设备101是分离的部件,但是本领域技术人员可以理解,主机设备102与显示设备101也可以是集成在一起,构成整体的电子设备,例如移动电话、个人数字助理(PDA)、平板电脑等。图8示出了根据本发明示例实施例的电子设备的示意功能框图。该电子设备800能够无需键盘而编辑对象。电子设备800可以包括输入装置801、存储装置802和处理装置803。输入装置801可以包括触摸屏,用于接收用户利用触摸笔或手指等的触摸输入。触摸屏可以具备显示功能,从而也充当显示屏幕。存储装置802可以存储与屏幕上显示的对象有关的对象信息。存储装置802可以是任何类型的,包括但不限于易失性存储器(如RAM)、非易失性存储器(如ROM、闪存等)或其任何组合。处理装置803分析输入装置801接收的用户输入,如果分析得到用户输入指示切换到编辑模式,将电子设备800切换到编辑模式。在编辑模式下,输入装置801接收用户经由触摸屏的编辑输入。处理装置803进一步分析编辑输入并产生编辑输入信息,并从存储装置802获取存储的对象信息。处理装置803根据编辑输入信息和对象信息,产生编辑动作信息,并且根据编辑动作信息向显示的对象施加编辑动作。处理装置803可以任何类型的处理器来实现,包括但不限于微处理器(μP)、微控制器(μC)、数字信号处理器(DSP)或其任何组合。In the above example, although it is shown that the host device 102 and the display device 101 are separate components, those skilled in the art can understand that the host device 102 and the display device 101 may also be integrated to form a whole electronic device, for example Mobile Phones, Personal Digital Assistants (PDAs), Tablets, etc. Fig. 8 shows a schematic functional block diagram of an electronic device according to an exemplary embodiment of the present invention. The electronic device 800 can edit objects without a keyboard. The electronic device 800 may include an input device 801 , a storage device 802 and a processing device 803 . The input device 801 may include a touch screen for receiving a user's touch input using a touch pen or a finger or the like. The touch screen can be provided with a display function, thereby also acting as a display screen. The storage 802 may store object information related to objects displayed on the screen. The storage device 802 may be of any type, including but not limited to volatile memory (such as RAM), non-volatile memory (such as ROM, flash memory, etc.), or any combination thereof. The processing means 803 analyzes the user input received by the input means 801, and if the analyzed user input indicates switching to the editing mode, switches the electronic device 800 to the editing mode. In the editing mode, the input device 801 receives user's editing input via the touch screen. The processing device 803 further analyzes the editing input and generates editing input information, and obtains the stored object information from the storage device 802 . The processing device 803 generates editing action information according to the editing input information and the object information, and applies an editing action to the displayed object according to the editing action information. The processing means 803 may be implemented with any type of processor including, but not limited to, a microprocessor (μP), a microcontroller (μC), a digital signal processor (DSP), or any combination thereof.

在一个示例实施例中,输入装置801可以在手写模式下接收用户在触摸屏上手写的文字或绘制的符号。处理装置803将手写输入转换为文本或符号对象并在屏幕上显示。在转换之前或与转换同时地,处理装置803可以在存储装置802中存储所显示对象的信息,作为对象信息。In an exemplary embodiment, the input device 801 may receive handwritten characters or symbols drawn by the user on the touch screen in the handwriting mode. The processing device 803 converts the handwriting input into text or symbol objects and displays them on the screen. Before the transition or simultaneously with the transition, the processing means 803 may store information of the displayed object in the storage means 802 as object information.

在一个示例实施例中,在处理装置803编辑了对象之后,处理装置803可以在存储装置802中存储编辑后的对象的信息,以更新存储装置802先前存储的对象信息。In an exemplary embodiment, after the processing device 803 edits the object, the processing device 803 may store the edited object information in the storage device 802 to update the object information previously stored in the storage device 802 .

以上描述了本发明示例实施例的一种实现方式。图2示出了根据本发明示例实施例的另一种实现方式,包括一种无需键盘的在电子设备的触摸屏上编辑对象的装置200。如图所示,装置200包括多个功能单元:输入单元201,接收用户的模式切换输入,以及接收用户经由触摸屏的编辑输入;分析单元202,分析模式切换输入,如果分析得到模式切换输入指示切换到编辑模式,将电子设备切换到编辑模式,分析单元还分析编辑输入并产生编辑输入信息,并且根据编辑输入信息和与电子设备上显示的对象有关的对象信息,产生编辑动作信息;以及编辑单元203,根据编辑动作信息向显示的对象施加编辑动作。One implementation of the exemplary embodiment of the present invention is described above. Fig. 2 shows another implementation according to an exemplary embodiment of the present invention, including an apparatus 200 for editing an object on a touch screen of an electronic device without a keyboard. As shown in the figure, the device 200 includes multiple functional units: the input unit 201 receives the user's mode switch input, and receives the user's editing input via the touch screen; the analysis unit 202 analyzes the mode switch input, and if the analyzed mode switch input indicates switching To the editing mode, the electronic device is switched to the editing mode, the analysis unit also analyzes the editing input and generates editing input information, and generates editing action information according to the editing input information and the object information related to the object displayed on the electronic device; and the editing unit 203. Apply an editing action to the displayed object according to the editing action information.

根据一个示例实施例,装置200还包括手写转换单元204。如果分析单元202分析得到模式切换输入指示切换到手写模式,并将电子设备切换到手写模式,手写转换单元204接收用户经由触摸屏的手写输入,将手写输入转换为文本对象。According to an example embodiment, the apparatus 200 further includes a handwriting conversion unit 204 . If the analysis unit 202 analyzes and obtains that the mode switching input indicates switching to the handwriting mode and switches the electronic device to the handwriting mode, the handwriting conversion unit 204 receives the user's handwriting input via the touch screen and converts the handwriting input into a text object.

根据一个示例实施例,装置200还包括存储单元205,用于存储对象信息。分析单元202在产生编辑动作信息之前,从存储单元205获取存储的对象信息。According to an example embodiment, the apparatus 200 further includes a storage unit 205 for storing object information. The analysis unit 202 acquires the stored object information from the storage unit 205 before generating the editing action information.

根据一个示例实施例,在编辑单元203施加编辑动作之后,在存储单元205中存储将与编辑后的对象有关的对象信息,以更新先前存储的对象信息。According to an example embodiment, after an editing action is applied by the editing unit 203, object information to be related to the edited object is stored in the storage unit 205 to update previously stored object information.

根据一个示例实施例,装置200还包括显示单元206,用于显示对象。例如,显示单元206可以显示编辑之前的对象以及编辑之后的对象,并且可以显示用户的手写输入转换而成的文本对象。According to an example embodiment, the apparatus 200 further includes a display unit 206 for displaying objects. For example, the display unit 206 may display an object before editing and an object after editing, and may display a text object converted from a user's handwriting input.

在上述示例实施例中,输入单元201可以例如通过多种输入设备来实现,输入单元201可以包括触摸屏或不包括触摸屏。分析单元202和编辑单元203可以通过例如中央处理单元(CPU)、微处理器、信号处理器等多种处理装置来实现。存储单元205可以与分析单元202和编辑单元203集成在一起,或者可以单独提供,包括但不限于易失性存储器(如RAM)、非易失性存储器(如ROM、闪存等)或其任何组合。显示单元206可以与输入单元201集成在一起,或者可以单独提供,可以包括各种类型的显示屏幕。In the above-mentioned example embodiments, the input unit 201 may be realized by, for example, various input devices, and the input unit 201 may include a touch screen or not include a touch screen. The analysis unit 202 and the editing unit 203 can be implemented by various processing devices such as a central processing unit (CPU), a microprocessor, a signal processor, and the like. The storage unit 205 can be integrated with the analysis unit 202 and the editing unit 203, or can be provided separately, including but not limited to volatile memory (such as RAM), non-volatile memory (such as ROM, flash memory, etc.) or any combination thereof . The display unit 206 may be integrated with the input unit 201, or may be provided separately, and may include various types of display screens.

根据一个示例实施例,编辑单元203可以实现为包括多个模块,例如擦除模块207、插入模块208等与多种编辑操作对应的模块。According to an example embodiment, the editing unit 203 may be implemented to include multiple modules, such as an erasing module 207, an inserting module 208 and other modules corresponding to various editing operations.

图3示出了根据本发明示例实施例,无需键盘的在电子设备的触摸屏上编辑对象的方法的流程图。例如,图3所示方法可以由图2所述装置执行,或者可以由图8所示电子设备执行。FIG. 3 shows a flowchart of a method for editing an object on a touch screen of an electronic device without a keyboard according to an exemplary embodiment of the present invention. For example, the method shown in FIG. 3 may be executed by the apparatus shown in FIG. 2 , or may be executed by the electronic device shown in FIG. 8 .

方法300开始于步骤301,接收用户的模式切换输入。在步骤302,分析模式切换输入,如果分析得到模式切换输入指示切换到编辑模式,则在步骤303将电子设备切换到编辑模式。接着,在步骤304,在编辑模式下,经由触摸屏接收用户的编辑输入。在步骤305,分析编辑输入并产生编辑输入信息。在步骤306,根据编辑输入信息和与电子设备上显示的对象有关的对象信息,产生编辑动作信息。并且在步骤307,根据编辑动作信息向显示的对象施加编辑动作。The method 300 starts at step 301, receiving a mode switching input from a user. In step 302, the mode switch input is analyzed, and if the analysis shows that the mode switch input indicates to switch to the editing mode, then in step 303, the electronic device is switched to the editing mode. Next, in step 304, in the editing mode, user's editing input is received via the touch screen. In step 305, the editing input is analyzed and editing input information is generated. In step 306, edit action information is generated according to the edit input information and the object information related to the object displayed on the electronic device. And in step 307, an editing action is applied to the displayed object according to the editing action information.

如果在步骤302分析得到模式切换输入指示切换到手写模式,则在步骤308将电子设备切换到手写模式。接着在步骤309经由触摸屏接收用户的手写输入。在步骤310将手写输入转换为文本对象并显示,并且在步骤311存储所显示文本对象的信息,作为对象信息。If it is analyzed at step 302 that the mode switch input indicates to switch to the handwriting mode, then at step 308 the electronic device is switched to the handwriting mode. Then in step 309, the user's handwriting input is received via the touch screen. In step 310, the handwriting input is converted into a text object and displayed, and in step 311, information of the displayed text object is stored as object information.

在步骤312判断用户输入是否结束。如果未结束,则返回到步骤301重复上述过程。如果用户输入结束,则方法300终止。In step 312 it is judged whether the user input is finished. If not finished, return to step 301 to repeat the above process. If the user input is complete, method 300 terminates.

根据一个示例实施例,方法300还可以包括在产生编辑动作信息之前,获取预先存储的对象信息。According to an example embodiment, the method 300 may further include acquiring pre-stored object information before generating the editing action information.

根据一个示例实施例,方法300还可以包括在施加编辑动作之后,存储与编辑后的对象有关的对象信息,以更新先前存储的对象信息。According to an example embodiment, the method 300 may further include, after the editing action is applied, storing object information related to the edited object to update previously stored object information.

下面参照图4到7所示具体示例来描述根据本发明示例实施例的装置和方法。这些示例可以由图2所示装置执行,或者可以由图8所示电子设备执行。下面结合图2所示装置200来描述这些示例。The apparatus and method according to exemplary embodiments of the present invention are described below with reference to specific examples shown in FIGS. 4 to 7 . These examples may be executed by the apparatus shown in FIG. 2 , or may be executed by the electronic device shown in FIG. 8 . These examples are described below in conjunction with the apparatus 200 shown in FIG. 2 .

图4是示出了根据本发明示例实施例的擦除操作的示意图。在图4中,显示的对象是文本内容401,例如是GDI/GDI+文本对象。这里,文本内容仅是示例,显示的对象还可以包括其他任何类型的对象,例如符号、图形、图像等。为了擦除文本内容,首先需要切换到擦除模式。可以通过点击触摸屏上的虚拟按钮或点击触摸笔上的触摸笔按钮来触发切换指令。输入单元201接收到切换指令,并传送给分析单元202。分析单元202接收到切换指令并使电子设备切换到擦除模式。在擦除模式下,用户用手指或触摸笔在触摸屏上输入擦除斜划402。输入单元201接收到擦除斜划402并传送给分析单元202。分析单元202分析接收到的擦除斜划402,并产生关于擦除斜划402信息,例如位置信息。由于存储单元205中存储有文本内容401的信息,例如图形信息,分析单元202可以从存储单元205获得存储的文本内容401的图形信息。分析单元202可以基于图形信息和擦除斜划402的位置信息,确定要擦除的文本内容部分,例如字符402。然后,分析单元202将关于要擦除的字符402的信息发送给编辑单元203,具体地,发送给擦除模块207。擦除模块207根据该信息擦除字符402。FIG. 4 is a schematic diagram illustrating an erase operation according to an exemplary embodiment of the present invention. In FIG. 4, the displayed object is text content 401, such as a GDI/GDI+text object. Here, the text content is only an example, and the displayed objects may also include other types of objects, such as symbols, graphics, images, and the like. In order to erase text content, you first need to switch to erase mode. The switching instruction can be triggered by clicking a virtual button on a touch screen or clicking a touch pen button on a touch pen. The input unit 201 receives the switching instruction and sends it to the analyzing unit 202 . The analysis unit 202 receives the switching instruction and switches the electronic device to the erasing mode. In the erase mode, the user inputs an erase slash 402 on the touch screen with a finger or a stylus. The input unit 201 receives the erasing slash 402 and sends it to the analysis unit 202 . The analysis unit 202 analyzes the received erasing slash 402 and generates information about the erasing slash 402 , such as location information. Since the storage unit 205 stores the information of the text content 401 , such as graphic information, the analysis unit 202 can obtain the stored graphic information of the text content 401 from the storage unit 205 . The analysis unit 202 can determine the part of the text content to be erased, such as the character 402 , based on the graphic information and the location information of the erased slash 402 . Then, the analyzing unit 202 sends the information about the character 402 to be erased to the editing unit 203 , specifically, to the erasing module 207 . The erasing module 207 erases the character 402 according to the information.

随后,擦除模块207还将字符402之后的字符向前移动,与在前字符连接,得到编辑结果,如403所示的三个字符。显示单元206可以显示擦除结果,并且分析单元202可以用擦除后的文本内容的信息更新存储单元206中先前存储的文本内容的有关信息。Subsequently, the erasing module 207 also moves the characters after the character 402 forward to connect with the previous character to obtain the editing result, such as three characters shown in 403 . The display unit 206 can display the erasing result, and the analysis unit 202 can update the relevant information of the previously stored text content in the storage unit 206 with the information of the erased text content.

这样,用户不需要使用键盘(例如按压物理键盘或虚拟键盘上的后退键),也能够执行擦除操作。In this way, the user does not need to use the keyboard (for example, press the back key on the physical keyboard or virtual keyboard), and can also perform the erasing operation.

图5是示出了根据本发明示例实施例的插入操作的示意图。在图5所示示例中,将字符502插入到文本内容501中。为了插入文本内容,首先需要切换到插入模式。同样可以通过点击触摸屏上的虚拟按钮或点击触摸笔上的触摸笔按钮来触发切换指令。输入单元201接收到切换指令,并传送给分析单元202。分析单元202接收到切换指令并使电子设备切换到插入模式。在插入模式下,用户用手指或触摸笔在触摸屏上选择字符502并拖动。输入单元201接收到用户的选择和拖动操作并传送给分析单元202。分析单元202分析接收到的选择和拖动操作,并产生与选定字符502和拖动位置有关的信息。由于存储单元205中存储有文本内容501的信息,例如图形信息,分析单元202可以从存储单元205获得存储的文本内容501的图形信息。分析单元202可以基于图形信息、与选定字符502和拖动位置有关的信息,确定插入位置。例如,当用户拖动字符502时,可以显示针对可选的插入位置,如503所示的十字符号所示位置。如果用户拖动字符502到例如位置504并释放,则分析单元202将插入动作的信息发送给编辑单元203,具体地,发送给插入模块208。插入模块208将字符502添加到文本对象501中,并调整字符502的尺寸、颜色等与文本内容501相同。最后,显示单元206显示插入结果505。分析单元202可以用插入后的文本内容的信息更新存储单元206中先前存储的文本内容的有关信息。FIG. 5 is a schematic diagram illustrating an insertion operation according to an exemplary embodiment of the present invention. In the example shown in FIG. 5 , characters 502 are inserted into text content 501 . In order to insert text content, you first need to switch to insert mode. Likewise, the switch instruction can be triggered by clicking a virtual button on the touch screen or a touch pen button on the touch pen. The input unit 201 receives the switching instruction and sends it to the analyzing unit 202 . The analysis unit 202 receives the switching instruction and switches the electronic device to the plug-in mode. In the insert mode, the user selects a character 502 on the touch screen with a finger or a stylus and drags it. The input unit 201 receives the user's selection and drag operation and sends it to the analysis unit 202 . The analyzing unit 202 analyzes the received selection and dragging operations, and generates information related to the selected character 502 and the dragging position. Since the storage unit 205 stores information of the text content 501 , such as graphic information, the analyzing unit 202 can obtain the stored graphic information of the text content 501 from the storage unit 205 . The analyzing unit 202 may determine the insertion position based on graphic information, information on the selected character 502 and the dragging position. For example, when the user drags the character 502 , an optional insertion position may be displayed, as indicated by a cross symbol 503 . If the user drags the character 502 to eg position 504 and releases it, the analyzing unit 202 sends the information of the inserting action to the editing unit 203 , specifically, to the inserting module 208 . The inserting module 208 adds the character 502 to the text object 501 , and adjusts the size, color, etc. of the character 502 to be the same as the text content 501 . Finally, the display unit 206 displays the insertion result 505 . The analysis unit 202 may update the relevant information of the text content previously stored in the storage unit 206 with the information of the inserted text content.

备选地,也可以通过将字符502拖动到符号506、507、508或509所指位置,将字符502插入到左、右、上、下等位置。Alternatively, by dragging the character 502 to the position indicated by the symbol 506 , 507 , 508 or 509 , the character 502 can be inserted to the left, right, top, bottom, etc. positions.

这样,用户不需要使用键盘(例如按压物理键盘或虚拟键盘上的空格键)也能够指定插入空间,从而执行插入操作。In this way, the user can designate an insertion space without using a keyboard (for example, pressing a space bar on a physical keyboard or a virtual keyboard), so as to perform an insertion operation.

图6是示出了根据本发明示例实施例的修改操作的示意图。在该示例中,可以在要修改的对象周围显示该对象的一个或多个修改候选项,并通过选择修改候选项之一来实现修改。为了修改文本内容,首先需要切换到修改模式。同样可以通过点击触摸屏上的虚拟按钮或点击触摸笔上的触摸笔按钮来触发切换指令。输入单元201接收到切换指令,并传送给分析单元202。分析单元202接收到切换指令并使电子设备切换到修改模式。在修改模式下,用户用手指或触摸笔在触摸屏上选择文本内容601中要修改的字符,如602所示第二个字符。输入单元201接收到用户的选择操作并传送给分析单元202。分析单元202分析接收到的选择操作,并产生与选定字符有关的信息,例如位置信息。由于存储单元205中存储有文本内容601的信息,例如图形信息或位置信息,分析单元202可以从存储单元205获得存储的文本内容601的信息。分析单元202可以基于获得的信息以及选定字符的位置信息,在要修改的字符周围以显示候选字符。可以按照相同尺寸、颜色或字体等来显示候选字符,也可以根据屏幕的尺寸、系统设置或用户设置等,按照不同尺寸、颜色或字体等来显示候选字符。用户可以用手指或触摸笔在触摸屏上选择候选字符之一,例如字符603。分析单元202分析该选择操作,并将关于字符603的信息发送给编辑单元203,具体地,发送给编辑模块。编辑模块将第二个字符修改字符603。最后,显示单元206显示修改结果604。分析单元202可以用修改后的文本内容的信息更新存储单元206中先前存储的文本内容的有关信息。FIG. 6 is a diagram illustrating a modification operation according to an exemplary embodiment of the present invention. In this example, one or more modification candidates for the object to be modified may be displayed around the object, and the modification is effected by selecting one of the modification candidates. In order to modify the text content, you first need to switch to modify mode. Likewise, the switch instruction can be triggered by clicking a virtual button on the touch screen or a touch pen button on the touch pen. The input unit 201 receives the switching instruction and sends it to the analyzing unit 202 . The analysis unit 202 receives the switching instruction and switches the electronic device to the modification mode. In the modification mode, the user selects the character to be modified in the text content 601 on the touch screen with a finger or a touch pen, such as the second character shown in 602 . The input unit 201 receives the user's selection operation and sends it to the analysis unit 202 . The analysis unit 202 analyzes the received selection operation, and generates information related to the selected character, such as position information. Since the storage unit 205 stores the information of the text content 601 , such as graphic information or location information, the analysis unit 202 can obtain the stored information of the text content 601 from the storage unit 205 . The analysis unit 202 may display candidate characters around the character to be modified based on the obtained information and the position information of the selected character. Candidate characters can be displayed in the same size, color, or font, or can be displayed in different sizes, colors, or fonts, etc. according to screen size, system settings, or user settings. The user can select one of the candidate characters, such as character 603, on the touch screen with a finger or a touch pen. The analyzing unit 202 analyzes the selection operation, and sends the information about the character 603 to the editing unit 203, specifically, to the editing module. The editing module modifies the second character to character 603 . Finally, the display unit 206 displays the modification result 604 . The analyzing unit 202 may update the relevant information of the previously stored text content in the storage unit 206 with the modified information of the text content.

这样,用户不需要使用键盘(例如通过物理键盘或虚拟键盘上来键入)也能够指定候选字符来执行修改操作。In this way, the user can designate candidate characters to perform the modification operation without using a keyboard (for example, typing on a physical keyboard or a virtual keyboard).

图7是示出了根据本发明示例实施例的分割操作的示意图。在图7中,要将文本内容401的上下行分割开。为了分割文本内容,首先需要切换到分割模式。同样,可以通过点击触摸屏上的虚拟按钮或点击触摸笔上的触摸笔按钮来触发切换指令。输入单元201接收到切换指令,并传送给分析单元202。分析单元202接收到切换指令并使电子设备切换到分割模式。在分割模式下,用户用手指或触摸笔在触摸屏上绘制线框,例如702所示椭圆形线框,框住要分割的文本内容。输入单元201接收到绘制的线框702并传送给分析单元202。分析单元202分析接收到的线框702,并产生关于线框702的信息,例如尺寸信息和位置信息。由于存储单元205中存储有文本内容701的信息,例如图形信息和位置信息,分析单元202可以从存储单元205获得存储的文本内容701的有关信息。分析单元202可以基于文本内容701的有关信息和线框702的有关信息,确定要分割的文本内容703。然后,分析单元202将关于要分割的文本内容的信息发送给编辑单元203,具体地,发送给分割模块。分割模块根据该信息将文本内容703从文本内容701分割开。FIG. 7 is a schematic diagram illustrating a segmentation operation according to an exemplary embodiment of the present invention. In FIG. 7 , the upper and lower lines of the text content 401 should be separated. In order to segment text content, you first need to switch to segment mode. Likewise, the switching instruction can be triggered by clicking a virtual button on the touch screen or clicking a touch pen button on a touch pen. The input unit 201 receives the switching instruction and sends it to the analyzing unit 202 . The analysis unit 202 receives the switching instruction and switches the electronic device to the split mode. In the segmentation mode, the user draws a wire frame on the touch screen with a finger or a touch pen, such as an elliptical wire frame shown in 702, to frame the text content to be segmented. The input unit 201 receives the drawn wireframe 702 and sends it to the analysis unit 202 . The analysis unit 202 analyzes the received wire frame 702 and generates information about the wire frame 702, such as size information and position information. Since the storage unit 205 stores information about the text content 701 , such as graphic information and location information, the analysis unit 202 can obtain information about the stored text content 701 from the storage unit 205 . The analysis unit 202 may determine the text content 703 to be segmented based on the relevant information of the text content 701 and the relevant information of the wireframe 702 . Then, the analyzing unit 202 sends the information about the text content to be segmented to the editing unit 203, specifically, to the segmenting module. The segmentation module segments the text content 703 from the text content 701 according to this information.

显示单元206可以显示分割结果,例如将文本内容703和704分开显示。分析单元202可以用分割后的文本内容的信息更新存储单元206中先前存储的文本内容的有关信息。The display unit 206 can display the segmentation result, for example, displaying the text contents 703 and 704 separately. The analyzing unit 202 may update the relevant information of the text content previously stored in the storage unit 206 with the information of the divided text content.

这样,用户不需要使用键盘(例如按压物理键盘或虚拟键盘上的回车键或空格键)也能够断开文本内容,从而执行分割操作。In this way, the user can disconnect the text content without using a keyboard (for example, pressing an enter key or a space bar on a physical keyboard or a virtual keyboard), thereby performing a split operation.

根据本发明示例实施例,还提供了一种计算机程序产品。计算机程序产品可以包括计算机可读介质。计算机可读介质可以包括一个或更多个机器可读指令,在由一个或更多个处理器执行时,所述一个或更多个机器可读指令使得计算设备可以提供本文参照图3至7描述的方法和装置。在一些实现方式中,计算机可读介质可以包括例如但不限于硬盘驱动、压缩盘(CD)、数字通用盘(DVD)、数字磁带、存储器等。在一些实现方式中,计算机可读介质可以包括可记录介质,例如但不限于存储器、读/写(R/W)CD、R/W DVD等。在一些实现方式中,计算机可读介质可以包括通信介质,例如但不限于数字和/或模拟通信介质(例如光纤电缆、波导、有线通信链接、无线通信链接等)。According to an example embodiment of the present invention, there is also provided a computer program product. A computer program product may include a computer readable medium. The computer-readable medium may include one or more machine-readable instructions that, when executed by one or more processors, cause a computing device to provide the Methods and apparatus are described. In some implementations, a computer readable medium may include, for example and without limitation, a hard drive, compact disc (CD), digital versatile disc (DVD), digital magnetic tape, memory, and the like. In some implementations, computer readable media may include recordable media such as, but not limited to, memory, read/write (R/W) CDs, R/W DVDs, and the like. In some implementations, computer readable media may comprise communication media such as, but not limited to, digital and/or analog communication media (eg, fiber optic cables, waveguides, wired communication links, wireless communication links, etc.).

尽管本文已经采用各种方法和装置描述和示出了特定示例实施例,但本领域的熟练技术人员应当理解,在未背离要求保护的主题的情形下,可以进行各种其它的更改和替换。要求保护的主题不限于所公开的特定示例实施例,而由所附权利要求及其等同物限定。Although specific example embodiments have been described and illustrated herein using various methods and apparatus, it will be understood by those skilled in the art that various other changes and substitutions may be made without departing from claimed subject matter. The claimed subject matter is not limited to the specific example embodiments disclosed, but by the appended claims and their equivalents.

Claims (22)

1.一种无需键盘的在电子设备的触摸屏上编辑对象的方法,包括:1. A method for editing objects on a touch screen of an electronic device without a keyboard, comprising: 接收用户的模式切换输入;Receive user's mode switching input; 分析模式切换输入,如果分析得到模式切换输入指示切换到编辑模式,将电子设备切换到编辑模式;Analyzing the mode switching input, if the analysis shows that the mode switching input indicates switching to the editing mode, switching the electronic device to the editing mode; 在编辑模式下,经由触摸屏接收用户的编辑输入;In the editing mode, receiving editing input from the user via the touch screen; 分析编辑输入并产生编辑输入信息;analyzing editorial input and generating editorial input information; 根据编辑输入信息和与电子设备上显示的对象有关的对象信息,产生编辑动作信息;以及generating editing action information based on the editing input information and object information related to the object displayed on the electronic device; and 根据编辑动作信息向显示的对象施加编辑动作。An editing action is applied to the displayed object according to the editing action information. 2.根据权利要求1所述的方法,其中,如果分析得到模式切换输入指示切换到手写模式,所述方法还包括:2. The method according to claim 1, wherein, if the analysis obtains that the mode switching input indicates switching to the handwriting mode, the method further comprises: 将电子设备切换到手写模式;switch the electronic device to handwriting mode; 经由触摸屏接收用户的手写输入;receiving user's handwriting input via the touch screen; 将手写输入转换为文本对象并显示;以及convert and display handwriting input into text objects; and 存储所显示文本对象的信息,作为对象信息。Information of the displayed text object is stored as object information. 3.根据权利要求1所述的方法,其中,对象信息是预先存储的,所述方法还包括:在产生编辑动作信息之前,获取预先存储的对象信息。3. The method according to claim 1, wherein the object information is pre-stored, the method further comprising: before generating the editing action information, acquiring the pre-stored object information. 4.根据权利要求1所述的方法,还包括:在施加编辑动作之后,存储与编辑后的对象有关的对象信息,以更新先前存储的对象信息。4. The method of claim 1, further comprising, after applying the editing action, storing object information related to the edited object to update previously stored object information. 5.根据权利要求1所述的方法,其中,对象信息包括显示对象的类型信息、位置信息、字体信息、颜色信息、尺寸信息、内容信息和图形信息中的至少一种。5. The method of claim 1, wherein the object information includes at least one of type information, location information, font information, color information, size information, content information, and graphic information of the display object. 6.根据权利要求5所述的方法,其中,编辑模式包括擦除模式,编辑输入包括擦除输入,编辑输入信息包括擦除输入的位置信息;6. The method according to claim 5, wherein the edit mode includes an erase mode, the edit input includes an erase input, and the edit input information includes erase input location information; 产生编辑动作信息包括:根据擦除输入的位置信息和显示对象的图形信息,产生与要擦除的对象部分有关的信息;以及Generating the editing action information includes: generating information related to the part of the object to be erased according to the position information of the erase input and the graphic information of the displayed object; and 施加编辑动作包括:根据与要擦除的对象部分有关的信息,擦除所述对象的相应部分。Applying an editing action includes erasing the corresponding portion of the object based on the information about the portion of the object to be erased. 7.根据权利要求6所述的方法,其中,施加编辑动作还包括:在擦除所述对象部分之后,将所述对象部分之后的部分向前移动以与所述对象部分之前的部分连接。7. The method of claim 6, wherein applying an editing action further comprises, after erasing the object portion, moving a portion after the object portion forward to connect with a portion before the object portion. 8.根据权利要求5所述的方法,其中,编辑模式包括插入模式,编辑输入包括选择和拖动输入,并且编辑输入信息包括与选定对象和拖动位置有关的信息;8. The method of claim 5, wherein the edit mode includes an insert mode, the edit input includes selection and drag input, and the edit input information includes information related to the selected object and the drag position; 产生编辑动作信息包括:根据与选定对象和拖动位置有关的信息、以及显示对象的图形信息,产生与插入操作有关的信息;以及Generating the editing action information includes: generating information related to the insertion operation according to the information related to the selected object and the drag position, and the graphic information of the displayed object; and 施加编辑动作包括:根据与插入操作有关的信息,将所述选定对象插入到显示对象中。Applying an editing action includes inserting the selected object into the display object based on information related to the inserting operation. 9.根据权利要求8所述的方法,其中,施加编辑动作还包括:根据显示对象的字体信息、颜色信息和尺寸信息中的至少一种,调整所插入对象的字体、颜色和尺寸中的至少一种。9. The method according to claim 8, wherein applying the editing action further comprises: adjusting at least one of font, color and size of the inserted object according to at least one of font information, color information and size information of the displayed object A sort of. 10.根据权利要求5所述的方法,其中,编辑模式包括修改模式,编辑输入包括选择输入,编辑输入信息包括选择输入的位置信息;10. The method according to claim 5, wherein the edit mode includes a modification mode, the edit input includes a selection input, and the edit input information includes selection input position information; 产生编辑动作信息包括:根据位置信息和显示对象的图形信息,产生与要修改的对象部分有关的信息;以及Generating the editing action information includes: generating information related to the part of the object to be modified according to the position information and the graphic information of the displayed object; and 施加编辑动作包括:根据与要修改的对象部分有关的信息,修改所述对象部分。Applying an editing action includes modifying the object portion to be modified based on information about the object portion. 11.根据权利要求10所述的方法,其中,产生与要修改的对象部分有关的信息包括:在要修改的对象部分周围显示该对象部分的一个或多个修改候选项;11. The method of claim 10, wherein generating information related to the object part to be modified comprises: displaying one or more modification candidates for the object part around the object part to be modified; 修改所述对象部分包括:将所述对象部分修改为用户选择的修改候选项。Modifying the object portion includes: modifying the object portion to a modification candidate selected by a user. 12.根据权利要求5所述的方法,其中,编辑模式包括分割模式,编辑输入包括选择输入,编辑输入信息包括选择输入的图案信息和位置信息;12. The method according to claim 5, wherein the edit mode includes a split mode, the edit input includes selection input, and the edit input information includes selection input pattern information and position information; 产生编辑动作信息包括:根据选择输入的图案信息和位置信息、以及显示对象的图形信息,产生与要分割的对象部分有关的信息;以及Generating the editing action information includes: generating information related to the object part to be divided according to the pattern information and position information selected and input, and the graphic information of the displayed object; and 施加编辑动作包括:根据与要分割的对象部分有关的信息,从显示对象分割所述对象部分。Applying the editing action includes segmenting the object portion from the display object based on information about the object portion to be segmented. 13.根据权利要求12所述的方法,其中,选择输入包括用户绘制的线框,要分割的对象部分包括线框中包含的对象部分,13. The method of claim 12, wherein the selection input comprises a wireframe drawn by a user, the object portion to be segmented comprises the object portion contained in the wireframe, 施加编辑动作还包括:在分割所述对象部分之后,将所述对象部分与显示对象的剩余部分分离地显示。Applying an editing action further includes displaying the object portion separately from a remaining portion of the displayed object after segmenting the object portion. 14.一种无需键盘的在电子设备的触摸屏上编辑对象的装置,包括:14. A device for editing objects on a touch screen of an electronic device without a keyboard, comprising: 输入单元,接收用户的模式切换输入,以及接收用户经由触摸屏的编辑输入;The input unit receives the user's mode switch input, and receives the user's editing input via the touch screen; 分析单元,分析模式切换输入,如果分析得到模式切换输入指示切换到编辑模式,将电子设备切换到编辑模式,分析单元还分析编辑输入并产生编辑输入信息,并且根据编辑输入信息和与电子设备上显示的对象有关的对象信息,产生编辑动作信息;以及The analysis unit analyzes the mode switching input. If the analysis shows that the mode switching input indicates to switch to the editing mode, the electronic device is switched to the editing mode. The analysis unit also analyzes the editing input and generates editing input information, and according to the editing input information and the electronic device displaying object information about the object, generating edit action information; and 编辑单元,根据编辑动作信息向显示的对象施加编辑动作。The editing unit applies an editing action to the displayed object according to the editing action information. 15.根据权利要求14所述的装置,还包括手写转换单元,15. The device according to claim 14, further comprising a handwriting conversion unit, 其中,如果分析单元分析得到模式切换输入指示切换到手写模式,并将电子设备切换到手写模式,手写转换单元接收用户经由触摸屏的手写输入,将手写输入转换为文本对象。Wherein, if the analysis unit analyzes and obtains the mode switching input indicating to switch to the handwriting mode, and switches the electronic device to the handwriting mode, the handwriting conversion unit receives the user's handwriting input via the touch screen, and converts the handwriting input into a text object. 16.根据权利要求14所述的装置,还包括存储单元,用于存储对象信息,16. The apparatus according to claim 14, further comprising a storage unit for storing object information, 其中,分析单元在产生编辑动作信息之前,从存储单元获取存储的对象信息。Wherein, the analysis unit acquires the stored object information from the storage unit before generating the editing action information. 17.根据权利要求14所述的装置,其中,在编辑单元施加编辑动作之后,在存储单元中存储将与编辑后的对象有关的对象信息,以更新先前存储的对象信息。17. The apparatus of claim 14, wherein after the editing action is applied by the editing unit, object information to be related to the edited object is stored in the storage unit to update previously stored object information. 18.根据权利要求14所述的装置,其中,编辑模式包括擦除模式,编辑单元包括擦除单元,编辑输入包括擦除输入,编辑输入信息包括擦除输入的位置信息;18. The device according to claim 14, wherein the editing mode includes an erasing mode, the editing unit includes an erasing unit, the editing input includes an erasing input, and the editing input information includes position information of the erasing input; 分析单元根据擦除输入的位置信息和显示对象的图形信息,产生与要擦除的对象部分有关的信息;以及The analysis unit generates information on the part of the object to be erased based on the position information of the erase input and the graphic information of the displayed object; and 擦除单元根据与要擦除的对象部分有关的信息,擦除所述对象部分。The erasing unit erases the object portion based on the information on the object portion to be erased. 19.根据权利要求14所述的装置,其中,编辑模式包括插入模式,编辑单元包括插入单元,编辑输入包括选择和拖动输入,并且编辑输入信息包括与选定对象和拖动位置有关的信息;19. The apparatus of claim 14, wherein the editing mode includes an insert mode, the editing unit includes an inserting unit, the editing input includes selection and dragging input, and the editing input information includes information related to a selected object and a drag position ; 分析单元根据与选定对象和拖动位置有关的信息、以及显示对象的图形信息,产生与插入操作有关的信息;以及The analysis unit generates information related to the insertion operation based on the information related to the selected object and the drag position, and graphic information of the displayed object; and 插入单元根据与插入操作有关的信息,将所述选定对象插入到显示对象中。The insertion unit inserts the selected object into the display object according to the information related to the insertion operation. 20.根据权利要求14所述的装置,其中,编辑模式包括修改模式,编辑单元包括修改单元,编辑输入包括选择输入,编辑输入信息包括选择输入的位置信息;20. The device according to claim 14, wherein the editing mode includes a modification mode, the editing unit includes a modification unit, the editing input includes a selection input, and the editing input information includes position information of the selection input; 分析单元根据位置信息和显示对象的图形信息,产生与要修改的对象部分有关的信息;以及The analysis unit generates information on the part of the object to be modified based on the position information and the graphic information of the displayed object; and 修改单元根据与要修改的对象部分有关的信息,修改所述对象部分。The modification unit modifies the object part based on the information on the object part to be modified. 21.根据权利要求14所述的装置,其中,编辑模式包括分割模式,编辑单元包括分割单元,编辑输入包括选择输入,编辑输入信息包括选择输入的图案信息和位置信息;21. The device according to claim 14, wherein the editing mode includes a splitting mode, the editing unit includes a splitting unit, the editing input includes a selection input, and the editing input information includes pattern information and position information of the selection input; 分析单元根据选择输入的图案信息和位置信息、以及显示对象的图形信息,产生与要分割的对象部分有关的信息;以及The analysis unit generates information on the object part to be divided based on the pattern information and position information selected and input, and the graphic information of the displayed object; and 分割单元根据与要分割的对象部分有关的信息,从显示对象分割所述对象部分。The dividing unit divides the object part from the display object based on the information on the object part to be divided. 22.一种电子设备,能够无需键盘而编辑对象,所述电子设备包括:22. An electronic device capable of editing an object without a keyboard, the electronic device comprising: 输入装置,包括触摸屏,用于接收用户输入;an input device, including a touch screen, for receiving user input; 存储装置,用于存储与电子设备上显示的对象有关的对象信息;以及storage means for storing object information related to objects displayed on the electronic device; and 处理装置,用于分析输入装置接收的用户输入,如果分析得到用户输入指示切换到编辑模式,将电子设备切换到编辑模式;A processing device, configured to analyze the user input received by the input device, and switch the electronic device to the editing mode if the user input indicated by the analysis is switched to the editing mode; 输入装置还用于在编辑模式下接收用户经由触摸屏的编辑输入;The input device is also used to receive editing input from the user via the touch screen in the editing mode; 处理装置还用于分析编辑输入并产生编辑输入信息,根据编辑输入信息和存储的对象信息,产生编辑动作信息,以及根据编辑动作信息向显示的对象施加编辑动作。The processing device is also used for analyzing editing input and generating editing input information, generating editing action information according to the editing input information and stored object information, and applying editing action to the displayed object according to the editing action information.
CN201310071324.XA 2013-03-06 2013-03-06 Method, device and electronic equipment for compiling object on touch screen of electronic equipment Pending CN104035701A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310071324.XA CN104035701A (en) 2013-03-06 2013-03-06 Method, device and electronic equipment for compiling object on touch screen of electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310071324.XA CN104035701A (en) 2013-03-06 2013-03-06 Method, device and electronic equipment for compiling object on touch screen of electronic equipment

Publications (1)

Publication Number Publication Date
CN104035701A true CN104035701A (en) 2014-09-10

Family

ID=51466489

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310071324.XA Pending CN104035701A (en) 2013-03-06 2013-03-06 Method, device and electronic equipment for compiling object on touch screen of electronic equipment

Country Status (1)

Country Link
CN (1) CN104035701A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105843546A (en) * 2016-04-06 2016-08-10 深圳市金立通信设备有限公司 Modification method based on handwriting input and terminal
CN108688321A (en) * 2017-04-11 2018-10-23 细美事有限公司 Utilize the printing process of the printing equipment with ink jet head unit

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100235793A1 (en) * 2009-03-16 2010-09-16 Bas Ording Methods and Graphical User Interfaces for Editing on a Multifunction Device with a Touch Screen Display
CN101866267A (en) * 2006-04-25 2010-10-20 Lg电子株式会社 Terminal and in this terminal the method for input command
CN102053768A (en) * 2009-11-06 2011-05-11 康佳集团股份有限公司 Device and method for realizing character editing on touch equipment
CN102193905A (en) * 2011-05-26 2011-09-21 广东威创视讯科技股份有限公司 Virtual text editing method and device based on GDI (graphics device interface)/GDI+
CN102419683A (en) * 2010-09-28 2012-04-18 英业达股份有限公司 Editing operation system and method for pure character content
CN102945132A (en) * 2005-11-21 2013-02-27 核心无线许可有限公司 Gesture based document editor

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102945132A (en) * 2005-11-21 2013-02-27 核心无线许可有限公司 Gesture based document editor
CN101866267A (en) * 2006-04-25 2010-10-20 Lg电子株式会社 Terminal and in this terminal the method for input command
US20100235793A1 (en) * 2009-03-16 2010-09-16 Bas Ording Methods and Graphical User Interfaces for Editing on a Multifunction Device with a Touch Screen Display
CN102053768A (en) * 2009-11-06 2011-05-11 康佳集团股份有限公司 Device and method for realizing character editing on touch equipment
CN102419683A (en) * 2010-09-28 2012-04-18 英业达股份有限公司 Editing operation system and method for pure character content
CN102193905A (en) * 2011-05-26 2011-09-21 广东威创视讯科技股份有限公司 Virtual text editing method and device based on GDI (graphics device interface)/GDI+

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105843546A (en) * 2016-04-06 2016-08-10 深圳市金立通信设备有限公司 Modification method based on handwriting input and terminal
CN108688321A (en) * 2017-04-11 2018-10-23 细美事有限公司 Utilize the printing process of the printing equipment with ink jet head unit

Similar Documents

Publication Publication Date Title
TWI564786B (en) Manage instant handwriting recognition
CN106687889B (en) Display portable text entry and editing
TWI653545B (en) Method, system and non-transitory computer-readable media for real-time handwriting recognition
JP5248696B1 (en) Electronic device, handwritten document creation method, and handwritten document creation program
US9285985B2 (en) Creation and manipulation of hand drawn objects with automatic grouping
US20180121074A1 (en) Freehand table manipulation
KR102075433B1 (en) Handwriting input apparatus and control method thereof
US20140189593A1 (en) Electronic device and input method
JP2003303047A (en) Image input and display system, usage of user interface as well as product including computer usable medium
JP5664164B2 (en) Electronic information board device, information display method, program
TW201516887A (en) Integrating stroke-distribution information into spatial feature extraction for automatic handwriting recognition
JP6991486B2 (en) Methods and systems for inserting characters into strings
JP5567097B2 (en) Electronic device, handwritten document display method, and display program
KR102075424B1 (en) Handwriting input apparatus and control method thereof
US10210141B2 (en) Stylizing text by replacing glyph with alternate glyph
US20130346893A1 (en) Electronic device and method for editing document using the electronic device
TWI447641B (en) Method and computer program product for displaying document on mobile device
KR102551568B1 (en) Electronic apparatus and control method thereof
WO2014103388A1 (en) Electronic device, display method, and program
JP2015095066A (en) Information processing apparatus and information processing program
US20160132478A1 (en) Method of displaying memo and device therefor
JP7365935B2 (en) display device
JP7496699B2 (en) Display device
EP2940562A1 (en) Electronic apparatus and input method
CN104035701A (en) Method, device and electronic equipment for compiling object on touch screen of electronic equipment

Legal Events

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

Application publication date: 20140910

WD01 Invention patent application deemed withdrawn after publication