CN112286949B - Application list updating method and device, computer equipment and storage medium - Google Patents
Application list updating method and device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN112286949B CN112286949B CN202011307655.5A CN202011307655A CN112286949B CN 112286949 B CN112286949 B CN 112286949B CN 202011307655 A CN202011307655 A CN 202011307655A CN 112286949 B CN112286949 B CN 112286949B
- Authority
- CN
- China
- Prior art keywords
- data
- application
- application list
- list
- acquiring
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 49
- 230000002159 abnormal effect Effects 0.000 claims abstract description 55
- 238000012545 processing Methods 0.000 claims abstract description 36
- 238000007781 pre-processing Methods 0.000 claims abstract description 20
- 238000006243 chemical reaction Methods 0.000 claims abstract description 18
- 239000005441 aurora Substances 0.000 claims description 30
- 238000004590 computer program Methods 0.000 claims description 22
- 238000001914 filtration Methods 0.000 claims description 12
- 238000009434 installation Methods 0.000 claims description 11
- 238000000586 desensitisation Methods 0.000 claims description 5
- 238000012795 verification Methods 0.000 claims description 5
- 238000010276 construction Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 13
- 230000003111 delayed effect Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 238000005192 partition Methods 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 235000019800 disodium phosphate Nutrition 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
- 238000000638 solvent extraction Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention relates to an application list updating method, a device, a computer device and a storage medium, wherein the method comprises the steps of obtaining data under an original log landing directory; preprocessing data to obtain a log table; acquiring data of log table processing delay to obtain initial data; performing dimension table conversion on the initial data to obtain an intermediate table; judging whether the data in the intermediate table is abnormal data or not; if the data in the intermediate form is not abnormal data, acquiring a related terminal granularity set in the intermediate form; dividing application programs in the terminal granularity set according to preset conditions to obtain a division result; and constructing an application list according to the terminal granularity set and the division result. The invention can update the application list in real time, saves the running time and the storage space, and further achieves the aim of saving the cost.
Description
Technical Field
The present invention relates to mobile devices, and more particularly, to an application list updating method, apparatus, computer device, and storage medium.
Background
An application refers to a computer program that, when run in user mode, can interact with a user to perform a particular task or tasks, with a visual user interface. Each mobile device is provided with a list for displaying the application programs installed by the current mobile terminal, and the application list needs to be updated because the application programs on the mobile terminal are updated in real time.
The existing application list data structure is updated based on imei (international mobile equipment identification code, international Mobile Equipment Identity) granularity, imei is equivalent to an identity card of a mobile phone, the international mobile equipment identification code is generally attached to the back surface and the outer package of a machine body, and meanwhile, the international mobile equipment identification code also exists in a mobile phone memory, and can be inquired by inputting an x#06# in a mobile phone dialing keyboard; the method is not an active acquisition mode, and imei cannot be acquired in real time sometimes, so that the situation that the application list cannot be updated occurs, and the mode of updating the application list by imei granularity occupies a larger storage space and takes more running time, so that the experience of a user is affected.
Therefore, a new method is needed to be designed, so that the application list can be updated in real time, the running time and the storage space are saved, and the aim of saving the cost is achieved.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provide an application list updating method, an application list updating device, computer equipment and a storage medium.
In order to achieve the above purpose, the present invention adopts the following technical scheme: the application list updating method comprises the following steps:
Acquiring data of an original log under a floor directory;
Preprocessing the data to obtain a log table;
Acquiring the data of the log table processing delay to obtain initial data;
performing dimension table conversion on the initial data to obtain an intermediate table;
Judging whether the data in the intermediate table is abnormal data or not;
if the data in the intermediate table is not abnormal data, acquiring a related terminal granularity set in the intermediate table;
Dividing the application programs in the terminal granularity set according to preset conditions to obtain a division result;
and constructing an application list according to the terminal granularity set and the division result.
The further technical scheme is as follows: the preprocessing the data to obtain a log table comprises the following steps:
Filtering abnormal data of the data;
and warehousing the filtered data into the same table to obtain a log table.
The further technical scheme is as follows: the step of performing dimension table conversion on the initial data to obtain an intermediate table includes:
and associating the initial data according to the specific format of the equipment ID and the application information, and converting the initial data into the specific format of the aurora ID and the application information to obtain an intermediate table.
The further technical scheme is as follows: the judging whether the data in the intermediate table is abnormal data or not includes:
Judging whether the comparison matching degree of the application package information reported by the same equipment in the middle table when the day and the previous total data exceeds a first set threshold value or not;
If the comparison matching degree of the application package information reported by the same device of the middle table and the previous total data exceeds a first set threshold value, the data in the middle table are not abnormal data;
If the matching degree of the application package information reported by the same equipment in the middle table in the day and the previous total data is not more than a first set threshold, judging whether the matching degree of the application package information reported by the same equipment in the middle table in the day and the application package information reported by the same equipment in the yesterday is more than a second set threshold;
And if the matching degree of the application package information reported by the same device in the middle table in the day and the application package information reported in the yesterday exceeds a second set threshold, the data in the middle table are not abnormal data.
The further technical scheme is as follows: the terminal granularity set comprises aurora IDs of terminals and corresponding application information.
The further technical scheme is as follows: after the application list is constructed according to the terminal granularity set and the division result, the method further comprises the following steps:
acquiring data of installation and uninstallation of an application program of the equipment to obtain operation data;
Performing verification desensitization and warehousing processing on the operation data to obtain a real-time list;
Splitting the types of the application programs to the real-time list to obtain a processing result;
And updating the processing result into the application list.
The further technical scheme is as follows: after the processing result is updated into the application list, the method further comprises:
And acquiring the application program state according to the application list.
The invention also provides an application list updating device, which comprises:
the original data acquisition unit is used for acquiring data of the original log under the landing directory;
The preprocessing unit is used for preprocessing the data to obtain a log table;
a delay data acquisition unit for acquiring the data of the log table processing delay to obtain initial data;
the data conversion unit is used for carrying out dimension table conversion on the initial data so as to obtain an intermediate table;
A data judging unit for judging whether the data in the intermediate table is abnormal data;
A set acquisition unit, configured to acquire a terminal granularity set related to the middle table if the data in the middle table is not abnormal data;
the dividing unit is used for dividing the application programs in the terminal granularity set according to preset conditions to obtain a dividing result;
And the list construction unit is used for constructing an application list according to the terminal granularity set and the division result.
The invention also provides a computer device which comprises a memory and a processor, wherein the memory stores a computer program, and the processor realizes the method when executing the computer program.
The present invention also provides a storage medium storing a computer program which, when executed by a processor, performs the above-described method.
Compared with the prior art, the invention has the beneficial effects that: according to the invention, the initial data is converted by utilizing the dimension table and then is put into the intermediate table, the data in the intermediate table is subjected to abnormality judgment, a terminal granularity set is screened out and application program types are divided under the condition that the data in the intermediate table is not abnormal data, so that an application list is constructed, the application list is constructed based on the aurora ID of the terminal, the update task of the application list is carried out based on the aurora ID, the integrity of the application list is still ensured under the granularity of the device at the data level, the update problem that the application list cannot be applied because imei granularity cannot be acquired is solved, the application list can be updated in real time by adopting the device ID and the aurora ID, the running time and the storage space are saved, and the purpose of saving the cost is further achieved.
The invention is further described below with reference to the drawings and specific embodiments.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is an application scenario schematic diagram of an application list updating method provided by an embodiment of the present invention;
fig. 2 is a flow chart of an application list updating method according to an embodiment of the present invention;
FIG. 3 is a schematic sub-flowchart of an application list update method according to an embodiment of the present invention;
fig. 4 is a schematic sub-flowchart of an application list updating method according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating an application list update method according to another embodiment of the present invention;
FIG. 6 is a flowchart illustrating an application list update method according to another embodiment of the present invention;
FIG. 7 is a schematic block diagram of an application list updating apparatus provided in an embodiment of the present invention;
FIG. 8 is a schematic block diagram of a preprocessing unit of an application list updating device provided by an embodiment of the present invention;
fig. 9 is a schematic block diagram of a data judging unit of the application list updating apparatus provided by the embodiment of the present invention;
FIG. 10 is a schematic block diagram of an application list updating apparatus provided in another embodiment of the present invention;
FIG. 11 is a schematic block diagram of an application list updating apparatus according to another embodiment of the present invention;
fig. 12 is a schematic block diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be understood that the terms "comprises" and "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
Referring to fig. 1 and fig. 2, fig. 1 is a schematic application scenario diagram of an application list updating method according to an embodiment of the present invention. Fig. 2 is a schematic flow chart of an application list updating method provided by an embodiment of the present invention. The application list updating method is applied to the server. The server performs data interaction with the terminal, and after acquiring the data updated by the application program from the terminal, the data is converted and processed to update the application list.
Fig. 2 is a flow chart of an application list updating method according to an embodiment of the present invention. As shown in fig. 2, the method includes the following steps S110 to S190.
S110, acquiring data of the original log under the floor directory.
In this embodiment, the update information of the application program reported by all the terminals is placed under the original log-to-ground directory, which refers to a folder for registering the operation information of all the terminals.
S120, preprocessing the data to obtain a log table.
In this embodiment, the log table refers to a table constituted by application information that meets the requirements.
In one embodiment, referring to fig. 3, the step S120 may include steps S121 to S122.
S121, filtering abnormal data of the data.
In this embodiment, the regular matching and whitelisting of the data is specifically canceled, the page on which the data is located is not limited, and the data which obviously does not meet the format requirement is filtered,
S122, warehousing the filtered data into the same table to obtain a log table.
And uniformly placing the filtered data into a log table, and naming the log table.
S130, acquiring the data with the log table processing delay to obtain initial data.
In this embodiment, the initial data is unprocessed delay data in the log table within two days, and because there is a certain time difference between uploading information formed by the application program operation to the server, the application list can be updated more accurately only by acquiring the data of two days.
S140, performing dimension table conversion on the initial data to obtain an intermediate table.
In the present embodiment, the intermediate table is a table associated with application information in terms of aurora ID.
In the present embodiment, the dimension table refers to a table of conversion relations between aurora IDs and terminal IDs.
The format of the initial data is generally a field in which the terminal device ID and the application information are combined, through which the device ID and the application information can be mapped, and after the initial data is converted, the initial data can be put into a table, and the intermediate table formed by the initial data is named for distinguishing.
Specifically, the initial data is associated according to a specific format of the device ID and the application information, and is converted into a specific format of the aurora ID and the application information, so as to obtain an intermediate table.
The initial data reported by the terminal is associated with the dimension table according to the mode of the equipment ID and the application program information and is converted into the mode of the aurora ID and the application program information, so that an intermediate table is formed. The device application list update task is carried out based on the aurora ID, and the integrity of the application list under the granularity of the device is still ensured at the data level,
S150, judging whether the data in the intermediate table is abnormal data or not.
Judging whether the data reported by the current terminal is abnormal or not through the data in the intermediate table, for example, if the data reported by the previous terminal has one hundred application programs, the data reported by the present terminal has ten data reported by the present terminal, and the data reported by the yesterday terminal has one hundred data, then the data reported by the present terminal is incomplete, and then the abnormal data exists in the data in the intermediate table.
In one embodiment, referring to fig. 4, the step S150 may include steps S151 to S154.
S151, judging whether the comparison matching degree of the application package information reported by the same device of the middle table when the day and the previous total data exceeds a first set threshold value or not;
and S152, if the comparison matching degree of the application package information reported by the same equipment in the middle table and the previous total data exceeds a first set threshold, the data in the middle table are not abnormal data.
In this embodiment, application package information of the same device is screened out according to a mode that the device ID is matched with the application package name, the package name refers to the name of the application, and the application package information refers to the name and operation information of the application, including installation or uninstallation and operation time; matching the information reported by the same device on the day with the previous-day full-quantity data, and when the matching degree exceeds 85%, indicating that the data in the middle table is not abnormal data, wherein the full-quantity data refers to all application program information reported by the device on a certain day; in other embodiments, the first set threshold may be other data values, not limited to 85%.
And S153, if the matching degree of the comparison of the application package information reported by the same device in the middle table in the current day and the previous day total data does not exceed a first set threshold, judging whether the matching degree of the application package information reported by the same device in the middle table in the current day and the application package information reported by the same device in the yesterday exceeds a second set threshold.
In this embodiment, application package information of the same device is screened out according to a mode that the device ID is matched with the application package name, the package name refers to the name of the application, and the application package information refers to the name and operation information of the application, including installation or uninstallation and operation time; matching the information reported by the same device on the day with the application package information reported yesterday, and when the matching degree exceeds 85%, indicating that the data in the intermediate form is not abnormal data; in other embodiments, the first set threshold may be other data values, not limited to 85%.
If the matching degree between the application package information reported by the same device in the middle table and the application package information reported by the same device in yesterday exceeds a second set threshold, executing the step S152;
And S154, if the matching degree of the application package information reported by the same device in the middle table on the current day and the application package information reported by the same device in the yesterday does not exceed a second set threshold, the data in the middle table are abnormal data.
Under the condition that the data in the middle table is not abnormal data, the application list is calculated and updated, and the updating accuracy of the whole application list is improved.
And S160, if the data in the intermediate table is abnormal data, filtering the data in the dimension table.
Abnormal data appears in the middle table, which is considered to be that all data cannot be acquired due to the problems of authority and the like, and the data is incomplete, so that the data does not participate in the subsequent updating of the application list, some data unloaded in normal batch are filtered, but calculation is added again the next day, and in the embodiment, the step of ending is carried out after the filtering.
S170, if the data in the intermediate table is not abnormal data, acquiring a relevant terminal granularity set in the intermediate table.
In this embodiment, the terminal granularity set includes an aurora ID of the terminal and corresponding application information.
And screening out all application program information under the same aurora ID by taking the aurora ID of the terminal as an association relation, so as to obtain the whole list formed by all application programs of a certain terminal.
S180, dividing the application programs in the terminal granularity set according to preset conditions to obtain a division result.
In the present embodiment, the division result refers to a system application and a non-system application.
In this embodiment, only the list of non-system applications is updated, but in other embodiments, the list of all applications may be updated.
Specifically, the application programs under the same equipment are segmented according to a preset identification number, and are divided according to two parts of a system application program and a non-system application program, wherein the system application program comprises application programs carried by a system such as a software store, setting software, signal selection software and the like; the non-system application program refers to an application program carried by a non-system itself which needs personnel to operate, such as WeChat, QQ and the like.
According to the principle that the installation type in the original log is unknown, the intersection content is taken as a blacklist of the system application by the vendor ecology and system tools in the service system, namely, the demarcation principle of the non-system application.
And S190, constructing an application list according to the terminal granularity set and the division result.
In this embodiment, the application list refers to a table in which all non-system applications of a certain terminal are integrated, and the application list is a table divided according to aurora IDs of the terminal, that is, application information of one aurora ID falls into one application list.
In this embodiment, the initial data is data uploaded by the terminal in a certain period of time, generally five days or one week, etc., and different days may be set according to the actual situation.
According to the application list updating method, the initial data are converted by utilizing the dimension table and then are put into the intermediate table, the data in the intermediate table are subjected to anomaly judgment, the terminal granularity set is screened out and the application program types are divided under the condition that the data in the intermediate table are not abnormal data, so that an application list is constructed, the application list is constructed based on the aurora ID of the terminal, the equipment application list updating task is carried out based on the aurora ID, the integrity of the application list is still ensured under the data level, the problem that the application list cannot be updated due to the fact that the imei granularity cannot be acquired is solved, the application list is updated by adopting the equipment ID and the aurora ID, the application list can be updated in real time, the running time and the storage space are saved, and the cost is further saved.
Fig. 5 is a flowchart of an application list updating method according to another embodiment of the present invention. As shown in fig. 5, the application list updating method of the present embodiment includes steps S210 to S330. Steps S210 to S290 are similar to steps S110 to S190 in the above embodiment, and are not described herein. Steps S300 to S330 added in the present embodiment are described in detail below.
S300, acquiring data of installation and uninstallation of the device application program to obtain operation data.
In this embodiment, the operation data refers to data of installation and uninstallation of an application program on a device reported by an SDK (software development kit ) on the same day.
S310, checking and desensitizing the operation data and warehousing to obtain a real-time list.
In this embodiment, the real-time list refers to a table formed by operation data filtered by validity check and abnormal data, where the validity check includes checking whether the reporting timestamp is normal or not and whether the reported data format is normal or not; filtering abnormal data comprises analyzing abnormal data and illegal data of each field, and eliminating the data.
S320, splitting the types of the application programs in the real-time list to obtain a processing result.
In this embodiment, the processing result refers to a table formed by dividing the real-time list according to the non-system application program and the system application program.
S330, updating the processing result into the application list.
The data uploaded for the daily SDK may be used to update the application list.
Fig. 6 is a flowchart of an application list updating method according to another embodiment of the present invention. As shown in fig. 6, the application list updating method of the present embodiment includes steps S410 to S540. Steps S410 to S530 are similar to steps S210 to S330 in the above embodiment, and are not described herein. Step S540 added in the present embodiment is described in detail below.
S540, acquiring the application program state according to the application list.
In this embodiment, the application state includes installation, uninstallation, and the like, and the state of the application can be known through the state corresponding to the timestamp of the application.
For example: the aurora ID corresponding to the user a is jdid1, and an application list on the device is reported, wherein the application list refers to a table generated by application information according to the user ID, namely, the uid granularity.
Firstly, summarizing one day of data, preprocessing the data, wherein the preprocessing comprises analyzing the original data reported by the SDK, checking whether the reporting time stamp is normal or not, filtering the reported data format and abnormal data, namely analyzing the abnormal data and the data with illegal fields. And then converting jdid granularity application list information with the ui granularity reported by the user through a dimension table and cutting according to jdid tail numbers. The structure of the dimension table is shown in table 1, and the converted data is shown in table 2.
TABLE 1 Structure of dimension Table
Field name | Remarks |
Uid | User id |
Jdid | Aurora id |
TABLE 2 converted data
Uid | jdid |
11001 | 10007 |
11002 | 10007 |
11003 | 11002 |
And acquiring the aurora ID of the equipment through the ui matching correspondence jdid in the reported data. For example, if the uid of the reported data is 11001, the aurora ID obtained by dimension table matching is 10007; in order to alleviate the situation that the task cannot normally run due to the overlarge data volume of a single partition, the last bit data of the aurora ID is taken for partitioning, and the total number of the partitions is 10, for example, 10007, and tail=7 is obtained according to last bit segmentation. And comparing the application list of the reported device with the historical data, wherein the device is considered to be the same device only when the coincidence degree reaches 90 percent, otherwise, the device is used as abnormal data for filtering to ensure the accuracy of the application list. Summarizing three data streams, namely data history data reported on the same day and rmv data installed and uninstalled, and then judging the state of each page under jdid granularity: the historical data state of the terminal in the page is that the loading time stamp is 20200919, the state of the terminal in the page brought by the current report is that the unloading time stamp is 20200920, and the state of the terminal in the page is updated to be unloaded; if rmv data still exist at the terminal in the page, when rmv data reporting time is longer than the time stamp of applist reported on the same day, the state of the terminal is consistent with rmv data, and updating of the application list state under the granularity of the device can be completed. And the data distribution strategy is re-planned, so that the task execution time is saved.
Fig. 7 is a schematic block diagram of an application list updating apparatus 300 according to an embodiment of the present invention. As shown in fig. 7, the present invention also provides an application list updating apparatus 300 corresponding to the above application list updating method. The application list updating apparatus 300 includes a unit for performing the above-described application list updating method, and may be configured in a server. Specifically, referring to fig. 7, the application list updating apparatus 300 includes an original data acquisition unit 301, a preprocessing unit 302, a delayed data acquisition unit 303, a data conversion unit 304, a data judgment unit 305, a set acquisition unit 306, a division unit 307, and a list construction unit 308.
An original data obtaining unit 301, configured to obtain data under an original log landing directory; a preprocessing unit 302, configured to preprocess the data to obtain a log table; a delayed data obtaining unit 303, configured to obtain the log table processing delayed data, so as to obtain initial data; a data conversion unit 304, configured to perform dimension table conversion on the initial data to obtain an intermediate table; a data judging unit 305 for judging whether the data in the intermediate table is abnormal data; a set obtaining unit 306, configured to obtain a terminal granularity set related to the middle table if the data in the middle table is not abnormal data; a dividing unit 307, configured to divide the application programs in the terminal granularity set according to a preset condition, so as to obtain a division result; a list construction unit 308, configured to construct an application list according to the terminal granularity set and the division result.
In one embodiment, as shown in fig. 8, the preprocessing unit 302 includes a data filtering subunit 3021 and a binning subunit 3022.
A data filtering subunit 3021, configured to filter abnormal data from the data;
and a warehousing subunit 3022, configured to warehouse the filtered data into the same table, so as to obtain a log table.
In an embodiment, the data conversion unit 304 is configured to correlate the initial data according to a specific format of the device ID and the application information, and convert the initial data into a specific format of the aurora ID and the application information, so as to obtain an intermediate table.
In one embodiment, as shown in fig. 9, the data determining unit 305 includes a first determining subunit 3051 and a second determining subunit 3052.
The first judging subunit 3051 is configured to judge whether the matching degree of the application package information reported by the same device in the middle table when the application package information and the previous total data are compared with each other exceeds a first set threshold; if the comparison matching degree of the application package information reported by the same device of the middle table and the previous total data exceeds a first set threshold value, the data in the middle table are not abnormal data; a second judging subunit 3052, configured to judge whether the matching degree of the application package information currently reported by the same device in the middle table and the application package information reported by the same device in yesterday exceeds a second set threshold if the matching degree of the application package information currently reported by the same device in the middle table and the previous total data is not more than the first set threshold; and if the matching degree of the application package information reported by the same device in the middle table in the day and the application package information reported in the yesterday exceeds a second set threshold, the data in the middle table are not abnormal data.
Fig. 10 is a schematic block diagram of an application list updating apparatus 300 according to another embodiment of the present invention. As shown in fig. 10, the application list updating apparatus 300 of the present embodiment is an addition of the operation data acquisition unit 309, the processing unit 310, the splitting unit 311, and the updating unit 312 to the above-described embodiments.
An operation data acquisition unit 309 for acquiring data of installation and uninstallation of the device application to obtain operation data; a processing unit 310, configured to perform verification desensitization and warehousing processing on the operation data to obtain a real-time list; a splitting unit 311, configured to split the type of the application program from the real-time list, so as to obtain a processing result; an updating unit 312, configured to update the processing result into the application list.
It should be noted that, as will be clearly understood by those skilled in the art, the specific implementation process of the application list updating apparatus 300 and each unit may refer to the corresponding description in the foregoing method embodiments, and for convenience and brevity of description, the description is omitted here.
Fig. 11 is a schematic block diagram of an application list updating apparatus 300 according to another embodiment of the present invention. As shown in fig. 11, the application list updating apparatus 300 of the present embodiment is an addition of the state acquisition unit 313 to the above-described embodiment.
A state acquisition unit 313, configured to acquire an application state according to the application list.
The above-described application list updating apparatus 300 may be implemented in the form of a computer program that can be run on a computer device as shown in fig. 12.
Referring to fig. 12, fig. 12 is a schematic block diagram of a computer device according to an embodiment of the present application. The computer device 500 may be a server, where the server may be a stand-alone server or may be a server cluster formed by a plurality of servers.
With reference to FIG. 12, the computer device 500 includes a processor 502, memory, and a network interface 505 connected by a system bus 501, where the memory may include a non-volatile storage medium 503 and an internal memory 504.
The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer program 5032 includes program instructions that, when executed, cause the processor 502 to perform an application list update method.
The processor 502 is used to provide computing and control capabilities to support the operation of the overall computer device 500.
The internal memory 504 provides an environment for the execution of a computer program 5032 in the non-volatile storage medium 503, which computer program 5032, when executed by the processor 502, causes the processor 502 to perform an application list update method.
The network interface 505 is used for network communication with other devices. It will be appreciated by those skilled in the art that the structure shown in FIG. 12 is merely a block diagram of some of the structures associated with the present inventive arrangements and does not constitute a limitation of the computer device 500 to which the present inventive arrangements may be applied, and that a particular computer device 500 may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
Wherein the processor 502 is configured to execute a computer program 5032 stored in a memory to implement the steps of:
Acquiring data of an original log under a floor directory; preprocessing the data to obtain a log table; acquiring the data of the log table processing delay to obtain initial data; performing dimension table conversion on the initial data to obtain an intermediate table; judging whether the data in the intermediate table is abnormal data or not; if the data in the intermediate table is not abnormal data, acquiring a related terminal granularity set in the intermediate table; dividing the application programs in the terminal granularity set according to preset conditions to obtain a division result; and constructing an application list according to the terminal granularity set and the division result.
The terminal granularity set comprises the aurora ID of the terminal and corresponding application program information.
In one embodiment, when the preprocessing the data to obtain the log table step is implemented by the processor 502, the following steps are specifically implemented:
Filtering abnormal data of the data; and warehousing the filtered data into the same table to obtain a log table.
In one embodiment, when the step of performing the dimension table conversion on the initial data to obtain the intermediate table, the processor 502 specifically performs the following steps:
and associating the initial data according to the specific format of the equipment ID and the application information, and converting the initial data into the specific format of the aurora ID and the application information to obtain an intermediate table.
In one embodiment, when the step of determining whether the data in the intermediate table is abnormal data is implemented by the processor 502, the following steps are specifically implemented:
Judging whether the comparison matching degree of the application package information reported by the same equipment in the middle table when the day and the previous total data exceeds a first set threshold value or not; if the comparison matching degree of the application package information reported by the same device of the middle table and the previous total data exceeds a first set threshold value, the data in the middle table are not abnormal data; if the matching degree of the application package information reported by the same equipment in the middle table in the day and the previous total data is not more than a first set threshold, judging whether the matching degree of the application package information reported by the same equipment in the middle table in the day and the application package information reported by the same equipment in the yesterday is more than a second set threshold; and if the matching degree of the application package information reported by the same device in the middle table in the day and the application package information reported in the yesterday exceeds a second set threshold, the data in the middle table are not abnormal data.
In one embodiment, after implementing the step of building an application list according to the terminal granularity set and the division result, the processor 502 further implements the following steps:
Acquiring data of installation and uninstallation of an application program of the equipment to obtain operation data; performing verification desensitization and warehousing processing on the operation data to obtain a real-time list; splitting the types of the application programs to the real-time list to obtain a processing result; and updating the processing result into the application list.
In one embodiment, after implementing the step of updating the processing result into the application list, the processor 502 further implements the following steps:
And acquiring the application program state according to the application list.
It should be appreciated that in embodiments of the present application, the Processor 502 may be the central processing unit 310 (Central Processing Unit, CPU), the Processor 502 may also be other general purpose processors, digital signal processors (DIGITAL SIGNAL processors, DSPs), application SPECIFIC INTEGRATED Circuits (ASICs), off-the-shelf Programmable gate arrays (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. Wherein the general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Those skilled in the art will appreciate that all or part of the flow in a method embodying the above described embodiments may be accomplished by computer programs instructing the relevant hardware. The computer program comprises program instructions, and the computer program can be stored in a storage medium, which is a computer readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the flow steps of the embodiments of the method described above.
Accordingly, the present invention also provides a storage medium. The storage medium may be a computer readable storage medium. The storage medium stores a computer program which, when executed by a processor, causes the processor to perform the steps of:
Acquiring data of an original log under a floor directory; preprocessing the data to obtain a log table; acquiring the data of the log table processing delay to obtain initial data; performing dimension table conversion on the initial data to obtain an intermediate table; judging whether the data in the intermediate table is abnormal data or not; if the data in the intermediate table is not abnormal data, acquiring a related terminal granularity set in the intermediate table; dividing the application programs in the terminal granularity set according to preset conditions to obtain a division result; and constructing an application list according to the terminal granularity set and the division result.
The terminal granularity set comprises the aurora ID of the terminal and corresponding application program information.
In one embodiment, when the processor executes the computer program to perform the preprocessing on the data to obtain the log table step, the following steps are specifically implemented:
Filtering abnormal data of the data; and warehousing the filtered data into the same table to obtain a log table.
In one embodiment, when the processor executes the computer program to implement the step of performing dimension table conversion on the initial data to obtain an intermediate table, the steps are specifically implemented as follows:
and associating the initial data according to the specific format of the equipment ID and the application information, and converting the initial data into the specific format of the aurora ID and the application information to obtain an intermediate table.
In one embodiment, when the processor executes the computer program to implement the step of determining whether the data in the intermediate table is abnormal data, the following steps are specifically implemented:
Judging whether the comparison matching degree of the application package information reported by the same equipment in the middle table when the day and the previous total data exceeds a first set threshold value or not; if the comparison matching degree of the application package information reported by the same device of the middle table and the previous total data exceeds a first set threshold value, the data in the middle table are not abnormal data; if the matching degree of the application package information reported by the same equipment in the middle table in the day and the previous total data is not more than a first set threshold, judging whether the matching degree of the application package information reported by the same equipment in the middle table in the day and the application package information reported by the same equipment in the yesterday is more than a second set threshold; and if the matching degree of the application package information reported by the same device in the middle table in the day and the application package information reported in the yesterday exceeds a second set threshold, the data in the middle table are not abnormal data.
In an embodiment, after executing the computer program to implement the step of building an application list according to the terminal granularity set and the division result, the processor further implements the following steps:
Acquiring data of installation and uninstallation of an application program of the equipment to obtain operation data; performing verification desensitization and warehousing processing on the operation data to obtain a real-time list; splitting the types of the application programs to the real-time list to obtain a processing result; and updating the processing result into the application list.
In an embodiment, after executing the computer program to implement the step of updating the processing result into the application list, the processor further implements the steps of:
And acquiring the application program state according to the application list.
The storage medium may be a U-disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk, or other various computer-readable storage media that can store program codes.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein may be embodied in electronic hardware, in computer software, or in a combination of the two, and that the elements and steps of the examples have been generally described in terms of function in the foregoing description to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs. The units in the device of the embodiment of the invention can be combined, divided and deleted according to actual needs. In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit 310, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The integrated unit may be stored in a storage medium if implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention is essentially or a part contributing to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a terminal, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention.
While the invention has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.
Claims (9)
1. The application list updating method is characterized by comprising the following steps:
Acquiring data of an original log under a floor directory;
Preprocessing the data to obtain a log table;
Acquiring the data of the log table processing delay to obtain initial data;
Performing dimension table conversion on the initial data to obtain an intermediate table; specifically, the initial data is associated according to a specific format of the equipment ID and the application information, and is converted into a specific format of the aurora ID and the application information, so that an intermediate table is obtained;
Judging whether the data in the intermediate table is abnormal data or not;
if the data in the intermediate table is not abnormal data, acquiring a related terminal granularity set in the intermediate table;
Dividing the application programs in the terminal granularity set according to preset conditions to obtain a division result;
and constructing an application list according to the terminal granularity set and the division result.
2. The method for updating an application list according to claim 1, wherein preprocessing the data to obtain a log table comprises:
Filtering abnormal data of the data;
and warehousing the filtered data into the same table to obtain a log table.
3. The application list updating method according to claim 1, wherein the determining whether the data in the intermediate table is abnormal data includes:
Judging whether the comparison matching degree of the application package information reported by the same equipment in the middle table when the day and the previous total data exceeds a first set threshold value or not;
If the comparison matching degree of the application package information reported by the same device of the middle table and the previous total data exceeds a first set threshold value, the data in the middle table are not abnormal data;
If the matching degree of the application package information reported by the same equipment in the middle table in the day and the previous total data is not more than a first set threshold, judging whether the matching degree of the application package information reported by the same equipment in the middle table in the day and the application package information reported by the same equipment in the yesterday is more than a second set threshold;
And if the matching degree of the application package information reported by the same device in the middle table in the day and the application package information reported in the yesterday exceeds a second set threshold, the data in the middle table are not abnormal data.
4. The application list updating method according to claim 1, wherein the terminal granularity set includes an aurora ID of a terminal and corresponding application information.
5. The method for updating an application list according to claim 1, wherein after the application list is constructed according to the terminal granularity set and the division result, the method further comprises:
acquiring data of installation and uninstallation of an application program of the equipment to obtain operation data;
Performing verification desensitization and warehousing processing on the operation data to obtain a real-time list;
Splitting the types of the application programs to the real-time list to obtain a processing result;
And updating the processing result into the application list.
6. The application list updating method according to claim 5, wherein after the updating of the processing result into the application list, further comprising:
And acquiring the application program state according to the application list.
7. An application list updating apparatus, comprising:
the original data acquisition unit is used for acquiring data of the original log under the landing directory;
The preprocessing unit is used for preprocessing the data to obtain a log table;
a delay data acquisition unit for acquiring the data of the log table processing delay to obtain initial data;
the data conversion unit is used for carrying out dimension table conversion on the initial data so as to obtain an intermediate table; specifically, the initial data is associated according to a specific format of the equipment ID and the application information, and is converted into a specific format of the aurora ID and the application information, so that an intermediate table is obtained;
A data judging unit for judging whether the data in the intermediate table is abnormal data;
A set acquisition unit, configured to acquire a terminal granularity set related to the middle table if the data in the middle table is not abnormal data;
the dividing unit is used for dividing the application programs in the terminal granularity set according to preset conditions to obtain a dividing result;
And the list construction unit is used for constructing an application list according to the terminal granularity set and the division result.
8. A computer device, characterized in that it comprises a memory on which a computer program is stored and a processor which, when executing the computer program, implements the method according to any of claims 1-6.
9. A storage medium storing a computer program which, when executed by a processor, performs the method of any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011307655.5A CN112286949B (en) | 2020-11-20 | 2020-11-20 | Application list updating method and device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011307655.5A CN112286949B (en) | 2020-11-20 | 2020-11-20 | Application list updating method and device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112286949A CN112286949A (en) | 2021-01-29 |
CN112286949B true CN112286949B (en) | 2024-05-17 |
Family
ID=74399317
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011307655.5A Active CN112286949B (en) | 2020-11-20 | 2020-11-20 | Application list updating method and device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112286949B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103955504A (en) * | 2014-04-24 | 2014-07-30 | 华为技术有限公司 | Information screening method and user terminal |
CN106339273A (en) * | 2015-07-14 | 2017-01-18 | 阿里巴巴集团控股有限公司 | Application program restoration method, terminal and server |
CN109491860A (en) * | 2018-10-17 | 2019-03-19 | 深圳壹账通智能科技有限公司 | Method for detecting abnormality, terminal device and the medium of application program |
WO2020029407A1 (en) * | 2018-08-08 | 2020-02-13 | 平安科技(深圳)有限公司 | Alarm data management method and apparatus, and computer device and storage medium |
WO2020077152A1 (en) * | 2018-10-11 | 2020-04-16 | Dealvector, Inc. | Effective deployment of spreadsheets in browser environments |
CN111049942A (en) * | 2019-11-29 | 2020-04-21 | 视联动力信息技术股份有限公司 | Address data processing method, device, equipment and storage medium of video networking terminal |
CN111835624A (en) * | 2020-07-24 | 2020-10-27 | 深圳市和讯华谷信息技术有限公司 | In-application message distribution method and device, computer equipment and storage medium |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9216350B2 (en) * | 2007-03-26 | 2015-12-22 | Ricoh Company, Ltd. | Information processing apparatus, information processing method, information processing program, and storage medium storing information processing program |
US10922411B2 (en) * | 2018-06-20 | 2021-02-16 | Malwarebytes Inc. | Intelligent event collection for cloud-based malware detection |
-
2020
- 2020-11-20 CN CN202011307655.5A patent/CN112286949B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103955504A (en) * | 2014-04-24 | 2014-07-30 | 华为技术有限公司 | Information screening method and user terminal |
CN106339273A (en) * | 2015-07-14 | 2017-01-18 | 阿里巴巴集团控股有限公司 | Application program restoration method, terminal and server |
WO2020029407A1 (en) * | 2018-08-08 | 2020-02-13 | 平安科技(深圳)有限公司 | Alarm data management method and apparatus, and computer device and storage medium |
WO2020077152A1 (en) * | 2018-10-11 | 2020-04-16 | Dealvector, Inc. | Effective deployment of spreadsheets in browser environments |
CN109491860A (en) * | 2018-10-17 | 2019-03-19 | 深圳壹账通智能科技有限公司 | Method for detecting abnormality, terminal device and the medium of application program |
CN111049942A (en) * | 2019-11-29 | 2020-04-21 | 视联动力信息技术股份有限公司 | Address data processing method, device, equipment and storage medium of video networking terminal |
CN111835624A (en) * | 2020-07-24 | 2020-10-27 | 深圳市和讯华谷信息技术有限公司 | In-application message distribution method and device, computer equipment and storage medium |
Non-Patent Citations (1)
Title |
---|
基于JXTA的移动智能小区信息推送服务平台的设计与实现;黄舒榕;中国硕士学位论文全文数据库 工程科技辑 * |
Also Published As
Publication number | Publication date |
---|---|
CN112286949A (en) | 2021-01-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111143102B (en) | Abnormal data detection method and device, storage medium and electronic equipment | |
CN110535777B (en) | Access request control method and device, electronic equipment and readable storage medium | |
CN111178760B (en) | Risk monitoring method, risk monitoring device, terminal equipment and computer readable storage medium | |
CN111045921A (en) | Automatic interface testing method and device, computer equipment and storage medium | |
CN110471821B (en) | Abnormality change detection method, server, and computer-readable storage medium | |
CN108038130B (en) | Automatic false user cleaning method, device, equipment and storage medium | |
CN111143163B (en) | Data monitoring method, device, computer equipment and storage medium | |
CN110377454B (en) | Data verification method and device, computer equipment and storage medium | |
CN110134611B (en) | Memory leak analysis method, device, terminal and storage medium | |
CN111679968A (en) | Interface calling abnormity detection method and device, computer equipment and storage medium | |
CN108390793A (en) | A kind of method and device of analysis system stability | |
CN111709124A (en) | Product FMECA analysis method, product FMECA analysis device, computer equipment and storage medium | |
CN111352794A (en) | Abnormality detection method, abnormality detection device, computer device, and storage medium | |
CN111124878A (en) | Test report generation method and device, computer equipment and storage medium | |
CN111858369A (en) | Memory monitoring method, device, equipment and storage medium | |
CN117151726A (en) | Fault repairing method, repairing device, electronic equipment and storage medium | |
CN115190010A (en) | Distributed recommendation method and device based on software service dependency relationship | |
CN112286949B (en) | Application list updating method and device, computer equipment and storage medium | |
CN116684452B (en) | Knowledge center construction method and system based on AIGC large model | |
CN117724899A (en) | Project data backup method, system and medium | |
US11030024B2 (en) | Assigning a severity level to a computing service using tenant telemetry data | |
CN116074183B (en) | C3 timeout analysis method, device and equipment based on rule engine | |
CN110351330B (en) | Data uploading method and device, computer equipment and storage medium | |
CN112232719A (en) | Index quantitative scoring method, computer equipment and storage medium | |
CN110069382B (en) | Software monitoring method, server, terminal device, computer device and medium |
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 |