CN109800567B - Method and device for monitoring foreground application starting and terminal equipment - Google Patents
Method and device for monitoring foreground application starting and terminal equipment Download PDFInfo
- Publication number
- CN109800567B CN109800567B CN201910043153.7A CN201910043153A CN109800567B CN 109800567 B CN109800567 B CN 109800567B CN 201910043153 A CN201910043153 A CN 201910043153A CN 109800567 B CN109800567 B CN 109800567B
- Authority
- CN
- China
- Prior art keywords
- application
- package name
- application package
- directory
- judging whether
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 239
- 238000012544 monitoring process Methods 0.000 title claims abstract description 39
- 230000026676 system process Effects 0.000 claims abstract description 19
- 230000006870 function Effects 0.000 claims description 38
- 238000004904 shortening Methods 0.000 claims description 3
- 238000012545 processing Methods 0.000 abstract description 3
- 238000004590 computer program Methods 0.000 description 4
- 238000004422 calculation algorithm Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 239000002131 composite material Substances 0.000 description 1
- 230000008094 contradictory effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Landscapes
- Stored Programmes (AREA)
Abstract
本发明实施例涉及数据处理技术领域,公开了一种监听前台应用启动的方法及装置、终端设备。本发明中,以预设周期扫描系统的进程目录;根据扫描的所述进程目录判断是否有新增的进程,若有,则获取所述进程对应的应用包名;判断所述应用包名与系统辅助功能回调得到的应用包名是否相同,若是,则判定有前台应用启动。同时考虑了系统进程目录和系统回调两方面的监听结果,使得最终的判断结果更为准确。另外,由于系统进程目录与安卓系统版本无关,而且,目前的安卓版本基本都支持系统辅助功能的回调函数,因此,本方案的兼容性好。
Embodiments of the present invention relate to the technical field of data processing, and disclose a method, a device, and a terminal device for monitoring the startup of a foreground application. In the present invention, the process directory of the system is scanned in a preset period; according to the scanned process directory, it is judged whether there is a new process, and if so, the application package name corresponding to the process is obtained; Whether the application package names obtained by the system auxiliary function callback are the same, if so, it is determined that a foreground application is started. At the same time, the monitoring results of the system process directory and the system callback are considered to make the final judgment result more accurate. In addition, since the system process directory has nothing to do with the Android system version, and the current Android version basically supports the callback function of the system auxiliary function, the compatibility of this solution is good.
Description
技术领域technical field
本发明实施例涉及数据处理技术领域,特别涉及监听前台应用启动的方法。The embodiments of the present invention relate to the technical field of data processing, and in particular, to a method for monitoring the startup of a foreground application.
背景技术Background technique
随着互联网技术的发展,近年来,搭载安卓系统的终端设备越来越多,在安卓系统上,可安装各种各样的程序以满足人们的个性化需求。在实现某些功能时,例如实现在用户打开某个应用界面时投放图片的功能时,系统需要监听前台应用的启动。With the development of Internet technology, in recent years, more and more terminal devices are equipped with the Android system. On the Android system, various programs can be installed to meet people's individual needs. When implementing certain functions, such as the function of placing pictures when the user opens an application interface, the system needs to monitor the startup of the foreground application.
发明人发现现有技术中至少存在如下问题:The inventors found that at least the following problems exist in the prior art:
现有技术中的监听前台应用启动的方法准确率低,兼容性差。The method of monitoring the startup of the foreground application in the prior art has low accuracy and poor compatibility.
发明内容SUMMARY OF THE INVENTION
本发明实施方式的目的在于提供一种监听前台应用启动的方法及装置、终端设备,使得前台应用启动的监听准确率高,且兼容性好。The purpose of the embodiments of the present invention is to provide a method, apparatus and terminal device for monitoring the startup of a foreground application, so that the monitoring accuracy of the startup of the foreground application is high and the compatibility is good.
为解决上述技术问题,本发明的实施方式提供了一种监听前台应用启动的方法,包括以下步骤:In order to solve the above technical problems, embodiments of the present invention provide a method for monitoring the startup of a foreground application, including the following steps:
以预设周期扫描系统的进程目录;根据扫描的所述进程目录判断是否有新增的进程,若有,则获取所述进程对应的应用包名;判断所述应用包名与系统辅助功能回调得到的应用包名是否相同,若是,则判定有前台应用启动。Scan the process directory of the system with a preset cycle; determine whether there is a new process according to the scanned process directory, and if so, obtain the application package name corresponding to the process; determine the application package name and the system auxiliary function callback Whether the obtained application package names are the same, if so, it is determined that a foreground application is started.
本发明的实施方式还提供了一种终端设备,包括:至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行上述的监听前台应用启动的方法。Embodiments of the present invention also provide a terminal device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores data that can be executed by the at least one processor The instruction is executed by the at least one processor, so that the at least one processor can execute the above-mentioned method for monitoring the startup of a foreground application.
本发明的实施方式还提供了一种监听前台应用启动的装置,包括:扫描模块,用于以预设周期扫描系统的进程目录;第一判断模块,用于根据扫描的进程目录判断是否有新增的进程;获取模块,用于在判断模块判定有新增的进程时,获取进程对应的应用包名;第二判断模块,用于判断应用包名与系统辅助功能回调得到的应用包名是否相同,若是,则判定有前台应用启动。An embodiment of the present invention also provides a device for monitoring the startup of a foreground application, including: a scanning module, used for scanning the process directory of the system at a preset period; a first judgment module, used for judging whether there is a new The added process; the obtaining module is used to obtain the application package name corresponding to the process when the judgment module determines that there is a newly added process; the second judgment module is used to judge whether the application package name and the application package name obtained by the system auxiliary function callback are not The same, if so, it is determined that a foreground application is started.
本发明的实施方式还提供了一种计算机可读存储介质,存储有计算机程序,计算机程序被处理器执行时实现上述的监听前台应用启动的方法。Embodiments of the present invention also provide a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the above-mentioned method for monitoring the startup of a foreground application is implemented.
本发明实施方式相对于现有技术而言,通过以预设周期扫描系统的进程目录,可及时得到系统的进程目录的最新状况;在根据扫描的所述进程目录判断出有新的进程启动时,获取进程对应的应用包名可知道具体是哪个应用的进程正在启动;判断该应用包名与系统辅助功能回调得到的应用包名是否相同,若是,则判定有前台应用启动。同时考虑了系统进程目录和系统回调两方面的监听结果,使得最终的判断结果更为准确。另外,由于系统进程目录与安卓系统版本无关,而且,目前的安卓版本基本都支持系统辅助功能的回调函数,因此,本方案的兼容性好。Compared with the prior art, the embodiment of the present invention can obtain the latest status of the process directory of the system in time by scanning the process directory of the system at a preset period; when it is determined that a new process is started according to the scanned process directory , obtain the application package name corresponding to the process to know which application process is being started; determine whether the application package name is the same as the application package name obtained by the system auxiliary function callback, and if so, determine that a foreground application is started. At the same time, the monitoring results of the system process directory and the system callback are considered to make the final judgment result more accurate. In addition, since the system process directory has nothing to do with the Android system version, and the current Android version basically supports the callback function of the system auxiliary function, the compatibility of this solution is good.
另外,在获取进程对应的应用包名之后,还包括:加载待投放内容;在判定有前台应用启动后,还包括:将待投放内容投放到启动的前台应用的界面。由于扫描系统的进程目录得到应用包名的速度通常比系统辅助功能回调得到的应用包名的速度快,在获取进程的应用包名后加载投放内容,可使得待投放内容提前准备好,在判定有前台应用启动后便可立即投放,无需等到确定有前台应用启动后再加载待投放内容,提升了内容的投放速度,提高用户体验。In addition, after acquiring the application package name corresponding to the process, the method further includes: loading the content to be delivered; after determining that a foreground application is started, the method further includes: delivering the content to be delivered to the interface of the started foreground application. Since the speed of scanning the process directory of the system to obtain the application package name is usually faster than the speed of the application package name obtained by the system auxiliary function callback, loading the delivery content after obtaining the application package name of the process can make the content to be delivered ready in advance. After a foreground application is started, it can be delivered immediately, and there is no need to wait until it is determined that a foreground application is started before loading the content to be delivered, which improves the delivery speed of the content and improves the user experience.
另外,在加载待投放内容前,还包括:判断新增的进程是否为预设应用场景下的新增进程;若为预设应用场景下的新增进程,则再执行加载待投放内容。只对在预设场景下的新增进程进行内容的投放,可限制投放内容的场景,保障用户体验。In addition, before loading the content to be delivered, the method further includes: judging whether the newly added process is a newly added process under a preset application scenario; if it is a newly added process under a preset application scenario, then executing the loading of the content to be delivered. Content delivery is only performed for newly added processes in preset scenarios, which can limit the scenarios in which content is delivered and ensure user experience.
另外,上述根据扫描的进程目录判断是否有新增的进程,具体为:根据扫描的进程目录判断是否有新增的主进程;若存在新增的主进程,则判定有新增的进程。由于同一个应用可能会创建多个进程,在具体应用时,只对主进程进行监听可减少系统的工作量,提高计算速度。In addition, the above-mentioned determining whether there is a new process according to the scanned process directory is specifically: determining whether there is a new main process according to the scanned process directory; if there is a new main process, it is determined that there is a new process. Since the same application may create multiple processes, in a specific application, only monitoring the main process can reduce the workload of the system and improve the calculation speed.
另外,上述判断是否有新增的进程,具体包括:判断所述进程目录中是否有新创建的文件夹,若有,则判定有新增的进程。提供了一种具体的判断是否有新增的进程的方法,由于系统会把进程信息保存在进程目录下,因此,只要检测到进程目录中有新创建的进程文件夹,则可判定有新增的进程,通过判断是否有新创建的进程文件夹的方法来判定是否有新增的进程,判断结果准确且速度快。In addition, the above-mentioned judging whether there is a newly-added process specifically includes: judging whether there is a newly created folder in the process directory, and if so, judging that there is a newly-added process. Provides a specific method for judging whether there is a new process. Since the system will save the process information in the process directory, as long as it is detected that there is a newly created process folder in the process directory, it can be determined that there is a new process. process, by judging whether there is a newly created process folder to determine whether there is a new process, the judgment result is accurate and fast.
另外,上述根据扫描的进程目录判断是否有新增的进程,具体为:根据扫描的进程目录判断是否有新增的非系统进程;若有新增的非系统进程,则获取进程对应的应用包名。仅获取非系统进程对应的应用包名,即过滤掉系统进程,不对系统进程进行监听。In addition, the above-mentioned determining whether there is a new process according to the scanned process directory is specifically: determining whether there is a new non-system process according to the scanned process directory; if there is a new non-system process, obtain the application package corresponding to the process. name. Obtain only the application package name corresponding to the non-system process, that is, filter out the system process and not monitor the system process.
另外,在上述判断应用包名与系统辅助功能回调得到的应用包名是否相同之前,还包括:判断应用包名是否为表征应用正在启动过程中的应用包名,若是,则缩短扫描系统进程目录的周期,直至获取进程真实的应用包名;判断应用包名与系统辅助功能回调得到的应用包名是否相同,具体为:判断真实的应用包名与系统辅助功能回调得到的应用包名是否相同。由于当应用正在启动中时,扫描进程目录得到的是标识应用正在启动过程中的应用包名,并非应用真实的应用包名,若监听到应用正在启动中,缩短扫描系统的进程目录的预设周期,使得在应用启动完成后,能够尽快获得真实的应用包名;通过判断真实的应用包名与系统辅助功能回调得到的应用包名是否相同,保证了判断结果的准确性。In addition, before judging whether the application package name is the same as the application package name obtained by the system auxiliary function callback, the method further includes: judging whether the application package name is an application package name representing the application being started in the process, and if so, shortening the scanning system process directory until the real application package name of the process is obtained; determine whether the application package name is the same as the application package name obtained by the system auxiliary function callback, specifically: judging whether the real application package name is the same as the application package name obtained by the system auxiliary function callback . Since when the application is being started, the scanning process directory gets the application package name that identifies the application being started, not the real application package name of the application. Period, so that after the application is started, the real application package name can be obtained as soon as possible; by judging whether the real application package name and the application package name obtained by the system auxiliary function callback are the same, the accuracy of the judgment result is guaranteed.
另外,在上述获取进程对应的应用包名之后,还包括:判断应用包名是否为目标应用包名,若是,则强制结束进程,并通知用户卸载。在实际应用中,终端设备可能下载了流氓应用或恶意软件,当监听到应用包名为这些目标应用包名时,若任由应用启动,会造成很不好的用户体验,用户信息安全也得不到保障,因此,强制结束进程,并通知用户进行卸载可保障用户信息安全。In addition, after obtaining the application package name corresponding to the process, the method further includes: judging whether the application package name is the target application package name, and if so, forcibly ending the process and notifying the user to uninstall. In practical applications, the terminal device may have downloaded rogue applications or malicious software. When monitoring the application package names of these target application package names, if the application is allowed to start, it will cause a very bad user experience and user information security. There is no guarantee, therefore, forcibly ending the process and notifying the user to uninstall can ensure the safety of user information.
附图说明Description of drawings
图1是根据本发明第一实施方式提供的监听前台应用启动的方法流程图;1 is a flowchart of a method for monitoring foreground application startup provided according to a first embodiment of the present invention;
图2是根据本发明第二实施方式提供的监听前台应用启动的方法流程图;2 is a flowchart of a method for monitoring foreground application startup provided according to a second embodiment of the present invention;
图3是根据本发明第三实施方式提供的监听前台应用启动的方法流程图;3 is a flowchart of a method for monitoring foreground application startup provided according to a third embodiment of the present invention;
图4是根据本发明第四实施方式提供的监听前台应用启动的方法流程图;4 is a flowchart of a method for monitoring foreground application startup provided according to a fourth embodiment of the present invention;
图5是根据本发明第五实施方式提供的监听前台应用启动的装置结构示意图;5 is a schematic structural diagram of an apparatus for monitoring the startup of a foreground application provided according to a fifth embodiment of the present invention;
图6是根据本发明第六实施方式提供的终端设备结构示意图。FIG. 6 is a schematic structural diagram of a terminal device provided according to a sixth embodiment of the present invention.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合附图对本发明的各实施方式进行详细的阐述。然而,本领域的普通技术人员可以理解,在本发明各实施方式中,为了使读者更好地理解本申请而提出了许多技术细节。但是,即使没有这些技术细节和基于以下各实施方式的种种变化和修改,也可以实现本申请所要求保护的技术方案。以下各个实施例的划分是为了描述方便,不应对本发明的具体实现方式构成任何限定,各个实施例在不矛盾的前提下可以相互结合相互引用。In order to make the objectives, technical solutions and advantages of the embodiments of the present invention clearer, the various embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, those of ordinary skill in the art can appreciate that, in the various embodiments of the present invention, many technical details are set forth in order for the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical solutions claimed in the present application can be realized. The following divisions of the various embodiments are for the convenience of description, and should not constitute any limitation on the specific implementation of the present invention, and the various embodiments may be combined with each other and referred to each other on the premise of not contradicting each other.
本发明的第一实施方式涉及一种监听前台应用启动的方法。本实施方式中,以预设周期扫描系统的进程目录;判断是否有新增的进程,若有,则获取所述进程对应的应用包名;判断所述应用包名与系统辅助功能回调得到的应用包名是否相同,若是,则判定有前台应用启动。通过同时监听系统的进程目录中新增的进程和系统辅助功能的回调,可使得最终的判断结果准确率高,兼容性好。本实施方式中的监听前台应用启动的方法如图1所示,下面对本实施方式的监听前台应用启动的方法的实现细节进行具体的说明,以下内容仅为方便理解提供的实现细节,并非实施本方案的必须。The first embodiment of the present invention relates to a method for monitoring the startup of a foreground application. In this implementation manner, the process directory of the system is scanned at a preset period; it is judged whether there is a new process, and if so, the application package name corresponding to the process is obtained; Whether the application package names are the same, if so, it is determined that a foreground application is started. By simultaneously monitoring the newly added process in the process directory of the system and the callback of the system auxiliary function, the final judgment result can be made with high accuracy and good compatibility. The method for monitoring the startup of a foreground application in this embodiment is shown in FIG. 1 , and the implementation details of the method for monitoring the startup of a foreground application in this embodiment are described in detail below. The following content is only provided for the convenience of understanding. program must.
步骤101:以预设周期扫描系统的进程目录。Step 101: Scan the process directory of the system at a preset cycle.
具体地说,由于linux系统内核会把进程信息保存在/proc目录下,以预设周期扫描系统的进程目录,即创建服务并开启一个线程,以预设周期扫描系统的/proc目录。进一步地,在本实施方式中,采用的扫描周期为150ms,一方面可以及时获取到新启动的进程的状态,另一方面避免由于扫描的时间间隔太短导致的系统资源消耗过大的问题,也就是说,可以在及时获取到新启动的进程的同时,有效节约系统资源。Specifically, the Linux system kernel will save process information in the /proc directory, and scan the system's process directory at a preset cycle, that is, create a service and start a thread to scan the system's /proc directory at a preset cycle. Further, in this embodiment, the scanning period used is 150ms, on the one hand, the status of the newly started process can be obtained in time, and on the other hand, the problem of excessive consumption of system resources caused by too short scanning time interval is avoided, That is to say, system resources can be effectively saved while acquiring the newly started process in time.
步骤102:根据扫描的进程目录判断是否有新增的进程,若判断结果为是,则执行步骤103,否则返回步骤101。Step 102 : Determine whether there is a new process according to the scanned process directory, if the determination result is yes, execute
具体地说,判断是否有新增的进程,即判断进程目录中是否有新增的进程文件夹,/proc目录中包含许多以数字命名的子目录,这些数字表示系统当前正在运行进程的进程号,里面包含对应进程相关的多个信息文件,这里的进程文件夹指的就是以数字命名的子目录,若有新增的进程文件夹,即有新增的以数字命名的子目录,可判定有新增的进程。通过判断是否有新创建的进程文件夹的方法来判定是否有新增的进程,判断结果准确且速度快。Specifically, to determine whether there is a new process, that is, to determine whether there is a new process folder in the process directory, the /proc directory contains many subdirectories named with numbers, and these numbers represent the process number of the currently running process in the system. , which contains multiple information files related to the corresponding process. The process folder here refers to the subdirectory named by the number. If there is a new process folder, that is, there is a new subdirectory named by the number, which can be determined There are new processes. By judging whether there is a newly created process folder to determine whether there is a new process, the judgment result is accurate and fast.
此外,在具体实施中,根据扫描的进程目录判断是否有新增的进程,具体为:根据扫描的进程目录判断是否有新增的主进程;若存在新增的主进程,则判定有新增的进程。由于同一个应用可能会创建多个进程,在实际应用中,只对主进程进行监听可减少系统的工作量,提高计算速度。In addition, in the specific implementation, it is determined whether there is a newly added process according to the scanned process directory, specifically: determining whether there is a newly added main process according to the scanned process directory; if there is a newly added main process, it is determined that there is a newly added process. process. Since the same application may create multiple processes, in practical applications, only monitoring the main process can reduce the workload of the system and improve the computing speed.
另外,由于当用户开启某些系统应用时(例如打开摄像机时),并不希望出现投放内容,因此在扫描系统的/proc目录,读取进程属性时,可过滤掉属于系统应用的进程,仅判断是否有新增的非系统进程。在实际实施中,进程属性中用户ID在1000到9999之间的进程会被过滤掉(用户ID在1000到9999之间的进程为系统进程),仅判断是否有用户ID不在这个范围内的新增进程,即仅判断是否有新增的非系统进程。In addition, when the user opens some system applications (for example, when the camera is turned on), he does not want the content to appear. Therefore, when scanning the /proc directory of the system and reading the process attributes, the processes belonging to the system applications can be filtered out. Determine whether there are new non-system processes. In actual implementation, processes with user IDs between 1000 and 9999 in the process attributes will be filtered out (processes with user IDs between 1000 and 9999 are system processes). Add a process, that is, only determine whether there is a new non-system process.
步骤103:获取进程对应的应用包名。Step 103: Obtain the application package name corresponding to the process.
具体地说,可通过读取进程属性获取进程对应的应用包名。Specifically, the application package name corresponding to the process can be obtained by reading the process attribute.
步骤104:判断应用包名与系统辅助功能回调得到的应用包名是否相同,若判断结果为是,则执行步骤105,否则返回步骤101。Step 104 : judging whether the application package name is the same as the application package name obtained by the system auxiliary function callback, if the judgment result is yes, go to step 105 , otherwise return to step 101 .
具体地说,由于安卓系统提供了功能服务AccessibilityService,当应用启动后,AccessibilityService被回调从而可以得到该应用的应用包名,判断进程对应的应用包名与系统辅助功能回调得到的应用包名是否相同,若相同,则执行步骤105。Specifically, because the Android system provides the functional service AccessibilityService, when the application starts, the AccessibilityService is called back so that the application package name of the application can be obtained, and it can be judged whether the application package name corresponding to the process is the same as the application package name obtained by the system auxiliary function callback. , if the same, go to step 105.
步骤105:判定有前台应用启动。Step 105: It is determined that a foreground application is started.
具体地说,监听到新增的进程对应的应用包名与系统辅助功能回调得到的应用包名相同时,即以两种手段得到的应用包名相同,此时可判定有前台应用启动。Specifically, when it is detected that the application package name corresponding to the newly added process is the same as the application package name obtained by the system auxiliary function callback, that is, the application package name obtained by the two methods is the same, at this time, it can be determined that a foreground application is started.
在具体实施中,本实施方式采用的方法可以配置成系统的应用程序,从而拥有自启动、监听其他应用启动等较高的权限。也就是说,可以通过配置apk文件,并将配置好的apk文件放到system/app目录下,实现本实施方式。In specific implementation, the method adopted in this embodiment can be configured as an application program of the system, so as to have higher authority such as self-starting and monitoring the startup of other applications. That is to say, the present embodiment can be implemented by configuring the apk file and placing the configured apk file in the system/app directory.
本实施方式相对于现有技术而言,通过以预设周期扫描系统的进程目录,可及时得到系统的进程目录的最新状况;在判断出有新的进程启动时,获取进程对应的应用包名可知道具体是哪个应用的进程正在启动;判断该应用包名与系统辅助功能回调得到的应用包名是否相同,若是,则判定有前台应用启动。同时考虑了系统进程目录和系统回调两方面的监听结果,使得最终的判断结果更为准确。另外,由于系统进程目录与安卓系统版本无关,而且,目前的安卓版本基本都支持系统辅助功能的回调函数,因此,本方案的兼容性好。Compared with the prior art, in this embodiment, by scanning the process directory of the system at a preset period, the latest status of the process directory of the system can be obtained in time; when it is determined that a new process is started, the application package name corresponding to the process is obtained. It can know which application process is starting; judge whether the application package name is the same as the application package name obtained by the system auxiliary function callback, and if so, it is judged that a foreground application is started. At the same time, the monitoring results of the system process directory and the system callback are considered to make the final judgment result more accurate. In addition, since the system process directory has nothing to do with the Android system version, and the current Android version basically supports the callback function of the system auxiliary function, the compatibility of this solution is good.
本发明第二实施方式涉及一种监听前台应用启动的方法,第二实施方式与第一实施方式大致相同,主要区别之处在于:在本实施方式中,不仅可以监听前台应用的启动,而且可以在前台应用界面投放内容。本实施方式的流程图如图2所示,下面进行具体说明。The second embodiment of the present invention relates to a method for monitoring the startup of a foreground application. The second embodiment is roughly the same as the first embodiment, and the main difference is that: in this embodiment, not only the startup of the foreground application can be monitored, but also Serving content in the foreground application interface. The flowchart of this embodiment is shown in FIG. 2 and will be described in detail below.
步骤201:以预设周期扫描系统的进程目录。Step 201: Scan the process directory of the system at a preset cycle.
步骤202:根据扫描的进程目录判断是否有新增的进程,若判断结果为是,则执行步骤203,否则返回步骤201。Step 202 : Determine whether there is a new process according to the scanned process directory, if the determination result is yes, execute
步骤203:获取进程对应的应用包名。Step 203: Obtain the application package name corresponding to the process.
步骤201至步骤203与第一实施方式中的步骤201至步骤203大致相同,为避免重复,这里不再一一赘述。
步骤204:加载待投放内容。Step 204: Load the content to be delivered.
具体地说,在监听到有新的进程启动后,系统可根据获取的应用包名加载对应的带投放内容,比如加载待投放的图片、视频等。在具体实施中,广告投放商也可利用本实施方式提供的方法进行广告投放,即,待加载的内容为待投放的广告。Specifically, after monitoring that a new process is started, the system can load the corresponding content with delivery according to the acquired application package name, such as loading pictures and videos to be delivered. In a specific implementation, an advertisement delivery provider may also use the method provided by this embodiment to deliver advertisements, that is, the content to be loaded is the advertisement to be delivered.
步骤205:判断应用包名与系统辅助功能回调得到的应用包名是否相同,若判断结果为是,则执行步骤206,否则返回步骤201。Step 205 : judging whether the application package name is the same as the application package name obtained by the system auxiliary function callback, if the judgment result is yes, execute
步骤206:判定有前台应用启动。Step 206: It is determined that a foreground application is started.
步骤205和步骤206与第一实施方式中的步骤104和步骤105大致相同,为避免重复,这里不再一一赘述。
步骤207:将待投放内容投放到启动的前台应用的界面。Step 207: Put the content to be put on the interface of the activated foreground application.
具体地说,在判定有前台应用启动后,可将加载好的待投放内容投放到前台应用界面。Specifically, after it is determined that a foreground application is started, the loaded content to be delivered can be delivered to the foreground application interface.
在一个具体的例子中,在在加载待投放内容之前,先判断新增的进程是否为预设应用场景下的新增进程;若为预设应用场景下的新增进程,则再执行加载待投放内容。只对在预设场景下的新增进程进行内容的投放,可限制投放内容的场景,其中,预设场景可为当前界面为应用商店界面或系统launcher界面等,这里以应用商店为例。由于从应用商店打开的应用均为在应用商店下载的应用,一般不会为系统应用,限定仅在当前应用界面为应用商店界面时才进行监听,可限制被监听的应用的范围。具体而言,可利用安卓系统提供的辅助功能服务AccessibilityService,通过注册观察者模式,监听这个回调返回的应用包名,即可判定当前是的前台应用包名,判断返回的应用包名是不是指定的应用包名,如果是,则开始加载带投放内容。在预设应用场景下再在新启动的应用上投放图片、视频等待加载的内容,可使得投放内容的范围有限制,保证用户体验。另外,若待投放的内容为广告,通过设计预设的应用场景,使得只有在预设的应用场景下才加载广告并进行投放,可尽量减少对用户正常使用其他应用的打扰,保障用户体验。In a specific example, before loading the content to be delivered, it is first determined whether the newly added process is a newly added process under the preset application scenario; if it is a newly added process under the preset application scenario, then the loading pending process is executed Deliver content. Content delivery is only performed for newly added processes in the preset scenario, and the scenarios in which the content is delivered can be restricted. The preset scenario may be the current interface of the application store interface or the system launcher interface, etc. Here, the application store is used as an example. Since the apps opened from the app store are all apps downloaded from the app store, generally not system apps, it is limited to monitor only when the current app interface is the app store interface, which can limit the scope of monitored apps. Specifically, the AccessibilityService, an accessibility service provided by the Android system, can be used to monitor the application package name returned by this callback by registering the observer mode, to determine the current foreground application package name, and to determine whether the returned application package name is specified. , and if so, start loading with serving content. In the preset application scenario, the content of pictures and videos waiting to be loaded can be placed on the newly launched application, which can limit the scope of the content to be placed and ensure the user experience. In addition, if the content to be delivered is an advertisement, by designing a preset application scenario, the advertisement is loaded and delivered only in the preset application scenario, which can minimize the disturbance to the user's normal use of other applications and ensure the user experience.
本实施方式相对现有技术而言,由于扫描系统的进程目录得到应用包名的速度通常比系统辅助功能回调得到的应用包名的速度快,在获取进程的应用包名后加载投放内容,可使得待投放内容提前准备好,在判定有前台应用启动后便可立即投放,无需等到确定有前台应用启动后再加载待投放内容,提升了内容的投放速度,提高用户体验。Compared with the prior art, in this embodiment, the speed of scanning the process directory of the system to obtain the application package name is usually faster than the speed of obtaining the application package name obtained by the system auxiliary function callback. The content to be delivered is prepared in advance, and can be delivered immediately after it is determined that a foreground application is started, without waiting until it is determined that a foreground application is started before loading the content to be delivered, which improves the delivery speed of the content and improves the user experience.
本发明的第三实施方式涉及一种监听前台应用启动的方法。第三实施方式与第一实施方式大致相同,主要区别之处在于:在本发明第三实施方式中,提供了一种具体的获取进程对应的应用包名的方法。本实施方式的流程图如图3所示,下面进行具体说明。The third embodiment of the present invention relates to a method for monitoring the startup of a foreground application. The third embodiment is substantially the same as the first embodiment, and the main difference is that: in the third embodiment of the present invention, a specific method for obtaining an application package name corresponding to a process is provided. The flowchart of this embodiment is shown in FIG. 3 and will be described in detail below.
步骤301:以预设周期扫描系统的进程目录。Step 301: Scan the process directory of the system at a preset cycle.
步骤302:根据扫描的进程目录判断是否有新增的进程,若判断结果为是,则执行步骤303,否则返回步骤301。Step 302 : Determine whether there is a new process according to the scanned process directory, if the determination result is yes, go to
步骤303:获取进程对应的应用包名。Step 303: Obtain the application package name corresponding to the process.
步骤301至步骤303与第一实施方式中的步骤101至步骤103大致相同,为避免重复,这里不再一一赘述。
步骤304:判断应用包名是否为表征应用正在启动过程中的应用包名,若是,则执行步骤307,否则执行步骤305。Step 304: Determine whether the application package name is an application package name representing the application being started in the process, if so, go to step 307, otherwise go to step 305.
具体地说,表征应用正在启动过程中的应用包名通常为pre-initialized,也就是说,若在步骤303中获取的进程对应的应用包名为pre-initialized,则执行步骤307,否则执行步骤305。Specifically, the name of the application package representing the application being started is usually pre-initialized, that is, if the name of the application package corresponding to the process obtained in
步骤305:判断应用包名与系统辅助功能回调得到的应用包名是否相同,若判断结果为是,则执行步骤306,否则结束。Step 305: Determine whether the application package name is the same as the application package name obtained by the system auxiliary function callback. If the determination result is yes, then step 306 is executed, otherwise, the process ends.
步骤306:判定有前台应用启动。Step 306: It is determined that a foreground application is started.
步骤306与第一实施方式中的步骤105大致相同,为避免重复,这里不再一一赘述。Step 306 is substantially the same as
步骤307:缩短扫描系统目录的周期。Step 307: Shorten the period of scanning the system catalog.
也就是说,在本实施方式中,判断的是进程真实的应用包名与系统辅助功能回调得到的应用包名是否相同。在判断应用包名与系统辅助功能回调得到的应用包名是否相同之前,先判断应用包名是否为pre-initialized,若是,则缩短扫描系统进程目录的周期,比如从150ms缩短为10ms,直至获取进程真实的应用包名;判断真实的应用包名与系统辅助功能回调得到的应用包名是否相同。That is to say, in this embodiment, it is determined whether the real application package name of the process is the same as the application package name obtained by the system auxiliary function callback. Before judging whether the application package name is the same as the application package name obtained by the system auxiliary function callback, first determine whether the application package name is pre-initialized. If so, shorten the cycle of scanning the system process directory, for example, shorten it from 150ms to 10ms, until the acquisition The real application package name of the process; determine whether the real application package name is the same as the application package name obtained by the system auxiliary function callback.
本实施方式相对现有技术而言,由于当应用正在启动中时,扫描进程目录得到的是标识应用正在启动过程中的应用包名,并非应用真实的应用包名,若监听到应用正在启动中,缩短扫描系统的进程目录的周期,使得在应用启动完成后,能够尽快获得真实的应用包名;通过判断真实的应用包名与系统辅助功能回调得到的应用包名是否相同,保证了判断结果的准确性。Compared with the prior art, in this embodiment, when the application is being started, what is obtained by scanning the process directory is the application package name that identifies the application being started, not the real application package name of the application. , shorten the cycle of scanning the process directory of the system, so that after the application is started, the real application package name can be obtained as soon as possible; by judging whether the real application package name and the application package name obtained by the system auxiliary function callback are the same, the judgment result is guaranteed. accuracy.
本发明第四实施方式涉及一种监听前台应用启动的方法,第四实施方式与第一实施方式大致相同,主要区别之处在于:在本实施方式中,在应用包名为目标应用包名时,会强制结束进程。本实施方式的流程图如图4所示,下面进行具体说明。The fourth embodiment of the present invention relates to a method for monitoring the startup of a foreground application. The fourth embodiment is substantially the same as the first embodiment, and the main difference is that: in this embodiment, when the application package name is the target application package name , which will force the process to end. The flowchart of this embodiment is shown in FIG. 4 and will be described in detail below.
步骤401:以预设周期扫描系统的进程目录。Step 401: Scan the process directory of the system at a preset cycle.
步骤402:根据扫描的进程目录判断是否有新增的进程,若判断结果为是,则执行步骤403,否则返回步骤401。Step 402 : Determine whether there is a new process according to the scanned process directory, if the determination result is yes, execute
步骤403:获取进程对应的应用包名。Step 403: Obtain the application package name corresponding to the process.
步骤401至步骤403与第一实施方式中的步骤101至步骤103大致相同,为避免重复,这里不再一一赘述。
步骤404:判断应用包名是否为目标应用包名,若是,则执行步骤407,否则执行步骤405。Step 404: Determine whether the application package name is the target application package name, if yes, go to step 407, otherwise go to step 405.
具体地说,在实际应用中,终端设备可能下载了流氓应用或恶意软件,当监听到应用包名为这些目标应用包名时,若任由应用启动,会造成很不好的用户体验,用户信息安全也得不到保障,因此,可提前将一些已知的流氓应用或恶意软件对应的应用报名设置为目标应用包名,当监听到有目标应用的进程启动,即强制结束进该程,并通知用户对应用进行卸载,从而保障用户体验。Specifically, in practical applications, the terminal device may have downloaded rogue applications or malicious software. When listening to the application package names of these target application package names, if the application is allowed to start, it will cause a very bad user experience. Information security is also not guaranteed. Therefore, the application registration corresponding to some known rogue applications or malware can be set as the target application package name in advance. And notify the user to uninstall the application to ensure the user experience.
步骤405:判断应用包名与系统辅助功能回调得到的应用包名是否相同,若判断结果为是,则执行步骤405,否则返回步骤401。Step 405 : judging whether the application package name is the same as the application package name obtained by the system auxiliary function callback, if the judgment result is yes, execute
步骤406:判定有前台应用启动。Step 406: It is determined that a foreground application is started.
步骤405至步骤406与第一实施方式中的步骤104至步骤105大致相同,为避免重复,这里不再一一赘述。
步骤407:强制结束进程,并通知用户卸载。Step 407: Forcibly end the process, and notify the user to uninstall.
具体地说,可使用kill指令杀死恶意应用的进程,并提醒用户该应用为恶意应用,通知用户卸载。Specifically, the kill instruction can be used to kill the process of the malicious application, and remind the user that the application is a malicious application, and notify the user to uninstall it.
本实施方式相对现有技术而言,由于在实际应用中,终端设备可能下载了流氓应用或恶意软件,当监听到应用包名为这些目标应用包名时,若任由应用启动,会造成很不好的用户体验,用户信息安全也得不到保障,因此,强制结束进程,并通知用户进行卸载可保障用户信息安全。Compared with the prior art, in this implementation manner, in actual applications, the terminal device may download rogue applications or malicious software. Bad user experience and user information security cannot be guaranteed. Therefore, forcibly ending the process and notifying the user to uninstall can ensure user information security.
上面各种方法的步骤划分,只是为了描述清楚,实现时可以合并为一个步骤或者对某些步骤进行拆分,分解为多个步骤,只要包括相同的逻辑关系,都在本专利的保护范围内;对算法中或者流程中添加无关紧要的修改或者引入无关紧要的设计,但不改变其算法和流程的核心设计都在该专利的保护范围内。The steps of the above various methods are divided only for the purpose of describing clearly. During implementation, they can be combined into one step or some steps can be split and decomposed into multiple steps. As long as the same logical relationship is included, they are all within the protection scope of this patent. ;Adding insignificant modifications to the algorithm or process or introducing insignificant designs, but not changing the core design of the algorithm and process are all within the scope of protection of this patent.
本发明第五实施方式涉及一种监听前台应用启动的装置,如图5所示,包括:The fifth embodiment of the present invention relates to a device for monitoring the startup of a foreground application, as shown in FIG. 5 , including:
扫描模块501,用于以预设周期扫描系统的进程目录;The
第一判断模块502,用于根据扫描的进程目录判断是否有新增的进程;The
获取模块503,用于在判断模块判定有新增的进程时,获取进程对应的应用包名;The obtaining
第二判断模块504,用于判断应用包名与系统辅助功能回调得到的应用包名是否相同,若是,则判定有前台应用启动。The
在一个例子中,在获取进程对应的应用包名之后,还包括:加载待投放内容;在判定有前台应用启动后,还包括:将待投放内容投放到启动的前台应用的界面。In one example, after acquiring the application package name corresponding to the process, the method further includes: loading the content to be delivered; after determining that a foreground application is started, the method further includes: delivering the content to be delivered to the interface of the started foreground application.
在一个例子中,在以预设周期扫描系统的进程目录之前,还包括:判断当前前台应用是否为预设应用,若是,则再执行以预设周期扫描系统的进程目录。In one example, before scanning the process directory of the system at a preset cycle, the method further includes: judging whether the current foreground application is a preset application, and if so, scanning the process directory of the system at a preset cycle.
在一个例子中,根据扫描的进程目录判断是否有新增的进程,具体为:根据扫描的进程目录判断是否有新增的主进程;若存在新增的主进程,则判定有新增的进程。In an example, it is determined whether there is a new process according to the scanned process directory, specifically: determining whether there is a new main process according to the scanned process directory; if there is a new main process, it is determined that there is a new process .
在一个例子中,,判断是否有新增的进程,具体为:判断进程目录中是否有新增的进程文件夹,若有,则判定有新增的进程。In one example, determining whether there is a newly added process is specifically: determining whether there is a newly added process folder in the process directory, and if so, determining that there is a newly added process.
在一个例子中,在判断应用包名与系统辅助功能回调得到的应用包名是否相同之前,还包括:判断应用包名是否为表征应用正在启动过程中的应用包名,若是,则缩短扫描系统进程目录的周期,直至获取真实的应用包名;判断应用包名与系统辅助功能回调得到的应用包名是否相同,具体为:判断真实的应用包名与系统辅助功能回调得到的应用包名是否相同。In an example, before judging whether the application package name is the same as the application package name obtained by the system auxiliary function callback, the method further includes: judging whether the application package name is an application package name representing the application being started in the process, and if so, shortening the scanning system The cycle of the process directory until the real application package name is obtained; determine whether the application package name is the same as the application package name obtained by the system auxiliary function callback, specifically: judging whether the real application package name and the application package name obtained by the system auxiliary function callback are not same.
在一个例子中,在获取进程对应的应用包名之后,还包括:判断应用包名是否为目标应用包名,若是,则强制结束进程,并通知用户卸载。In one example, after acquiring the application package name corresponding to the process, the method further includes: judging whether the application package name is the target application package name, and if so, forcibly ending the process and notifying the user to uninstall.
不难发现,本实施方式为与第一实施方式至第三实施方式相对应的系统实施例,本实施方式可与第一实施方式至第三实施方式互相配合实施。第一实施方式至第三实施方式中提到的相关技术细节在本实施方式中依然有效,为了减少重复,这里不再赘述。相应地,本实施方式中提到的相关技术细节也可应用在第一实施方式至第三实施方式中。It is not difficult to find that this embodiment is a system example corresponding to the first embodiment to the third embodiment, and this embodiment can be implemented in cooperation with the first embodiment to the third embodiment. The related technical details mentioned in the first embodiment to the third embodiment are still valid in this embodiment, and are not repeated here in order to reduce repetition. Correspondingly, the relevant technical details mentioned in this embodiment can also be applied to the first embodiment to the third embodiment.
值得一提的是,本实施方式中所涉及到的各模块均为逻辑模块,在实际应用中,一个逻辑单元可以是一个物理单元,也可以是一个物理单元的一部分,还可以以多个物理单元的组合实现。此外,为了突出本发明的创新部分,本实施方式中并没有将与解决本发明所提出的技术问题关系不太密切的单元引入,但这并不表明本实施方式中不存在其它的单元。It is worth mentioning that each module involved in this embodiment is a logical module. In practical applications, a logical unit may be a physical unit, a part of a physical unit, or multiple physical units. A composite implementation of the unit. In addition, in order to highlight the innovative part of the present invention, this embodiment does not introduce units that are not closely related to solving the technical problem proposed by the present invention, but this does not mean that there are no other units in this embodiment.
本发明第六施方式涉及一种终端设备,如图6所示,包括至少一个处理器601;以及,The sixth embodiment of the present invention relates to a terminal device, as shown in FIG. 6 , including at least one
与至少一个处理器601通信连接的存储器602;其中,a
存储器602存储有可被至少一个处理器601执行的指令,指令被至少一个处理器601执行,以使至少一个处理器601能够执行上述的监听前台应用启动的方法。The
其中,存储器602和处理器601采用总线方式连接,总线可以包括任意数量的互联的总线和桥,总线将一个或多个处理器601和存储器602的各种电路连接在一起。总线还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路连接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口在总线和收发机之间提供接口。收发机可以是一个元件,也可以是多个元件,比如多个接收器和发送器,提供用于在传输介质上与各种其他装置通信的单元。经处理器601处理的数据通过天线在无线介质上进行传输,进一步,天线还接收数据并将数据传送给处理器601。The
处理器601负责管理总线和通常的处理,还可以提供各种功能,包括定时,外围接口,电压调节、电源管理以及其他控制功能。而存储器602可以被用于存储处理器601在执行操作时所使用的数据。
本发明第五实施方式涉及一种计算机可读存储介质,存储有计算机程序。计算机程序被处理器执行时实现上述方法实施例。A fifth embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The above method embodiments are implemented when the computer program is executed by the processor.
即,本领域技术人员可以理解,实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-OnlyMemory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。That is, those skilled in the art can understand that all or part of the steps in the method for implementing the above embodiments can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium and includes several instructions to make a device ( It may be a single chip microcomputer, a chip, etc.) or a processor (processor) to execute all or part of the steps of the methods of the various embodiments of the present application. The aforementioned storage medium includes: U disk, removable hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes.
本领域的普通技术人员可以理解,上述各实施方式是实现本发明的具体实施例,而在实际应用中,可以在形式上和细节上对其作各种改变,而不偏离本发明的精神和范围。Those skilled in the art can understand that the above-mentioned embodiments are specific examples for realizing the present invention, and in practical applications, various changes in form and details can be made without departing from the spirit and the spirit of the present invention. scope.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910043153.7A CN109800567B (en) | 2019-01-17 | 2019-01-17 | Method and device for monitoring foreground application starting and terminal equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910043153.7A CN109800567B (en) | 2019-01-17 | 2019-01-17 | Method and device for monitoring foreground application starting and terminal equipment |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN109800567A CN109800567A (en) | 2019-05-24 |
| CN109800567B true CN109800567B (en) | 2021-09-17 |
Family
ID=66559568
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910043153.7A Expired - Fee Related CN109800567B (en) | 2019-01-17 | 2019-01-17 | Method and device for monitoring foreground application starting and terminal equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN109800567B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112650473B (en) * | 2019-10-12 | 2022-05-10 | 武汉斗鱼鱼乐网络科技有限公司 | Attribute monitoring method and device |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102542479A (en) * | 2010-12-31 | 2012-07-04 | 上海博泰悦臻电子设备制造有限公司 | Method and device for displaying advertisings on electronic equipment |
| CN104142844A (en) * | 2014-08-18 | 2014-11-12 | 广东欧珀移动通信有限公司 | Method and device for cleaning up mobile terminal processes |
| CN104268475A (en) * | 2014-09-30 | 2015-01-07 | 北京奇虎科技有限公司 | Application running system |
| CN106708501A (en) * | 2016-10-25 | 2017-05-24 | 腾讯科技(深圳)有限公司 | Activity monitoring method and device |
| CN108171536A (en) * | 2017-12-13 | 2018-06-15 | 北京奇艺世纪科技有限公司 | Startup advertisement methods of exhibiting and device, startup advertisement put-on method and system |
| CN109670868A (en) * | 2018-12-12 | 2019-04-23 | 网宿科技股份有限公司 | Advertisement placement method, system, terminal device, advertising platform and storage medium |
-
2019
- 2019-01-17 CN CN201910043153.7A patent/CN109800567B/en not_active Expired - Fee Related
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102542479A (en) * | 2010-12-31 | 2012-07-04 | 上海博泰悦臻电子设备制造有限公司 | Method and device for displaying advertisings on electronic equipment |
| CN104142844A (en) * | 2014-08-18 | 2014-11-12 | 广东欧珀移动通信有限公司 | Method and device for cleaning up mobile terminal processes |
| CN104268475A (en) * | 2014-09-30 | 2015-01-07 | 北京奇虎科技有限公司 | Application running system |
| CN106708501A (en) * | 2016-10-25 | 2017-05-24 | 腾讯科技(深圳)有限公司 | Activity monitoring method and device |
| CN108171536A (en) * | 2017-12-13 | 2018-06-15 | 北京奇艺世纪科技有限公司 | Startup advertisement methods of exhibiting and device, startup advertisement put-on method and system |
| CN109670868A (en) * | 2018-12-12 | 2019-04-23 | 网宿科技股份有限公司 | Advertisement placement method, system, terminal device, advertising platform and storage medium |
Non-Patent Citations (2)
| Title |
|---|
| "Android--判断App处于前台还是后台的方案";明朗晨光;《https://blog.csdn.net/u011386173/article/details/79095757》;20180118;1-13 * |
| 明朗晨光."Android--判断App处于前台还是后台的方案".《https://blog.csdn.net/u011386173/article/details/79095757》.2018, * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN109800567A (en) | 2019-05-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103826215B (en) | A kind of method and apparatus for carrying out Root authority management on the terminal device | |
| EP3509270B1 (en) | Data backup method and device, storage medium and electronic apparatus | |
| CN103714287B (en) | Method and device for obtaining temporary Root authority | |
| WO2016183951A1 (en) | System upgrade method and terminal | |
| CN107220074B (en) | Method and device for accessing and upgrading supporting layer software function | |
| CN110225078B (en) | Application service updating method, system and terminal equipment | |
| CN107544828A (en) | Configuring load application method and device | |
| CN107844306B (en) | Application program repairing method and device, storage medium and terminal | |
| CN111045789B (en) | Virtual machine starting method and device, electronic equipment and storage medium | |
| CN113849272A (en) | Method and device for adding GPU (graphics processing Unit) resources in virtual machine | |
| CN108563472B (en) | Method and device for loading service plug-in based on multi-open application | |
| CN112256351B (en) | Method for realizing Feign component, method and device for calling micro-service | |
| CN109800567B (en) | Method and device for monitoring foreground application starting and terminal equipment | |
| CN115495161B (en) | BIOS option modification validation method and device and storage medium | |
| CN105653960A (en) | Linux capability distribution method and device | |
| EP3754486B1 (en) | Selectively installing applications based on manifest files | |
| CN107967192B (en) | A system crash processing method and device for an intelligent terminal | |
| CN106598642B (en) | Method and device for using service in plug-in | |
| US11050621B2 (en) | Client, server and differential upgrade method | |
| CN103150292A (en) | Method and device for replacing system font file | |
| CN106445601A (en) | Device and method for plugin upgrading | |
| CN111966413B (en) | Configuration method and device | |
| CN117742801A (en) | Starting method and device of operating system | |
| JP4063573B2 (en) | Device driver installation / execution method, installation / execution method, and program | |
| CN111427603B (en) | Application program upgrading method and device |
Legal Events
| 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 | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20210917 Termination date: 20220117 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |