CN113986644A - Deleted application list extraction method and device based on android platform - Google Patents

Deleted application list extraction method and device based on android platform Download PDF

Info

Publication number
CN113986644A
CN113986644A CN202111005353.7A CN202111005353A CN113986644A CN 113986644 A CN113986644 A CN 113986644A CN 202111005353 A CN202111005353 A CN 202111005353A CN 113986644 A CN113986644 A CN 113986644A
Authority
CN
China
Prior art keywords
application
event information
event
report
state database
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111005353.7A
Other languages
Chinese (zh)
Inventor
廖泽宇
张通喜
钟嘉权
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Readboy Software Technology Co Ltd
Original Assignee
Zhuhai Readboy Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Readboy Software Technology Co Ltd filed Critical Zhuhai Readboy Software Technology Co Ltd
Priority to CN202111005353.7A priority Critical patent/CN113986644A/en
Publication of CN113986644A publication Critical patent/CN113986644A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3006Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Quality & Reliability (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Multimedia (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a deleted application list extraction method and device based on an android platform, which can comprehensively record each deleted application by monitoring the event information of installation, update and uninstallation of each application, recording the event information in a local application state database and synchronizing the event information to a server for storage, thereby helping a user know the state data change of each deleted application and avoiding the data loss of the deleted application after the system is reset.

Description

Deleted application list extraction method and device based on android platform
Technical Field
The invention relates to the technical field of intelligent terminals, in particular to a deleted application list extraction method and device based on an android platform.
Background
With the development of modern science and technology, the variety of intelligent devices is also continuously expanded, and gradually developed from computers and mobile phones to intelligent watches, intelligent glasses, intelligent sound boxes and other more kinds of intelligent devices, the information concerned by users is not only what data the currently installed or running applications on the devices have.
Taking the data of the mobile phone as an example, the user is concerned about what applications have been installed or installed on a certain mobile phone, what applications are uninstalled by the user for some reason, and even whether certain specific people use the internet surfing tool. For the above usage scenarios, the conventional handset data forensics scheme recovers a small portion of the unloaded application records through analysis of certain configuration files of the system. The existing method for recovering the unloaded application list by analyzing the configuration file has great limitation, only part of the system and part of the version can take effect, but actually, the application deleted by some unloading modes cannot be recorded in the file. The data acquired by the method is incomplete compared with the data acquired by the method.
The deleted application list extraction method, the terminal device and the storage medium proposed by CN 112632126a have two disadvantages, one is that it is judged through the feature data that the uninstallation of the application is easy to cause the omission of uninstalled application, and the application can not be identified after being uninstalled again and installed again. Secondly, if the user resets the system of the device, all data are lost, so that the deleted application list before the system is reset cannot be queried for extraction.
Disclosure of Invention
Aiming at the defects of the prior art, the invention aims to provide a deleted application list extraction method and device based on an android platform.
In order to achieve the purpose, the invention adopts the following technical scheme:
a deleted application list extraction method based on an android platform comprises the following specific processes:
s1, monitoring the uninstalling, installing and updating events of the application, and recording the event information to a local application state database when the uninstalling, installing and updating events of the application are triggered; the event information comprises an application name, an application package name, a version, event operation time and an event type, and the event type comprises unloading, installation and updating;
s2, the application state database reports the updated event information data to the server;
s3, the application state database receives the report information fed back by the server, including the report time and whether the report is successful, if the report is successful, the report information is stored, otherwise, the step S4 is skipped;
s4, after the current report information is saved, the report information is waited to be reported again in any one or more of the following modes:
(1) monitoring a network change event, reporting event information failed in reporting to the server again when the network change event is monitored to be changed from no network to a network, and returning to the step S3;
(2) monitoring a startup and shutdown event, detecting whether a report failure record exists in an application state database in a data initialization stage when the startup of the equipment is monitored, if so, reporting the report failure event information again, and returning to the step S3;
(3) when the time length from the last reporting failure reaches a preset period value, detecting whether a record of the reporting failure exists in the application state database, if so, reporting the event information of the reporting failure again, and returning to the step S3;
s5, when the device is started again after resetting the system, automatically synchronizing and storing the event information data stored in the server to the local application state database;
s6, when a user needs to inquire the deleted application list, firstly, the event information data in the server is triggered to be synchronized with the event information data in the local application state database of the equipment, then the event information corresponding to each application is extracted from the application state database, the application with the event type being uninstalled in the latest event information and all the event information are recorded in the deleted application list, and the finally generated deleted application list is displayed to the user in a preset interactive interface mode.
Furthermore, the uninstalling, installing and updating events of the application are respectively monitored through three broadcast events of internal.action _ PACKAGE _ REMOVED, internal.action _ PACKAGE _ ADDED and internal.action _ PACKAGE _ REPLACED.
Further, the deleted application list information may be printed when the device is connected to the target printer.
The present invention provides a computer-readable storage medium having stored therein a computer program which, when executed by a processor, implements the above-described method.
The invention provides an electronic device comprising a processor and a memory, the memory being for storing a computer program; the processor is configured to implement the above method when executing the computer program.
The invention has the beneficial effects that: in the invention, the event information of installation, update and uninstallation of each application is monitored and recorded in the local application state database, and is synchronously stored in the server, so that each deleted application can be comprehensively recorded, a user is helped to know the state data change of each deleted application, and the data loss of the deleted application after the system is reset can be avoided.
Detailed Description
The present invention will be further described below, and it should be noted that the present embodiment is based on the technical solution, and a detailed implementation manner and a specific operation process are provided, but the protection scope of the present invention is not limited to the present embodiment.
The embodiment provides a deleted application list extraction method based on an android platform, which specifically comprises the following steps:
s1, monitoring the uninstalling, installing and updating events of the application, and recording the event information to a local application state database when the uninstalling, installing and updating events of the application are triggered; the event information comprises an application name, an application package name, a version, event operation time and an event type, and the event type comprises unloading, installing and updating.
It should be noted that, the uninstall, install, and update events of the application can be monitored through three broadcast events of internal.
S2, the application state database reports the updated event information data to the server;
s3, the application state database receives the report information fed back by the server, including the report time, whether the report is successful, if the report is successful, the report information is stored, otherwise, the step S4 is skipped;
s4, after the current report information is saved, the report information is waited to be reported again in any one or more of the following modes:
(1) monitoring a network change event, reporting event information failed in reporting to the server again when the network change event is monitored to be changed from no network to a network, and returning to the step S3;
it should be noted that there is no network, program exception, weak network environment, etc. that may cause a failure in reporting, and the returned result is a failure at this time, and if the report is normal, the returned result is a success in reporting.
(2) Monitoring the startup and shutdown event, detecting whether a report failure record exists in the application state database in the data initialization stage when the startup of the device is monitored, if so, reporting the report failure event information again, and returning to the step S3.
(3) When the time length from the last reporting failure reaches the preset period value, detecting whether there is a record of the reporting failure in the application state database, if so, reporting the event information of the reporting failure again, and returning to the step S3.
And S5, when the device is started again after resetting the system, automatically synchronizing the event information data stored in the server and storing the event information data in the local application state database. This ensures that application state data is not lost after resetting the system.
S6, when a user needs to inquire the deleted application list, firstly, the event information data in the server is triggered to be synchronized with the event information data in the local application state database of the equipment, then the event information corresponding to each application is extracted from the application state database, the application with the event type being uninstalled in the latest event information and all the event information are recorded in the deleted application list, and the finally generated deleted application list is displayed to the user in a preset interactive interface mode. The deleted application list obtained by the method of the embodiment can clearly show the installation, update and uninstallation state data of each deleted application, and a user can conveniently know the state change of the deleted application in the equipment.
Further, the deleted application list information may be printed when the device is connected to the target printer.
Various corresponding changes and modifications can be made by those skilled in the art based on the above technical solutions and concepts, and all such changes and modifications should be included in the protection scope of the present invention.

Claims (5)

1. A deleted application list extraction method based on an android platform is characterized by comprising the following specific processes:
s1, monitoring the uninstalling, installing and updating events of the application, and recording the event information to a local application state database when the uninstalling, installing and updating events of the application are triggered; the event information comprises an application name, an application package name, a version, event operation time and an event type, and the event type comprises unloading, installation and updating;
s2, the application state database reports the updated event information data to the server;
s3, the application state database receives the report information fed back by the server, including the report time and whether the report is successful, if the report is successful, the report information is stored, otherwise, the step S4 is skipped;
s4, after the current report information is saved, the report information is waited to be reported again in any one or more of the following modes:
(1) monitoring a network change event, reporting event information failed in reporting to the server again when the network change event is monitored to be changed from no network to a network, and returning to the step S3;
(2) monitoring a startup and shutdown event, detecting whether a report failure record exists in an application state database in a data initialization stage when the startup of the equipment is monitored, if so, reporting the report failure event information again, and returning to the step S3;
(3) when the time length from the last reporting failure reaches a preset period value, detecting whether a record of the reporting failure exists in the application state database, if so, reporting the event information of the reporting failure again, and returning to the step S3;
s5, when the device is started again after resetting the system, automatically synchronizing and storing the event information data stored in the server to the local application state database;
s6, when a user needs to inquire the deleted application list, firstly, the event information data in the server is triggered to be synchronized with the event information data in the local application state database of the equipment, then the event information corresponding to each application is extracted from the application state database, the application with the event type being uninstalled in the latest event information and all the event information are recorded in the deleted application list, and the finally generated deleted application list is displayed to the user in a preset interactive interface mode.
2. The method of claim 1, wherein the uninstall, install and update events of the application are respectively monitored through three broadcast events of content.
3. The method of claim 1, wherein the deleted applications list information is printed when the device is connected to the target printer.
4. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method of any one of claims 1 to 3.
5. An electronic device comprising a processor and a memory, the memory for storing a computer program; the processor is adapted to carry out the method of any one of claims 1 to 3 when executing the computer program.
CN202111005353.7A 2021-08-30 2021-08-30 Deleted application list extraction method and device based on android platform Pending CN113986644A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111005353.7A CN113986644A (en) 2021-08-30 2021-08-30 Deleted application list extraction method and device based on android platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111005353.7A CN113986644A (en) 2021-08-30 2021-08-30 Deleted application list extraction method and device based on android platform

Publications (1)

Publication Number Publication Date
CN113986644A true CN113986644A (en) 2022-01-28

Family

ID=79735223

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111005353.7A Pending CN113986644A (en) 2021-08-30 2021-08-30 Deleted application list extraction method and device based on android platform

Country Status (1)

Country Link
CN (1) CN113986644A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101616495A (en) * 2008-06-23 2009-12-30 网秦无限(北京)科技有限公司 The method and system of individual privacy in the protection mobile phone
CN106775861A (en) * 2016-12-08 2017-05-31 武汉斗鱼网络科技有限公司 Self monitor method and its system of application program unloading
CN110865823A (en) * 2019-11-13 2020-03-06 北京小米移动软件有限公司 Pre-installed application control method, pre-installed application control device and storage medium
CN112632126A (en) * 2020-12-28 2021-04-09 厦门市美亚柏科信息股份有限公司 Deleted application list extraction method, terminal device and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101616495A (en) * 2008-06-23 2009-12-30 网秦无限(北京)科技有限公司 The method and system of individual privacy in the protection mobile phone
CN106775861A (en) * 2016-12-08 2017-05-31 武汉斗鱼网络科技有限公司 Self monitor method and its system of application program unloading
CN110865823A (en) * 2019-11-13 2020-03-06 北京小米移动软件有限公司 Pre-installed application control method, pre-installed application control device and storage medium
CN112632126A (en) * 2020-12-28 2021-04-09 厦门市美亚柏科信息股份有限公司 Deleted application list extraction method, terminal device and storage medium

Similar Documents

Publication Publication Date Title
CN102262544B (en) The method and apparatus of software upgrading
CN107948744B (en) Interface detection method, interface detection device, and computer-readable storage medium
CN103518191A (en) Upgrade method, intelligent terminal and upgrade system
CN102736978A (en) Method and device for detecting installation status of application program
CN106095621B (en) The restoration methods and system that Launcher is operating abnormally in a kind of Android system
CN111367925A (en) Data dynamic real-time updating method, device and storage medium
CN112817625A (en) System upgrading method and device, electronic equipment and storage medium
CN103164247B (en) The method and device that system application is repaired automatically
CN109739619B (en) Processing method and device based on containerized application and storage medium
CN107357731A (en) Process produces monitoring, analysis and the processing method of core dump problems
CN109597722A (en) Database backup file restoration methods, device and electronic equipment
US20100229184A1 (en) System management apparatus
CN112527354A (en) Monitoring software upgrading method, device, equipment and readable storage medium
CN114356855A (en) File management method, file management device, electronic device and readable storage medium
CN111198709A (en) RPM software package management method, system, device and readable storage medium
CN113032183A (en) System management method, device, computer equipment and storage medium
CN112905230A (en) Application program management method and device, terminal equipment and storage medium
CN106293814B (en) Upgrading method and device
CN113986644A (en) Deleted application list extraction method and device based on android platform
CN112286559A (en) Upgrading method and device for vehicle-mounted intelligent terminal
CN112948020B (en) Configuration file processing method and device
CN109634782A (en) A kind of detection method of system robustness, device, storage medium and terminal
CN100375026C (en) Quick storage equipment software installing/updating method
CN114115974A (en) Plug-in operation method, device and equipment and computer storage medium
CN111399929A (en) Test application starting 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20220128

RJ01 Rejection of invention patent application after publication