技术领域Technical Field
本申请实施例涉及通信技术领域,尤其涉及一种数据删除方法、装置及电子设备。The embodiments of the present application relate to the field of communication technology, and in particular to a data deletion method, device and electronic device.
背景技术Background technique
随着电子设备上安装的应用程序的增多,电子设备的存储空间越来越小,而为了优化电子设备的存储空间,通常用户可以删除一些使用频率较低的应用程序。As more and more applications are installed on electronic devices, the storage space of the electronic devices becomes smaller and smaller. In order to optimize the storage space of the electronic devices, users can usually delete some applications that are less frequently used.
目前,对应用程序进行删除时,通常是从电子设备中删除该应用程序的系统数据和用户数据,或者删除系统数据并保留用户数据,即删除该应用程序之后,该应用程序的功能可能无法正常使用。如此,当用户需要使用该应用程序中的某些功能时,需要用户触发电子设备重新下载并安装该应用程序,从而使得应用程序的使用便捷性较差。At present, when deleting an application, the system data and user data of the application are usually deleted from the electronic device, or the system data is deleted and the user data is retained, that is, after the application is deleted, the functions of the application may not be used normally. In this way, when the user needs to use certain functions in the application, the user needs to trigger the electronic device to re-download and install the application, which makes the application less convenient to use.
发明内容Summary of the invention
本申请实施例的目的是提供一种数据删除方法、装置及电子设备,能够解决在用户删除应用程序之后,当用户需要使用该应用程序功能时,必须再次下载该应用程序,从而导致应用程序的使用便捷性较差的问题。The purpose of the embodiments of the present application is to provide a data deletion method, device and electronic device, which can solve the problem that after a user deletes an application, when the user needs to use the application function, the application must be downloaded again, resulting in poor convenience in using the application.
为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:
第一方面,本申请实施例提供了一种数据删除方法,该方法包括:接收对目标应用程序的第一输入,该第一输入用于触发电子设备删除该目标应用程序;响应于该第一输入,获取该目标应用程序中的目标数据,该目标数据用于接收第一信息,该第一信息为服务器对该目标应用程序发送的信息;删除该目标应用程序中除该目标数据之外的其他数据。In a first aspect, an embodiment of the present application provides a data deletion method, the method comprising: receiving a first input to a target application, the first input being used to trigger an electronic device to delete the target application; in response to the first input, obtaining target data in the target application, the target data being used to receive first information, the first information being information sent by a server to the target application; and deleting other data in the target application except the target data.
第二方面,本申请实施例提供了一种数据删除装置,该装置包括:接收模块,获取模块和处理模块。接收模块,用于接收对目标应用程序的第一输入,该第一输入用于触发电子设备删除该目标应用程序;获取模块,用于响应于接收模块接收的该第一输入,获取该目标应用程序中的目标数据,该目标数据用于接收第一信息,该第一信息为服务器对该目标应用程序发送的信息;处理模块,用于删除该目标应用程序中除该目标数据之外的其他数据。In a second aspect, an embodiment of the present application provides a data deletion device, which includes: a receiving module, an acquisition module and a processing module. The receiving module is used to receive a first input to a target application, and the first input is used to trigger the electronic device to delete the target application; the acquisition module is used to obtain target data in the target application in response to the first input received by the receiving module, and the target data is used to receive first information, and the first information is information sent by the server to the target application; the processing module is used to delete other data in the target application except the target data.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在存储器上并可在处理器上运行的程序或指令,程序或指令被处理器执行时实现如第一方面的方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method of the first aspect.
第四方面,本申请实施例提供了一种可读存储介质,该可读存储介质上存储程序或指令,程序或指令被处理器执行时实现如第一方面的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method of the first aspect are implemented.
第五方面,本申请实施例提供了一种芯片,该芯片包括处理器和通信接口,通信接口和处理器耦合,该处理器用于运行程序或指令,实现如第一方面的方法。In a fifth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the method of the first aspect.
在本申请实施例中,可以接收用于触发电子设备删除该目标应用程序的第一输入,且响应于该第一输入,获取该目标应用程序中的目标数据(该目标数据用于接收第一信息,该第一信息为服务器对该目标应用程序发送的信息),并删除该目标应用程序中除该目标数据之外的其他数据。通过该方案,由于在电子设备删除目标应用程序的数据时,能够保留接收该目标应用程序的信息接口的目标数据,因此,在删除目标应用程序之后,电子设备依然可以接收其他电子设备发送的关于该目标应用程序的数据。从而在优化电子设备存储空间的同时,电子设备无需重新下载该目标应用程序,就能接收服务器发送的与该目标应用程序相关的信息(如,第一信息),进而方便用户使用,提升用户使用目标应用程序的便捷性。In an embodiment of the present application, a first input for triggering an electronic device to delete the target application can be received, and in response to the first input, the target data in the target application is obtained (the target data is used to receive the first information, and the first information is the information sent by the server to the target application), and other data in the target application except the target data is deleted. Through this solution, since the target data of the information interface for receiving the target application can be retained when the electronic device deletes the data of the target application, after deleting the target application, the electronic device can still receive data about the target application sent by other electronic devices. Therefore, while optimizing the storage space of the electronic device, the electronic device can receive information related to the target application (such as the first information) sent by the server without re-downloading the target application, thereby facilitating user use and improving the convenience of users using the target application.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本申请实施例提供的一种数据删除方法的示意图之一;FIG1 is a schematic diagram of a data deletion method according to an embodiment of the present application;
图2为本申请实施例提供的一种电子设备删除目标应用程序的数据的操作示意图;FIG2 is a schematic diagram of an operation of deleting data of a target application by an electronic device provided by an embodiment of the present application;
图3为本申请实施例提供的一种数据删除方法的示意图之二;FIG3 is a second schematic diagram of a data deletion method provided in an embodiment of the present application;
图4为本申请实施例提供的一种电子设备显示提示消息的操作示意图;FIG4 is a schematic diagram of an operation of displaying a prompt message by an electronic device provided by an embodiment of the present application;
图5为本申请实施例提供的一种数据删除方法的示意图之三;FIG5 is a third schematic diagram of a data deletion method provided in an embodiment of the present application;
图6为本申请实施例提供的一种操作电子设备显示功能标识的操作示意图;FIG6 is a schematic diagram of an operation of operating an electronic device to display a function identifier according to an embodiment of the present application;
图7为本申请实施例提供的一种目标应用程序的操作示意图;FIG7 is a schematic diagram of an operation of a target application provided in an embodiment of the present application;
图8为本申请实施例提供的一种数据删除装置的结构示意图之一;FIG8 is a schematic diagram of a structure of a data deletion device provided in an embodiment of the present application;
图9为本申请实施例提供的一种数据删除装置的结构示意图之二;FIG9 is a second structural diagram of a data deletion device provided in an embodiment of the present application;
图10为本申请实施例提供的电子设备的硬件示意图之一;FIG10 is one of the hardware schematic diagrams of the electronic device provided in the embodiment of the present application;
图11为本申请实施例提供的电子设备的硬件示意图。FIG. 11 is a hardware schematic diagram of an electronic device provided in an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here. And the objects distinguished by "first", "second", etc. are usually a class, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and/or" in the specification and claims represents at least one of the connected objects, and the character "/" generally represents that the objects associated before and after are in an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的数据删除方法进行详细地说明。The data deletion method provided in the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
本申请实施例中,电子设备可以接收用户触发电子设备删除该目标应用程序的第一输入,且响应于该第一输入,获取该目标应用程序中的目标数据(该目标数据用于接收第一信息,该第一信息为服务器对该目标应用程序发送的信息),并删除该目标应用程序中除该目标数据之外的其他数据。通过该方案,由于在电子设备删除目标应用程序的数据时,能够保留接收该目标应用程序的信息接口的目标数据,因此,在删除目标应用程序之后,电子设备依然可以接收其他电子设备发送的关于该目标应用程序的数据。从而在优化电子设备存储空间的同时,电子设备无需重新下载该目标应用程序,就能接收服务器发送的与该目标应用程序相关的信息(如,第一信息),进而方便用户使用,提升用户使用目标应用程序的便捷性。In an embodiment of the present application, the electronic device can receive a first input from a user triggering the electronic device to delete the target application, and in response to the first input, obtain the target data in the target application (the target data is used to receive the first information, and the first information is the information sent by the server to the target application), and delete the other data in the target application except the target data. Through this solution, since the target data of the information interface for receiving the target application can be retained when the electronic device deletes the data of the target application, after deleting the target application, the electronic device can still receive data about the target application sent by other electronic devices. Therefore, while optimizing the storage space of the electronic device, the electronic device can receive the information related to the target application (such as the first information) sent by the server without re-downloading the target application, thereby facilitating the user's use and improving the user's convenience in using the target application.
如图1所示,本申请实施例提供一种数据删除方法,该方法可以包括下述的步骤101至步骤103。As shown in FIG. 1 , an embodiment of the present application provides a data deletion method, which may include the following steps 101 to 103 .
步骤101、电子设备接收对目标应用程序的第一输入。Step 101: An electronic device receives a first input to a target application.
其中,上述第一输入用于触发电子设备删除该目标应用程序。The first input is used to trigger the electronic device to delete the target application.
需要说明的是,本申请实施例中,上述删除目标应用程序为用户需要删除的应用程序的图标,并卸载该应用程序的全部或部分功能。It should be noted that, in the embodiment of the present application, the above-mentioned deletion target application is the icon of the application that the user needs to delete, and all or part of the functions of the application are uninstalled.
可选的,本申请实施例中,上述第一输入可以为对目标应用程序的图标的触控输入,或者对控制该目标应用程序的控件的触控输入。具体的,该触控输入可以为以下任一项:单击输入,双击输入,长按输入,或将目标应用程序的图标移动至预设位置的输入等。具体可以根据实际使用需求进行确定,本申请实施例不作具体限定。Optionally, in the embodiment of the present application, the first input may be a touch input to the icon of the target application, or a touch input to the control that controls the target application. Specifically, the touch input may be any of the following: a single-click input, a double-click input, a long-press input, or an input that moves the icon of the target application to a preset position. The specific input may be determined based on actual usage requirements, and the embodiment of the present application does not specifically limit the input.
需要说明的是,该第一输入可以拆分为多个子输入(例如,第一子输入和第二子输入),该多个子输入共同完成第一输入的功能,即触发电子设备删除目标应用程序的图标,并卸载该应用程序的全部或部分功能。It should be noted that the first input can be split into multiple sub-inputs (for example, a first sub-input and a second sub-input), and the multiple sub-inputs together complete the function of the first input, that is, triggering the electronic device to delete the icon of the target application and uninstall all or part of the functions of the application.
示例性的,该第一输入可以为用户可以拖动目标应用程序的图标至“回收站”的输入,其中,该“回收站”可以为电子设备的一个功能模块,该功能模块对应的功能为删除的应用程序的图标,并卸载该应用程序的全部或部分功能。Exemplarily, the first input may be an input in which the user can drag the icon of the target application to a "recycle bin", wherein the "recycle bin" may be a functional module of the electronic device, and the function corresponding to the functional module is to delete the icon of the application and uninstall all or part of the functions of the application.
示例性的,该第一输入可以为对目标应用程序的图标的长按,触发电子设备显示“删除”控件,并对该“删除控件”的单击输入(其中,该长按输入可以为第一输入的第一子输入,对“删除控件”的单击输入可以为第一输入的第二子输入,具体可以参考下述步骤102a和步骤102b相关描述)。Exemplarily, the first input may be a long press on the icon of the target application, triggering the electronic device to display a "delete" control, and a single-click input of the "delete control" (wherein, the long press input may be a first sub-input of the first input, and the single-click input of the "delete control" may be a second sub-input of the first input, and for details, please refer to the relevant descriptions of steps 102a and 102b below).
步骤102、电子设备响应于第一输入,获取目标应用程序中的目标数据。Step 102: The electronic device obtains target data in a target application in response to a first input.
其中,上述目标数据用于接收第一信息,该第一信息为服务器对该目标应用程序发送的信息。The target data is used to receive first information, which is information sent by the server to the target application.
可选的,本申请实施例中,上述目标数据可以为接收该目标应用程序的信息(即第一信息)的接口的数据。Optionally, in an embodiment of the present application, the above-mentioned target data may be data of an interface for receiving information of the target application (ie, the first information).
需要说明的,本申请实施例中,上述目标数据为目标应用程序中用于接收第一信息(例如,服务器向该目标应用程序发送的信息,或者其他电子设备向该目标应用程序发送的信息)的接口的数据。It should be noted that in the embodiment of the present application, the above-mentioned target data is the data of the interface in the target application for receiving the first information (for example, information sent by the server to the target application, or information sent by other electronic devices to the target application).
可选的,本申请实施例中,上述目标数据具体可以包括:用户账户信息、用户设置信息和通信连接信息。Optionally, in an embodiment of the present application, the above-mentioned target data may specifically include: user account information, user setting information and communication connection information.
具体的,上述用户账户信息包括用户登录该目标应用程序的用户账号,及该账号对应的密码。用户设置信息包括与该用户账号对应的用户设置,例如,该账号的基本信息设置,该账号的用户使用习惯的设置等。通信连接信息用于使该目标应用程序与其他电子设备建立通信,并可以接收其他电子设备发送的信息(即第一信息)。其中,该通信连接信息包括:通信协议信息,报文传输信息,加解密信息,以及与其他电子设备(例如,服务器)进行连接的数据等。Specifically, the above-mentioned user account information includes the user account of the user logging into the target application, and the password corresponding to the account. The user setting information includes the user settings corresponding to the user account, for example, the basic information settings of the account, the settings of the user's usage habits of the account, etc. The communication connection information is used to enable the target application to establish communication with other electronic devices, and can receive information (i.e., the first information) sent by other electronic devices. Among them, the communication connection information includes: communication protocol information, message transmission information, encryption and decryption information, and data for connecting with other electronic devices (for example, a server), etc.
可选的,本申请实施例中,上述电子设备获取目标应用程序的目标数据之后,电子设备可以保存该目标数据(例如,复制该目标数据进行保存,或者在删除目标应用程序数据时不删除该目标数据),使得目标应用程序可以通过该目标数据接收其他电子设备发送的信息,例如,其他电子设备发送的消息,服务器发送的推送消息和应用程序的更新消息等。Optionally, in an embodiment of the present application, after the above-mentioned electronic device obtains the target data of the target application, the electronic device can save the target data (for example, copy the target data for saving, or not delete the target data when deleting the target application data), so that the target application can receive information sent by other electronic devices through the target data, such as messages sent by other electronic devices, push messages sent by servers, and application update messages, etc.
需要说明的是,本申请实施例中,上述目标数据不包括目标应用程序向其他电子设备发送信息的数据内容。即电子设备在删除目标应用程序之后,电子设备只能接收其他电子设备发送的与该目标应用程序相关的信息,而不能通过目标应用程序的功能向其他电子设备发送信息。It should be noted that in the embodiment of the present application, the above target data does not include the data content of the target application sending information to other electronic devices. That is, after the electronic device deletes the target application, the electronic device can only receive information related to the target application sent by other electronic devices, but cannot send information to other electronic devices through the function of the target application.
步骤103、电子设备删除目标应用程序中除目标数据之外的其他数据。Step 103: The electronic device deletes other data except the target data in the target application.
需要说明的是,本申请实施例中,上述删除目标应用程序中除目标数据之外的其他数据,是指从目标应用程序的数据中,除目标数据之外的其他数据。It should be noted that, in the embodiment of the present application, the above-mentioned deletion of other data except the target data in the target application refers to deleting other data except the target data from the data of the target application.
可选的,本申请实施例中,上述电子设备删除目标应用程序的数据中,除目标数据之外的其他数据的方式,具体可以为以下任一方式进行删除。Optionally, in an embodiment of the present application, the electronic device may delete data other than the target data in the target application by any of the following methods.
方式一、电子设备从该电子设备存储的目标应用程序的数据中,删除述目标数据之外的其他数据。具体的,电子设备从电子设备存储的目标应用程序的数据中保留目标数据,删除该目标数据之外的其他数据。该保留的目标数据可以用于接收其他电子设备发送的与该目标应用程序相关的消息。Method 1: The electronic device deletes other data other than the target data from the data of the target application stored in the electronic device. Specifically, the electronic device retains the target data from the data of the target application stored in the electronic device and deletes other data other than the target data. The retained target data can be used to receive messages related to the target application sent by other electronic devices.
方式二、电子设备从该电子设备存储的目标应用程序的数据中复制该目标数据,并删除该电子设备存储的该目标应用程序的全部数据。具体的,电子设备可以先复制该目标数据,并将复制后的目标数据保存至电子设备的预设位置,之后删除该电子设备存储的该应用程序的全部数据。其中,保存在电子设备的预设位置的目标数据可以用于接收其他电子设备发送的与该目标应用程序相关的消息。Method 2: The electronic device copies the target data from the data of the target application stored in the electronic device, and deletes all the data of the target application stored in the electronic device. Specifically, the electronic device may first copy the target data, and save the copied target data to a preset location of the electronic device, and then delete all the data of the application stored in the electronic device. The target data saved in the preset location of the electronic device may be used to receive messages related to the target application sent by other electronic devices.
示例性的,图2为一种电子设备删除目标应用程序的数据的操作示意图。如图2中的(a)所示,电子设备00的目标桌面上显示四个应用程序的图标,分别为:“应用1”、“应用2”、“应用3”和“应用4”。用户可以长按该应用2的图标001,电子设备00响应于该长按输入(即第一输入),获取该应用2中的目标数据。如图2中的(b)所示,电子设备00可以保存该目标数据,删除该应用2中除目标数据之外的其他数据,并取消显示应用2的图标001。Exemplarily, FIG2 is a schematic diagram of an operation of an electronic device to delete data of a target application. As shown in (a) of FIG2 , four application icons are displayed on the target desktop of the electronic device 00, namely: “Application 1”, “Application 2”, “Application 3” and “Application 4”. The user can long press the icon 001 of the application 2, and the electronic device 00 obtains the target data in the application 2 in response to the long press input (i.e., the first input). As shown in (b) of FIG2 , the electronic device 00 can save the target data, delete other data in the application 2 except the target data, and cancel the display of the icon 001 of the application 2.
本申请实施例提供一种数据删除方法,可以接收用于触发电子设备删除该目标应用程序的第一输入,且响应于该第一输入,获取该目标应用程序中的目标数据(该目标数据用于接收第一信息,该第一信息为服务器对该目标应用程序发送的信息),并删除该目标应用程序中除该目标数据之外的其他数据。通过该方案,由于在电子设备删除目标应用程序的数据时,能够保留接收该目标应用程序的信息接口的目标数据,因此,在删除目标应用程序之后,电子设备依然可以接收其他电子设备发送的关于该目标应用程序的数据。从而在优化电子设备存储空间的同时,电子设备无需重新下载该目标应用程序,就能接收服务器发送的与该目标应用程序相关的信息(如,第一信息),进而方便用户使用,提升用户使用目标应用程序的便捷性。The embodiment of the present application provides a data deletion method, which can receive a first input for triggering an electronic device to delete the target application, and in response to the first input, obtain the target data in the target application (the target data is used to receive the first information, and the first information is the information sent by the server to the target application), and delete the other data in the target application except the target data. Through this scheme, since the target data of the information interface for receiving the target application can be retained when the electronic device deletes the data of the target application, after deleting the target application, the electronic device can still receive data about the target application sent by other electronic devices. Therefore, while optimizing the storage space of the electronic device, the electronic device can receive the information related to the target application (such as the first information) sent by the server without re-downloading the target application, thereby facilitating the use of the user and improving the convenience of the user in using the target application.
可选的,结合图1,如图3所示,在上述步骤103之后,本申请所提供的数据删除方法还包括下述步骤104至步骤106,其中步骤105和步骤106择一执行。Optionally, in combination with Figure 1, as shown in Figure 3, after the above step 103, the data deletion method provided in the present application also includes the following steps 104 to 106, wherein step 105 and step 106 are selectively performed.
步骤104、电子设备根据目标数据,接收第一信息。Step 104: The electronic device receives the first information according to the target data.
可选的,本申请实施例中,电子设备根据目标数据,接收第一信息,具体可以为:电子设备通过目标应用程序的信息的接口,来接收第一信息。Optionally, in an embodiment of the present application, the electronic device receives the first information according to the target data, which may be specifically: the electronic device receives the first information through an information interface of the target application.
可选的,本申请实施例中,上述目标应用程序的信息的接口用于接收其他电子设备发送至目标应用程序的消息。需要说明的,该目标应用程序的信息的接口具体可以为该目标应用程序中的一个功能模块。Optionally, in the embodiment of the present application, the target application information interface is used to receive messages sent to the target application by other electronic devices. It should be noted that the target application information interface can specifically be a functional module in the target application.
可选的,本申请实施例中,上述第一信息可以为以下任一项:目标应用程序的管理者或目标应用程序的运营商发送的推送消息,目标应用程序的服务商发送的更新消息,其他目标应用程序的用户发送的消息,与目标应用程序相关联的应用程序向目标应用程序发送的消息等。具体可以根据实际使用需求进行确定,本申请实施例不作具体限定。Optionally, in the embodiment of the present application, the first information may be any one of the following: a push message sent by the administrator of the target application or the operator of the target application, an update message sent by the service provider of the target application, a message sent by other users of the target application, a message sent to the target application by an application associated with the target application, etc. The specific information may be determined according to actual usage requirements and is not specifically limited in the embodiment of the present application.
步骤105、在第一信息包括预设关键字的情况下,电子设备显示第一提示信息。Step 105: When the first information includes a preset keyword, the electronic device displays a first prompt information.
其中,所上述第一提示信息包括以下至少一项:指示该第一信息来源的信息,该第一信息的至少部分内容,该目标应用程序的下载信息或更新信息。The first prompt information mentioned above includes at least one of the following: information indicating the source of the first information, at least part of the content of the first information, and download information or update information of the target application.
步骤106、在第一信息不包括预设关键字的情况下,电子设备过滤第一信息。Step 106: When the first information does not include a preset keyword, the electronic device filters the first information.
可选的,本申请实施例中,在上述步骤104之前,电子设备还可以接收用户的输入设置预设关键字。具体的,用户可以通过第一目标输入触发电子设备显示预设关键字设置界面,然后,用户可以在该界面中编辑输入至少一个预设关键词。Optionally, in an embodiment of the present application, the electronic device may also receive a user input to set a preset keyword before the above step 104. Specifically, the user may trigger the electronic device to display a preset keyword setting interface through the first target input, and then the user may edit and input at least one preset keyword in the interface.
可选的,本申请实施例中,在用户设置至少一个预设关键字之后,电子设备可以检测接收到的第一信息是否包括预设关键字,确定显示第一提示信息。具体方式可以为:方式1,电子设备检测接收到的第一信息,是否包括该至少一个预设关键字中的至少一个,若包括,则显示第一提示信息;若不包括,则拦截并过滤该第一消息。方式2,电子设备检测接收到的第一信息包括的预设关键字的个数是否大于或等于预设数值(例如,至少包括两个预设关键字,该预设数值为2),若大于或等于该预设数值,则显示第一提示信息;若小于该预设数值,则拦截并过滤该第一消息。具体可以根据实际使用需求进行确定,本申请实施例不作具体限定。Optionally, in an embodiment of the present application, after the user sets at least one preset keyword, the electronic device can detect whether the received first information includes the preset keyword and determine to display the first prompt message. The specific method can be: Method 1, the electronic device detects whether the received first information includes at least one of the at least one preset keyword. If it does, the first prompt message is displayed; if it does not, the first message is intercepted and filtered. Method 2, the electronic device detects whether the number of preset keywords included in the received first information is greater than or equal to a preset value (for example, at least two preset keywords are included, and the preset value is 2). If it is greater than or equal to the preset value, the first prompt message is displayed; if it is less than the preset value, the first message is intercepted and filtered. It can be determined specifically according to actual usage requirements, and the embodiments of the present application do not make specific limitations.
可选的,本申请实施例中,在第一信息不包括预设关键字的情况下,则电子设备拦截并过滤该第一消息(即删除接收到的该第一信息),不显示第一提示信息。Optionally, in an embodiment of the present application, when the first information does not include a preset keyword, the electronic device intercepts and filters the first message (ie, deletes the received first information) and does not display the first prompt information.
可以理解的是,电子设备可以判断第一信息中是否包含预设关键字,在包含预设关键字的情况下,显示第一提示信息,方便用户查看该消息;在不包含预设关键字的情况下,电子设备可以自动过滤该第一信息,从而可以有效避免对用户造成信息干扰,提升用户的使用体验。It is understandable that the electronic device can determine whether the first information contains preset keywords. If it contains the preset keywords, the electronic device can display the first prompt information to facilitate the user to view the message; if it does not contain the preset keywords, the electronic device can automatically filter the first information, thereby effectively avoiding information interference to the user and improving the user experience.
需要说明的是,本申请实施例中,上述指示该第一信息来源的信息可以为该第一信息的发送设备,发送该第一信息的账户,以及其他能够表明该第一信息来源的信息等。It should be noted that, in the embodiment of the present application, the above-mentioned information indicating the source of the first information may be the sending device of the first information, the account sending the first information, and other information that can indicate the source of the first information.
具体的,上述第一信息的至少部分内容,是指仅显示该第一信息中包括的字符部分,对除字符之外的其他信息不进行显示。例如,若该第一信息为一条文字短信,则显示该文字短信的全部内容。若该第一信息为一封带附件的邮件,则仅显示该新邮件的文字内容,不显示附件(即,显示第一信息的部分内容)。Specifically, at least part of the content of the first information means that only the character part included in the first information is displayed, and other information except the characters is not displayed. For example, if the first information is a text message, the entire content of the text message is displayed. If the first information is an email with an attachment, only the text content of the new email is displayed, and the attachment is not displayed (that is, part of the content of the first information is displayed).
具体的,上述目标应用程序的下载信息,是指能够指示设备电子设备接收用户触发,下载该目标应用程序的信息。例如,该目标应用程序的下载链接,该目标应用程序的下载地址,或指示该目标应用程序在应用商店的下载页面等。上述或更新信息,是指下载目标应用程序的一些补丁,并对目标应用程序的某些功能进行更新的信息。Specifically, the download information of the target application refers to information that can instruct the electronic device to receive a user trigger and download the target application. For example, the download link of the target application, the download address of the target application, or the download page of the target application in the application store, etc. The above or update information refers to the information for downloading some patches of the target application and updating some functions of the target application.
示例性的,图4为一种电子设备显示提示消息的操作示意图。如图4中的(a)所示,电子设备00在目标桌面显示三个应用图标:“应用1”、“应用2”和“应用3”,且电子设备00已删除应用2的图标和应用2中除接收其他电子设备发送信息接口的数据之外的其他数据。假设电子设备00接收到好友A发送的第一信息,且该第一信息中包含预设关键字“XX工程”。如图4中的(b)所示,电子设备00在该目标桌面显示提示信息002,该提示信息002包括该第一信息的来源和时间信息,该第一信息的部分内容,以及用户需要查看该第一信息所需要使用的目标应用程序(用户已删除该目标应用程序的部分功能,此时无法查看该第一信息的详情)的下载地址等。Exemplarily, FIG4 is a schematic diagram of the operation of an electronic device displaying a prompt message. As shown in (a) of FIG4 , the electronic device 00 displays three application icons on the target desktop: “Application 1”, “Application 2” and “Application 3”, and the electronic device 00 has deleted the icon of Application 2 and other data in Application 2 except for the data received from the information interface sent by other electronic devices. Assume that the electronic device 00 receives the first message sent by friend A, and the first message contains the preset keyword “XX Project”. As shown in (b) of FIG4 , the electronic device 00 displays a prompt message 002 on the target desktop, and the prompt message 002 includes the source and time information of the first message, part of the content of the first message, and the download address of the target application that the user needs to use to view the first message (the user has deleted part of the functions of the target application, and the details of the first message cannot be viewed at this time).
可以理解的是,电子设备在删除该目标程序中的大部分数据之后,还可以通过该目标应用程序的信息的接口接收其他电子设备发送的信息,并在该信息包括预设关键字的情况下,电子设备显示提示消息以提示用户。如此,用户无需重新下载安装目标应用程序也能选择性接收与该目标应用程序相关的信息(即通过预设关键词进行筛选信息),进而通过第一提示消息获知该消息的部分内容,并在需要的情况下用户有能通过该提示信息中的下载信息直接下载该目标应用程序。从而方便用户使用,提升用户的使用体验。It is understandable that after deleting most of the data in the target program, the electronic device can also receive information sent by other electronic devices through the interface of the target application's information, and when the information includes preset keywords, the electronic device displays a prompt message to prompt the user. In this way, the user can selectively receive information related to the target application without re-downloading and installing the target application (i.e., filtering information through preset keywords), and then learn part of the content of the message through the first prompt message, and when necessary, the user can directly download the target application through the download information in the prompt message. This makes it convenient for users to use and improves the user experience.
可选的,结合图1,如图5所示,第一输入包括第一子输入和第二子输入,上述步骤102具体可以通过下述步骤102a至步骤102d实现。Optionally, in combination with FIG. 1 , as shown in FIG. 5 , the first input includes a first sub-input and a second sub-input, and the above step 102 can be specifically implemented through the following steps 102a to 102d.
步骤102a、电子设备接收第一子输入。Step 102a: The electronic device receives a first sub-input.
可选的,本申请实施例中,上述第一子输入用于触发电子设备显示至少一个功能标识。该至少一个功能标识中的每个功能标识用于指示该目标应用程序的一个功能对应的数据。Optionally, in an embodiment of the present application, the first sub-input is used to trigger the electronic device to display at least one function identifier, each of which is used to indicate data corresponding to a function of the target application.
可选的,本申请实施例中,上述第一子输入可以为对电子设备物理按键的输入,例如,三次点击电子设备的音量键的输入。第一子输入也可以为对电子设备的语音输入,该语音输入的内容用于指示电子设备显示至少一个功能标识。第一子输入还可以对电子设备的目标应用程序的触控输入,其中,该目标控件用于触发显示至少一个功能标识,该触控输入可以为以下任一项:单击输入,双击输入,长按输入,按预设轨迹的拖动输入等。具体可以根据实际使用需求进行确定,本申请实施例不作具体限定。Optionally, in an embodiment of the present application, the above-mentioned first sub-input can be an input to a physical button of an electronic device, for example, an input of clicking the volume button of an electronic device three times. The first sub-input can also be a voice input to the electronic device, and the content of the voice input is used to instruct the electronic device to display at least one function identifier. The first sub-input can also be a touch input to a target application of the electronic device, wherein the target control is used to trigger the display of at least one function identifier, and the touch input can be any of the following: single-click input, double-click input, long press input, drag input according to a preset trajectory, etc. It can be determined specifically according to actual usage requirements, and the embodiment of the present application does not make specific limitations.
步骤102b、电子设备响应于该第一子输入,显示至少一个功能标识。Step 102b: The electronic device displays at least one function identifier in response to the first sub-input.
其中,每个功能标识与目标应用程序中的一个功能的数据相对应。Each function identifier corresponds to data of a function in the target application.
可选的,本申请实施例中,在显示至少一个功能标识之前,本申请实施例所提供的数据删除方法还可以包括获取至少一个功能标识的步骤。即,电子设备可以响应于该第一子输入,获取至少一个功能标识。具体的,电子设备可以根据目标应用程序目标界面的功能划分,获取至少一个功能标识,或者根据目标应用程序的数据的功能划分(例如,具体实现某一功能对应的文件及数据),获取至少一个功能标识。具体可以根据实际使用需求进行确定,本申请实施例不作具体限定。Optionally, in an embodiment of the present application, before displaying at least one function identifier, the data deletion method provided in the embodiment of the present application may further include the step of obtaining at least one function identifier. That is, the electronic device may obtain at least one function identifier in response to the first sub-input. Specifically, the electronic device may obtain at least one function identifier based on the functional division of the target interface of the target application, or obtain at least one function identifier based on the functional division of the data of the target application (for example, the files and data corresponding to a specific function). It can be determined specifically based on actual usage requirements, and the embodiment of the present application does not make specific limitations.
可选的,本申请实施例中,上述获取至少一个功能标识的具体方法可以为以下任一项:获取方式一,根据目标界面的每个功能模块,识别并解析与该功能模块对应的目标应用程序的数据,并获取该与该功能模块对应的目标应用程序的数据,以及显示至少一个功能标识,该至少一个功能标识中的每个功能标识指示实现一个功能对应的目标应用程序的数据。获取方式二,解析目标应用程序的数据,并对该目标应用程序的数据根据其实现的功能进行划分为至少一个数据组,再显示至少一个功能标识,该至少一个功能标识中的每个功能标识指示实现一个功能对应的一个数据组。Optionally, in the embodiment of the present application, the specific method for obtaining at least one function identifier can be any of the following: Acquisition method 1, according to each function module of the target interface, identify and parse the data of the target application corresponding to the function module, and obtain the data of the target application corresponding to the function module, and display at least one function identifier, each of which indicates the data of the target application corresponding to a function. Acquisition method 2, parse the data of the target application, and divide the data of the target application into at least one data group according to the functions it implements, and then display at least one function identifier, each of which indicates a data group corresponding to a function.
可选的,本申请实施例对显示至少一个功能标识的显示方式不作具体限定,可以根据实际使用需求进行确定。示例性的,可以在电子设备的界面上显示一个控件,并在该控件中显示该至少一个功能标识;或者,直接在电子设备的界面上叠加显示至少一个功能标识。Optionally, the embodiment of the present application does not specifically limit the display method of displaying at least one function identifier, and can be determined according to actual usage requirements. For example, a control can be displayed on the interface of the electronic device, and the at least one function identifier can be displayed in the control; or, at least one function identifier can be directly superimposed and displayed on the interface of the electronic device.
步骤102c、电子设备接收第二子输入。Step 102c: The electronic device receives a second sub-input.
其中,上述第二子输入为对该至少一个功能标识中第一功能标识的输入,该第一功能标识指示该目标数据。The second sub-input is an input of a first function identifier among the at least one function identifier, and the first function identifier indicates the target data.
需要说明的是,本申请实施例中,上述第二子输入用于从至少一个功能标识中选择用户需要的第一功能标识的输入,该第一功能标识指示的数据为目标数据。It should be noted that, in the embodiment of the present application, the second sub-input is used to select the input of the first function identifier required by the user from at least one function identifier, and the data indicated by the first function identifier is the target data.
此外,本申请实施例中,上述第一功能标识为对用户通过第二子输入从至少一个功能标识中选择的功能标识的统称,并不是只是某一具体的功能。In addition, in the embodiment of the present application, the above-mentioned first function identifier is a general term for the function identifier selected by the user from at least one function identifier through the second sub-input, and is not just a specific function.
可选的,本申请实施例中,上述第二子输入可以为对电子设备物理按键的输入,该物理按键可以用于从至少一个功能标识中选择第一功能标识。第二子输入也可以为对电子设备的语音输入,该语音输入的内容用于指示电子设备从至少一个功能标识中选择第一功能标识。第一子输入还可以对第一功能标识的触控输入,其中,该触控输入可以为以下任一项:单击输入,双击输入,长按输入,按预设轨迹的拖动输入等。具体可以根据实际使用需求进行确定,本申请实施例不作具体限定。Optionally, in an embodiment of the present application, the second sub-input may be an input to a physical button of an electronic device, and the physical button may be used to select a first function identifier from at least one function identifier. The second sub-input may also be a voice input to an electronic device, and the content of the voice input is used to instruct the electronic device to select a first function identifier from at least one function identifier. The first sub-input may also be a touch input to the first function identifier, wherein the touch input may be any of the following: single-click input, double-click input, long-press input, drag input according to a preset trajectory, etc. The specific input may be determined according to actual use requirements, and the embodiment of the present application does not specifically limit the input.
步骤102d、电子设备响应于该第二子输入,获取目标数据。Step 102d: The electronic device obtains target data in response to the second sub-input.
需要说明的是,本申请实施例中,电子设备响应于第二子输入,获取用户通过第二子输入选择的第一功能标识对应的目标数据。It should be noted that, in the embodiment of the present application, the electronic device obtains the target data corresponding to the first function identifier selected by the user through the second sub-input in response to the second sub-input.
可选的,本申请实施例中,电子设备获取目标数据之后,可以将该目标数据存储于电子设备的存储器中。Optionally, in the embodiment of the present application, after the electronic device acquires the target data, the target data may be stored in a memory of the electronic device.
示例性的,图6为一种操作电子设备显示功能标识的操作示意图。如图6中的(a)所示,电子设备00的目标桌面上显示四个应用程序的图标,分别为:“应用1”、“应用2”、“应用3”和“应用4”。用户可以双击应用2的图标001,如图6中的(b)所示,电子设备00响应于该双击输入(即第一子输入),在该目标界面显示显示控件003,该控件003包括四个功能标识,分别为:功能A的标识0031,功能B的标识,功能C的标识0032和功能D的标识。其中,功能A为电子设备00通过应用2接收信息的功能,功能C为应用2获取电子设备00的位置信息的功能(即定位功能)。用户可以单击选择功能A的标识0031和功能C的标识0032,电子设备00响应于该单击输入(即第二子输入),获取功能A和功能C对应的目标数据,如图6中的(c)所示,在电子设备00删除除功能A和功能C对应的目标数据之外的数据时(此时,电子设备00取消显示应用2的图标),电子设备00依然可以通过功能A对应的模块接收其他电子设备发送的与应用2相关的消息,并通过功能C对应的模块实时获取电子设备00的位置信息。Exemplarily, FIG6 is a schematic diagram of an operation for operating an electronic device to display function identifiers. As shown in (a) of FIG6 , four application icons are displayed on the target desktop of the electronic device 00, namely: “Application 1”, “Application 2”, “Application 3” and “Application 4”. The user can double-click the icon 001 of Application 2. As shown in (b) of FIG6 , the electronic device 00 responds to the double-click input (i.e., the first sub-input) by displaying a display control 003 on the target interface. The control 003 includes four function identifiers, namely: an identifier 0031 of Function A, an identifier of Function B, an identifier 0032 of Function C and an identifier of Function D. Among them, Function A is a function for the electronic device 00 to receive information through Application 2, and Function C is a function for Application 2 to obtain the location information of the electronic device 00 (i.e., a positioning function). The user can single-click to select the function A logo 0031 and the function C logo 0032, and the electronic device 00 obtains the target data corresponding to the function A and the function C in response to the single-click input (i.e., the second sub-input), as shown in (c) in Figure 6. When the electronic device 00 deletes data other than the target data corresponding to the function A and the function C (at this time, the electronic device 00 cancels the display of the icon of the application 2), the electronic device 00 can still receive messages related to the application 2 sent by other electronic devices through the module corresponding to the function A, and obtain the location information of the electronic device 00 in real time through the module corresponding to the function C.
可以理解的是,用户可以通过第一子输入触发电子设备显示至少一个功能标识,并可以通过第二子输入从该至少一个功能标识中选择用户需要的第一功能标识,触发电子设备获取该第一功能标识对应的目标数据。如此,用户可以根据实际使用需求,灵活选择需要保留的功能标识对应的目标数据,电子设备可以在电子设备对该目标应用程序进行部分删除之后,依然可以使用该目标数据对应的功能,从而用户可以选择性保留一部分数据(即目标数据)以实现该目标应用程序的部分功能,而又可以删除用户不需要的数据以节约电子设备的存储空间。进而提升用户使用目标应用程序的灵活性。It is understandable that the user can trigger the electronic device to display at least one function identifier through the first sub-input, and can select the first function identifier required by the user from the at least one function identifier through the second sub-input, triggering the electronic device to obtain the target data corresponding to the first function identifier. In this way, the user can flexibly select the target data corresponding to the function identifier that needs to be retained according to actual usage needs, and the electronic device can still use the function corresponding to the target data after the electronic device partially deletes the target application, so that the user can selectively retain a part of the data (i.e., the target data) to implement some functions of the target application, and can delete the data that the user does not need to save the storage space of the electronic device. This will enhance the flexibility of the user in using the target application.
可选的,本申请实施例中,电子设备响应于第二子输入,获取目标数据,并执行上述步骤103之后,本申请所提供的数据删除方法还包括下述步骤107和步骤108。Optionally, in an embodiment of the present application, after the electronic device obtains the target data in response to the second sub-input and executes the above step 103, the data deletion method provided by the present application also includes the following steps 107 and 108.
步骤107、在显示目标应用程序的第一界面的情况下,电子设备接收对该第一界面中的第二功能标识的第二输入。Step 107: When displaying the first interface of the target application, the electronic device receives a second input of a second function identifier in the first interface.
可选的,本申请实施例中,在电子设备执行步骤103时,电子设备可以在目标应用程序的数据中添加一些通用数据包,该通用数据包中的数据用于使目标应用程序能够正常运行,避免由于删除部分目标应用程序的数据造成该目标应用程序的运行错误。其中,该通用数据包中的数据可以包括使目标应用程序基本运行数据和预设跳转页面的数据等。该目标应用程序基本运行数据用于使目标应用程序能够正常启动;该预设跳转页面的数据用于使目标应用程序中已删除的功能模块的功能页面定向跳转为预设页面,以避免目标程序无法找到对应功能模块发生报错。Optionally, in an embodiment of the present application, when the electronic device executes step 103, the electronic device may add some general data packets to the data of the target application, and the data in the general data packets are used to enable the target application to run normally, avoiding operation errors of the target application due to deletion of part of the target application data. Among them, the data in the general data packets may include data for basic operation of the target application and data for preset jump pages. The basic operation data of the target application is used to enable the target application to start normally; the data of the preset jump page is used to redirect the function page of the deleted function module in the target application to the preset page, so as to avoid errors caused by the target program being unable to find the corresponding function module.
需要说明的是,添加通用数据包的操作可以在执行删除操作的同时进行(即执行步骤103的同时添加通用数据包),也可以在执行删除操作之后进行添加(即在执行步骤103之后,添加通用数据包)。It should be noted that the operation of adding a general data packet can be performed while executing the deletion operation (i.e., adding the general data packet while executing step 103), or it can be added after the deletion operation (i.e., adding the general data packet after executing step 103).
可选的,本申请实施例中,在电子设备在目标应用的数据中添加通用数据包的情况下,用户可以正常启动目标应用程序的界面,即显示第一界面。该第一界面可以显示未删除数据的功能标识和已删除数据的功能标识,若用户对未删除数据的功能标识进行输入,则电子设备响应于该输入显示该未删除数据的功能对应的界面,例如,显示接收消息的界面(该接收其他电子设备消息的功能未删除)。若用户对已删除数据的功能标识进行输入,则电子设备显示提示信息(例如,下述第二提示信息),以提示用户该标识指示的数据已删除。Optionally, in an embodiment of the present application, when the electronic device adds a general data packet to the data of the target application, the user can normally start the interface of the target application, that is, display the first interface. The first interface can display the function identifier of the undeleted data and the function identifier of the deleted data. If the user enters the function identifier of the undeleted data, the electronic device displays the interface corresponding to the function of the undeleted data in response to the input, for example, displaying an interface for receiving messages (the function of receiving messages from other electronic devices is not deleted). If the user enters the function identifier of the deleted data, the electronic device displays a prompt message (for example, the second prompt message described below) to prompt the user that the data indicated by the identifier has been deleted.
需要说明的是,本申请实施例中,上述第二功能标识为与第一功能标识不同的标识。It should be noted that, in the embodiment of the present application, the second function identifier is different from the first function identifier.
可选的,本申请实施例中,上述第二输入可以为对第二功能标识的触控输入,该触控输入可以为以下至少一项:单击,双击,长按,沿预设轨迹的拖动等。具体可以根据实际使用需求进行确定,本申请实施例不作具体限定。Optionally, in the embodiment of the present application, the second input may be a touch input to the second function identifier, and the touch input may be at least one of the following: single click, double click, long press, drag along a preset track, etc. The specific input may be determined according to actual use requirements, and the embodiment of the present application does not make specific limitations.
步骤108、电子设备响应于第二输入,显示第二提示信息。Step 108: The electronic device displays a second prompt message in response to the second input.
其中,上述第二提示信息用于指示第二功能标识指示的数据已删除。The second prompt information is used to indicate that the data indicated by the second function identifier has been deleted.
可选的,本申请实施例中,上述第二提示信息用于提示用户选择的第二功能标识指示的数据已删除。具体的,该第二提示信息可以为文字提醒信息,该第二提示信息可以为语音提示信息,该第二提示信息还可以为标识、图片或动画等提示信息。具体可以根据实际使用需求进行确定,本申请不作具体限定。Optionally, in an embodiment of the present application, the second prompt information is used to prompt the user that the data indicated by the second function identifier selected by the user has been deleted. Specifically, the second prompt information can be a text reminder message, the second prompt information can be a voice prompt message, and the second prompt information can also be a prompt message such as a logo, a picture, or an animation. It can be determined according to actual use requirements, and this application does not make specific limitations.
示例性的,图7为一种目标应用程序的操作示意图。如图7中的(a)所示,电子设备00显示应用2的界面004(即第一界面),该第一界面中包括8个功能标识,分别为功能A的标识至功能H的标识。用户可以双击功能B的标识005,如图7中的(b)所示,电子设备00响应于该双击输入(即第二输入)在该界面004中叠加显示提示信息006(即第二提示信息),该第二提示信用于提示用户功能B的标识005对应的数据不存在(即已删除)。Exemplarily, FIG7 is a schematic diagram of the operation of a target application. As shown in (a) of FIG7 , the electronic device 00 displays the interface 004 (i.e., the first interface) of application 2, and the first interface includes 8 function identifiers, namely, the identifier of function A to the identifier of function H. The user can double-click the identifier 005 of function B, as shown in (b) of FIG7 , the electronic device 00 responds to the double-click input (i.e., the second input) by superimposing a prompt message 006 (i.e., the second prompt message) in the interface 004, and the second prompt message is used to prompt the user that the data corresponding to the identifier 005 of function B does not exist (i.e., it has been deleted).
需要说明的是,在显示目标应用程序的第一界面的情况下,电子设备可以接收对第一界面中的第二功能标识的第二输入,并可以响应于该第二输入,显示指示第二功能标识指示的数据已删除的第二指示信息。如此,用户可以根据电子设备显示的指示信息,了解该目标应用程序的那些功能模块可以使用,那些功能模块不能使用,从而在避免目标应用程序运行发生错误的情况下,提醒用户,方便用户使用。It should be noted that, when displaying the first interface of the target application, the electronic device may receive a second input of the second function identifier in the first interface, and may display a second indication information indicating that the data indicated by the second function identifier has been deleted in response to the second input. In this way, the user can understand which function modules of the target application can be used and which function modules cannot be used according to the indication information displayed by the electronic device, thereby reminding the user and facilitating the user's use in case of errors in the operation of the target application.
可选的,本申请实施例中,上述步骤107之后,本申请所提供的数据删除方法还包括下述步骤109和步骤110。Optionally, in an embodiment of the present application, after the above step 107, the data deletion method provided by the present application also includes the following steps 109 and 110.
步骤109、电子设备接收对第二提示信息的第三输入。Step 109: The electronic device receives a third input for the second prompt information.
需要说明的是,本申请实施例中,在电子设备响应于第二输入,显示第二提示信息之后,用户可以对该第二提示信息进行第三输入,以触发电子设备取消显示该第二提示消息,并显示预设内容。It should be noted that, in the embodiment of the present application, after the electronic device displays the second prompt information in response to the second input, the user can make a third input to the second prompt information to trigger the electronic device to cancel the display of the second prompt message and display the preset content.
可选的,本申请实施例中,上述第三输入可以为对第二提示信息的触控输入,该触控输入可以为以下至少一项:单击,双击,长按,沿预设轨迹的拖动等。第三输入也可以为对第二提示信息的语音输入,该语音输入的内容用于指示电子设备显示预设内容。Optionally, in the embodiment of the present application, the third input may be a touch input to the second prompt information, and the touch input may be at least one of the following: single click, double click, long press, drag along a preset track, etc. The third input may also be a voice input to the second prompt information, and the content of the voice input is used to instruct the electronic device to display preset content.
步骤110、电子设备响应于第三输入,显示预设内容。Step 110: The electronic device displays preset content in response to the third input.
可选的,本申请实施例中,上述预设内容可以为以下任一项:预设界面,预设标识,预设动画,电子设备的桌面等其他内容或页面。具体可以根据实际使用需求进行确定,本申请实施例不作具体限定。Optionally, in the embodiment of the present application, the above-mentioned preset content can be any of the following: preset interface, preset logo, preset animation, other content or page such as the desktop of the electronic device, etc. The specific content can be determined according to actual use requirements, and the embodiment of the present application does not make specific limitations.
具体的,电子设备可以响应于第三输入显示目标程序的主界面(即显示预设界面);或者,电子设备可以响应于第三输入显示感叹号标识(即预设标识),该标识用于指示电子设备将要跳转的界面;或者,电子设备可以响应于第三输入显示预设动画,该预设动画用于指示电子设备将要跳转的界面;或者电子设备可以响应于第三输入显示电子设备的桌面(即,相当于自动关闭该目标应用程序,并显示电子设备的桌面)。Specifically, the electronic device may display the main interface of the target program in response to the third input (i.e., display the preset interface); or, the electronic device may display an exclamation mark icon (i.e., the preset icon) in response to the third input, and the icon is used to indicate the interface to which the electronic device will jump; or, the electronic device may display a preset animation in response to the third input, and the preset animation is used to indicate the interface to which the electronic device will jump; or, the electronic device may display the desktop of the electronic device in response to the third input (i.e., equivalent to automatically closing the target application and displaying the desktop of the electronic device).
可以理解的是,用户可以通过对第二提示消息的输入,触发电子设备显示预设内容,如此可以使得电子设备取消显示第二提示消息,并避免电子设备跳转页面时触发错误,从而提高删除部分数据后的目标应用程序运行的稳定性,提升用户的使用体验。It is understandable that the user can trigger the electronic device to display preset content by inputting the second prompt message, so that the electronic device can cancel the display of the second prompt message and avoid triggering errors when the electronic device jumps to the page, thereby improving the stability of the target application after deleting some data and enhancing the user experience.
可选的,本申请实施例中,第一输入为将目标应用程序的图标移动至回收站的输入。上述步骤102中的“获取目标应用程序中的目标数据”具体可以通过下述步骤102e实现。Optionally, in the embodiment of the present application, the first input is an input for moving the icon of the target application to the recycle bin. The "obtaining target data in the target application" in the above step 102 can be specifically implemented by the following step 102e.
步骤102e、电子设备解析目标应用程序的全部数据,并获取目标应用程序中的目标数据。Step 102e: The electronic device parses all data of the target application and obtains target data in the target application.
需要说明的是,上述步骤102e中的解析获取方式可以参考上述步骤102b中的相关描述,此处不再赘述。It should be noted that the parsing and obtaining method in the above step 102e can refer to the relevant description in the above step 102b, which will not be repeated here.
可以理解的是,由于电子设备可以解析目标应用程的全部数据,并从中获取能够用于接收服务器发送的第一信息的目标数据。从而为电子设备接收服务器发送的与该目标应用程序相关的信息(如,第一信息)提供方便,进而方便用户使用,提升用户使用目标应用程序的便捷性。It is understandable that, since the electronic device can parse all the data of the target application and obtain the target data that can be used to receive the first information sent by the server, it is convenient for the electronic device to receive the information (such as the first information) related to the target application sent by the server, thereby facilitating the user's use and improving the convenience of the user in using the target application.
需要说明的是,本申请实施例提供的数据删除方法,执行主体可以为数据删除装置,或者该数据删除装置中的用于执行数据删除方法的控制模块。本申请实施例中以数据删除装置执行数据删除方法为例,说明本申请实施例提供的装置。It should be noted that the data deletion method provided in the embodiment of the present application can be executed by a data deletion device or a control module in the data deletion device for executing the data deletion method. In the embodiment of the present application, the data deletion device executing the data deletion method is taken as an example to illustrate the device provided in the embodiment of the present application.
如图8所示,本申请实施例提供一种数据删除装置800。该数据删除装置800可以包括接收模块801,获取模块802和处理模块803。接收模块801,可以用于接收对目标应用程序的第一输入,该第一输入用于触发电子设备删除所述目标应用程序。获取模块802,可以用于响应于接收模块801接收的该第一输入,获取该目标应用程序中的目标数据,该目标数据用于接收第一信息,该第一信息为服务器对该目标应用程序发送的信息。处理模块803,可以用于删除该目标应用程序中除该目标数据之外的其他数据。As shown in Figure 8, an embodiment of the present application provides a data deletion device 800. The data deletion device 800 may include a receiving module 801, an acquisition module 802 and a processing module 803. The receiving module 801 can be used to receive a first input to a target application, and the first input is used to trigger an electronic device to delete the target application. The acquisition module 802 can be used to obtain target data in the target application in response to the first input received by the receiving module 801, and the target data is used to receive first information, and the first information is information sent by the server to the target application. The processing module 803 can be used to delete other data in the target application except the target data.
可选的,结合图8,如图9所示,数据删除装置800还包括显示模块804。接收模块801,还可以用于在删除目标应用程序中除目标数据之外的其他数据之后,根据该目标数据,接收第一信息。显示模块804,可以用于在该第一信息包括预设关键字的情况下,显示第一提示信息。处理模块803,还用于在该第一信息不包括预设关键字的情况下,过滤该第一信息。其中,该第一提示信息包括以下至少一项:指示该第一信息来源的信息,该第一信息的至少部分内容,该目标应用程序的下载信息或更新信息。Optionally, in combination with Figure 8, as shown in Figure 9, the data deletion device 800 also includes a display module 804. The receiving module 801 can also be used to receive first information based on the target data after deleting other data except the target data in the target application. The display module 804 can be used to display first prompt information when the first information includes preset keywords. The processing module 803 is also used to filter the first information when the first information does not include preset keywords. The first prompt information includes at least one of the following: information indicating the source of the first information, at least part of the content of the first information, download information or update information of the target application.
可选的,本申请实施例中,第一输入包括第一子输入和第二子输入。获取模块802,具体可以用于响应于接收模块接收的该第一子输入,显示至少一个功能标识,每个功能标识与目标应用程序中的一个功能的数据相对应,该第二子输入为对该至少一个功能标识中第一功能标识的输入,该第一功能标识指示该目标数据;并响应于该接收模块接收的该第二子输入,获取该目标数据。Optionally, in an embodiment of the present application, the first input includes a first sub-input and a second sub-input. The acquisition module 802 can be specifically used to display at least one function identifier in response to the first sub-input received by the receiving module, each function identifier corresponds to data of a function in the target application, the second sub-input is an input of the first function identifier in the at least one function identifier, and the first function identifier indicates the target data; and in response to the second sub-input received by the receiving module, the target data is acquired.
可选的,本申请实施例中,第一输入为将目标应用程序的图标移动至回收站的输入。获取模块802,具体用于解析目标应用程序的全部数据,并获取目标应用程序中的目标数据。Optionally, in the embodiment of the present application, the first input is an input for moving the icon of the target application to the recycle bin. The acquisition module 802 is specifically configured to parse all data of the target application and acquire target data in the target application.
可选的,如图9所示,本申请实施例中,接收模块801,还可以用于在显示模块804显示目标应用程序的第一界面的情况下,接收对该第一界面中的第二功能标识的第二输入。显示模块804,还用于响应于接收模块801接收的该第二输入,显示第二提示信息,该第二提示信息用于指示该第二功能标识指示的数据已删除。Optionally, as shown in FIG9 , in the embodiment of the present application, the receiving module 801 may also be used to receive a second input of a second function identifier in the first interface when the display module 804 displays the first interface of the target application. The display module 804 is also used to display a second prompt message in response to the second input received by the receiving module 801, and the second prompt message is used to indicate that the data indicated by the second function identifier has been deleted.
可选的,如图9所示,本申请实施例中,接收模块801,还可以用于接收对第二提示信息的第三输入。显示模块804,还可以用于响应于该第三输入,显示预设内容。Optionally, as shown in Fig. 9, in the embodiment of the present application, the receiving module 801 can also be used to receive a third input for the second prompt information. The display module 804 can also be used to display preset content in response to the third input.
可选的,本申请实施例中,处理模块803,具体可以用于从电子设备存储的目标应用程序的数据中,删除目标数据之外的其他数据;或者,从电子设备存储的目标应用程序的数据中复制目标数据,并删除该电子设备存储的该目标应用程序的全部数据。其中,目标数据包括:用户账户信息、用户设置信息和通信连接信息。Optionally, in the embodiment of the present application, the processing module 803 can be specifically used to delete other data other than the target data from the data of the target application stored in the electronic device; or to copy the target data from the data of the target application stored in the electronic device and delete all the data of the target application stored in the electronic device. The target data includes: user account information, user setting information and communication connection information.
本申请实施例中的数据删除装置可以是电子设备中执行数据删除方法的功能实体和/或功能模块,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personalcomputer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(network attached storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The data deletion device in the embodiment of the present application can be a functional entity and/or functional module that executes the data deletion method in an electronic device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device can be a server, a network attached storage (network attached storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
本申请实施例中的数据删除装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The data deletion device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
本申请实施例提供的数据删除装置能够实现图1至图9的方法实施例中数据删除装置实现的各个过程,为避免重复,这里不再赘述。The data deletion device provided in the embodiment of the present application can implement each process implemented by the data deletion device in the method embodiments of Figures 1 to 9. To avoid repetition, they are not described again here.
本申请实施例提供一种数据删除装置,由于在删除目标应用程序的数据时,能够保留接收该目标应用程序的信息接口的目标数据,因此,在删除目标应用程序之后,依然可以接收其他电子设备发送的关于该目标应用程序的数据。从而在优化电子设备存储空间的同时,电子设备无需重新下载该目标应用程序,就能接收服务器发送的与该目标应用程序相关的信息(如,第一信息),进而方便用户使用,提升用户使用目标应用程序的便捷性。The embodiment of the present application provides a data deletion device, which can retain the target data of the information interface receiving the target application when deleting the data of the target application. Therefore, after deleting the target application, the data about the target application sent by other electronic devices can still be received. Thus, while optimizing the storage space of the electronic device, the electronic device can receive the information related to the target application (such as the first information) sent by the server without re-downloading the target application, thereby facilitating the use of the user and improving the convenience of the user in using the target application.
可选的,如图10所示,本申请实施例还提供一种电子设备1000,包括处理器1001,存储器1002,存储在存储器1002上并可在所述处理器1001上运行的程序或指令,该程序或指令被处理器1001执行时实现上述数据删除方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in Figure 10, an embodiment of the present application also provides an electronic device 1000, including a processor 1001, a memory 1002, and a program or instruction stored in the memory 1002 and executable on the processor 1001. When the program or instruction is executed by the processor 1001, each process of the above-mentioned data deletion method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
图11为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 11 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备2000包括但不限于:射频单元2001、网络模块2002、音频输出单元2003、输入单元2004、传感器2005、显示单元2006、用户输入单元2007、接口单元2008、存储器2009、以及处理器2010等部件。The electronic device 2000 includes but is not limited to: a radio frequency unit 2001, a network module 2002, an audio output unit 2003, an input unit 2004, a sensor 2005, a display unit 2006, a user input unit 2007, an interface unit 2008, a memory 2009, and a processor 2010 and other components.
其中,输入单元2004可以包括图形处理器20041和麦克风20042,显示单元2006可以包括显示面板20061,用户输入单元2007可以包括触控面板20071以及其他输入设备20072,存储器2009可用于存储软件程序(如,操作系统、至少一个功能所需的应用程序)以及各种数据。Among them, the input unit 2004 may include a graphics processor 20041 and a microphone 20042, the display unit 2006 may include a display panel 20061, the user input unit 2007 may include a touch panel 20071 and other input devices 20072, and the memory 2009 may be used to store software programs (such as an operating system, an application required for at least one function) and various data.
本领域技术人员可以理解,电子设备2000还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器2010逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图11中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art will appreciate that the electronic device 2000 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 2010 through a power management system, so that the power management system can manage charging, discharging, and power consumption management. The electronic device structure shown in FIG11 does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown, or combine certain components, or arrange components differently, which will not be described in detail here.
其中,输入单元2004,可以用于接收对目标应用程序的第一输入,该第一输入用于触发电子设备删除所述目标应用程序。处理器2010,可以用于响应于输入单元2004接收的该第一输入,获取该目标应用程序中的目标数据,该目标数据用于接收第一信息,该第一信息为服务器对该目标应用程序发送的信息。处理器2010,还可以用于删除该目标应用程序中除该目标数据之外的其他数据。The input unit 2004 may be used to receive a first input to a target application, and the first input is used to trigger the electronic device to delete the target application. The processor 2010 may be used to obtain target data in the target application in response to the first input received by the input unit 2004, and the target data is used to receive first information, and the first information is information sent by the server to the target application. The processor 2010 may also be used to delete other data in the target application except the target data.
本申请实施例提供一种电子设备,由于在电子设备删除目标应用程序的数据时,能够保留接收该目标应用程序的信息接口的目标数据,因此,在删除目标应用程序之后,电子设备依然可以接收其他电子设备发送的关于该目标应用程序的数据。从而在优化电子设备存储空间的同时,电子设备无需重新下载该目标应用程序,就能接收服务器发送的与该目标应用程序相关的信息(如,第一信息),进而方便用户使用,提升用户使用目标应用程序的便捷性。The embodiment of the present application provides an electronic device, because when the electronic device deletes the data of the target application, the target data of the information interface receiving the target application can be retained, so after deleting the target application, the electronic device can still receive data about the target application sent by other electronic devices. Thus, while optimizing the storage space of the electronic device, the electronic device can receive information related to the target application (such as the first information) sent by the server without re-downloading the target application, thereby facilitating the use of the user and improving the convenience of the user in using the target application.
可选的输入单元2004,还可以用于在删除目标应用程序中除目标数据之外的其他数据之后,根据该目标数据,接收第一信息。显示单元2006,还用于在该第一信息不包括预设关键字的情况下,过滤该第一信息。其中,该第一提示信息包括以下至少一项:指示该第一信息来源的信息,该第一信息的至少部分内容,该目标应用程序的下载信息或更新信息。The optional input unit 2004 may also be used to receive first information according to the target data after deleting other data except the target data in the target application. The display unit 2006 may also be used to filter the first information when the first information does not include a preset keyword. The first prompt information may include at least one of the following: information indicating the source of the first information, at least part of the content of the first information, and download information or update information of the target application.
可以理解的是,电子设备在删除该目标程序中的大部分数据之后,还可以通过该目标应用程序的信息的接口接收其他电子设备发送的信息,并在该信息包括预设关键字的情况下,电子设备显示提示消息以提示用户。如此,用户无需重新下载安装目标应用程序也能选择性接收与该目标应用程序相关的信息(即通过预设关键词进行筛选信息),进而通过第一提示消息获知该消息的部分内容,并在需要的情况下用户有能通过该提示信息中的下载信息直接下载该目标应用程序。从而方便用户使用,提升用户的使用体验。It is understandable that after deleting most of the data in the target program, the electronic device can also receive information sent by other electronic devices through the interface of the target application's information, and when the information includes preset keywords, the electronic device displays a prompt message to prompt the user. In this way, the user can selectively receive information related to the target application without re-downloading and installing the target application (i.e., filtering information through preset keywords), and then learn part of the content of the message through the first prompt message, and when necessary, the user can directly download the target application through the download information in the prompt message. This makes it convenient for users to use and improves the user experience.
可选的,本申请实施例中,第一输入包括第一子输入和第二子输入。处理器2010,具体可以用于响应于接收模块接收的该第一子输入,显示至少一个功能标识,每个功能标识与目标应用程序中的一个功能的数据相对应,该第二子输入为对该至少一个功能标识中第一功能标识的输入,该第一功能标识指示该目标数据;并响应于该接收模块接收的该第二子输入,获取该目标数据。Optionally, in the embodiment of the present application, the first input includes a first sub-input and a second sub-input. The processor 2010 may be specifically configured to display at least one function identifier in response to the first sub-input received by the receiving module, each function identifier corresponding to data of a function in the target application, the second sub-input being an input of a first function identifier in the at least one function identifier, the first function identifier indicating the target data; and to obtain the target data in response to the second sub-input received by the receiving module.
可以理解的是,用户可以通过第一子输入触发电子设备显示至少一个功能标识,并可以通过第二子输入从该至少一个功能标识中选择用户需要的第一功能标识,触发电子设备获取该第一功能标识对应的目标数据。如此,用户可以根据实际使用需求,灵活选择需要保留的功能标识对应的目标数据,电子设备可以在电子设备对该目标应用程序进行部分删除之后,依然可以使用该目标数据对应的功能,从而用户可以选择性保留一部分数据(即目标数据)以实现该目标应用程序的部分功能,而又可以删除用户不需要的数据以节约电子设备的存储空间。进而提升用户使用目标应用程序的灵活性。It is understandable that the user can trigger the electronic device to display at least one function identifier through the first sub-input, and can select the first function identifier required by the user from the at least one function identifier through the second sub-input, triggering the electronic device to obtain the target data corresponding to the first function identifier. In this way, the user can flexibly select the target data corresponding to the function identifier that needs to be retained according to actual usage needs, and the electronic device can still use the function corresponding to the target data after the electronic device partially deletes the target application, so that the user can selectively retain a part of the data (i.e., the target data) to implement some functions of the target application, and can delete the data that the user does not need to save the storage space of the electronic device. This will enhance the flexibility of the user in using the target application.
可选的,本申请实施例中,第一输入为将目标应用程序的图标移动至回收站的输入。处理器2010,具体用于解析目标应用程序的全部数据,并获取目标应用程序中的目标数据。Optionally, in the embodiment of the present application, the first input is an input for moving the icon of the target application to the recycle bin. The processor 2010 is specifically configured to parse all data of the target application and obtain target data in the target application.
可以理解的是,由于电子设备可以解析目标应用程的全部数据,并从中获取能够用于接收服务器发送的第一信息的目标数据。从而为电子设备接收服务器发送的与该目标应用程序相关的信息(如,第一信息)提供方便,进而方便用户使用,提升用户使用目标应用程序的便捷性。It is understandable that, since the electronic device can parse all the data of the target application and obtain the target data that can be used to receive the first information sent by the server, it is convenient for the electronic device to receive the information (such as the first information) related to the target application sent by the server, thereby facilitating the user's use and improving the convenience of the user in using the target application.
可选的,本申请实施例中,输入单元2004,还可以用于在显示单元2006显示目标应用程序的第一界面的情况下,接收对该第一界面中的第二功能标识的第二输入。显示单元2006,还用于响应于输入单元2004接收的该第二输入,显示第二提示信息,该第二提示信息用于指示该第二功能标识指示的数据已删除。Optionally, in the embodiment of the present application, the input unit 2004 may also be used to receive a second input for a second function identifier in the first interface when the display unit 2006 displays the first interface of the target application. The display unit 2006 is further used to display a second prompt message in response to the second input received by the input unit 2004, and the second prompt message is used to indicate that the data indicated by the second function identifier has been deleted.
可选的,本申请实施例中,输入单元2004,还可以用于接收对第二提示信息的第三输入。显示单元2006,还可以用于响应于该第三输入,显示预设内容。Optionally, in the embodiment of the present application, the input unit 2004 may also be used to receive a third input for the second prompt information. The display unit 2006 may also be used to display preset content in response to the third input.
可以理解的是,用户可以通过对第二提示消息的输入,触发电子设备显示预设内容,如此可以使得电子设备取消显示第二提示消息,并避免电子设备跳转页面时触发错误,从而提高删除部分数据后的目标应用程序运行的稳定性,提升用户的使用体验。It is understandable that the user can trigger the electronic device to display preset content by inputting the second prompt message, so that the electronic device can cancel the display of the second prompt message and avoid triggering errors when the electronic device jumps to the page, thereby improving the stability of the target application after deleting some data and enhancing the user experience.
可选的,本申请实施例中,处理器2010,具体可以用于从电子设备存储的目标应用程序的数据中,删除目标数据之外的其他数据;或者,从电子设备存储的目标应用程序的数据中复制目标数据,并删除该电子设备存储的该目标应用程序的全部数据。其中,目标数据包括:用户账户信息、用户设置信息和通信连接信息。Optionally, in the embodiment of the present application, the processor 2010 may be specifically configured to delete other data other than the target data from the data of the target application stored in the electronic device; or to copy the target data from the data of the target application stored in the electronic device and delete all the data of the target application stored in the electronic device. The target data includes: user account information, user setting information, and communication connection information.
本申请实施例还提供一种可读存储介质,该可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述数据删除方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned data deletion method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
其中,该处理器为上述实施例中的电子设备中的处理器。该可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
本申请实施例另提供了一种芯片,该芯片包括处理器和通信接口,该通信接口和该处理器耦合,该处理器用于运行程序或指令,实现上述数据删除方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned data deletion method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this article, the terms "comprise", "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 includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises one..." does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010888626.6ACN111966367B (en) | 2020-08-28 | 2020-08-28 | Data deletion method, device and electronic equipment |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010888626.6ACN111966367B (en) | 2020-08-28 | 2020-08-28 | Data deletion method, device and electronic equipment |
| Publication Number | Publication Date |
|---|---|
| CN111966367A CN111966367A (en) | 2020-11-20 |
| CN111966367Btrue CN111966367B (en) | 2024-05-14 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010888626.6AActiveCN111966367B (en) | 2020-08-28 | 2020-08-28 | Data deletion method, device and electronic equipment |
| Country | Link |
|---|---|
| CN (1) | CN111966367B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113885953A (en)* | 2021-09-17 | 2022-01-04 | 北京梧桐车联科技有限责任公司 | Application data processing method, device, device and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105718272A (en)* | 2016-02-22 | 2016-06-29 | 青岛海信移动通信技术股份有限公司 | Method for restoring factory settings of terminal and terminal |
| CN106227848A (en)* | 2016-07-27 | 2016-12-14 | 北京小米移动软件有限公司 | The display packing of notification message, device and terminal |
| CN106487657A (en)* | 2016-10-18 | 2017-03-08 | 江西博瑞彤芸科技有限公司 | Applicative notifications and the method for the unified display of short message |
| CN107450949A (en)* | 2017-07-31 | 2017-12-08 | 青岛海信移动通信技术股份有限公司 | Discharging method and device based on expanded function in application program |
| CN107656743A (en)* | 2017-09-28 | 2018-02-02 | 努比亚技术有限公司 | A kind of discharging method of application, terminal and readable storage medium storing program for executing |
| CN108009034A (en)* | 2017-12-27 | 2018-05-08 | 掌阅科技股份有限公司 | Notification Method, server, electronic equipment and the storage medium of application message |
| CN108780482A (en)* | 2017-06-06 | 2018-11-09 | 华为技术有限公司 | Method and apparatus for managing applications in a security device |
| CN111338703A (en)* | 2018-12-18 | 2020-06-26 | 中兴通讯股份有限公司 | Processing method, device, storage medium and electronic device applied in terminal |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105718272A (en)* | 2016-02-22 | 2016-06-29 | 青岛海信移动通信技术股份有限公司 | Method for restoring factory settings of terminal and terminal |
| CN106227848A (en)* | 2016-07-27 | 2016-12-14 | 北京小米移动软件有限公司 | The display packing of notification message, device and terminal |
| CN106487657A (en)* | 2016-10-18 | 2017-03-08 | 江西博瑞彤芸科技有限公司 | Applicative notifications and the method for the unified display of short message |
| CN108780482A (en)* | 2017-06-06 | 2018-11-09 | 华为技术有限公司 | Method and apparatus for managing applications in a security device |
| CN107450949A (en)* | 2017-07-31 | 2017-12-08 | 青岛海信移动通信技术股份有限公司 | Discharging method and device based on expanded function in application program |
| CN107656743A (en)* | 2017-09-28 | 2018-02-02 | 努比亚技术有限公司 | A kind of discharging method of application, terminal and readable storage medium storing program for executing |
| CN108009034A (en)* | 2017-12-27 | 2018-05-08 | 掌阅科技股份有限公司 | Notification Method, server, electronic equipment and the storage medium of application message |
| CN111338703A (en)* | 2018-12-18 | 2020-06-26 | 中兴通讯股份有限公司 | Processing method, device, storage medium and electronic device applied in terminal |
| Publication number | Publication date |
|---|---|
| CN111966367A (en) | 2020-11-20 |
| Publication | Publication Date | Title |
|---|---|---|
| US20240402977A1 (en) | Desktop sharing method and mobile terminal | |
| CN112765104B (en) | File storage method, device, equipment and storage medium | |
| CN112399006B (en) | File sending method and device and electronic equipment | |
| CN105512294A (en) | Multi-media file update prompting method and device | |
| CN108733797A (en) | Document handling method and relevant apparatus | |
| CN106126244A (en) | A kind of document processing method and device | |
| CN112286554B (en) | Application program updating method, device, electronic equipment and readable storage medium | |
| CN108427598A (en) | Message treatment method, device, terminal and storage medium | |
| CN112988663B (en) | File storage method and electronic device | |
| CN112948844B (en) | Control method, device and electronic equipment | |
| CN111966367B (en) | Data deletion method, device and electronic equipment | |
| CN113282546B (en) | File processing method and device | |
| CN106936979A (en) | The method and apparatus of destruction operation | |
| WO2022156663A1 (en) | Application program management method and apparatus, and electronic device | |
| CN110874173B (en) | A method and related device for operating services in a service distribution platform | |
| CN113220325B (en) | Program processing method, device, electronic device and readable storage medium | |
| WO2017096889A1 (en) | Method and device for upgrading and downgrading system | |
| CN113282435B (en) | Applied exception handling method and electronic device | |
| CN112578961B (en) | Application identification display method and device | |
| CN112416204B (en) | Application management method and device, electronic equipment and readable storage medium | |
| WO2022171058A1 (en) | Application program processing method and apparatus, and electronic device | |
| CN114490323A (en) | Test method, device and electronic equipment for terminal equipment | |
| CN112578966B (en) | Application program switching method and device and electronic equipment | |
| CN112506594A (en) | Application icon display method and device | |
| CN112732363B (en) | Method, device and electronic device for opening H5 page |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |