技术领域technical field
本发明涉及信息处理技术,尤其涉及一种信息处理方法及电子设备。The present invention relates to information processing technology, in particular to an information processing method and electronic equipment.
背景技术Background technique
用户通过手机、平板电脑等电子设备安装应用时,出于保护隐私和安全的考虑,需要将一些应用,例如支付宝的图标从桌面上隐藏起来。目前的电子设备具有隐藏应用桌面图标的功能,但是,该功能没有受到密码保护,安装的应用还是很容易被其他用户看到。即使该功能受到密码保护,但是透过第三方应用,如快装商店也可以查看并运行已隐藏的应用,用户的隐私还是暴露无余。When users install applications through electronic devices such as mobile phones and tablet computers, some applications, such as Alipay icons, need to be hidden from the desktop for the sake of privacy and security. Current electronic devices have the function of hiding application desktop icons, but this function is not protected by a password, and installed applications are still easily seen by other users. Even if this function is protected by a password, the hidden apps can be viewed and run through third-party apps, such as the quick install store, and the user's privacy is still exposed.
发明内容Contents of the invention
为解决上述技术问题,本发明实施例提供了一种信息处理方法及电子设备。To solve the above technical problems, embodiments of the present invention provide an information processing method and electronic equipment.
本发明实施例提供的信息处理方法应用于具有显示单元的电子设备中,所述电子设备能够运行第一应用以及N个第二应用,N为正整数;所述第一应用以及N个第二应用对应的目标对象能在所述显示单元上显示,当通过所述第一应用的目标对象启动所述第一应用时,所述第一应用能在所述显示单元上显示一应用管理界面,所述应用管理界面上显示有N个第二应用对应的标识;所述信息处理方法包括:The information processing method provided by the embodiment of the present invention is applied to an electronic device with a display unit, and the electronic device can run a first application and N second applications, where N is a positive integer; the first application and the N second applications The target object corresponding to the application can be displayed on the display unit, and when the first application is started through the target object of the first application, the first application can display an application management interface on the display unit, The application management interface displays N identifications corresponding to the second application; the information processing method includes:
获得第一操作,所述第一操作用于在所述N个第二应用对应的标识中选择其中M个第二应用对应的标识,M为小于等于N的正整数;Obtaining a first operation, the first operation is used to select the identifiers corresponding to the M second applications among the identifiers corresponding to the N second applications, where M is a positive integer less than or equal to N;
响应所述第一操作,将所述M个第二应用的显示状态由第一显示状态切换至第二显示状态,并且,监测所述第一应用是否接收到来自所述第一应用以外的其他应用访问所述M个第二应用的相关进程,得到监测结果;In response to the first operation, switch the display states of the M second applications from the first display state to the second display state, and monitor whether the first application receives a message from another application other than the first application. The application accesses related processes of the M second applications to obtain monitoring results;
当所述监测结果表明所述第一应用接收到来自所述第一应用以外的其他应用访问所述M个第二应用的相关进程时,拦截访问所述M个第二应用的相关进程。When the monitoring result indicates that the first application receives access to the related processes of the M second applications from other applications other than the first application, intercepting the related processes of accessing the M second applications.
本发明实施例提供的电子设备具有显示单元,所述电子设备能够运行第一应用以及N个第二应用,N为正整数;所述第一应用以及N个第二应用对应的目标对象能在所述显示单元上显示,当通过所述第一应用的目标对象启动所述第一应用时,所述第一应用能在所述显示单元上显示一应用管理界面,所述应用管理界面上显示有N个第二应用对应的标识;所述电子设备包括:The electronic device provided by the embodiment of the present invention has a display unit, and the electronic device can run a first application and N second applications, where N is a positive integer; the target objects corresponding to the first application and the N second applications can be displayed in It is displayed on the display unit that when the first application is started by the target object of the first application, the first application can display an application management interface on the display unit, and the application management interface displays There are N identifications corresponding to the second application; the electronic device includes:
第一获取单元,用于获得第一操作,所述第一操作用于在所述N个第二应用对应的标识中选择其中M个第二应用对应的标识,M为小于等于N的正整数;The first obtaining unit is configured to obtain a first operation, the first operation is used to select the identifiers corresponding to the M second applications among the identifiers corresponding to the N second applications, and M is a positive integer less than or equal to N ;
第一响应单元,用于响应所述第一操作,将所述M个第二应用的显示状态由第一显示状态切换至第二显示状态,并且,监测所述第一应用是否接收到来自所述第一应用以外的其他应用访问所述M个第二应用的相关进程,得到监测结果;The first response unit is configured to switch the display states of the M second applications from the first display state to the second display state in response to the first operation, and monitor whether the first application receives messages from the M second applications. An application other than the first application accesses the relevant processes of the M second applications, and obtains a monitoring result;
处理单元,用于当所述监测结果表明所述第一应用接收到来自所述第一应用以外的其他应用访问所述M个第二应用的相关进程时,拦截访问所述M个第二应用的相关进程。A processing unit, configured to intercept access to the M second applications when the monitoring result indicates that the first application receives access to the M second applications from other applications other than the first application. related processes.
本发明实施例提供的技术方案中,电子设备安装的第一应用具有隐藏第二应用的功能,且通过除第一应用以外的其他应用无法访问第一应用所隐藏的第二应用,具体地,当通过所述第一应用的目标对象启动所述第一应用时,所述第一应用能在所述显示单元上显示一应用管理界面,所述应用管理界面上显示有N个第二应用对应的标识;获得用户触发的第一操作,第一操作用于在所述N个第二应用对应的标识中选择其中M个第二应用对应的标识,M为小于等于N的正整数;电子设备响应第一操作,将所述M个第二应用的显示状态由第一显示状态切换至第二显示状态,并且,监测所述第一应用是否接收到来自所述第一应用以外的其他应用访问所述M个第二应用的相关进程,得到监测结果;当所述监测结果表明所述第一应用接收到来自所述第一应用以外的其他应用访问所述M个第二应用的相关进程时,拦截访问所述M个第二应用的相关进程。如此,通过具有根(root)权限的第一应用实现了应用隐藏功能,并且该第一应用具有拦截访问隐藏应用的功能,实现了隐藏应用的安全性,提升了用户的体验。In the technical solution provided by the embodiment of the present invention, the first application installed on the electronic device has the function of hiding the second application, and other applications other than the first application cannot access the second application hidden by the first application. Specifically, When the first application is started by the target object of the first application, the first application can display an application management interface on the display unit, and the application management interface displays N corresponding to the second application. the identification; obtain the first operation triggered by the user, the first operation is used to select the identification corresponding to the M second application among the identifications corresponding to the N second applications, and M is a positive integer less than or equal to N; the electronic device In response to the first operation, switch the display states of the M second applications from the first display state to the second display state, and monitor whether the first application receives access from other applications other than the first application The relevant processes of the M second applications are obtained from monitoring results; when the monitoring results indicate that the first application receives access to the relevant processes of the M second applications from applications other than the first application , intercepting related processes that access the M second applications. In this way, the application hiding function is realized through the first application with root (root) authority, and the first application has the function of intercepting access to the hidden application, thereby realizing the security of the hidden application and improving user experience.
附图说明Description of drawings
图1为本发明实施例一的信息处理方法的流程示意图;FIG. 1 is a schematic flowchart of an information processing method according to Embodiment 1 of the present invention;
图2为本发明实施例二的信息处理方法的流程示意图;FIG. 2 is a schematic flowchart of an information processing method according to Embodiment 2 of the present invention;
图3为本发明实施例三的信息处理方法的流程示意图;FIG. 3 is a schematic flowchart of an information processing method according to Embodiment 3 of the present invention;
图4为本发明实施例四的信息处理方法的流程示意图;FIG. 4 is a schematic flowchart of an information processing method according to Embodiment 4 of the present invention;
图5为本发明实施例一的电子设备的结构组成示意图;5 is a schematic diagram of the structure and composition of an electronic device according to Embodiment 1 of the present invention;
图6为本发明实施例二的电子设备的结构组成示意图;6 is a schematic diagram of the structure and composition of an electronic device according to Embodiment 2 of the present invention;
图7为本发明实施例三的电子设备的结构组成示意图;7 is a schematic diagram of the structure and composition of an electronic device according to Embodiment 3 of the present invention;
图8为本发明实施例四的电子设备的结构组成示意图。FIG. 8 is a schematic diagram of the structure and composition of an electronic device according to Embodiment 4 of the present invention.
具体实施方式Detailed ways
为了能够更加详尽地了解本发明实施例的特点与技术内容,下面结合附图对本发明实施例的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本发明实施例。In order to understand the characteristics and technical contents of the embodiments of the present invention in more detail, the implementation of the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. The attached drawings are only for reference and description, and are not intended to limit the embodiments of the present invention.
图1为本发明实施例一的信息处理方法的流程示意图,本示例中的信息处理方法应用于具有显示单元的电子设备中,所述电子设备能够运行第一应用以及N个第二应用,N为正整数;所述第一应用以及N个第二应用对应的目标对象能在所述显示单元上显示,当通过所述第一应用的目标对象启动所述第一应用时,所述第一应用能在所述显示单元上显示一应用管理界面,所述应用管理界面上显示有N个第二应用对应的标识;如图1所示,所述信息处理方法包括以下步骤:FIG. 1 is a schematic flowchart of an information processing method according to Embodiment 1 of the present invention. The information processing method in this example is applied to an electronic device with a display unit, and the electronic device is capable of running a first application and N second applications, N is a positive integer; the target objects corresponding to the first application and the N second applications can be displayed on the display unit, and when the first application is started through the target object of the first application, the first The application can display an application management interface on the display unit, and the application management interface displays N identifications corresponding to the second application; as shown in Figure 1, the information processing method includes the following steps:
步骤101:获得第一操作。Step 101: Obtain the first operation.
这里,所述第一操作用于在所述N个第二应用对应的标识中选择其中M个第二应用对应的标识,M为小于等于N的正整数。Here, the first operation is used to select identifiers corresponding to M second applications among the identifiers corresponding to the N second applications, where M is a positive integer less than or equal to N.
本发明实施例中,所述电子设备可以是手机、平板电脑等电子设备,该电子设备具有安卓(Android)系统,电子设备能够运行的第一应用是具有root权限的应用,例如乐安全。这里,第一应用在电子设备出厂时已安装,并且,第一应用具有代码注入功能,即可通过在第一应用上编写新的代码以实现新的功能。本发明实施例中,通过第一应用的代码注入功能将隐藏功能植入至第一应用中,具体地,当通过第一应用的目标对象启动所述第一应用时,所述第一应用能在所述显示单元上显示一应用管理界面,所述应用管理界面上显示有N个第二应用对应的标识;用户可以在该管理界面中选择M个第二应用对应的标识,以触发第一操作。这里,第一应用以及第二应用对应的目标对象以图标形式显示在电子设备的桌面上;第二应用对应的标识可以是第二应用的对应的图标,也可以是第二应用对应的图标的缩略图,还可以是表征第二应用的汉字/字母/符号的任意字符串。第一应用的管理界面中显示有第二应用对应的标识,用户可以从所显示的N个第二应用对应的标识中选择其中M个第二应用对应的标识,以触发第一操作。In the embodiment of the present invention, the electronic device may be an electronic device such as a mobile phone or a tablet computer. The electronic device has an Android (Android) system, and the first application that the electronic device can run is an application with root authority, such as Le Security. Here, the first application has been installed when the electronic device leaves the factory, and the first application has a code injection function, that is, new functions can be realized by writing new codes on the first application. In the embodiment of the present invention, the hidden function is implanted into the first application through the code injection function of the first application. Specifically, when the first application is started by the target object of the first application, the first application can An application management interface is displayed on the display unit, the application management interface displays N identifications corresponding to the second applications; the user can select M identifications corresponding to the second applications in the management interface to trigger the first operate. Here, the target object corresponding to the first application and the second application is displayed on the desktop of the electronic device in the form of an icon; the identification corresponding to the second application may be the corresponding icon of the second application, or may be the The thumbnail can also be any character string of Chinese characters/letters/symbols representing the second application. The management interface of the first application displays identifiers corresponding to the second applications, and the user may select M identifiers corresponding to the second applications from the displayed N identifiers corresponding to the second applications to trigger the first operation.
这里,第一操作可以通过但不限以下形式实现:单击操作、双击操作、手势操作、滑动操作。Here, the first operation may be implemented through but not limited to the following forms: single-click operation, double-tap operation, gesture operation, and slide operation.
步骤102:响应所述第一操作,将所述M个第二应用的显示状态由第一显示状态切换至第二显示状态,并且,监测所述第一应用是否接收到来自所述第一应用以外的其他应用访问所述M个第二应用的相关进程,得到监测结果。Step 102: In response to the first operation, switch the display states of the M second applications from the first display state to the second display state, and monitor whether the first application receives a message from the first application Other applications other than access the relevant processes of the M second applications to obtain monitoring results.
本发明实施例中,当用户触发第一操作时,电子设备响应该第一操作,并将M个第二应用的显示状态由第一显示状态切换至第二显示状态。In the embodiment of the present invention, when the user triggers the first operation, the electronic device responds to the first operation, and switches the display states of the M second applications from the first display state to the second display state.
这里,所述第一显示状态为显示,所述第二显示状态为隐藏。Here, the first display state is displayed, and the second display state is hidden.
具体地,将用户选中的M个第二应用由显示状态切换至隐藏状态,如此,通过第一应用实现了隐藏第二应用的功能,并且,当第二应用处于隐藏状态时,电子设备实时监测第一应用是否接收到来自所述第一应用以外的其他应用访问所隐藏的第二应用的相关进程。这里,当通过第三方应用,例如快装类应用查看电子设备中已安装的应用时,由于已隐藏的第二应用也属于已安装的应用,因此会发起与隐藏的第二应用的相关进程实现查看,电子设备将监测到第一应用接收到来自第三方应用访问已隐藏的第二应用的相关进程,并执行如下步骤103。Specifically, the M second applications selected by the user are switched from the display state to the hidden state, so that the function of hiding the second application is realized through the first application, and when the second application is in the hidden state, the electronic device monitors in real time Whether the first application receives access to the hidden related process of the second application from other applications other than the first application. Here, when viewing the installed applications in the electronic device through a third-party application, such as a quick-install application, since the hidden second application is also an installed application, a process related to the hidden second application will be initiated to achieve Viewing, the electronic device will monitor that the first application has received access from a third-party application to a process related to the hidden second application, and will perform the following step 103 .
步骤103:当所述监测结果表明所述第一应用接收到来自所述第一应用以外的其他应用访问所述M个第二应用的相关进程时,拦截访问所述M个第二应用的相关进程。Step 103: When the monitoring result indicates that the first application receives related processes accessing the M second applications from applications other than the first application, intercept the related processes accessing the M second applications. process.
本发明实施例中,通过第一应用的代码注入功能将隐藏功能植入至第一应用中,并且,由于第一应用具有root权限,可以设置拦截功能,将除第一应用以外的其他应用访问隐藏的第二应用的相关进行拦截,保障了已隐藏的第二应用的安全性。In the embodiment of the present invention, the hidden function is implanted into the first application through the code injection function of the first application, and since the first application has root authority, an interception function can be set to allow other applications except the first application to access The hidden second application is intercepted to ensure the security of the hidden second application.
图2为本发明实施例二的信息处理方法的流程示意图,本示例中的信息处理方法应用于具有显示单元的电子设备中,所述电子设备能够运行第一应用以及N个第二应用,N为正整数;所述第一应用以及N个第二应用对应的目标对象能在所述显示单元上显示,当通过所述第一应用的目标对象启动所述第一应用时,所述第一应用能在所述显示单元上显示一应用管理界面,所述应用管理界面上显示有N个第二应用对应的标识;如图2所示,所述信息处理方法包括以下步骤:2 is a schematic flow diagram of an information processing method in Embodiment 2 of the present invention. The information processing method in this example is applied to an electronic device with a display unit, and the electronic device is capable of running a first application and N second applications, N is a positive integer; the target objects corresponding to the first application and the N second applications can be displayed on the display unit, and when the first application is started through the target object of the first application, the first The application can display an application management interface on the display unit, and the application management interface displays N identifications corresponding to the second application; as shown in Figure 2, the information processing method includes the following steps:
步骤201:获得第一操作。Step 201: Obtain the first operation.
这里,所述第一操作用于在所述N个第二应用对应的标识中选择其中M个第二应用对应的标识,M为小于等于N的正整数。Here, the first operation is used to select identifiers corresponding to M second applications among the identifiers corresponding to the N second applications, where M is a positive integer less than or equal to N.
本发明实施例中,所述电子设备可以是手机、平板电脑等电子设备,该电子设备具有Android系统,电子设备能够运行的第一应用是具有root权限的应用,例如乐安全。这里,第一应用在电子设备出厂时已安装,并且,第一应用具有代码注入功能,即可通过在第一应用上编写新的代码以实现新的功能。本发明实施例中,通过第一应用的代码注入功能将隐藏功能植入至第一应用中,具体地,当通过第一应用的目标对象启动所述第一应用时,所述第一应用能在所述显示单元上显示一应用管理界面,所述应用管理界面上显示有N个第二应用对应的标识;用户可以在该管理界面中选择M个第二应用对应的标识,以触发第一操作。这里,第一应用以及第二应用对应的目标对象以图标形式显示在电子设备的桌面上;第二应用对应的标识可以是第二应用的对应的图标,也可以是第二应用对应的图标的缩略图,还可以是表征第二应用的汉字/字母/符号的任意字符串。第一应用的管理界面中显示有第二应用对应的标识,用户可以从所显示的N个第二应用对应的标识中选择其中M个第二应用对应的标识,以触发第一操作。In the embodiment of the present invention, the electronic device may be a mobile phone, a tablet computer and other electronic devices, the electronic device has an Android system, and the first application that the electronic device can run is an application with root authority, such as Lesafe. Here, the first application has been installed when the electronic device leaves the factory, and the first application has a code injection function, that is, new functions can be realized by writing new codes on the first application. In the embodiment of the present invention, the hidden function is implanted into the first application through the code injection function of the first application. Specifically, when the first application is started by the target object of the first application, the first application can An application management interface is displayed on the display unit, the application management interface displays N identifications corresponding to the second applications; the user can select M identifications corresponding to the second applications in the management interface to trigger the first operate. Here, the target object corresponding to the first application and the second application is displayed on the desktop of the electronic device in the form of an icon; the identification corresponding to the second application may be the corresponding icon of the second application, or may be the The thumbnail can also be any character string of Chinese characters/letters/symbols representing the second application. The management interface of the first application displays identifiers corresponding to the second applications, and the user may select M identifiers corresponding to the second applications from the displayed N identifiers corresponding to the second applications to trigger the first operation.
这里,第一操作可以通过但不限以下形式实现:单击操作、双击操作、手势操作、滑动操作。Here, the first operation may be implemented through but not limited to the following forms: single-click operation, double-tap operation, gesture operation, and slide operation.
步骤202:响应所述第一操作,将所述M个第二应用的显示状态由第一显示状态切换至第二显示状态;执行步骤203以及步骤205。Step 202: In response to the first operation, switch the display states of the M second applications from the first display state to the second display state; and execute steps 203 and 205.
步骤203:监测所述第一应用是否接收到来自所述第一应用以外的其他应用访问所述M个第二应用的相关进程,得到监测结果。Step 203: Monitor whether the first application receives related processes of accessing the M second applications from applications other than the first application, and obtain a monitoring result.
本发明实施例中,当用户触发第一操作时,电子设备响应该第一操作,并将M个第二应用的显示状态由第一显示状态切换至第二显示状态。In the embodiment of the present invention, when the user triggers the first operation, the electronic device responds to the first operation, and switches the display states of the M second applications from the first display state to the second display state.
这里,所述第一显示状态为显示,所述第二显示状态为隐藏。Here, the first display state is displayed, and the second display state is hidden.
具体地,将用户选中的M个第二应用由显示状态切换至隐藏状态,如此,通过第一应用实现了隐藏第二应用的功能,并且,当第二应用处于隐藏状态时,电子设备实时监测第一应用是否接收到来自所述第一应用以外的其他应用访问所隐藏的第二应用的相关进程。这里,当通过第三方应用,例如快装类应用查看电子设备中已安装的应用时,由于已隐藏的第二应用也属于已安装的应用,因此会发起与隐藏的第二应用的相关进程实现查看,电子设备将监测到第一应用接收到来自第三方应用访问已隐藏的第二应用的相关进程,并执行如下步骤204。Specifically, the M second applications selected by the user are switched from the display state to the hidden state, so that the function of hiding the second application is realized through the first application, and when the second application is in the hidden state, the electronic device monitors in real time Whether the first application receives access to the hidden related process of the second application from other applications other than the first application. Here, when viewing the installed applications in the electronic device through a third-party application, such as a quick-install application, since the hidden second application is also an installed application, a process related to the hidden second application will be initiated to achieve Check, the electronic device will monitor that the first application has received access from a third-party application to the hidden second application's related process, and execute the following step 204 .
步骤204:当所述监测结果表明所述第一应用接收到来自所述第一应用以外的其他应用访问所述M个第二应用的相关进程时,拦截访问所述M个第二应用的相关进程;结束本流程。Step 204: When the monitoring result shows that the first application receives related processes accessing the M second applications from applications other than the first application, intercept the related processes accessing the M second applications. Process; end this process.
承接步骤203,当电子设备将监测到第一应用接收到来自第三方应用访问已隐藏的第二应用的相关进程时,拦截访问已隐藏的第二应用的相关进程,如此,通过第三方应用查看不到已隐藏的第二应用。Following step 203, when the electronic device detects that the first application has received the related process of accessing the hidden second application from the third-party application, intercept the related process of accessing the hidden second application, so that the third-party application can view Cannot reach the hidden second application.
步骤205:当所述M个第二应用的显示状态由第一显示状态切换至第二显示状态时,在所述显示单元上显示密码设置提示信息。Step 205: When the display states of the M second applications are switched from the first display state to the second display state, display password setting prompt information on the display unit.
本发明实施例中,通过启动第一应用所显示的管理界面隐藏M个第二应用时,第一应用提供了密码设置功能,如此,当用户重新开启第一应用时,需要先输入所设置的密码,才能够打开第一应用以显示管理界面,进而显示哪些第二应用被隐藏,以及对被隐藏的第二应用进行操作。具体地,显示单元上显示有密码设置提示信息,例如:请设置显示密码!In the embodiment of the present invention, when the management interface displayed by the first application is started to hide M second applications, the first application provides a password setting function, so that when the user reopens the first application, the user needs to first input the set password. Only when the password is used, can the first application be opened to display the management interface, and then which second applications are hidden, and the hidden second applications can be operated. Specifically, a password setting prompt message is displayed on the display unit, for example: Please set a display password!
步骤206:获得基于所述密码设置提示信息的第二操作。Step 206: Obtain a second operation based on the password setting prompt information.
用户看到密码设置提示信息后,在特定的光标处设置密码。这里,第二操作为设置密码的操作。After the user sees the password setting prompt information, set the password at the specific cursor. Here, the second operation is an operation of setting a password.
步骤207:响应所述第二操作,设置所述M个第二应用的显示密码。Step 207: In response to the second operation, set display passwords of the M second applications.
本发明实施例中,通过第一应用的代码注入功能将隐藏功能植入至第一应用中,并且,由于第一应用具有root权限,可以设置拦截功能,将除第一应用以外的其他应用访问隐藏的第二应用的相关进行拦截,保障了已隐藏的第二应用的安全性。In the embodiment of the present invention, the hidden function is implanted into the first application through the code injection function of the first application, and since the first application has root authority, an interception function can be set to allow other applications except the first application to access The hidden second application is intercepted to ensure the security of the hidden second application.
图3为本发明实施例三的信息处理方法的流程示意图,本示例中的信息处理方法应用于具有显示单元的电子设备中,所述电子设备能够运行第一应用以及N个第二应用,N为正整数;所述第一应用以及N个第二应用对应的目标对象能在所述显示单元上显示,当通过所述第一应用的目标对象启动所述第一应用时,所述第一应用能在所述显示单元上显示一应用管理界面,所述应用管理界面上显示有N个第二应用对应的标识;如图3所示,所述信息处理方法包括以下步骤:3 is a schematic flow chart of an information processing method according to Embodiment 3 of the present invention. The information processing method in this example is applied to an electronic device with a display unit, and the electronic device is capable of running a first application and N second applications, N is a positive integer; the target objects corresponding to the first application and the N second applications can be displayed on the display unit, and when the first application is started through the target object of the first application, the first The application can display an application management interface on the display unit, and the application management interface displays N identifications corresponding to the second application; as shown in Figure 3, the information processing method includes the following steps:
步骤301:获得第一操作。Step 301: Obtain the first operation.
这里,所述第一操作用于在所述N个第二应用对应的标识中选择其中M个第二应用对应的标识,M为小于等于N的正整数。Here, the first operation is used to select identifiers corresponding to M second applications among the identifiers corresponding to the N second applications, where M is a positive integer less than or equal to N.
本发明实施例中,所述电子设备可以是手机、平板电脑等电子设备,该电子设备具有Android系统,电子设备能够运行的第一应用是具有root权限的应用,例如乐安全。这里,第一应用在电子设备出厂时已安装,并且,第一应用具有代码注入功能,即可通过在第一应用上编写新的代码以实现新的功能。本发明实施例中,通过第一应用的代码注入功能将隐藏功能植入至第一应用中,具体地,当通过第一应用的目标对象启动所述第一应用时,所述第一应用能在所述显示单元上显示一应用管理界面,所述应用管理界面上显示有N个第二应用对应的标识;用户可以在该管理界面中选择M个第二应用对应的标识,以触发第一操作。这里,第一应用以及第二应用对应的目标对象以图标形式显示在电子设备的桌面上;第二应用对应的标识可以是第二应用的对应的图标,也可以是第二应用对应的图标的缩略图,还可以是表征第二应用的汉字/字母/符号的任意字符串。第一应用的管理界面中显示有第二应用对应的标识,用户可以从所显示的N个第二应用对应的标识中选择其中M个第二应用对应的标识,以触发第一操作。In the embodiment of the present invention, the electronic device may be a mobile phone, a tablet computer and other electronic devices, the electronic device has an Android system, and the first application that the electronic device can run is an application with root authority, such as Lesafe. Here, the first application has been installed when the electronic device leaves the factory, and the first application has a code injection function, that is, new functions can be realized by writing new codes on the first application. In the embodiment of the present invention, the hidden function is implanted into the first application through the code injection function of the first application. Specifically, when the first application is started by the target object of the first application, the first application can An application management interface is displayed on the display unit, the application management interface displays N identifications corresponding to the second applications; the user can select M identifications corresponding to the second applications in the management interface to trigger the first operate. Here, the target object corresponding to the first application and the second application is displayed on the desktop of the electronic device in the form of an icon; the identification corresponding to the second application may be the corresponding icon of the second application, or may be the The thumbnail can also be any character string of Chinese characters/letters/symbols representing the second application. The management interface of the first application displays identifiers corresponding to the second applications, and the user may select M identifiers corresponding to the second applications from the displayed N identifiers corresponding to the second applications to trigger the first operation.
这里,第一操作可以通过但不限以下形式实现:单击操作、双击操作、手势操作、滑动操作。Here, the first operation may be implemented through but not limited to the following forms: single-click operation, double-tap operation, gesture operation, and slide operation.
步骤302:响应所述第一操作,将所述M个第二应用的显示状态由第一显示状态切换至第二显示状态;执行步骤303以及步骤305。Step 302 : In response to the first operation, switch the display states of the M second applications from the first display state to the second display state; and execute steps 303 and 305 .
步骤303:监测所述第一应用是否接收到来自所述第一应用以外的其他应用访问所述M个第二应用的相关进程,得到监测结果。Step 303: Monitor whether the first application receives related processes of accessing the M second applications from applications other than the first application, and obtain a monitoring result.
本发明实施例中,当用户触发第一操作时,电子设备响应该第一操作,并将M个第二应用的显示状态由第一显示状态切换至第二显示状态。In the embodiment of the present invention, when the user triggers the first operation, the electronic device responds to the first operation, and switches the display states of the M second applications from the first display state to the second display state.
这里,所述第一显示状态为显示,所述第二显示状态为隐藏。Here, the first display state is displayed, and the second display state is hidden.
具体地,将用户选中的M个第二应用由显示状态切换至隐藏状态,如此,通过第一应用实现了隐藏第二应用的功能,并且,当第二应用处于隐藏状态时,电子设备实时监测第一应用是否接收到来自所述第一应用以外的其他应用访问所隐藏的第二应用的相关进程。这里,当通过第三方应用,例如快装类应用查看电子设备中已安装的应用时,由于已隐藏的第二应用也属于已安装的应用,因此会发起与隐藏的第二应用的相关进程实现查看,电子设备将监测到第一应用接收到来自第三方应用访问已隐藏的第二应用的相关进程,并执行如下步骤304。Specifically, the M second applications selected by the user are switched from the display state to the hidden state, so that the function of hiding the second application is realized through the first application, and when the second application is in the hidden state, the electronic device monitors in real time Whether the first application receives access to the hidden related process of the second application from other applications other than the first application. Here, when viewing the installed applications in the electronic device through a third-party application, such as a quick-install application, since the hidden second application is also an installed application, a process related to the hidden second application will be initiated to achieve Viewing, the electronic device will monitor that the first application has received access from a third-party application to a process related to the hidden second application, and will perform the following step 304 .
步骤304:当所述监测结果表明所述第一应用接收到来自所述第一应用以外的其他应用访问所述M个第二应用的相关进程时,拦截访问所述M个第二应用的相关进程;结束本流程。Step 304: When the monitoring result indicates that the first application receives related processes accessing the M second applications from applications other than the first application, intercept the related processes accessing the M second applications. Process; end this process.
承接步骤303,当电子设备将监测到第一应用接收到来自第三方应用访问已隐藏的第二应用的相关进程时,拦截访问已隐藏的第二应用的相关进程,如此,通过第三方应用查看不到已隐藏的第二应用。Following step 303, when the electronic device detects that the first application has received the related process of accessing the hidden second application from the third-party application, it intercepts the related process of accessing the hidden second application, so that the third-party application can view Cannot reach the hidden second application.
步骤305:当所述M个第二应用的显示状态由第一显示状态切换至第二显示状态时,在所述显示单元上显示密码设置提示信息。Step 305: When the display states of the M second applications are switched from the first display state to the second display state, display password setting prompt information on the display unit.
本发明实施例中,通过启动第一应用所显示的管理界面隐藏M个第二应用时,第一应用提供了密码设置功能,如此,当用户重新开启第一应用时,需要先输入所设置的密码,才能够打开第一应用以显示管理界面,进而显示哪些第二应用被隐藏,以及对被隐藏的第二应用进行操作。具体地,显示单元上显示有密码设置提示信息,例如:请设置显示密码!In the embodiment of the present invention, when the management interface displayed by the first application is started to hide M second applications, the first application provides a password setting function, so that when the user reopens the first application, the user needs to first input the set password. Only when the password is used, can the first application be opened to display the management interface, and then which second applications are hidden, and the hidden second applications can be operated. Specifically, a password setting prompt message is displayed on the display unit, for example: Please set a display password!
步骤306:获得基于所述密码设置提示信息的第二操作。Step 306: Obtain a second operation based on the password setting prompt information.
用户看到密码设置提示信息后,在特定的光标处设置密码。这里,第二操作为设置密码的操作。After the user sees the password setting prompt information, set the password at the specific cursor. Here, the second operation is an operation of setting a password.
步骤307:响应所述第二操作,设置所述M个第二应用的显示密码。Step 307: In response to the second operation, set display passwords of the M second applications.
步骤308:当所述监测结果表明所述第一应用接收到来自所述第一应用的访问所述M个第二应用的相关进程时,在所述显示单元上显示密码输入提示信息。Step 308: When the monitoring result indicates that the first application has received from the first application related processes of accessing the M second applications, display password input prompt information on the display unit.
本发明实施例中,对于来自除第一应用以外的其他应用的访问所述M个第二应用的相关进程,均对其进行拦截;对于来自第一应用的访问所述M个第二应用的相关进程,需用户输入预先设置的显示密码,再确定是否对其进行拦截。In the embodiment of the present invention, all related processes that access the M second applications from applications other than the first application are intercepted; for the processes from the first application that access the M second applications For related processes, the user needs to input the preset display password, and then determine whether to intercept it.
步骤309:获得基于所述密码输入提示信息的第三操作。Step 309: Obtain a third operation based on the password input prompt information.
这里,第三操作为输入显示密码的操作。Here, the third operation is an operation of inputting a display password.
步骤310:响应所述第三操作,接收所输入的密码并验证所输入的密码是否与所设置的显示密码相符。Step 310: In response to the third operation, receive the input password and verify whether the input password matches the set display password.
步骤311:当所输入的密码与所设置的显示密码不相符时,拦截访问所述M个第二应用的相关进程;当所输入的密码与所设置的显示密码相符时,不拦截访问所述M个第二应用的相关进程。Step 311: When the input password does not match the set display password, intercept access to the related processes of the M second applications; when the input password matches the set display password, do not intercept access to the M second applications A related process of the second application.
本发明实施例中,通过第一应用的代码注入功能将隐藏功能植入至第一应用中,并且,由于第一应用具有root权限,可以设置拦截功能,将除第一应用以外的其他应用访问隐藏的第二应用的相关进行拦截,保障了已隐藏的第二应用的安全性。In the embodiment of the present invention, the hidden function is implanted into the first application through the code injection function of the first application, and since the first application has root authority, an interception function can be set to allow other applications except the first application to access The hidden second application is intercepted to ensure the security of the hidden second application.
本发明实施例中,对于来自第一应用的访问所述M个第二应用的相关进程,只有输入正确的显示密码,第一应用才会显示管理界面,进而显示已隐藏的应用,用户才可以对已隐藏的应用进行操作,进一步增加了已隐藏的应用的安全性。In the embodiment of the present invention, for the related processes of accessing the M second applications from the first application, the first application will display the management interface only after entering the correct display password, and then the hidden applications will be displayed, and the user can Operate the hidden application to further increase the security of the hidden application.
图4为本发明实施例四的信息处理方法的流程示意图,本示例中的信息处理方法应用于具有显示单元的电子设备中,所述电子设备能够运行第一应用以及N个第二应用,N为正整数;所述第一应用以及N个第二应用对应的目标对象能在所述显示单元上显示,当通过所述第一应用的目标对象启动所述第一应用时,所述第一应用能在所述显示单元上显示一应用管理界面,所述应用管理界面上显示有N个第二应用对应的标识;如图4所示,所述信息处理方法包括以下步骤:4 is a schematic flowchart of an information processing method according to Embodiment 4 of the present invention. The information processing method in this example is applied to an electronic device with a display unit, and the electronic device is capable of running a first application and N second applications, N is a positive integer; the target objects corresponding to the first application and the N second applications can be displayed on the display unit, and when the first application is started through the target object of the first application, the first The application can display an application management interface on the display unit, and the application management interface displays N identifications corresponding to the second application; as shown in Figure 4, the information processing method includes the following steps:
步骤401:获得第一操作。Step 401: Obtain the first operation.
这里,所述第一操作用于在所述N个第二应用对应的标识中选择其中M个第二应用对应的标识,M为小于等于N的正整数。Here, the first operation is used to select identifiers corresponding to M second applications among the identifiers corresponding to the N second applications, where M is a positive integer less than or equal to N.
本发明实施例中,所述电子设备可以是手机、平板电脑等电子设备,该电子设备具有Android系统,电子设备能够运行的第一应用是具有root权限的应用,例如乐安全。这里,第一应用在电子设备出厂时已安装,并且,第一应用具有代码注入功能,即可通过在第一应用上编写新的代码以实现新的功能。本发明实施例中,通过第一应用的代码注入功能将隐藏功能植入至第一应用中,具体地,当通过第一应用的目标对象启动所述第一应用时,所述第一应用能在所述显示单元上显示一应用管理界面,所述应用管理界面上显示有N个第二应用对应的标识;用户可以在该管理界面中选择M个第二应用对应的标识,以触发第一操作。这里,第一应用以及第二应用对应的目标对象以图标形式显示在电子设备的桌面上;第二应用对应的标识可以是第二应用的对应的图标,也可以是第二应用对应的图标的缩略图,还可以是表征第二应用的汉字/字母/符号的任意字符串。第一应用的管理界面中显示有第二应用对应的标识,用户可以从所显示的N个第二应用对应的标识中选择其中M个第二应用对应的标识,以触发第一操作。In the embodiment of the present invention, the electronic device may be a mobile phone, a tablet computer and other electronic devices, the electronic device has an Android system, and the first application that the electronic device can run is an application with root authority, such as Lesafe. Here, the first application has been installed when the electronic device leaves the factory, and the first application has a code injection function, that is, new functions can be realized by writing new codes on the first application. In the embodiment of the present invention, the hidden function is implanted into the first application through the code injection function of the first application. Specifically, when the first application is started by the target object of the first application, the first application can An application management interface is displayed on the display unit, the application management interface displays N identifications corresponding to the second applications; the user can select M identifications corresponding to the second applications in the management interface to trigger the first operate. Here, the target object corresponding to the first application and the second application is displayed on the desktop of the electronic device in the form of an icon; the identification corresponding to the second application may be the corresponding icon of the second application, or may be the The thumbnail can also be any character string of Chinese characters/letters/symbols representing the second application. The management interface of the first application displays identifiers corresponding to the second applications, and the user may select M identifiers corresponding to the second applications from the displayed N identifiers corresponding to the second applications to trigger the first operation.
这里,第一操作可以通过但不限以下形式实现:单击操作、双击操作、手势操作、滑动操作。Here, the first operation may be implemented through but not limited to the following forms: single-click operation, double-tap operation, gesture operation, and slide operation.
步骤402:响应所述第一操作,将所述M个第二应用的显示参数由第一显示参数切换至第二显示参数;执行步骤403以及步骤405。Step 402: In response to the first operation, switch the display parameters of the M second applications from the first display parameters to the second display parameters; perform steps 403 and 405.
这里,显示参数用于表征第二应用的显示效果,第一显示参数对应显示状态的参数,第二显示参数对应隐藏状态的参数。可以通过一标识符来确定该显示参数,例如T表示第一显示参数,而F表示第二显示参数,将T切换至F时,则表征将第二应用由显示状态切换至隐藏状态。Here, the display parameter is used to characterize the display effect of the second application, the first display parameter corresponds to a parameter in a display state, and the second display parameter corresponds to a parameter in a hidden state. The display parameter can be determined by an identifier. For example, T represents the first display parameter, and F represents the second display parameter. When T is switched to F, it means that the second application is switched from the display state to the hidden state.
步骤403:监测所述第一应用是否接收到来自所述第一应用以外的其他应用访问所述M个第二应用的相关进程,得到监测结果。Step 403: Monitor whether the first application receives related processes of accessing the M second applications from applications other than the first application, and obtain a monitoring result.
本发明实施例中,当用户触发第一操作时,电子设备响应该第一操作,并将M个第二应用的显示状态由第一显示状态切换至第二显示状态。In the embodiment of the present invention, when the user triggers the first operation, the electronic device responds to the first operation, and switches the display states of the M second applications from the first display state to the second display state.
这里,所述第一显示状态为显示,所述第二显示状态为隐藏。Here, the first display state is displayed, and the second display state is hidden.
具体地,将用户选中的M个第二应用由显示状态切换至隐藏状态,如此,通过第一应用实现了隐藏第二应用的功能,并且,当第二应用处于隐藏状态时,电子设备实时监测第一应用是否接收到来自所述第一应用以外的其他应用访问所隐藏的第二应用的相关进程。这里,当通过第三方应用,例如快装类应用查看电子设备中已安装的应用时,由于已隐藏的第二应用也属于已安装的应用,因此会发起与隐藏的第二应用的相关进程实现查看,电子设备将监测到第一应用接收到来自第三方应用访问已隐藏的第二应用的相关进程,并执行如下步骤404。Specifically, the M second applications selected by the user are switched from the display state to the hidden state, so that the function of hiding the second application is realized through the first application, and when the second application is in the hidden state, the electronic device monitors in real time Whether the first application receives access to the hidden related process of the second application from other applications other than the first application. Here, when viewing the installed applications in the electronic device through a third-party application, such as a quick-install application, since the hidden second application also belongs to the installed application, a process related to the hidden second application will be initiated. Viewing, the electronic device will monitor that the first application has received access from a third-party application to a process related to the hidden second application, and will perform the following step 404 .
步骤404:当所述监测结果表明所述第一应用接收到来自所述第一应用以外的其他应用访问所述M个第二应用的相关进程时,拦截访问所述M个第二应用的相关进程。Step 404: When the monitoring result indicates that the first application receives related processes accessing the M second applications from applications other than the first application, intercept the related processes accessing the M second applications. process.
步骤405:依据所述第二显示参数,将所述M个第二应用的显示状态由第一显示状态切换至第二显示状态。Step 405: Switch the display states of the M second applications from the first display state to the second display state according to the second display parameter.
承接步骤402,当T表示第一显示参数,而F表示第二显示参数时,依据F,将第二应用由显示状态切换至隐藏状态。Following step 402, when T represents the first display parameter and F represents the second display parameter, according to F, the second application is switched from the displayed state to the hidden state.
本发明实施例中,通过第一应用的代码注入功能将隐藏功能植入至第一应用中,并且,由于第一应用具有root权限,可以设置拦截功能,将除第一应用以外的其他应用访问隐藏的第二应用的相关进行拦截,保障了已隐藏的第二应用的安全性。In the embodiment of the present invention, the hidden function is implanted into the first application through the code injection function of the first application, and since the first application has root authority, an interception function can be set to allow other applications except the first application to access The hidden second application is intercepted to ensure the security of the hidden second application.
图5为本发明实施例一的电子设备的结构组成示意图,该电子设备具有显示单元,所述电子设备能够运行第一应用以及N个第二应用,N为正整数;所述第一应用以及N个第二应用对应的目标对象能在所述显示单元上显示,当通过所述第一应用的目标对象启动所述第一应用时,所述第一应用能在所述显示单元上显示一应用管理界面,所述应用管理界面上显示有N个第二应用对应的标识;如图5所示,所述电子设备包括:5 is a schematic diagram of the structure and composition of an electronic device according to Embodiment 1 of the present invention. The electronic device has a display unit, and the electronic device is capable of running a first application and N second applications, where N is a positive integer; the first application and The target objects corresponding to the N second applications can be displayed on the display unit, and when the first application is started through the target objects of the first application, the first application can display a message on the display unit. An application management interface, where N identifications corresponding to the second application are displayed on the application management interface; as shown in Figure 5, the electronic device includes:
第一获取单元51,用于获得第一操作,所述第一操作用于在所述N个第二应用对应的标识中选择其中M个第二应用对应的标识,M为小于等于N的正整数;The first obtaining unit 51 is configured to obtain a first operation, and the first operation is used to select the identifications corresponding to M second applications among the identifications corresponding to the N second applications, where M is a positive number less than or equal to N. integer;
第一响应单元52,用于响应所述第一操作,将所述M个第二应用的显示状态由第一显示状态切换至第二显示状态,并且,监测所述第一应用是否接收到来自所述第一应用以外的其他应用访问所述M个第二应用的相关进程,得到监测结果;The first response unit 52 is configured to respond to the first operation, switch the display states of the M second applications from the first display state to the second display state, and monitor whether the first application receives a message from An application other than the first application accesses the relevant processes of the M second applications to obtain a monitoring result;
处理单元53,用于当所述监测结果表明所述第一应用接收到来自所述第一应用以外的其他应用访问所述M个第二应用的相关进程时,拦截访问所述M个第二应用的相关进程。The processing unit 53 is configured to intercept access to the M second applications when the monitoring result indicates that the first application receives access to the M second applications from other applications other than the first application. App-related processes.
本发明实施例中,所述第一显示状态为显示,所述第二显示状态为隐藏。In the embodiment of the present invention, the first display state is displayed, and the second display state is hidden.
本领域技术人员应当理解,图5所示的电子设备中的各单元的实现功能可参照前述信息处理方法的相关描述而理解。图5所示的电子设备中的各单元的功能可通过运行于处理器上的程序而实现,也可通过具体的逻辑电路而实现。Those skilled in the art should understand that the functions implemented by each unit in the electronic device shown in FIG. 5 can be understood with reference to the relevant description of the foregoing information processing method. The functions of each unit in the electronic device shown in FIG. 5 can be realized by a program running on a processor, or can be realized by a specific logic circuit.
图6为本发明实施例二的电子设备的结构组成示意图,该电子设备具有显示单元,所述电子设备能够运行第一应用以及N个第二应用,N为正整数;所述第一应用以及N个第二应用对应的目标对象能在所述显示单元上显示,当通过所述第一应用的目标对象启动所述第一应用时,所述第一应用能在所述显示单元上显示一应用管理界面,所述应用管理界面上显示有N个第二应用对应的标识;如图6所示,所述电子设备包括:6 is a schematic diagram of the structure and composition of an electronic device according to Embodiment 2 of the present invention. The electronic device has a display unit, and the electronic device is capable of running a first application and N second applications, where N is a positive integer; the first application and The target objects corresponding to the N second applications can be displayed on the display unit, and when the first application is started through the target objects of the first application, the first application can display a message on the display unit. An application management interface, where N identifications corresponding to the second application are displayed on the application management interface; as shown in FIG. 6 , the electronic device includes:
第一获取单元61,用于获得第一操作,所述第一操作用于在所述N个第二应用对应的标识中选择其中M个第二应用对应的标识,M为小于等于N的正整数;The first obtaining unit 61 is configured to obtain a first operation, and the first operation is used to select the identifications corresponding to M second applications among the identifications corresponding to the N second applications, where M is a positive number less than or equal to N. integer;
第一响应单元62,用于响应所述第一操作,将所述M个第二应用的显示状态由第一显示状态切换至第二显示状态,并且,监测所述第一应用是否接收到来自所述第一应用以外的其他应用访问所述M个第二应用的相关进程,得到监测结果;The first response unit 62 is configured to respond to the first operation, switch the display states of the M second applications from the first display state to the second display state, and monitor whether the first application receives a message from An application other than the first application accesses the relevant processes of the M second applications to obtain a monitoring result;
处理单元63,用于当所述监测结果表明所述第一应用接收到来自所述第一应用以外的其他应用访问所述M个第二应用的相关进程时,拦截访问所述M个第二应用的相关进程。The processing unit 63 is configured to intercept access to the M second applications when the monitoring result indicates that the first application receives access to the M second applications from other applications other than the first application. App-related processes.
优选地,所述电子设备还包括:Preferably, the electronic device also includes:
第一提示单元64,用于当所述M个第二应用的显示状态由第一显示状态切换至第二显示状态时,在所述显示单元上显示密码设置提示信息;The first prompt unit 64 is configured to display password setting prompt information on the display unit when the display states of the M second applications are switched from the first display state to the second display state;
第二获取单元65,用于获得基于所述密码设置提示信息的第二操作;The second obtaining unit 65 is configured to obtain a second operation based on the password setting prompt information;
第二响应单元66,用于响应所述第二操作,设置所述M个第二应用的显示密码。The second response unit 66 is configured to set display passwords of the M second applications in response to the second operation.
本发明实施例中,所述第一显示状态为显示,所述第二显示状态为隐藏。In the embodiment of the present invention, the first display state is displayed, and the second display state is hidden.
本领域技术人员应当理解,图6所示的电子设备中的各单元的实现功能可参照前述信息处理方法的相关描述而理解。图6所示的电子设备中的各单元的功能可通过运行于处理器上的程序而实现,也可通过具体的逻辑电路而实现。Those skilled in the art should understand that the functions implemented by each unit in the electronic device shown in FIG. 6 can be understood with reference to the relevant description of the foregoing information processing method. The functions of each unit in the electronic device shown in FIG. 6 can be realized by a program running on a processor, or can be realized by a specific logic circuit.
图7为本发明实施例三的电子设备的结构组成示意图,该电子设备具有显示单元,所述电子设备能够运行第一应用以及N个第二应用,N为正整数;所述第一应用以及N个第二应用对应的目标对象能在所述显示单元上显示,当通过所述第一应用的目标对象启动所述第一应用时,所述第一应用能在所述显示单元上显示一应用管理界面,所述应用管理界面上显示有N个第二应用对应的标识;如图7所示,所述电子设备包括:7 is a schematic diagram of the structure and composition of an electronic device according to Embodiment 3 of the present invention. The electronic device has a display unit, and the electronic device can run a first application and N second applications, where N is a positive integer; the first application and The target objects corresponding to the N second applications can be displayed on the display unit, and when the first application is started through the target objects of the first application, the first application can display a message on the display unit. An application management interface, where N identifications corresponding to the second application are displayed on the application management interface; as shown in FIG. 7 , the electronic device includes:
第一获取单元71,用于获得第一操作,所述第一操作用于在所述N个第二应用对应的标识中选择其中M个第二应用对应的标识,M为小于等于N的正整数;The first obtaining unit 71 is configured to obtain a first operation, and the first operation is used to select the identifications corresponding to M second applications among the identifications corresponding to the N second applications, where M is a positive number less than or equal to N. integer;
第一响应单元72,用于响应所述第一操作,将所述M个第二应用的显示状态由第一显示状态切换至第二显示状态,并且,监测所述第一应用是否接收到来自所述第一应用以外的其他应用访问所述M个第二应用的相关进程,得到监测结果;The first response unit 72 is configured to respond to the first operation, switch the display states of the M second applications from the first display state to the second display state, and monitor whether the first application receives a message from An application other than the first application accesses the relevant processes of the M second applications to obtain a monitoring result;
处理单元73,用于当所述监测结果表明所述第一应用接收到来自所述第一应用以外的其他应用访问所述M个第二应用的相关进程时,拦截访问所述M个第二应用的相关进程。The processing unit 73 is configured to intercept access to the M second applications when the monitoring result indicates that the first application receives access to the M second applications from other applications other than the first application. App-related processes.
优选地,所述电子设备还包括:Preferably, the electronic device also includes:
第一提示单元74,用于当所述M个第二应用的显示状态由第一显示状态切换至第二显示状态时,在所述显示单元上显示密码设置提示信息;The first prompt unit 74 is configured to display password setting prompt information on the display unit when the display states of the M second applications are switched from the first display state to the second display state;
第二获取单元75,用于获得基于所述密码设置提示信息的第二操作;The second obtaining unit 75 is configured to obtain a second operation based on the password setting prompt information;
第二响应单元76,用于响应所述第二操作,设置所述M个第二应用的显示密码。The second response unit 76 is configured to set display passwords of the M second applications in response to the second operation.
优选地,所述电子设备还包括:Preferably, the electronic device also includes:
第二提示单元77,用于当所述监测结果表明所述第一应用接收到来自所述第一应用的访问所述M个第二应用的相关进程时,在所述显示单元上显示密码输入提示信息;The second prompting unit 77 is configured to display the password input on the display unit when the monitoring result shows that the first application has received from the first application the related process of accessing the M second applications. Prompt information;
第三获取单元78,用于获得基于所述密码输入提示信息的第三操作;A third obtaining unit 78, configured to obtain a third operation based on the password input prompt information;
第三响应单元79,用于响应所述第三操作,接收所输入的密码并验证所输入的密码是否与所设置的显示密码相符;The third response unit 79 is configured to respond to the third operation, receive the input password and verify whether the input password matches the set display password;
所述处理单元73,还用于当所输入的密码与所设置的显示密码不相符时,拦截访问所述M个第二应用的相关进程;当所输入的密码与所设置的显示密码相符时,不拦截访问所述M个第二应用的相关进程。The processing unit 73 is further configured to intercept the related processes of accessing the M second applications when the input password does not match the set display password; when the input password matches the set display password, do not Intercept related processes that access the M second applications.
本发明实施例中,所述第一显示状态为显示,所述第二显示状态为隐藏。In the embodiment of the present invention, the first display state is displayed, and the second display state is hidden.
本领域技术人员应当理解,图7所示的电子设备中的各单元的实现功能可参照前述信息处理方法的相关描述而理解。图7所示的电子设备中的各单元的功能可通过运行于处理器上的程序而实现,也可通过具体的逻辑电路而实现。Those skilled in the art should understand that the functions implemented by each unit in the electronic device shown in FIG. 7 can be understood with reference to the relevant description of the foregoing information processing method. The functions of each unit in the electronic device shown in FIG. 7 can be realized by a program running on a processor, or can be realized by a specific logic circuit.
图8为本发明实施例八的电子设备的结构组成示意图,该电子设备具有显示单元,所述电子设备能够运行第一应用以及N个第二应用,N为正整数;所述第一应用以及N个第二应用对应的目标对象能在所述显示单元上显示,当通过所述第一应用的目标对象启动所述第一应用时,所述第一应用能在所述显示单元上显示一应用管理界面,所述应用管理界面上显示有N个第二应用对应的标识;如图8所示,所述电子设备包括:8 is a schematic diagram of the structure and composition of an electronic device according to Embodiment 8 of the present invention. The electronic device has a display unit, and the electronic device can run a first application and N second applications, where N is a positive integer; the first application and The target objects corresponding to the N second applications can be displayed on the display unit, and when the first application is started through the target objects of the first application, the first application can display a message on the display unit. An application management interface, where N identifications corresponding to the second application are displayed on the application management interface; as shown in FIG. 8 , the electronic device includes:
第一获取单元81,用于获得第一操作,所述第一操作用于在所述N个第二应用对应的标识中选择其中M个第二应用对应的标识,M为小于等于N的正整数;The first obtaining unit 81 is configured to obtain a first operation, and the first operation is used to select the identifications corresponding to M second applications among the identifications corresponding to the N second applications, where M is a positive number less than or equal to N. integer;
第一响应单元82,用于响应所述第一操作,将所述M个第二应用的显示状态由第一显示状态切换至第二显示状态,并且,监测所述第一应用是否接收到来自所述第一应用以外的其他应用访问所述M个第二应用的相关进程,得到监测结果;The first response unit 82 is configured to respond to the first operation, switch the display states of the M second applications from the first display state to the second display state, and monitor whether the first application receives a message from An application other than the first application accesses the relevant processes of the M second applications to obtain a monitoring result;
处理单元83,用于当所述监测结果表明所述第一应用接收到来自所述第一应用以外的其他应用访问所述M个第二应用的相关进程时,拦截访问所述M个第二应用的相关进程。The processing unit 83 is configured to intercept access to the M second applications when the monitoring result indicates that the first application receives access to the M second applications from other applications other than the first application. App-related processes.
优选地,所述第一响应单元82包括:第一切换子单元821、第二切换子单元822;其中,Preferably, the first response unit 82 includes: a first switching subunit 821 and a second switching subunit 822; wherein,
所述第一切换子单元821,用于响应所述第一操作,将所述M个第二应用的显示参数由第一显示参数切换至第二显示参数;The first switching subunit 821 is configured to switch the display parameters of the M second applications from the first display parameters to the second display parameters in response to the first operation;
所述第二切换子单元822,用于依据所述第二显示参数,将所述M个第二应用的显示状态由第一显示状态切换至第二显示状态。The second switching subunit 822 is configured to switch the display states of the M second applications from the first display state to the second display state according to the second display parameter.
本发明实施例中,所述第一显示状态为显示,所述第二显示状态为隐藏。In the embodiment of the present invention, the first display state is displayed, and the second display state is hidden.
本领域技术人员应当理解,图8所示的电子设备中的各单元及其子单元的实现功能可参照前述信息处理方法的相关描述而理解。图8所示的电子设备中的各单元及其子单元的功能可通过运行于处理器上的程序而实现,也可通过具体的逻辑电路而实现。Those skilled in the art should understand that the implementation functions of each unit and its subunits in the electronic device shown in FIG. 8 can be understood with reference to the relevant description of the foregoing information processing method. The functions of each unit and its subunits in the electronic device shown in FIG. 8 can be realized by a program running on a processor, or by a specific logic circuit.
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods, such as: multiple units or components can be combined, or May be integrated into another system, or some features may be ignored, or not implemented. In addition, the coupling, or direct coupling, or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be electrical, mechanical or other forms of.
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units; Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各实施例中的各功能单元可以全部集成在一个处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention can be integrated into one processing unit, or each unit can be used as a single unit, or two or more units can be integrated into one unit; the above-mentioned integration The unit can be realized in the form of hardware or in the form of hardware plus software functional unit.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(ROM,Read Only Memory)、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for realizing the above-mentioned method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the It includes the steps of the above-mentioned method embodiments; and the aforementioned storage medium includes: a removable storage device, a read only memory (ROM, Read Only Memory), a magnetic disk or an optical disk, and other various media that can store program codes.
或者,本发明上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、只读存储器(ROM,Read Only Memory)、磁碟或者光盘等各种可以存储程序代码的介质。Alternatively, if the above-mentioned integrated units of the present invention are implemented in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for Make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: a removable storage device, a read only memory (ROM, Read Only Memory), a magnetic disk or an optical disk, and other various media capable of storing program codes.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410298644.3ACN104112097B (en) | 2014-06-26 | 2014-06-26 | An information processing method and electronic device |
| CN201810949890.9ACN109190363B (en) | 2014-06-26 | 2014-06-26 | Information processing method and electronic equipment |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410298644.3ACN104112097B (en) | 2014-06-26 | 2014-06-26 | An information processing method and electronic device |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810949890.9ADivisionCN109190363B (en) | 2014-06-26 | 2014-06-26 | Information processing method and electronic equipment |
| Publication Number | Publication Date |
|---|---|
| CN104112097A CN104112097A (en) | 2014-10-22 |
| CN104112097Btrue CN104112097B (en) | 2018-08-31 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810949890.9AActiveCN109190363B (en) | 2014-06-26 | 2014-06-26 | Information processing method and electronic equipment |
| CN201410298644.3AActiveCN104112097B (en) | 2014-06-26 | 2014-06-26 | An information processing method and electronic device |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810949890.9AActiveCN109190363B (en) | 2014-06-26 | 2014-06-26 | Information processing method and electronic equipment |
| Country | Link |
|---|---|
| CN (2) | CN109190363B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105988827B (en)* | 2015-01-29 | 2019-07-05 | 阿里巴巴集团控股有限公司 | A kind of method and device that application is freezed, thaws |
| CN106293380A (en)* | 2015-06-10 | 2017-01-04 | 联想(北京)有限公司 | Information processing method and electronic equipment |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102722359A (en)* | 2011-03-30 | 2012-10-10 | 汉王科技股份有限公司 | Method and device for displaying application program and portable mobile terminal |
| CN103870119B (en)* | 2014-02-21 | 2017-08-29 | 联想(北京)有限公司 | A kind of information processing method and electronic equipment |
| Publication number | Publication date |
|---|---|
| CN109190363B (en) | 2021-11-16 |
| CN104112097A (en) | 2014-10-22 |
| CN109190363A (en) | 2019-01-11 |
| Publication | Publication Date | Title |
|---|---|---|
| CN106446632B (en) | Hidden display starting method and hidden display starting device for application program | |
| EP3443724B1 (en) | Web service picture passwords | |
| CN105117663B (en) | The encrypted object display methods and device of a kind of application | |
| US11431684B2 (en) | Data response method, terminal device, and server | |
| US9930705B2 (en) | Mobile terminal control method, apparatus and system | |
| CN103763091B (en) | A kind of application program encryption and decryption method and encryption, decryption device | |
| US20170192646A1 (en) | Method and electronic device for hiding application icons and mobile phone | |
| WO2014108005A1 (en) | Co-verification method, two-dimensional code generation method, and device and system therefor | |
| CN108469972B (en) | Method and device for supporting display of multiple windows in WEB page | |
| CN107643977A (en) | The method and Related product of Anti-addiction | |
| US9659189B2 (en) | Systems and methods of safeguarding user information while interacting with online service providers | |
| CN104933343A (en) | Secrecy method and apparatus of application program, and electronic device | |
| Mohsen et al. | Android keylogging threat | |
| CN107632870A (en) | The startup method and terminal of a kind of application | |
| CN106293313A (en) | Multiple solutions generates system and method | |
| CN106778124A (en) | The application method and device of a kind of hiden application | |
| CN105867969A (en) | APP starting method and terminal | |
| CN104112097B (en) | An information processing method and electronic device | |
| US20220121293A1 (en) | Character editing on a physical device via interaction with a virtual device user interface | |
| CN107066864B (en) | Application icon display method and device thereof | |
| CN105574429A (en) | Method, device and terminal for file data encryption and decryption processing | |
| CN106775217B (en) | Application identification processing method, device and terminal | |
| CN106933666B (en) | Method for calling information input program and electronic equipment | |
| CN104715172A (en) | Starting method and device of application programs | |
| WO2022247865A1 (en) | Display control method and apparatus, electronic device, and medium |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |