WO2020238536A1 - Information processing method and terminal device - Google Patents

Information processing method and terminal device Download PDF

Info

Publication number
WO2020238536A1
WO2020238536A1 PCT/CN2020/087509 CN2020087509W WO2020238536A1 WO 2020238536 A1 WO2020238536 A1 WO 2020238536A1 CN 2020087509 W CN2020087509 W CN 2020087509W WO 2020238536 A1 WO2020238536 A1 WO 2020238536A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
display area
target information
display
restored
Prior art date
Application number
PCT/CN2020/087509
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 WO2020238536A1 publication Critical patent/WO2020238536A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting

Definitions

  • the first display module 401 is configured to display target information in the first display area
  • the second display module 403 is configured to display the target information in the second display area according to the type of information contained in the target information in response to the delete operation;
  • the target information includes N types of information, and N is an integer greater than 1, and the second display module is specifically configured to:
  • the target information of at least part of the information type in the N information types is displayed with a mark for indicating the information type.
  • the execution by the processor 710 to display the target information in the second display area includes:
  • the radio frequency unit 701 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 710; in addition, Uplink data is sent to the base station.
  • the radio frequency unit 701 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 701 can also communicate with the network and other devices through a wireless communication system.
  • the memory 709 can be used to store software programs and various data.
  • the memory 709 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data (such as audio data, phone book, etc.) created by the use of mobile phones.
  • the memory 709 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.

Abstract

Disclosed by the present disclosure are an information processing method and a terminal device, belonging to the technical field of communications. The method comprises: displaying target information in a first display area; receiving a delete operation on the target information; in response to the delete operation, displaying the target information in a second display area according to the information type contained in the target information; receiving a first input of the information to be restored in the second display area, wherein the information to be restored is at least part of the information in the target information; and in response to the first input, restoring and displaying in the first display area the information to be restored.

Description

信息处理方法及终端设备Information processing method and terminal equipment
相关申请的交叉引用Cross references to related applications
本申请主张在2019年5月31日在中国提交的中国专利申请号No.201910468239.4的优先权,其全部内容通过引用包含于此。This application claims the priority of Chinese Patent Application No. 201910468239.4 filed in China on May 31, 2019, the entire content of which is incorporated herein by reference.
技术领域Technical field
本公开涉及通信技术领域,尤其涉及一种信息处理方法及终端设备。The present disclosure relates to the field of communication technology, and in particular to an information processing method and terminal equipment.
背景技术Background technique
随着终端设备的普及,利用终端设备记录生活并向社交好友分享成为了人们的一种生活习惯。例如,通过网络分享文章或利用即时通讯应用程序进行社交。在上述场景中,均需要利用终端设备进行信息编辑。With the popularization of terminal devices, it has become a living habit of people to use terminal devices to record life and share with social friends. For example, sharing articles via the Internet or socializing with instant messaging applications. In the above scenarios, it is necessary to use terminal equipment to edit information.
在进行信息编辑的过程中,往往需要删除不合适的信息。相关技术中,在将信息删除后,用户可以通过对撤销按钮进行操作,以将删除后的信息还原。然而,当需要编辑的信息较多,且已删除的信息较多时,用户需要进行多次操作将已删除的信息还原。例如,用户依次删除了“1”、“2”、“3”、“4”等信息,若用户需要将“1”还原,则用户需要依次将“4”、“3、“2”还原后,才能将“1”还原。In the process of information editing, it is often necessary to delete inappropriate information. In the related technology, after deleting the information, the user can operate the undo button to restore the deleted information. However, when there are many information to be edited and many deleted information, the user needs to perform multiple operations to restore the deleted information. For example, if the user deletes "1", "2", "3", "4" and other information in turn, if the user needs to restore "1", the user needs to restore "4", "3, and "2" in turn. To restore "1".
可见,相关技术中,终端设备对已删除的信息进行还原时,操作繁琐。It can be seen that in the related technology, when the terminal device restores the deleted information, the operation is cumbersome.
发明内容Summary of the invention
本公开实施例提供一种信息处理方法及终端设备,以解决终端设备对已删除的信息进行还原时,操作繁琐的问题。The embodiments of the present disclosure provide an information processing method and a terminal device to solve the problem of complicated operations when the terminal device restores deleted information.
为了解决上述技术问题,本公开是这样实现的:In order to solve the above technical problems, the present disclosure is implemented as follows:
第一方面,本公开实施例提供了一种信息处理方法,包括:In the first aspect, embodiments of the present disclosure provide an information processing method, including:
在所述第一显示区域显示目标信息;Displaying target information in the first display area;
接收对所述目标信息的删除操作;Receiving a deletion operation on the target information;
响应于所述删除操作,根据所述目标信息所包含的信息类型,在所述第二显示区域显示所述目标信息;In response to the delete operation, display the target information in the second display area according to the type of information contained in the target information;
接收对所述第二显示区域中的待还原信息的第一输入,所述待还原信息为所述目标信息中的至少部分信息;Receiving a first input of the information to be restored in the second display area, where the information to be restored is at least part of the target information;
响应于所述第一输入,将所述待还原信息在所述第一显示区域还原显示。In response to the first input, the information to be restored is restored and displayed in the first display area.
第二方面,本公开实施例还提供一种终端设备,包括:In the second aspect, the embodiments of the present disclosure also provide a terminal device, including:
第一显示模块,用于在所述第一显示区域显示目标信息;The first display module is configured to display target information in the first display area;
第一接收模块,用于接收对所述目标信息的删除操作;The first receiving module is configured to receive a deletion operation on the target information;
第二显示模块,用于响应于所述删除操作,根据所述目标信息所包含的信息类型,在所述第二显示区域显示所述目标信息;The second display module is configured to display the target information in the second display area according to the type of information contained in the target information in response to the deletion operation;
第二接收模块,用于接收对所述第二显示区域中的待还原信息的第一输入,所述待还原信息为所述目标信息中的至少部分信息;The second receiving module is configured to receive a first input of the information to be restored in the second display area, where the information to be restored is at least part of the target information;
第三显示模块,用于响应于所述第一输入,将所述待还原信息在所述第一显示区域还原显示。The third display module is configured to restore and display the information to be restored in the first display area in response to the first input.
第三方面,本公开实施例还提供一种终端设备,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上所述的信息处理方法中的步骤。In a third aspect, embodiments of the present disclosure also provide a terminal device, including: a memory, a processor, and a computer program stored on the memory and capable of running on the processor. The processor executes the computer program as described above. The steps in the information processing method described.
第四方面,本公开实施例还提供一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如上所述的信息处理方法中的步骤。In a fourth aspect, the embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps in the information processing method described above are implemented .
本公开实施例中,在所述第一显示区域显示目标信息;接收对所述目标信息的删除操作;响应于所述删除操作,根据所述目标信息所包含的信息类型,在所述第二显示区域显示所述目标信息;接收对所述第二显示区域中的待还原信息的第一输入,所述待还原信息为所述目标信息中的至少部分信息;响应于所述第一输入,将所述待还原信息在所述第一显示区域还原显示。这样,用户可以根据信息类型在目标信息中选择任一待还原信息进行还原,而不需要先将其他信息进行还原,能够减少用户的操作,操作便捷。In the embodiment of the present disclosure, target information is displayed in the first display area; a delete operation on the target information is received; in response to the delete operation, according to the type of information contained in the target information, in the second The display area displays the target information; receives a first input of information to be restored in the second display area, where the information to be restored is at least part of the target information; in response to the first input, The information to be restored is restored and displayed in the first display area. In this way, the user can select any information to be restored in the target information according to the information type to restore without first restoring other information, which can reduce the user's operations and make the operation convenient.
附图说明Description of the drawings
为了更清楚地说明本公开实施例的技术方案,下面将对本公开实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present disclosure more clearly, the following will briefly introduce the accompanying drawings used in the description of the embodiments of the present disclosure. Obviously, the drawings in the following description are only some embodiments of the present disclosure. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative labor.
图1是本公开实施例提供的信息处理方法的流程图之一;FIG. 1 is one of the flowcharts of an information processing method provided by an embodiment of the present disclosure;
图2是本公开实施例提供的信息处理方法的流程图之二;2 is the second flowchart of the information processing method provided by the embodiment of the present disclosure;
图3是本公开实施例提供的信息处理方法的流程图之三;FIG. 3 is the third flowchart of the information processing method provided by an embodiment of the present disclosure;
图4是本公开实施例提供的终端设备的结构图之一;FIG. 4 is one of the structural diagrams of a terminal device provided by an embodiment of the present disclosure;
图5是本公开实施例提供的终端设备的结构图之二;Figure 5 is a second structural diagram of a terminal device provided by an embodiment of the present disclosure;
图6是本公开实施例提供的终端设备的结构图之三;FIG. 6 is the third structural diagram of a terminal device provided by an embodiment of the present disclosure;
图7是本公开实施例提供的终端设备的结构图之四。Fig. 7 is the fourth structural diagram of a terminal device provided by an embodiment of the present disclosure.
具体实施方式Detailed ways
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。The technical solutions in the embodiments of the present disclosure will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present disclosure.
参见图1,图1是本公开实施例提供的信息处理方法的流程图,应用于包括第一显示区域和第二显示区域的终端设备。如图1所示,信息处理方法包括以下步骤:Referring to Fig. 1, Fig. 1 is a flowchart of an information processing method provided by an embodiment of the present disclosure, which is applied to a terminal device including a first display area and a second display area. As shown in Figure 1, the information processing method includes the following steps:
步骤101、在所述第一显示区域显示目标信息。Step 101: Display target information in the first display area.
其中,第一显示区域和第二显示区域可以是终端设备同一显示界面上的不同的两个显示区域,还可以是分屏后所形成的两个显示区域。在终端设备包括至少两个显示屏的情况下,第一显示区域和第二显示区域可以分别位于两个显示屏。第一显示区域和第二显示区域还可以是将显示屏折叠所形成的两个显示区域。目标信息可以是第一显示区域中显示的任意信息,例如,文字信息、图片信息。在第一显示区域中显示目标信息时,第二显示区域中可以是熄屏、或者显示其他的内容。Wherein, the first display area and the second display area may be two different display areas on the same display interface of the terminal device, or may be two display areas formed after screen splitting. In the case where the terminal device includes at least two display screens, the first display area and the second display area may be located on the two display screens respectively. The first display area and the second display area may also be two display areas formed by folding the display screen. The target information may be any information displayed in the first display area, for example, text information and picture information. When the target information is displayed in the first display area, the screen may be turned off or other content may be displayed in the second display area.
步骤102、接收对所述目标信息的删除操作。Step 102: Receive a delete operation on the target information.
在此步骤中,用户可以对第一显示区域中显示的信息进行编辑,从而将目标信息删除。删除操作具体可以是点击操作或者滑动操作等。In this step, the user can edit the information displayed in the first display area, thereby deleting the target information. The deletion operation may specifically be a click operation or a sliding operation.
本公开实施例可以应用于对包含文字、图片、音频等信息进行的编辑场景,例如,便签编辑、文章编辑或者社交信息编辑。上述目标信息可以是文字、图片、音频等中的任意一项或多项。例如,用户在第一显示屏对便签进行删除操作。The embodiments of the present disclosure can be applied to editing scenarios that include text, pictures, audio and other information, such as note editing, article editing, or social information editing. The foregoing target information may be any one or more of text, pictures, audio, and so on. For example, the user deletes the note on the first display screen.
步骤103、响应于所述删除操作,根据所述目标信息所包含的信息类型,在所述第二显示区域显示所述目标信息。Step 103: In response to the deletion operation, display the target information in the second display area according to the type of information contained in the target information.
在此步骤中,终端设备获取第一显示区域中被删除的目标信息,并将目标信息在第二显示区域中显示。第二显示区域可以获取第一显示区域中删除的内容进行缓存并显示,以及动态更新信息。In this step, the terminal device obtains the deleted target information in the first display area, and displays the target information in the second display area. The second display area can acquire the deleted content in the first display area, cache and display it, and dynamically update information.
其中,信息类型为可以按照不同的方式划分的类型。例如,分为文字类、图片类等;或者分为标点符号类、词组类、段落类等。还可以是根据目标信息的内容所划分的类型,例如,新闻类、理财类或社交类等。Among them, the information type is a type that can be divided in different ways. For example, it can be divided into text, picture, etc.; or it can be divided into punctuation, phrase, paragraph, etc. It can also be classified according to the content of the target information, for example, news, financial management, or social.
在具体实现时,可以根据目标信息所包含的信息类型,将目标信息分类显示,或者根据信息类型,将不同类型的目标信息添加不同的标记等,便于用户根据信息类型快速在第二显示区域中查找需要还原的信息。In specific implementation, the target information can be classified and displayed according to the information type contained in the target information, or different types of target information can be added with different marks according to the information type, so that the user can quickly display in the second display area according to the information type. Find the information that needs to be restored.
另外,还可以根据目标信息在第二显示区域显示的先后顺序等,将目标信息添加标记或者分类显示。例如,在第一显示屏的三次操作中依次删除了“信息,指音讯”、“、消息、”、“通讯系统传输和处理的对象”三段信息,则在第二显示屏中分开显示上述三段信息。In addition, the target information can also be marked or displayed in categories according to the order in which the target information is displayed in the second display area. For example, in the three operations of the first display screen, the three pieces of information "information, refers to information", ", message," and "communication system transmission and processing object" are sequentially deleted, and the above information is displayed separately on the second display screen. Three pieces of information.
步骤104、接收对所述第二显示区域中的待还原信息的第一输入,所述待还原信息为所述目标信息中的至少部分信息。Step 104: Receive a first input of the information to be restored in the second display area, where the information to be restored is at least part of the target information.
其中,待还原信息可以是已删除的目标信息中需要还原,即需要撤销删除的信息。用户可以选择任意需要还原的信息进行撤销删除操作,即第一输入。第一输入具体可以是用户对目标信息中的任意信息进行的操作,例如,点击操作、滑动操作等;还可以是通过语音的方式输入,或者是其他方式进行的输入。例如,用户通过语音输入“将全部信息撤销删除”。Among them, the information to be restored may be deleted target information that needs to be restored, that is, information that needs to be undone. The user can select any information that needs to be restored to undo the deletion, that is, the first input. The first input may specifically be an operation performed by the user on any information in the target information, for example, a click operation, a sliding operation, etc.; it may also be input by voice or input in other ways. For example, the user inputs "undelete all information" by voice.
待还原信息可以是目标信息中的部分或者全部信息。若将目标信息全部 还原,则可以将第二显示区域中的所有信息移除。The information to be restored may be part or all of the target information. If all the target information is restored, all the information in the second display area can be removed.
步骤105、响应于所述第一输入,将所述待还原信息在所述第一显示区域还原显示。Step 105: In response to the first input, restore and display the information to be restored in the first display area.
在此步骤中,终端设备响应用户的第一输入,将待还原信息在第一显示区域中还原显示。在将待还原信息还原显示后,用户可以重新在第一显示区域对待还原信息进行编辑。In this step, in response to the user's first input, the terminal device restores and displays the information to be restored in the first display area. After the information to be restored is restored to display, the user can edit the information to be restored in the first display area again.
例如,用户点击句子所在区域,终端设备将句子还原到第一显示区域的被删除的原位置;点击段落所在区域,将段落还原到第一显示区域的被删除的原位置。For example, if the user clicks on the area where the sentence is located, the terminal device restores the sentence to the deleted original position of the first display area; clicks the area where the paragraph is located to restore the paragraph to the deleted original position of the first display area.
本公开实施例中,上述信息处理方法可以应用于终端设备,例如:手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)、个人数字助理(personal digital assistant,简称PDA)、移动上网装置(Mobile Internet Device,MID)或可穿戴式设备(Wearable Device)等。In the embodiments of the present disclosure, the above-mentioned information processing method can be applied to terminal devices, such as: mobile phones, tablet computers (Tablet Personal Computer), laptop computers (Laptop Computer), personal digital assistants (personal digital assistant, PDA for short), mobile Internet Device (Mobile Internet Device, MID) or Wearable Device (Wearable Device), etc.
本公开实施例的信息处理方法,在所述第一显示区域显示目标信息;接收对所述目标信息的删除操作;响应于所述删除操作,根据所述目标信息所包含的信息类型,在所述第二显示区域显示所述目标信息;接收对所述第二显示区域中的待还原信息的第一输入,所述待还原信息为所述目标信息中的至少部分信息;响应于所述第一输入,将所述待还原信息在所述第一显示区域还原显示。这样,用户可以根据信息类型在目标信息中选择任一待还原信息进行还原,而不需要先将其他信息进行还原,能够减少用户的操作,操作便捷,能够提高对信息编辑的效率。且用户能够通过在第二显示区域查看已删除的信息,从而选择需要还原的信息,能够提高操作效率。According to the information processing method of the embodiment of the present disclosure, target information is displayed in the first display area; a delete operation on the target information is received; in response to the delete operation, the target information is displayed in the target information according to the type of information contained in the target information. The second display area displays the target information; receiving a first input of the information to be restored in the second display area, where the information to be restored is at least part of the information in the target information; responding to the first One input is to restore and display the information to be restored in the first display area. In this way, the user can select any information to be restored in the target information according to the information type to restore without first restoring other information, which can reduce user operations, is convenient to operate, and can improve the efficiency of information editing. In addition, the user can select the information to be restored by viewing the deleted information in the second display area, which can improve operation efficiency.
参见图2,本实施例与上述实施例的主要区别在于,根据目标信息所包含的信息类型,在目标信息上显示标记。Referring to FIG. 2, the main difference between this embodiment and the foregoing embodiment is that a mark is displayed on the target information according to the type of information contained in the target information.
图2是本公开实施例提供的信息处理方法的流程图,如图2所示,包括以下步骤:FIG. 2 is a flowchart of an information processing method provided by an embodiment of the present disclosure. As shown in FIG. 2, it includes the following steps:
步骤201、在所述第一显示区域显示目标信息。Step 201: Display target information in the first display area.
步骤202、接收对所述目标信息的删除操作。Step 202: Receive a delete operation on the target information.
步骤203、响应于所述删除操作,在所述第二显示区域中,显示所述N 种信息类型的目标信息。Step 203: In response to the deletion operation, display the target information of the N information types in the second display area.
其中,所述N种信息类型中的至少部分信息类型的目标信息,显示有用于指示信息类型的标记,N为大于1的整数。Wherein, at least part of the target information of the information type in the N information types is displayed with a mark for indicating the information type, and N is an integer greater than 1.
在此步骤中,终端设备在第二显示区域中显示N种信息类型的目标信息,且目标信息显示有用于指示信息类型的标记。在具体实施时,终端设备可以将目标信息中的不同类型的信息划分为多个子目标信息,使得每个子目标信息为同一信息类型。例如,一段信息中包含文字、图片和符号,根据不同的类型,分别将文字、符号、图片进行归类,使得文字类信息中仅包含文字,符号类信息中仅包含符号,图片类信息中仅包含图片。In this step, the terminal device displays the target information of N types of information in the second display area, and the target information is displayed with a mark for indicating the information type. In a specific implementation, the terminal device may divide different types of information in the target information into multiple sub-target information, so that each sub-target information is of the same information type. For example, a piece of information contains text, pictures, and symbols. According to different types, the text, symbols, and pictures are categorized, so that the text information contains only text, the symbol information contains only symbols, and the picture information contains only Contains pictures.
进一步地,终端设备可以对每种信息类型的目标信息添加标记,不同类型的信息的标记可以不同,这样,便于用户区分,从而快速获得需要获取的类别的信息,从而快速进行还原。Further, the terminal device can add a mark to the target information of each information type, and the marks of different types of information can be different, so that it is convenient for users to distinguish, so as to quickly obtain the type of information that needs to be obtained, and then restore it quickly.
例如,当被删除的目标信息是标点符号、文字、词组时,标记为红色;当被删除的目标信息是句子时,标记为绿色;当被删除的目标信息是段落时,标记为蓝色。用户根据颜色可以快速辨别信息的类型。For example, when the deleted target information is a punctuation mark, text, or phrase, it is marked in red; when the deleted target information is a sentence, it is marked in green; when the deleted target information is a paragraph, it is marked in blue. Users can quickly identify the type of information based on the color.
步骤204、接收对所述第二显示区域中的待还原信息的第一输入,所述待还原信息为所述目标信息中的至少部分信息。Step 204: Receive a first input of the information to be restored in the second display area, where the information to be restored is at least part of the target information.
步骤205、响应于所述第一输入,将所述待还原信息在所述第一显示区域还原显示。Step 205: In response to the first input, restore and display the information to be restored in the first display area.
在本公开实施例中,步骤201、步骤202、步骤204和步骤205的具体实现方式可以参见上述实施例中的相关描述,此处不再赘述。In the embodiments of the present disclosure, the specific implementation manners of step 201, step 202, step 204, and step 205 can be referred to the relevant description in the foregoing embodiment, and will not be repeated here.
可选的,所述将所述待还原信息在所述第一显示区域还原显示,包括:Optionally, the restoring and displaying the information to be restored in the first display area includes:
基于所述目标信息在所述第一显示区域中的起始位置和结束位置,将所述待还原信息在所述第一显示区域中还原显示。Based on the start position and the end position of the target information in the first display area, the information to be restored is restored and displayed in the first display area.
在该实施方式中,终端设备将目标信息从第一显示区域中删除时,可以获取目标信息在第一显示区域中的起始位置和结束位置,进行记录。当目标信息包括多个信息时,可以分别记录每个信息在第一显示区域中的起始位置和结束位置。用户在第二显示区域中对待还原信息进行还原操作的情况下,终端设备根据目标信息中的待还原信息对应在第一显示区域中的起始位置和 结束位置,将待还原信息还原至在第一显示区域中原来所在的位置。In this embodiment, when the terminal device deletes the target information from the first display area, it can acquire the start position and the end position of the target information in the first display area for recording. When the target information includes multiple pieces of information, the starting position and ending position of each piece of information in the first display area can be recorded separately. When the user performs the restoration operation on the information to be restored in the second display area, the terminal device restores the information to be restored to the first display area according to the information to be restored in the target information corresponding to the start position and end position in the first display area. The original position in the display area.
进一步地,终端设备可以在被删除的内容的起始位置设置开始标记,在结束位置设置结束标记,并将该开始标记和结束标记与记录的起始位置和结束位置对应,从而将待还原信息依据开始标记和结束标记还原至第一显示区域中原来所在的位置。Further, the terminal device may set a start mark at the start position of the deleted content, set an end mark at the end position, and correspond the start mark and the end mark with the start position and end position of the recording, so that the information to be restored Restore to the original position in the first display area according to the start mark and the end mark.
这样,便于用户快速对已删除的信息进行还原,提高操作效率。In this way, it is convenient for the user to quickly restore the deleted information and improve the operation efficiency.
该实施方式也可以应用于图1对应的上述实施例中以及达到相同的有益效果。This implementation manner can also be applied to the above-mentioned embodiment corresponding to FIG. 1 and achieve the same beneficial effects.
可选的,所述在所述第二显示区域显示所述目标信息之前,所述方法还包括:Optionally, before the target information is displayed in the second display area, the method further includes:
获取所述第一显示区域中删除信息的次数;Acquiring the number of times of deleting information in the first display area;
在所述次数大于所述第二显示区域预设的删除信息的最大缓存次数的情况下,根据所述删除信息的删除先后顺序,将所述第二显示区域中最先缓存的删除信息进行删除。In the case that the number of times is greater than the maximum number of times of buffering of deleted information preset in the second display area, delete the deleted information that is first cached in the second display area according to the order of deletion of the deleted information .
在该实施方式中,用户可以在第一显示区域中对信息进行多次删除操作,终端可以对已删除的信息进行缓存,并可以在第二显示区域显示。终端设备获取第一显示区域中删除信息的次数,该次数可以是累计删除次数。In this embodiment, the user can perform multiple deletion operations on the information in the first display area, and the terminal can cache the deleted information and display it in the second display area. The terminal device obtains the number of times of deleting information in the first display area, and the number of times may be a cumulative number of deletions.
针对在第一显示区域中删除的信息,终端设备可以根据删除的先后顺序,依次进行缓存,并可以在第二显示区域显示。终端设备可以预先设置在第二显示区域中缓存的最大缓存次数,在第一显示区域中删除信息的次数大于上述最大缓存次数的情况下,则可以通过循环链表的方式,将在第二显示区域中最先缓存的内容删除。Regarding the information deleted in the first display area, the terminal device can sequentially cache the information according to the sequence of deletion, and display it in the second display area. The terminal device can preset the maximum number of times of buffering in the second display area. In the case that the number of times of deleting information in the first display area is greater than the above-mentioned maximum number of times of Delete the first cached content in.
例如,设置第二显示区域中的最大缓存次数为100次。当在第一显示屏中信息删除的次数为第101次时,则删除第一次存储的内容,并存储第101次所删除的信息;当在第一显示屏删除的次数为第102次时,则删除第二次存储的内容,并存储第102次所删除的信息。For example, set the maximum number of buffering times in the second display area to 100 times. When the number of times the information is deleted on the first display screen is the 101st, the content stored for the first time is deleted, and the information deleted for the 101st time is stored; when the number of deletions on the first display screen is the 102nd , Delete the content stored for the second time, and store the information deleted for the 102th time.
当第二显示区域中的所有信息均被还原,则可以将第二显示区域中的所有信息删除,以便下次缓存信息使用。When all the information in the second display area is restored, all the information in the second display area can be deleted so that the information can be cached next time.
进一步地,可以根据第一显示区域中的编辑界面中的信息量确定最大缓 存次数。当编辑界面中的信息量较大,则最大缓存次数较大;当编辑界面中的信息量较小,则最大缓存次数较少,也就是说,最大缓存次数与编辑界面中的信息量呈正相关关系。例如,编辑界面中的便签的字数为1000字,则最大缓存次数设为100次;当编辑界面中的便签的字数为2000字,则最大缓存次数设为200次。Further, the maximum number of buffering times can be determined according to the amount of information in the editing interface in the first display area. When the amount of information in the editing interface is large, the maximum number of caches is greater; when the amount of information in the editing interface is small, the maximum number of caches is less, that is, the maximum number of caches is positively correlated with the amount of information in the editing interface relationship. For example, if the number of words in the note in the editing interface is 1000 words, the maximum number of cache times is set to 100; when the number of words in the note in the editing interface is 2000 words, the maximum number of times is 200.
该实施方式也可以应用于图1对应的上述实施例中以及达到相同的有益效果。This implementation manner can also be applied to the above-mentioned embodiment corresponding to FIG. 1 and achieve the same beneficial effects.
可选的,在所述第二显示区域显示所述目标信息之前,所述方法还包括:Optionally, before the target information is displayed in the second display area, the method further includes:
接收对所述第一显示区域中的目标对象的第二输入;Receiving a second input to the target object in the first display area;
所述在所述第二显示区域显示所述目标信息,包括:The displaying the target information in the second display area includes:
响应于所述第二输入,在所述第二显示区域显示所述目标信息。In response to the second input, the target information is displayed in the second display area.
其中,目标对象可以是第一显示区域中显示的标识。第二输入可以是用于触发目标信息显示的输入,具体可以是点击操作、滑动操作等,还可以是语音输入等。终端设备响应用户的第二输入,在第二显示区域显示目标信息。Wherein, the target object may be a logo displayed in the first display area. The second input may be an input used to trigger the display of target information, and may specifically be a click operation, a sliding operation, etc., or a voice input, etc. In response to the user's second input, the terminal device displays the target information in the second display area.
例如,在第一显示屏中删除目标信息后,在第一显示屏中显示用于撤销删除的标识,若用户对该标识进行点击操作,则在第二显示屏中显示缓存的上述目标信息,从而便于用户在第二显示屏中对目标信息进行操作。For example, after deleting the target information on the first display screen, the first display screen displays a logo for undoing the deletion. If the user clicks on the logo, the cached target information will be displayed on the second display screen. This facilitates the user to operate the target information on the second display screen.
这样,便于用户根据实际情况控制已删除信息的显示,并查看已删除的信息,从而选择待还原的信息,提高操作效率。In this way, it is convenient for the user to control the display of the deleted information according to the actual situation, and view the deleted information, thereby selecting the information to be restored, and improving the operation efficiency.
该实施方式也可以应用于图1对应的实施例中以及达到相同的有益效果。This implementation manner can also be applied to the embodiment corresponding to FIG. 1 and achieve the same beneficial effects.
为了便于理解本公开的实施例,以下结合具体实施方式进行举例。In order to facilitate the understanding of the embodiments of the present disclosure, examples are given below in conjunction with specific embodiments.
终端设备包括主屏A和副屏B,用户使用终端设备在主屏A编辑便签。信息处理方法可以包括以下步骤:The terminal device includes a main screen A and a secondary screen B. The user uses the terminal device to edit notes on the main screen A. The information processing method may include the following steps:
步骤301、在主屏A上编辑便签中的文字。Step 301: Edit the text in the note on the main screen A.
具体地,在主屏A上编辑便签内容,根据实际情况,增加、删除、修改要编辑的内容。Specifically, edit the content of the note on the main screen A, and add, delete, or modify the content to be edited according to the actual situation.
步骤302、设置便签删除内容的最大缓存次数。Step 302: Set the maximum number of times of caching the content of the note to be deleted.
步骤303、标记已被删除便签的文本内容。Step 303: Mark the text content of the deleted note.
步骤304、记录已被删除便签内容的开始和结束位置。Step 304: Record the start and end positions of the deleted note content.
步骤305、接收用户对主屏A中的撤销按钮的操作。Step 305: Receive the user's operation on the cancel button in the main screen A.
在此步骤中,用户需要撤销已删除的内容时,则可以对撤销按钮进行操作,触发屏B显示已被删除的内容。In this step, when the user needs to cancel the deleted content, he can operate the cancel button to trigger screen B to display the deleted content.
步骤306、响应于用户的操作,在屏B显示已被删除的内容。Step 306: In response to the user's operation, display the deleted content on screen B.
在此步骤中,可以分层设色显示已删除内容,并对不同类型的信息进行标记。In this step, you can layer and color display the deleted content, and mark different types of information.
步骤307、接收用户的操作,还原被删除的内容。Step 307: Receive the user's operation and restore the deleted content.
步骤308、动态更新屏B的内容。Step 308: Dynamically update the content of screen B.
这样,在便签编辑过程中,若需要还原已被删除的内容时,用户可以点击撤销按钮,在折叠屏上动态以不同颜色呈现已被删除的标点、文字、词组、段落、句子,用户根据上下文实际语境,将删除的内容还原到编辑窗口。既保证了用户数据的完整性,又防止重要信息的丢失,增加文本编辑的趣味性和便捷性。同时有效克服了终端设备由于其屏幕区域较小,文字区域狭小的缺陷,提高用户体验。In this way, in the process of editing the note, if you need to restore the deleted content, the user can click the undo button to dynamically display the deleted punctuation, text, phrase, paragraph, sentence in different colors on the folding screen, and the user can follow the context In the actual context, restore the deleted content to the editing window. It not only ensures the integrity of user data, but also prevents the loss of important information, and increases the fun and convenience of text editing. At the same time, it effectively overcomes the shortcomings of the terminal device due to its small screen area and narrow text area, thereby improving user experience.
本公开实施例的信息处理方法,在上述实施例的基础上,用户可以根据已删除信息的类型,选择需要还原的信息,便于用户快速查找需要还原的信息,提高操作效率。In the information processing method of the embodiments of the present disclosure, on the basis of the above-mentioned embodiments, the user can select the information to be restored according to the type of deleted information, so that the user can quickly find the information to be restored and improve the operation efficiency.
参见图4,图4是本公开实施例提供的终端设备的结构图,如图4所示,终端设备400包括:Referring to FIG. 4, FIG. 4 is a structural diagram of a terminal device provided by an embodiment of the present disclosure. As shown in FIG. 4, the terminal device 400 includes:
第一显示模块401,用于在所述第一显示区域显示目标信息;The first display module 401 is configured to display target information in the first display area;
第一接收模块402,用于接收对所述目标信息的删除操作;The first receiving module 402 is configured to receive a deletion operation on the target information;
第二显示模块403,用于响应于所述删除操作,根据所述目标信息所包含的信息类型,在所述第二显示区域显示所述目标信息;The second display module 403 is configured to display the target information in the second display area according to the type of information contained in the target information in response to the delete operation;
第二接收模块404,用于接收对所述第二显示区域中的待还原信息的第一输入,所述待还原信息为所述目标信息中的至少部分信息;The second receiving module 404 is configured to receive a first input of the information to be restored in the second display area, where the information to be restored is at least part of the target information;
第三显示模块405,用于响应于所述第一输入,将所述待还原信息在所述第一显示区域还原显示。The third display module 405 is configured to restore and display the information to be restored in the first display area in response to the first input.
可选的,所述目标信息包含N种信息类型,N为大于1的整数;所述第二显示模块具体用于:Optionally, the target information includes N types of information, and N is an integer greater than 1, and the second display module is specifically configured to:
在所述第二显示区域中,显示所述N种信息类型的目标信息;In the second display area, display target information of the N types of information;
其中,所述N种信息类型中的至少部分信息类型的目标信息,显示有用于指示信息类型的标记。Wherein, the target information of at least part of the information type in the N information types is displayed with a mark for indicating the information type.
可选的,所述第三显示模块具体用于:Optionally, the third display module is specifically configured to:
基于所述目标信息在所述第一显示区域中的起始位置和结束位置,将所述待还原信息在所述第一显示区域中还原显示。Based on the start position and the end position of the target information in the first display area, the information to be restored is restored and displayed in the first display area.
可选的,如图5所示,所述终端设备还包括:Optionally, as shown in FIG. 5, the terminal device further includes:
获取模块406,用于获取所述第一显示区域中删除信息的次数;The obtaining module 406 is configured to obtain the number of times of deleting information in the first display area;
删除模块407,用于在所述次数大于所述第二显示区域预设的删除信息的最大缓存次数的情况下,根据所述删除信息的删除先后顺序,将所述第二显示区域中最先缓存的删除信息进行删除。The deleting module 407 is configured to, if the number of times is greater than the maximum number of times of deleting information preset in the second display area, according to the deletion sequence of the deleted information, set the first in the second display area The cached deletion information is deleted.
可选的,如图6所示,所述终端设备还包括:Optionally, as shown in FIG. 6, the terminal device further includes:
第三接收模块408,用于接收对所述第一显示区域中的目标对象的第二输入;The third receiving module 408 is configured to receive a second input to the target object in the first display area;
所述第二显示模块403具体用于,响应于所述第二输入,在所述第二显示区域显示所述目标信息。The second display module 403 is specifically configured to display the target information in the second display area in response to the second input.
终端设备400能够实现上述方法实施例中终端设备实现的各个过程,为避免重复,这里不再赘述。The terminal device 400 can implement each process implemented by the terminal device in the foregoing method embodiment, and in order to avoid repetition, details are not described herein again.
本公开实施例的终端设备400,用户可以根据信息类型在目标信息中选择任一待还原信息进行还原,而不需要先将其他信息进行还原,能够减少用户的操作,操作便捷。In the terminal device 400 of the embodiment of the present disclosure, the user can select any information to be restored in the target information according to the information type to restore without first restoring other information, which can reduce user operations and is convenient to operate.
参见图7,图7为实现本公开各个实施例的一种终端设备的硬件结构示意图,该终端设备700包括但不限于:射频单元701、网络模块702、音频输出单元703、输入单元704、传感器705、显示单元706、用户输入单元707、接口单元708、存储器709、处理器710、以及电源711等部件。本领域技术人员可以理解,图7中示出的终端设备结构并不构成对终端设备的限定,终端设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本公开实施例中,终端设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载移动终端、可穿戴设备、以及计步器等。Referring to FIG. 7, FIG. 7 is a schematic diagram of the hardware structure of a terminal device that implements various embodiments of the present disclosure. The terminal device 700 includes but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, and a sensor 705, display unit 706, user input unit 707, interface unit 708, memory 709, processor 710, power supply 711 and other components. Those skilled in the art can understand that the structure of the terminal device shown in FIG. 7 does not constitute a limitation on the terminal device, and the terminal device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components Layout. In the embodiments of the present disclosure, terminal devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted mobile terminals, wearable devices, and pedometers.
其中,显示单元706用于在所述第一显示区域显示目标信息;用户输入单元707用于接收对所述目标信息的删除操作;处理器710,用于响应于所述删除操作,根据所述目标信息所包含的信息类型,在所述第二显示区域显示所述目标信息;用户输入单元707用于接收对所述第二显示区域中的待还原信息的第一输入,所述待还原信息为所述目标信息中的至少部分信息;处理器710用于响应于所述第一输入,将所述待还原信息在所述第一显示区域还原显示。Wherein, the display unit 706 is configured to display target information in the first display area; the user input unit 707 is configured to receive a deletion operation on the target information; the processor 710 is configured to respond to the deletion operation, according to the The type of information contained in the target information is to display the target information in the second display area; the user input unit 707 is configured to receive a first input of the information to be restored in the second display area, the information to be restored Is at least part of the target information; the processor 710 is configured to restore and display the information to be restored in the first display area in response to the first input.
这样,用户可以根据信息类型在目标信息中选择任一待还原信息进行还原,而不需要先将其他信息进行还原,能够减少用户的操作,操作便捷。In this way, the user can select any information to be restored in the target information according to the information type to restore without first restoring other information, which can reduce the user's operations and make the operation convenient.
可选的,所述目标信息包含N种信息类型,N为大于1的整数;处理器710执行所述根据所述目标信息所包含的信息类型,在所述第二显示区域显示所述目标信息,包括:Optionally, the target information includes N types of information, and N is an integer greater than 1. The processor 710 executes the display of the target information in the second display area according to the information type included in the target information ,include:
在所述第二显示区域中,显示所述N种信息类型的目标信息;In the second display area, display target information of the N types of information;
其中,所述N种信息类型中的至少部分信息类型的目标信息,显示有用于指示信息类型的标记。Wherein, the target information of at least part of the information type in the N information types is displayed with a mark for indicating the information type.
可选的,处理器710执行所述将所述待还原信息在所述第一显示区域还原显示,包括:Optionally, the processor 710 executing the restoration and display of the information to be restored in the first display area includes:
基于所述目标信息在所述第一显示区域中的起始位置和结束位置,将所述待还原信息在所述第一显示区域中还原显示。Based on the start position and the end position of the target information in the first display area, the information to be restored is restored and displayed in the first display area.
可选的,处理器710执行所述在所述第二显示区域显示所述目标信息之前,还用于:Optionally, before executing the display of the target information in the second display area, the processor 710 is further configured to:
获取所述第一显示区域中删除信息的次数;Acquiring the number of times of deleting information in the first display area;
在所述次数大于所述第二显示区域预设的删除信息的最大缓存次数的情况下,根据所述删除信息的删除先后顺序,将所述第二显示区域中最先缓存的删除信息进行删除。In the case that the number of times is greater than the maximum number of times of buffering of deleted information preset in the second display area, delete the deleted information that is first cached in the second display area according to the order of deletion of the deleted information .
可选的,用户输入单元707还用于:Optionally, the user input unit 707 is also used to:
接收对所述第一显示区域中的目标对象的第二输入;Receiving a second input to the target object in the first display area;
处理器710执行所述在所述第二显示区域显示所述目标信息,包括:The execution by the processor 710 to display the target information in the second display area includes:
响应于所述第二输入,在所述第二显示区域显示所述目标信息。In response to the second input, the target information is displayed in the second display area.
应理解的是,本公开实施例中,射频单元701可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器710处理;另外,将上行的数据发送给基站。通常,射频单元701包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元701还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present disclosure, the radio frequency unit 701 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 710; in addition, Uplink data is sent to the base station. Generally, the radio frequency unit 701 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 701 can also communicate with the network and other devices through a wireless communication system.
终端设备通过网络模块702为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The terminal device provides users with wireless broadband Internet access through the network module 702, such as helping users to send and receive emails, browse web pages, and access streaming media.
音频输出单元703可以将射频单元701或网络模块702接收的或者在存储器709中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元703还可以提供与终端设备700执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元703包括扬声器、蜂鸣器以及受话器等。The audio output unit 703 may convert the audio data received by the radio frequency unit 701 or the network module 702 or stored in the memory 709 into audio signals and output them as sounds. Moreover, the audio output unit 703 may also provide audio output related to a specific function performed by the terminal device 700 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 703 includes a speaker, a buzzer, a receiver, and the like.
输入单元704用于接收音频或视频信号。输入单元704可以包括图形处理器(Graphics Processing Unit,GPU)7041和麦克风7042,图形处理器7041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元706上。经图形处理器7041处理后的图像帧可以存储在存储器709(或其它存储介质)中或者经由射频单元701或网络模块702进行发送。麦克风7042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元701发送到移动通信基站的格式输出。The input unit 704 is used to receive audio or video signals. The input unit 704 may include a graphics processing unit (GPU) 7041 and a microphone 7042. The graphics processing unit 7041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed. The processed image frame may be displayed on the display unit 706. The image frame processed by the graphics processor 7041 may be stored in the memory 709 (or other storage medium) or sent via the radio frequency unit 701 or the network module 702. The microphone 7042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 701 in the case of a telephone call mode for output.
终端设备700还包括至少一种传感器705,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板7061的亮度,接近传感器可在终端设备700移动到耳边时,关闭显示面板7061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器705还可以包括指纹传感器、压力传感器、虹膜传感器、 分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The terminal device 700 further includes at least one sensor 705, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 7061 according to the brightness of the ambient light. The proximity sensor can turn off the display panel 7061 and the display panel 7061 when the terminal device 700 is moved to the ear. / Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the posture of the terminal device (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; sensor 705 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元706用于显示由用户输入的信息或提供给用户的信息。显示单元706可包括显示面板7061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板7061。The display unit 706 is used to display information input by the user or information provided to the user. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
用户输入单元707可用于接收输入的数字或字符信息,以及产生与终端设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元707包括触控面板7071以及其他输入设备7072。触控面板7071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板7071上或在触控面板7071附近的操作)。触控面板7071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器710,接收处理器710发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板7071。除了触控面板7071,用户输入单元707还可以包括其他输入设备7072。具体地,其他输入设备7072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 707 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the terminal device. Specifically, the user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071, also known as the touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 7071 or near the touch panel 7071. operating). The touch panel 7071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 710, the command sent by the processor 710 is received and executed. In addition, the touch panel 7071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 7071, the user input unit 707 may also include other input devices 7072. Specifically, other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which are not described here.
进一步的,触控面板7071可覆盖在显示面板7061上,当触控面板7071检测到在其上或附近的触摸操作后,传送给处理器710以确定触摸事件的类型,随后处理器710根据触摸事件的类型在显示面板7061上提供相应的视觉输出。虽然在图7中,触控面板7071与显示面板7061是作为两个独立的部件来实现终端设备的输入和输出功能,但是在某些实施例中,可以将触控面板7071与显示面板7061集成而实现终端设备的输入和输出功能,具体此处不做限定。Further, the touch panel 7071 can be overlaid on the display panel 7061. When the touch panel 7071 detects a touch operation on or near it, it is transmitted to the processor 710 to determine the type of the touch event. The type of event provides corresponding visual output on the display panel 7061. Although in FIG. 7, the touch panel 7071 and the display panel 7061 are used as two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 7071 and the display panel 7061 can be integrated The implementation of the input and output functions of the terminal device is not specifically limited here.
接口单元708为外部装置与终端设备700连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输 入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元708可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端设备700内的一个或多个元件或者可以用于在终端设备700和外部装置之间传输数据。The interface unit 708 is an interface for connecting an external device and the terminal device 700. For example, the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc. The interface unit 708 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the terminal device 700 or can be used to connect to the terminal device 700 and an external device. Transfer data between devices.
存储器709可用于存储软件程序以及各种数据。存储器709可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器709可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 709 can be used to store software programs and various data. The memory 709 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data (such as audio data, phone book, etc.) created by the use of mobile phones. In addition, the memory 709 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
处理器710是终端设备的控制中心,利用各种接口和线路连接整个终端设备的各个部分,通过运行或执行存储在存储器709内的软件程序和/或模块,以及调用存储在存储器709内的数据,执行终端设备的各种功能和处理数据,从而对终端设备进行整体监控。处理器710可包括一个或多个处理单元;可选的,处理器710可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器710中。The processor 710 is the control center of the terminal device. It uses various interfaces and lines to connect the various parts of the entire terminal device, runs or executes the software programs and/or modules stored in the memory 709, and calls the data stored in the memory 709 , Perform various functions of the terminal equipment and process data, so as to monitor the terminal equipment as a whole. The processor 710 may include one or more processing units; optionally, the processor 710 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc. The adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 710.
终端设备700还可以包括给各个部件供电的电源711(比如电池),可选的,电源711可以通过电源管理系统与处理器710逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The terminal device 700 may also include a power source 711 (such as a battery) for supplying power to various components. Optionally, the power source 711 may be logically connected to the processor 710 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
另外,终端设备700包括一些未示出的功能模块,在此不再赘述。In addition, the terminal device 700 includes some functional modules not shown, which will not be repeated here.
可选的,本公开实施例还提供一种终端设备,包括处理器710,存储器709,存储在存储器709上并可在所述处理器710上运行的计算机程序,该计算机程序被处理器710执行时实现上述信息处理方法实施例中的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, the embodiment of the present disclosure further provides a terminal device, including a processor 710, a memory 709, a computer program stored on the memory 709 and running on the processor 710, and the computer program is executed by the processor 710 Each process in the foregoing information processing method embodiment can be realized at a time, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
本公开实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述信息处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简 称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiments of the present disclosure also provide a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned information processing method embodiment is realized, and the same technology can be achieved. The effect, in order to avoid repetition, will not be repeated here. Wherein, the computer-readable storage medium, such as read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk or optical disk, etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements not explicitly listed, or elements inherent to the process, method, article, or device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of the present disclosure essentially or the part that contributes to the related technology can be embodied in the form of a software product, the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk ) Includes several instructions to make a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present disclosure.
上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本公开的保护之内。The embodiments of the present disclosure are described above with reference to the accompanying drawings, but the present disclosure is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are only illustrative and not restrictive. Those of ordinary skill in the art are Under the enlightenment of the present disclosure, many forms can be made without departing from the purpose of the present disclosure and the scope of protection of the claims, all of which fall within the protection of the present disclosure.

Claims (12)

  1. 一种信息处理方法,应用于包括第一显示区域和第二显示区域的终端设备,包括:An information processing method, applied to a terminal device including a first display area and a second display area, includes:
    在所述第一显示区域显示目标信息;Displaying target information in the first display area;
    接收对所述目标信息的删除操作;Receiving a deletion operation on the target information;
    响应于所述删除操作,根据所述目标信息所包含的信息类型,在所述第二显示区域显示所述目标信息;In response to the delete operation, display the target information in the second display area according to the type of information contained in the target information;
    接收对所述第二显示区域中的待还原信息的第一输入,所述待还原信息为所述目标信息中的至少部分信息;Receiving a first input of the information to be restored in the second display area, where the information to be restored is at least part of the target information;
    响应于所述第一输入,将所述待还原信息在所述第一显示区域还原显示。In response to the first input, the information to be restored is restored and displayed in the first display area.
  2. 根据权利要求1所述的方法,其中,所述目标信息包含N种信息类型,N为大于1的整数;所述根据所述目标信息所包含的信息类型,在所述第二显示区域显示所述目标信息,包括:The method according to claim 1, wherein the target information includes N types of information, and N is an integer greater than 1; and the target information includes the information types in the second display area. The target information includes:
    在所述第二显示区域中,显示所述N种信息类型的目标信息;In the second display area, display target information of the N types of information;
    其中,所述N种信息类型中的至少部分信息类型的目标信息,显示有用于指示信息类型的标记。Wherein, the target information of at least part of the information type in the N information types is displayed with a mark for indicating the information type.
  3. 根据权利要求1所述的方法,其中,所述将所述待还原信息在所述第一显示区域还原显示,包括:The method according to claim 1, wherein said restoring and displaying said information to be restored in said first display area comprises:
    基于所述目标信息在所述第一显示区域中的起始位置和结束位置,将所述待还原信息在所述第一显示区域中还原显示。Based on the start position and the end position of the target information in the first display area, the information to be restored is restored and displayed in the first display area.
  4. 根据权利要求1至3任一项所述的方法,其中,所述在所述第二显示区域显示所述目标信息之前,所述方法还包括:The method according to any one of claims 1 to 3, wherein, before the target information is displayed in the second display area, the method further comprises:
    获取所述第一显示区域中删除信息的次数;Acquiring the number of times of deleting information in the first display area;
    在所述次数大于所述第二显示区域预设的删除信息的最大缓存次数的情况下,根据所述删除信息的删除先后顺序,将所述第二显示区域中最先缓存的删除信息进行删除。In the case that the number of times is greater than the maximum number of times that the deleted information is cached preset in the second display area, delete the deleted information that is first cached in the second display area according to the order of deletion of the deleted information .
  5. 根据权利要求1至3任一项所述的方法,其中,在所述第二显示区域显示所述目标信息之前,所述方法还包括:The method according to any one of claims 1 to 3, wherein, before the target information is displayed in the second display area, the method further comprises:
    接收对所述第一显示区域中的目标对象的第二输入;Receiving a second input to the target object in the first display area;
    所述在所述第二显示区域显示所述目标信息,包括:The displaying the target information in the second display area includes:
    响应于所述第二输入,在所述第二显示区域显示所述目标信息。In response to the second input, the target information is displayed in the second display area.
  6. 一种终端设备,所述终端设备包括第一显示区域和第二显示区域,包括:A terminal device, which includes a first display area and a second display area, including:
    第一显示模块,用于在所述第一显示区域显示目标信息;The first display module is configured to display target information in the first display area;
    第一接收模块,用于接收对所述目标信息的删除操作;The first receiving module is configured to receive a deletion operation on the target information;
    第二显示模块,用于响应于所述删除操作,根据所述目标信息所包含的信息类型,在所述第二显示区域显示所述目标信息;The second display module is configured to display the target information in the second display area according to the type of information contained in the target information in response to the deletion operation;
    第二接收模块,用于接收对所述第二显示区域中的待还原信息的第一输入,所述待还原信息为所述目标信息中的至少部分信息;A second receiving module, configured to receive a first input of the information to be restored in the second display area, where the information to be restored is at least part of the target information;
    第三显示模块,用于响应于所述第一输入,将所述待还原信息在所述第一显示区域还原显示。The third display module is configured to restore and display the information to be restored in the first display area in response to the first input.
  7. 根据权利要求6所述的终端设备,其中,所述目标信息包含N种信息类型,N为大于1的整数;所述第二显示模块用于:The terminal device according to claim 6, wherein the target information includes N types of information, and N is an integer greater than 1, and the second display module is used for:
    在所述第二显示区域中,显示所述N种信息类型的目标信息;In the second display area, display target information of the N types of information;
    其中,所述N种信息类型中的至少部分信息类型的目标信息,显示有用于指示信息类型的标记。Wherein, the target information of at least part of the information type in the N information types is displayed with a mark for indicating the information type.
  8. 根据权利要求6所述的终端设备,其中,所述第三显示模块用于:The terminal device according to claim 6, wherein the third display module is used for:
    基于所述目标信息在所述第一显示区域中的起始位置和结束位置,将所述待还原信息在所述第一显示区域中还原显示。Based on the start position and the end position of the target information in the first display area, the information to be restored is restored and displayed in the first display area.
  9. 根据权利要求6至8任一项所述的终端设备,还包括:The terminal device according to any one of claims 6 to 8, further comprising:
    获取模块,用于获取所述第一显示区域中删除信息的次数;An obtaining module, configured to obtain the number of times of deleting information in the first display area;
    删除模块,用于在所述次数大于所述第二显示区域预设的删除信息的最大缓存次数的情况下,根据所述删除信息的删除先后顺序,将所述第二显示区域中最先缓存的删除信息进行删除。The deleting module is configured to cache the first display area in the second display area according to the deletion sequence of the deleted information in the case that the number of times is greater than the maximum number of buffering times for deleting information preset in the second display area Delete information to delete.
  10. 根据权利要求6至8任一项所述的终端设备,还包括:The terminal device according to any one of claims 6 to 8, further comprising:
    第三接收模块,用于接收对所述第一显示区域中的目标对象的第二输入;The third receiving module is configured to receive a second input to the target object in the first display area;
    所述第二显示模块用于,响应于所述第二输入,在所述第二显示区域显 示所述目标信息。The second display module is configured to display the target information in the second display area in response to the second input.
  11. 一种终端设备,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如权利要求1至5任一项所述的信息处理方法中的步骤。A terminal device, comprising: a memory, a processor, and a computer program stored in the memory and capable of running on the processor. The processor implements the computer program according to any one of claims 1 to 5 when the processor executes the computer program. Steps in information processing methods.
  12. 一种计算机可读存储介质,其上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5任一项所述的信息处理方法中的步骤。A computer-readable storage medium, which stores a computer program thereon, and when the computer program is executed by a processor, implements the steps in the information processing method according to any one of claims 1 to 5.
PCT/CN2020/087509 2019-05-31 2020-04-28 Information processing method and terminal device WO2020238536A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910468239.4A CN110209332A (en) 2019-05-31 2019-05-31 A kind of information processing method and terminal device
CN201910468239.4 2019-05-31

Publications (1)

Publication Number Publication Date
WO2020238536A1 true WO2020238536A1 (en) 2020-12-03

Family

ID=67789941

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/087509 WO2020238536A1 (en) 2019-05-31 2020-04-28 Information processing method and terminal device

Country Status (2)

Country Link
CN (1) CN110209332A (en)
WO (1) WO2020238536A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110209332A (en) * 2019-05-31 2019-09-06 维沃移动通信有限公司 A kind of information processing method and terminal device
CN110941379A (en) * 2019-11-13 2020-03-31 维沃移动通信有限公司 Information record deleting method and electronic equipment
CN112099715B (en) * 2020-09-23 2022-03-29 维沃移动通信有限公司 Information processing method and device
CN112596724A (en) * 2020-12-21 2021-04-02 深圳集智数字科技有限公司 Editing operation method, device and equipment
CN113127425B (en) * 2021-03-12 2023-04-21 维沃移动通信(杭州)有限公司 Picture processing method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6108668A (en) * 1997-04-18 2000-08-22 International Business Machines Corporation Method and system for undoing edits within selected portion of electronic documents
CN104424169A (en) * 2013-08-20 2015-03-18 柯尼卡美能达株式会社 Document Editing Apparatus And Document Editing Method
CN106250268A (en) * 2016-07-22 2016-12-21 努比亚技术有限公司 Content of text recovery device and method
CN107992455A (en) * 2017-10-31 2018-05-04 努比亚技术有限公司 A kind of text handling method, terminal and computer-readable recording medium
CN110209332A (en) * 2019-05-31 2019-09-06 维沃移动通信有限公司 A kind of information processing method and terminal device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090017052A (en) * 2007-08-13 2009-02-18 윤승희 System and method for file folder repair services in the p2p service
US20140173427A1 (en) * 2012-12-19 2014-06-19 Mediatek Inc. Undo delete method of text editor supporting non-character-based delete function in electronic device and related machine-readable medium
WO2015123823A1 (en) * 2014-02-19 2015-08-27 华为技术有限公司 Information processing method and terminal device
CN104298558B (en) * 2014-09-23 2017-10-20 广州华多网络科技有限公司 Information processing method and device
CN107656912A (en) * 2017-09-20 2018-02-02 广东欧珀移动通信有限公司 Data processing method and device, electronic equipment, computer-readable recording medium
CN107992378B (en) * 2017-10-30 2019-07-26 维沃移动通信有限公司 A kind of document handling method and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6108668A (en) * 1997-04-18 2000-08-22 International Business Machines Corporation Method and system for undoing edits within selected portion of electronic documents
CN104424169A (en) * 2013-08-20 2015-03-18 柯尼卡美能达株式会社 Document Editing Apparatus And Document Editing Method
CN106250268A (en) * 2016-07-22 2016-12-21 努比亚技术有限公司 Content of text recovery device and method
CN107992455A (en) * 2017-10-31 2018-05-04 努比亚技术有限公司 A kind of text handling method, terminal and computer-readable recording medium
CN110209332A (en) * 2019-05-31 2019-09-06 维沃移动通信有限公司 A kind of information processing method and terminal device

Also Published As

Publication number Publication date
CN110209332A (en) 2019-09-06

Similar Documents

Publication Publication Date Title
WO2021098678A1 (en) Screencast control method and electronic device
WO2021175160A1 (en) Method for displaying information, and electronic apparatus
WO2020238536A1 (en) Information processing method and terminal device
WO2019223494A1 (en) Screenshot capturing method and mobile terminal
US11675442B2 (en) Image processing method and flexible-screen terminal
WO2021109907A1 (en) Application sharing method, first electronic device and computer-readable storage medium
WO2020238449A1 (en) Notification message processing method and terminal
WO2021082716A1 (en) Information processing method and electronic device
WO2021017763A1 (en) Transaction processing method, terminal device, and computer-readable storage medium
WO2019196691A1 (en) Keyboard interface display method and mobile terminal
WO2020151513A1 (en) Information processing method and terminal device
WO2021083087A1 (en) Screen capturing method and terminal device
WO2019120192A1 (en) Method for editing text, and mobile device
WO2020156123A1 (en) Information processing method and terminal device
WO2021098633A1 (en) Information display and transmission methods, and electronic device
WO2020238463A1 (en) Message processing method and terminal
WO2020156118A1 (en) Management method and terminal apparatus
WO2020211612A1 (en) Information display method and terminal device
WO2021036553A1 (en) Icon display method and electronic device
WO2021109959A1 (en) Application sharing method and electronic device
US20230025276A1 (en) Information display method, electronic device, and storage medium
US11895069B2 (en) Message sending method and mobile terminal
WO2020063107A1 (en) Screenshot method and terminal
WO2021238719A1 (en) Information display method and electronic device
WO2020042815A1 (en) Text editing method and mobile terminal

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

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

Country of ref document: EP

Kind code of ref document: A1