CN110333997A - The method and device of fusion device use information - Google Patents
The method and device of fusion device use information Download PDFInfo
- Publication number
- CN110333997A CN110333997A CN201910635695.3A CN201910635695A CN110333997A CN 110333997 A CN110333997 A CN 110333997A CN 201910635695 A CN201910635695 A CN 201910635695A CN 110333997 A CN110333997 A CN 110333997A
- Authority
- CN
- China
- Prior art keywords
- information
- software
- equipment
- name
- fused
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 77
- 230000004927 fusion Effects 0.000 title claims abstract description 21
- 238000012545 processing Methods 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 8
- 230000008569 process Effects 0.000 abstract description 13
- 238000013461 design Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000007499 fusion processing Methods 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3452—Performance evaluation by statistical analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Data Mining & Analysis (AREA)
- Bioinformatics & Computational Biology (AREA)
- Evolutionary Biology (AREA)
- Probability & Statistics with Applications (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Telephonic Communication Services (AREA)
- Stored Programmes (AREA)
Abstract
This application provides a kind of method and devices of fusion device use information, wherein this method comprises: obtaining at least one device using information using different modes;The equipment essential information that regular and device using information includes is determined based on pre-set equipment identification information, determines the corresponding equipment identification information of device using information;From the determining corresponding device using information of equipment identification information, the identical multiple device using informations to be fused of equipment identification information are obtained, the multiple device using informations to be fused that will acquire are merged.At least one device using information for using different modes to acquire is merged by the above method, it only needs to analyze fused device using information, a pair of at least one device using information for using different modes to acquire is not needed all to be analyzed, so that analytic process is simple, it is shorter the time required to analysis, the efficiency of analysis is higher, and time cost is lower.
Description
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method and an apparatus for fusing device usage information.
Background
At present, equipment such as a mobile phone and a tablet plays an important role in daily work and life, and a user installs working software or software which is popular in daily life on the equipment so as to meet the requirements of the user on the daily work and life by using the installed software. Therefore, by analyzing the equipment use information, the demand information such as the interest and hobby of the user can be effectively obtained, and the software related to the demand information is pushed to the user based on the demand information of the user. For example, in order to avoid missing of the acquired information, after software information installed in a mobile phone is acquired in different ways, analysis is performed on each piece of acquired software information, and if game software is installed in the mobile phone, it is determined that a user corresponding to the mobile phone is a game user, and further, a preference of the user is a game, so that new game information can be pushed to the user at regular time or irregular time.
In the prior art, device usage information in a preset time period is obtained in different manners, for example, the device usage information is obtained through a Software Development Kit (SDK) installed on a device, or the device usage information is obtained through a developer of the device, and because there is a difference in the device usage information obtained in different manners, the device usage information obtained in different manners needs to be analyzed one by one to obtain demand information of a user, and then, information pushing is performed according to the obtained demand information. However, the obtained equipment use information is analyzed in different modes one by one, the analysis time is long, the analysis process is complicated, and the analysis efficiency is low and the time cost is high.
Disclosure of Invention
In view of the above, an object of the present application is to provide a method and an apparatus for fusing device usage information, so as to improve analysis efficiency and reduce analysis time cost.
In a first aspect, an embodiment of the present application provides a method for fusing device usage information, where the method includes:
obtaining at least one device usage information using different means;
determining device identification information corresponding to the device use information based on a preset device identification information determination rule and device basic information included in the device use information;
and acquiring a plurality of pieces of equipment to be fused using information with the same equipment identification information from the equipment using information corresponding to the determined equipment identification information, and fusing the acquired plurality of pieces of equipment to be fused using information.
In some embodiments of the present application, after obtaining the at least one device usage information using different manners, the method further comprises:
and processing each piece of equipment use information according to the preset type information to obtain the processed equipment use information.
In some embodiments of the present application, the device basic information includes: the method for determining the equipment identity information comprises the following steps that based on a preset equipment identity information determination rule and equipment basic information included by the equipment use information, the equipment identity information corresponding to the equipment use information is determined, and the method comprises the following steps: detecting whether an IMEI in basic equipment information included in the equipment use information is empty or not;
if not, determining the IMEI as the equipment identification information corresponding to the equipment use information;
if yes, detecting whether IDFA in the basic information of the equipment included in the equipment use information is empty;
if not, determining the IDFA as the equipment identification information corresponding to the equipment use information;
if yes, detecting whether the MAC address in the basic equipment information included in the equipment use information is empty;
if not, determining the MAC address as the equipment identification information corresponding to the equipment use information;
if yes, detecting whether the Android ID in the basic equipment information included in the equipment use information is empty;
if not, determining the Android ID as the equipment identification information corresponding to the equipment use information; and if so, deleting the equipment use information.
In some embodiments of the application, the software information includes: a software name, and a package name; the acquiring, from the device usage information corresponding to the determined device identification information, multiple pieces of device usage information to be fused, which are the same as the device identification information, and fusing the acquired multiple pieces of device usage information to be fused, includes:
determining identification information corresponding to software information according to the software information in the use information of the equipment to be fused;
if the identification information corresponding to the software information is determined to be a package name, fusing the use information of the multiple devices to be fused based on the package name of the software information;
or if the identification information corresponding to the determined software information is a software name, fusing the use information of the multiple devices to be fused based on the software name of the software information.
In some embodiments of the application, if the determined identification information corresponding to the software information is a package name, fusing, based on the package name of the software information, usage information of a plurality of devices to be fused, includes:
when the software names in all the software information are null, fusing the use information of a plurality of devices to be fused based on the package names of the software information, wherein the fusing comprises the following steps:
merging the using information of the equipment to be fused containing the same package name, wherein the corresponding software name in the merged using information of the equipment is null;
or when the software name in any software information is not null, fusing the use information of the multiple devices to be fused based on the package name of the software information, including:
and merging the using information of the equipment to be fused containing the same package name, wherein the corresponding software name in the merged using information of the equipment is the software name with the largest occurrence frequency.
In some embodiments of the present application, the software information further comprises: version number, software attributes, and time stamp, the method further comprising:
in the fused device use information, the corresponding version number is the highest version number, the corresponding timestamp is the largest timestamp, and the corresponding software attribute is the software attribute corresponding to the software attribute value with the largest occurrence number.
In a second aspect, an embodiment of the present application further provides an apparatus for fusing device usage information, where the apparatus includes:
the acquisition module is used for acquiring at least one piece of equipment use information in different modes;
the device identification information determining module is used for determining device identification information corresponding to the device use information based on a preset device identification information determining rule and device basic information included in the device use information;
and the fusion module is used for acquiring a plurality of pieces of equipment to be fused using information with the same equipment identification information from the equipment using information corresponding to the determined equipment identification information, and fusing the acquired plurality of pieces of equipment to be fused using information.
In some embodiments of the present application, the apparatus further comprises:
and the processing module is used for processing the use information of each device according to the preset type information to obtain the processed use information of the devices.
In a third aspect, an embodiment of the present application further provides an electronic device, including: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating via the bus when the electronic device is running, the machine-readable instructions when executed by the processor performing the steps of the method for fusing device usage information as described in the first aspect above, or in any one of the possible implementations of the first aspect.
In a fourth aspect, the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and the computer program is executed by a processor to perform the steps of the method for fusing device usage information described in the first aspect, or any possible implementation manner of the first aspect.
The embodiment of the application provides a method and a device for fusing equipment use information, wherein the method for fusing the equipment use information comprises the following steps: obtaining at least one device usage information using different means; determining device identification information corresponding to the device use information based on a preset device identification information determination rule and device basic information included in the device use information; and acquiring a plurality of pieces of equipment to be fused using information with the same equipment identification information from the equipment using information corresponding to the determined equipment identification information, and fusing the acquired plurality of pieces of equipment to be fused using information. By the method, the at least one piece of equipment use information acquired in different modes is fused, the fused equipment use information is only needed to be analyzed, and the at least one piece of equipment use information acquired in different modes is not needed to be analyzed, so that the analysis process is simple, the analysis time is short, the analysis efficiency is high, and the time cost is low.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a flowchart illustrating a method for fusing device usage information according to an embodiment of the present disclosure;
FIG. 2 is a flow chart illustrating another method for fusing device usage information provided by an embodiment of the present application;
fig. 3 is a schematic structural diagram illustrating an apparatus for fusing device usage information according to an embodiment of the present disclosure;
fig. 4 shows a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Icon: 301-an obtaining module; 302-a device identification information determination module; 303-a fusion module; 400-an electronic device; 401-a processor; 402-a memory; 403-bus; 4021-a memory; 4022-external memory.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
In consideration of the prior art, the device usage information in the preset time period is obtained in different manners, for example, the device usage information is obtained through an SDK installed on the device, or the device usage information is obtained through a developer of the device, and the device usage information obtained in different manners differs, so that the device usage information obtained in different manners needs to be analyzed one by one to obtain the requirement information of the user, and then, information pushing is performed according to the obtained requirement information. However, the obtained equipment use information is analyzed in different modes one by one, the analysis time is long, the analysis process is complicated, and the analysis efficiency is low and the time cost is high. Based on this, the embodiment of the present application provides a method and an apparatus for fusing device usage information, which are described below by way of an embodiment.
For the convenience of understanding the present embodiment, a method for fusing device usage information disclosed in the embodiments of the present application will be described in detail first.
Example one
The embodiment of the present application provides a method for fusing device usage information, referring to a flowchart of the method for fusing device usage information shown in fig. 1, where the method includes S101-S103, and the specific process is as follows:
s101, acquiring at least one piece of equipment use information in different modes.
The device in the embodiment of the application comprises a mobile phone, a tablet and the like. When the device use information is acquired in different modes, the device use information can be acquired through the SDK installed on the device, the device use information can be acquired through a device developer, and the device use information can be directly acquired through a holder of the device.
The device usage information includes: software information and device basic information. Wherein the software information is installed software information or running software information. As an alternative embodiment, the software information includes: a software name, or/and a package name, further comprising one or more of the following information: the software attribute is used for identifying whether the software is preset software or non-preset software, and illustratively, the software attribute can be represented by 0 and 1, for example, 1 represents that the software is preset software, and 0 is non-preset software.
For example, the pieces of software information may be expressed as:
[{"version":"8.0.0.300","package":"com.huawei.hifolder","type":"1"},{"version":"7.0-2996264","package":"com.android.cts.priv.ctsshim","type":"1"},{"version":"7.0300.02","package":"com.moji.mjweather","type":"0"}]。
the software is composed of { "version": 8.0.0.300"," package ": com.huawei.folder", "type": 1"} and is software information, the package is a package name identifier, the com.huawei.folder is a package name, the version is a version, 8.0.0.300 is a specific version number, the type is a software attribute, and 1 indicates that the software is preset software.
The device basic information is used for indicating the source of the device use information and comprises one or more of the following information: international Mobile Equipment Identity (IMEI), Media Access Control (MAC) address, Android identification number (Android id), advertisement Identifier (Identifier For Advertising, IDFA), and the like. The IMEI is a serial number of the equipment, and the IMEI corresponding to each equipment is unique; the MAC address is a hardware identifier of the equipment and is determined by a manufacturer of the equipment; the android ID is randomly generated by a system installed on the equipment when the equipment is started for the first time, the android ID cannot be changed when the equipment is started again, but when the equipment upgrades the system or reinstalls the system, the android ID is randomly generated again by the upgraded system or the reinstalled system, and the android ID is changed; the IDFA is an advertisement identifier unique to a device in which the iOS system is installed, and IDFAs corresponding to different devices are different.
As an optional embodiment, after obtaining the at least one device usage information in different manners, the method further includes:
and processing each piece of equipment use information according to the preset type information to obtain the processed equipment use information.
Illustratively, the processing procedure is to determine whether the device usage information includes preset type information; if not, setting the preset type information to be null, and adding the null preset type information to the equipment use information; if yes, marking the preset type information, and deleting other information except the preset type information from the equipment use information to obtain the processed equipment use information.
Illustratively, the preset type information includes: software information, IMEI, MAC address, android id, IDFA, timestamp. And respectively processing each piece of equipment use information in the at least one piece of equipment use information acquired in different modes according to the method to obtain the processed at least one piece of equipment use information.
Illustratively, if the preset type information includes: version, package name, software attributes, software name, IMEI, MAC address, android id, IDFA, timestamp. Assume that the device usage information before processing is:
[ { "version": 8.0.0.300"," package ": com.huawei.folder", "type": 1"}, {" version ": 7.0300.02", "package": com.moji.mjweather "," type ": 0" } ], IMEI: 1A1B1C, MAC address: 1A1B1C2D, data state: test, time stamping: 1516243806.
the processed device usage information is:
[ { "version": 8.0.0.300"," package ": com. Null }, { "version": 7.0300.02"," package ": com. Empty } ], IMEI: 1A1B1C, MAC address: 1A1B1C2D, AndroidID: null, IDFA: null, timestamp: 1516243806.
s102, determining the device identification information corresponding to the device use information based on the preset device identification information determination rule and the device basic information included in the device use information.
In the embodiment of the application, the same device may have different identification information, for example, for a mobile phone, the mobile phone may be identified by a mobile phone number or an IMEI or an Android ID, respectively, so that a device identification information determination rule is preset to determine which identifier the device uses as the device identification information, thereby facilitating subsequent fusion of device use information.
In the embodiment of the application, the device identification information determination rule is a device identification information priority rule, and by setting the device identification information priority rule, which device identification information represents the device usage information can be determined. If the device identification information corresponding to the different device usage information is the same, it indicates that the different device usage information is obtained based on the same device. As an alternative embodiment, the device identification information determination rule includes: the priority of IMEI is maximum, the priority of IDFA is second, the priority of MAC address is second, and the priority of Android ID is minimum.
In the embodiment of the application, the IMEI is a serial number of the device, each device corresponds to an IMEI, but the IMEI cannot be acquired, that is, the IMEI in the basic information of the device is empty; taking the IDFA as the equipment identification information, the IDFA being the equipment identification information for installing the iOS system, the IDFAs corresponding to different equipment being different, and taking the IDFA as the equipment identification information, if the IDFA of the equipment cannot be obtained or does not exist, namely the IDFA in the basic information of the equipment is empty, taking the MAC address in the basic information of the equipment as the equipment identification information, and if the MAC address in the basic information of the equipment is empty, taking the Android ID of the equipment as the equipment identification information. In this way, the device identification information corresponding to the device usage information is determined by the device identification information determination rule, and whether the devices corresponding to different device usage information are the same or not can be determined based on the device identification information. Meanwhile, a plurality of pieces of equipment use information with the same equipment identification information are fused, namely different pieces of equipment use information of the same equipment, which are acquired in different modes, are fused, and then the fused equipment use information is analyzed without analyzing at least one piece of equipment use information acquired in different modes one by one, so that the analysis efficiency is improved. Furthermore, the device use information of other devices is prevented from being fused with the device use information of the device, and the analysis accuracy based on the fused device use information is improved.
Illustratively, the device identification information determination rule includes: if the IMEI has the largest priority, the IDFA has the second priority, the MAC address has the second priority, and the Android ID has the smallest priority, the device identification information corresponding to the device usage information is determined based on the preset device identification information determination rule and the device basic information included in the device usage information, and the method includes:
detecting whether the IMEI in the basic information of the equipment included in the equipment use information is empty or not;
if not, determining the IMEI as the equipment identification information corresponding to the equipment use information;
if yes, detecting whether IDFA in the basic information of the equipment included in the equipment use information is empty;
if not, determining the IDFA as the equipment identification information corresponding to the equipment use information;
if yes, detecting whether the MAC address in the basic equipment information included in the equipment use information is empty;
if not, determining the MAC address as the equipment identification information corresponding to the equipment use information;
if yes, detecting whether the Android ID in the basic equipment information included in the equipment use information is empty;
if not, determining the Android ID as equipment identification information corresponding to the equipment use information;
and if so, deleting the equipment use information.
In the embodiment of the application, if the Android ID in the device usage information is null, the device usage information is deleted, and the device usage information and other device usage information are not subjected to fusion processing.
S103, obtaining a plurality of pieces of equipment to be fused using information with the same equipment identification information from the equipment using information corresponding to the determined equipment identification information, and fusing the obtained plurality of pieces of equipment to be fused using information.
In the embodiment of the present application, device usage information that is the same as the device identification information is fused, and the device identification information is the same as the device usage information, and includes: the device identification information name and the device identification information value are the same. For example, if the device identification information of the device usage information X is: IMEI: 1A2B3C, where IMEI is a device identification information name, 1A2B3C is a device identification information value, and the device identification information of the device usage information Y is: IMEI: 1A2B3C, since the device identification information names of the device usage information X and the device usage information Y are IMEI, and the device identification information values of the device usage information X and the device usage information Y are 1A2B3C, the device usage information X and the device identification information of the device usage information Y are the same, and fusion can be performed.
The method for fusing the device use information provided by the embodiment of the application comprises the following steps: obtaining at least one device usage information using different means; determining equipment identification information corresponding to the equipment use information based on a preset equipment identification information determination rule and the equipment basic information included in the equipment use information; and acquiring a plurality of pieces of equipment to be fused using information with the same equipment identification information from the equipment using information corresponding to the determined equipment identification information, and fusing the acquired plurality of pieces of equipment to be fused using information. By the method, the at least one piece of equipment use information acquired in different modes is fused, the fused equipment use information is only needed to be analyzed, and the at least one piece of equipment use information acquired in different modes is not needed to be analyzed, so that the analysis process is simple, the analysis time is short, the analysis efficiency is high, and the time cost is low.
As an alternative embodiment, the software information includes: a software name, and a package name; obtaining a plurality of pieces of equipment to be fused using information with the same equipment identification information from the equipment using information corresponding to the determined equipment identification information, and fusing the obtained plurality of pieces of equipment to be fused using information, wherein the method comprises the following steps:
firstly, according to software information in the use information of the equipment to be fused, identification information corresponding to the software information is determined.
In the embodiment of the application, if the packet name in the software information is not empty, the packet name is the identification information corresponding to the piece of software information, and if the packet name in the software information is empty, the software name is the identification information corresponding to the piece of software information. The software name is the name of software, the package name is the name corresponding to the software information generated after the software is installed, the software name of one software will be changed, but the package name corresponding to the software will not be changed, for example, the software name of Taobao may be Taobao, Taobao 618, Taobao Shuang11, etc., and the corresponding package name is: "com.
And secondly, fusing the use information of the plurality of devices to be fused based on the package name of the software information if the identification information corresponding to the determined software information is the package name.
In the embodiment of the present application, when the identification information corresponding to the software information is a package name, the following two situations exist: firstly, the software name in the software information is null; and secondly, the software name in the software information is not null.
As an optional embodiment, if the identification information corresponding to the determined software information is a package name, fusing the information used by the multiple devices to be fused based on the package name of the software information, including:
when the software names in all the software information are null, fusing the use information of the multiple devices to be fused based on the package names of the software information, wherein the fusion comprises the following steps:
and merging the using information of the equipment to be fused containing the same package name, wherein the corresponding software name in the merged using information of the equipment is null.
In the embodiment of the application, the software information contained in the device use information with the same device identification information in the at least one device use information is fused, that is, the software information contained in the multiple device use information to be fused is fused. For example, if the device identification information of the device usage information a, the device usage information B, and the device usage information C is IMEI: 1A1B1C, it is considered that the device identification information of the device usage information a, the device usage information B, and the device usage information C are the same, and the device usage information can be fused to obtain fused device usage information. For example, the specific contents of the device usage information a, the device usage information B, and the device usage information C are as follows:
if the pieces of software information in the device usage information a are [ { package name: com.mm.cn, software name: empty; }, { package name: com.6kk.ok, software name: empty; }, { package name: com.mn.cn, software name: empty; } ];
the pieces of software information in the device usage information B are [ { package name: com.mm.cn, software name: empty; }, { package name: com.6kk.ok, software name: empty; }, { package name: com.nn.cn, software name: empty; } ];
the pieces of software information in the device usage information C are [ { package name: com.mn.cn, software name: empty; }, { package name: com.6kk.ok, software name: empty; }, { package name: com.nn.cn, software name: empty; } ];
the software information of the device usage information obtained by fusing the device usage information a, the device usage information B, and the device usage information C based on the package name is:
[ { package name: com.mm.cn, software name: empty; }, { package name: com.6kk.ok, software name: empty; }, { package name: com.mn.cn, software name: empty; }, { package name: com.nn.cn, software name: empty; }].
As an optional embodiment, if the identification information corresponding to the determined software information is a package name, fusing the information used by the multiple devices to be fused based on the package name of the software information, further comprising:
when the software name in any software information is not null, fusing the use information of a plurality of devices to be fused based on the package name of the software information, wherein the fusing comprises the following steps:
and merging the using information of the equipment to be fused containing the same package name, wherein the corresponding software name in the merged using information of the equipment is the software name with the largest occurrence frequency.
In the embodiment of the application, when the software information includes both the package name and the software name, the software name with the largest occurrence frequency is used as the software name corresponding to the fused package name, so as to obtain the fused software information, and further obtain the fused device use information.
For example, if the plurality of pieces of device usage information include device usage information D, device usage information E, and device usage information F, the specific contents of the plurality of pieces of software information in the device usage information D, the device usage information E, and the device usage information F are as follows:
[ { software name: 111, package name: com.mm.cn; }, { software name: 211, package name: com.6kk.ok; }, { software name: 321, package name: com.mn.cn; } ];
[ { software name: 123, package name: com.mm.cn; }, { software name: 211, package name: com.6kk.ok; }, { software name: 122, package name: com.nn.cn; } ];
[ { software name: 123, package name: com.mm.cn; }, { software name: 211, package name: com.6kk.ok; }, { software name: 122, package name: com.nn.cn; } ];
then, after the device usage information D, the device usage information E, and the device usage information F are fused, the obtained software information is:
[ { software name: 123, package name: com.mm.cn; }, { software name: 211, package name: com.6kk.ok; }, { software name: 321, package name: com.mn.cn; }, { software name: 122, package name: com.nn.cn } ].
For example, when determining the software name corresponding to the software information in the merged device usage information, if the different software names occur the same number of times, the software name with the larger timestamp may be selected as the software name corresponding to the software information in the merged device usage information by comparing the sizes of timestamps in the plurality of device usage information including the different software names.
For example, if the pieces of device usage information include device usage information D, device usage information E, device usage information G, and device usage information H, one piece of software information in the device usage information D is { software name: 111, package name: com.mm.cn; one piece of software information in the device usage information E is { software name: 123, package name: com.mm.cn; one piece of software information in the device usage information G is { software name: 111, package name: com.mm.cn; one piece of software information in the device usage information H is { software name: 123, package name: com.mm.cn; and f, package name: com.mm.cn software name: 111 and the software name 123 appear the same number of times, the size of the time stamp in the device usage information D, the device usage information E, the device usage information G, and the device usage information H needs to be compared, and if the time stamp in the device usage information D is: 1516248904, respectively; the time stamp in the device usage information E is 1516229957; the time stamp in the device usage information G is 1516227783; the timestamp in the device usage information H is 1516243806, and it is known that if the timestamp in the device usage information D is the largest, the software information obtained after fusion is { software name: 111, package name com.mm.cn; }.
Further, as an optional embodiment, obtaining multiple pieces of to-be-fused device usage information with the same device identification information from device usage information corresponding to the determined device identification information, and fusing the obtained multiple pieces of to-be-fused device usage information, further includes:
and if the identification information corresponding to the determined software information is the software name, fusing the use information of the plurality of devices to be fused based on the software name of the software information.
Illustratively, when the package names in all the software information are null, fusing the use information of the multiple devices to be fused based on the software names of the software information, including:
and merging the using information of the equipment to be fused containing the same software name, wherein the corresponding package name in the merged using information of the equipment is null.
Illustratively, if the packet name in the software information is null, the software name is the identification information of the software information. For example, the plurality of pieces of device usage information include device usage information O, device usage information P, and device usage information Q. One piece of software information in the device usage information O is { software name: 111, package name: empty; one piece of software information in the device usage information P is { software name: 123, package name: empty; one piece of software information in the device usage information Q is { software name: 111, package name: empty; and f, the identification information of the device usage information O, the device usage information P and the device usage information Q is software names, and the software names can be obtained by fusing the device usage information O, the device usage information P and the device usage information Q: 111 and software name: 123; the fused device usage information is obtained as [ { software name: 111, package name: empty; }, { software name: 123, package name: empty; }].
Further, if the device use information includes device use information in which the device identification information is a package name and device use information in which the device identification information is a software name, first, obtaining multiple pieces of device use information to be fused, which are the same as the device identification information, from the device use information in which the device identification information is the package name, and fusing the obtained multiple pieces of device use information to be fused to obtain fused first device use information; then, acquiring a plurality of pieces of equipment to be fused using information with the same equipment identification information from the equipment using information with the software name as the identification information, and fusing the acquired plurality of pieces of equipment to be fused using information to obtain fused second equipment using information; and finally, fusing the fused first device use information and the fused second device use information.
Illustratively, the plurality of pieces of device usage information include device usage information one, device usage information two, device usage information three, device usage information four, device usage information five, and device usage information six. One piece of software information in the first piece of device usage information is { software name: 111, package name: empty; and one piece of software information in the second piece of equipment use information is { software name: 123, package name: empty; and one piece of software information in the device use information three is { software name: 111, package name: empty; and one piece of software information in the device use information four is { software name: 123, package name: com.mm.cn; one piece of software information in the device use information five is { software name: empty, package name: com.mm.cn; one piece of software information in the device use information six is { software name: 111, package name: com.6kk.ok; analyzing, that is, the device identification information of the device usage information one, the device usage information two, and the device usage information three is a software name, and the device identification information of the device usage information four, the device usage information five, and the device usage information six is a package name, then firstly, the device usage information four, the device usage information five, and the device usage information six are fused to obtain fused first device usage information: { software name: 123, package name: com.mm.cn; }, { software name: 111, package name: com.6kk.ok; }; and secondly, fusing the first device use information, the second device use information and the third device use information to obtain fused second device use information: { software name: 111, package name: empty; }, { software name: 123, package name: empty; }; and finally, fusing the fused first device use information and the fused second device use information to obtain: { software name: 123, package name: com.mm.cn; }, { software name: 111, package name: com.6kk.ok; }.
In this embodiment, as an optional embodiment, the software information further includes: version number, software property, and timestamp, see fig. 2 for a flowchart of another method for fusing device usage information, the method further comprising:
and S104, in the fused equipment use information, the corresponding version number is the highest version number, the corresponding timestamp is the maximum timestamp, and the corresponding software attribute is the software attribute corresponding to the software attribute value with the largest occurrence frequency.
Illustratively, the process of determining the corresponding timestamp for the merged device usage information is as follows: and selecting the maximum time stamp from the plurality of pieces of equipment use information to be fused as the time stamp corresponding to the fused equipment use information. For example, if the plurality of pieces of device usage information to be fused include device usage information a, device usage information B, and device usage information C, the device usage information a includes a timestamp: 1516249904, respectively; time stamp included in the device usage information B: 1516250083, respectively; time stamp included in the device usage information C: 1516272185, respectively; the known timestamp is: 1516272185, the timestamp corresponding to the device usage information obtained by fusing the device usage information a, the device usage information B, and the device usage information C is 1516272185.
Illustratively, the process of determining the corresponding version number for the merged device usage information is as follows: and taking the highest version number from the software information included in the use information of the plurality of devices to be fused as the version number corresponding to the fused software information. For example, if the plurality of pieces of device usage information to be fused include device usage information M and device usage information N, one piece of software information in the device usage information M is { software name: 111, package name: com.mm.cn, version number: 8.0.0.300, respectively; one piece of software information in the device usage information N is { software name: 111, package name: com.mm.cn, version number: 8.1.0.300, respectively; and knowing the version number: 8.1.0.300 higher than version number: 8.0.0.300, the version number corresponding to the fused software information is: 8.1.0.300, fusing the device use information M and the device use information N to obtain software information of { software name: 111, package name: com.mm.cn, version number: 8.1.0.300, respectively; }.
As an optional embodiment, if the formats of the version numbers are not consistent and the version numbers cannot be compared, the version number with the larger timestamp can be selected as the version number corresponding to the fused software information by comparing the size of the timestamp in the usage information of the device to be fused. For example, if the plurality of pieces of device usage information to be fused include device usage information M and device usage information L, one piece of software information in the device usage information M is { software name: 111, package name: com.mm.cn, version number: 8.0.0.300, respectively; }, time stamp: 1162578, respectively; one piece of software information in the device usage information L is { software name: 111, package name: com.mm.cn, version number: 8.0 to 2567164; }, time stamp: 1163827, respectively; because the version number is: 8.0.0.300 and version number: if the formats of 8.0 to 2567164 are not consistent and the version numbers cannot be compared, the sizes of the timestamps of the software information M and the software information L are compared, and the timestamp: 1163827 greater than timestamp: 1162578, the version number corresponding to the fused software information is: 8.0 to 2567164, fusing the device usage information M and the device usage information L to obtain software information of { software name: 111, package name: com.mm.cn, version number: 8.0 to 2567164; }.
Illustratively, the process of determining the corresponding software attribute for the fused device usage information is as follows: and taking the attribute value with more software attribute occurrence times corresponding to the software information from the plurality of pieces of equipment use information to be fused as the software attribute corresponding to the fused software information. For example, the plurality of pieces of device usage information to be fused are device usage information W, device usage information Z, and device usage information K, and one piece of software information in the device usage information W is { software name: 111, package name: com.mm.cn, version number: 8.0.0.300, software Properties: 1; one piece of software information in the device usage information Z is { software name: 111, package name: com.mm.cn, version number: 8.1.0.300, software Properties: 0; one piece of software information in the device usage information K is { software name: 111, package name: com.mm.cn, version number: 8.2.0.300, software Properties: 0; and knowing that the software attribute corresponding to the fused software information is 0, the fused software information is { software name: 111, package name: com.mm.cn, version number: 8.2.0.300, software Properties: 0; }. Wherein, 1 represents that the software is preset software, and 0 represents non-preset software. Further, if the occurrence times are the same, the non-preset software is used as the software attribute corresponding to the fused software information.
Illustratively, if the device identification information is IMEI, the corresponding MAC address and Android ID need to be determined for the merged device usage information. As an optional embodiment, the process of determining the corresponding MAC address and Android ID for the fused device usage information may be: and selecting the MAC address with a larger timestamp and the Android ID as the MAC address and the Android ID corresponding to the fused equipment use information by comparing the sizes of the timestamps in the plurality of pieces of equipment use information to be fused, which comprise different MAC addresses and Android IDs.
As an alternative embodiment, a fusion date may be generated for the fused device usage information, and the generated fusion date may be stored in the fused device usage information, for example, the fusion date is: 2019-06-01-15:30, which indicates that the fusion date is 15:30 minutes in 6 months and 1 day in 2019.
In the embodiment of the present application, the above process is exemplarily described as follows:
if the at least one piece of device usage information acquired in different ways includes: the device usage information AA, the device usage information BB, the device usage information CC, the device usage information DD, the device usage information EE, the device usage information FF, wherein the specific contents included in the device usage information AA, the device usage information BB, the device usage information CC, the device usage information DD, the device usage information EE, the device usage information FF are respectively as follows:
the device usage information AA includes: IDFA: empty, IMEI: 1A1B1C, MAC address: 1A1B1C2D, Android ID: 2201819, time stamp: 1516243806, the pieces of software information are [ { "version": 8.0.0.300"," package ": com.huawei.folder", "software name": empty "," type ": 1" }, { "version": 7.0-2996264"," package ": com.android.cts.priv.ctsshim", "software name": empty "," type ": 1" }, { "version": 7.0300.02"," package ": com.moji.mjweather", "software name": empty "," type ": 0" }; h;
the device usage information BB includes: IDFA: empty, IMEI: 1A1B1C, MAC address: 2A3B3C2D, Android ID: 9DDC600, timestamp: 1516229957, the pieces of software information are [ { "version": 8.1.0.300"," package ": com.huawei.folder", "software name": empty "," type ": 1" }, { "version": 7.1-2996264"," package ": com.android.cts.priv.ctsshim", "software name": empty "," type ": 1" }, { "version": 7.1300.02"," package ": com.mo j.mjweather", "software name": empty "," type ": 0" }, { "version": 3.3"," package ": com.base.map.location", "software name": empty "," type ": 1" };
the device usage information CC includes: IDFA: empty, IMEI: 1A1B1C, MAC address: 2A3B3C2D, Android ID: 19B62F2, timestamp: 1516229635, the pieces of software information are { "version": 7.3-2996264"," package ": com.android.cts.priv.ctsshim", "software name": empty "," type ": 1" }, { "version": 7.1300.02"," package ": com.mjweather", "software name": empty "," type ": 0" }, { "version": 4.3"," package ": com.base.map.location", "software name": empty "," type ": 0" }, { "version": 6.11.0"," package ": type. target. o.target o", "software name": empty "," type ": 0" };
the device usage information DD includes: IDFA: empty, IMEI: 1A1B1C, MAC address: 2A3B3C2D, Android ID: 19B62F2, timestamp: 1516270111, the pieces of software information are [ { "version": 8.1.0.300"," package ": com.huawei.folder", "software name": empty "," type ": 1" }, { "version": 7.1300.02"," package ": com.moji.mjweather", "software name": empty "," type ": 0" }, { "version": 3.3"," package ": com.base.map.location", "software name": empty "," type ": 1" }, { "version": 7.11.0"," package ": com.taobao.taobao", "software name": empty "," type ": 0" };
the device usage information EE includes: IDFA: empty, IMEI: 1A2B3C, MAC address: 2a45C9EA, Android ID: 191A2F2, timestamp: 1516278547, the pieces of software information are [ { "version": 8.1300.02"," package ": com.mjweather", "software name": empty "," type ": 0" }, { "version": 7.3"," package ": com.basic. map. location", "software name": empty "," type ": 1" }, { "version": 7.11.0"," package ": com.taobao.taobao", "software name": empty "," type ": 0" };
the device usage information FF includes: IDFA: empty, IMEI: null, MAC address: 1A1B1C2D, Android ID: 1Q9B6F2, timestamp: 1516272698, the pieces of software information are [ { "version": 6.1.0.300"," package ": com.huawei.folder", "software name": empty "," type ": 1" }, { "version": 3.3"," package ": com.basic.map.location", "software name": empty "," type ": 1" }, { "version": 7.11.0"," package ": com.taobao.taobao.taobao", "software name": empty "," type ": 0" };
based on the preset device identification information determination rule and the device basic information included in the device usage information, the device identification information of the device usage information AA is IMEI: 1A1B1C, the device identification information of the device usage information BB is IMEI: 1A1B1C, the device identification information of the device usage information CC is IMEI: 1A1B1C, the device identification information of the device usage information DD is IMEI: 1A1B1C, the device identification information of the device usage information EE is IMEI: 1A2B3C, the device identification information of the device usage information FF is a MAC address: 1A1B1C2D, analyzing that the device usage information AA, the device usage information BB, the device usage information CC, and the device usage information DD have the same device identification information, so that the device usage information AA, the device usage information BB, the device usage information CC, and the device usage information DD can be merged, that is, the device usage information AA, the device usage information BB, the device usage information CC, and the device usage information DD are obtained multiple pieces of device usage information to be merged. Specifically, after the device usage information AA, the device usage information BB, the device usage information CC, and the device usage information DD are fused, the obtained fused device usage information is: IDFA: empty, IMEI: 1A1B1C, MAC address: 2A3B3C2D, Android ID: 19B62F2, timestamp: 1516270111, date of fusion: 2019-06-01-15:30, the pieces of software information are [ { "version": 8.1.0.300"," package ": com.huawei.hielder", "software name": empty "," type ": 1" }, { "version": 7.3-2996264"," package ": com.android.cts.priv.ctsshimum", "software name": empty "," type ": 1" }, { "version": 7.1300.02"," package ": com.moji.mjweather", "software name": empty "," type ": 0" }, { "version": 4.3"," package ": com.base. map", "software name": empty "," type "{" 1 "{" 7.11.0 ": empty", "software name": package ": 0.84"; ].
In the embodiment of the application, after the fused device use information is obtained, the fused device use information can be analyzed, and corresponding message pushing is performed according to the analysis result. Illustratively, software information in the fused device usage information is classified, the categories can be games, shopping, news, videos, live broadcasts, learning and the like, the number of the software information in each category is counted, if the number of the game categories is the largest, a user corresponding to the device is considered to be a game user, the user is interested in the information of the game category, and the information of the game category can be correspondingly pushed to the user; or, counting the number of the software information in each category, and if the number of the software information in a certain category exceeds a threshold, pushing information related to the category of which the number exceeds the threshold for the user, where the threshold may be set according to an actual situation, for example, the threshold may be 3, and if the number of the software in the video category and the shopping category of the user exceeds 3, considering that the user is interested in the video and shopping messages, correspondingly pushing the information in the video category and the shopping category for the user. Furthermore, the method can also obtain the fused device use information of the multiple devices, analyze the fused use information of the multiple devices, judge the proportion of each piece of software information, analyze the software information downloading trend of the user corresponding to the multiple devices, or analyze the proportion of software information of a certain category, and further analyze the preference category of multiple users.
Based on the same inventive concept, the embodiment of the present application further provides a device for fusing device usage information corresponding to the method for fusing device usage information, and as the principle of solving the problem of the device in the embodiment of the present application is similar to the method for fusing device usage information described above in the embodiment of the present application, the implementation of the device may refer to the implementation of the method, and repeated details are not repeated.
Example two
An embodiment of the present application provides an apparatus for fusing device usage information, see a block diagram of a structure of the apparatus for fusing device usage information shown in fig. 3, where the apparatus includes:
an obtaining module 301, configured to obtain at least one piece of device usage information in different manners;
a device identification information determining module 302, configured to determine, based on a preset device identification information determining rule and device basic information included in the device usage information, device identification information corresponding to the device usage information;
the fusion module 303 is configured to obtain multiple pieces of to-be-fused device usage information with the same device identification information from the device usage information corresponding to the determined device identification information, and fuse the obtained multiple pieces of to-be-fused device usage information.
As an alternative embodiment, the apparatus further comprises:
and the processing module is used for processing the use information of each device according to the preset type information to obtain the processed use information of the devices.
As an alternative embodiment, the device basic information includes: an IMEI, IDFA, MAC address, Android ID, and device identification information determination module, specifically configured to:
detecting whether the IMEI in the basic equipment information included in the equipment use information is empty or not;
if not, determining the IMEI as the equipment identification information corresponding to the equipment use information;
if yes, detecting whether IDFA in the basic information of the equipment included in the equipment use information is empty;
if not, determining the IDFA as the equipment identification information corresponding to the equipment use information;
if yes, detecting whether the MAC address in the basic equipment information included in the equipment use information is empty;
if not, determining the MAC address as equipment identification information corresponding to the equipment use information;
if yes, detecting whether the Android ID in the basic equipment information included in the equipment use information is empty;
if not, determining the Android ID as equipment identification information corresponding to the equipment use information;
and if so, deleting the equipment use information.
As an alternative embodiment, the software information includes: a software name, and a package name; a fusion module comprising:
the identification information determining unit is used for determining identification information corresponding to the software information according to the software information in the use information of the equipment to be fused;
the fusion unit based on the package name is used for fusing the use information of the plurality of devices to be fused based on the package name of the software information if the identification information corresponding to the determined software information is the package name;
or the fusion unit based on the software name is used for fusing the use information of the plurality of devices to be fused based on the software name of the software information if the identification information corresponding to the determined software information is the software name.
As an optional embodiment, the fusion unit based on the package name is specifically configured to:
when the software names in all the software information are null, fusing the use information of the multiple devices to be fused based on the package names of the software information, wherein the fusion comprises the following steps:
merging the using information of the equipment to be fused containing the same package name, wherein the corresponding software name in the merged using information of the equipment is null;
or when the software name in any software information is not null, fusing the use information of the multiple devices to be fused based on the package name of the software information, including:
and merging the using information of the equipment to be fused containing the same package name, wherein the corresponding software name in the merged using information of the equipment is the software name with the largest occurrence frequency.
As an alternative embodiment, the software information further includes: version number, software attributes, and time stamp, the apparatus further comprising:
and the information determining module is used for determining the version number corresponding to the device use information after fusion as the highest version number, the corresponding timestamp as the maximum timestamp and the corresponding software attribute as the software attribute corresponding to the software attribute value with the largest occurrence frequency.
The device for fusing the information of the equipment provided by the embodiment of the application has the same technical characteristics as the method for fusing the information of the equipment provided by the first embodiment, so that the same technical problems can be solved, and the same technical effects can be achieved.
EXAMPLE III
Based on the same technical concept, the embodiment of the application also provides the electronic equipment. Referring to fig. 4, a schematic structural diagram of an electronic device 400 provided in the embodiment of the present application includes a processor 401, a memory 402, and a bus 403. The memory 402 is used for storing execution instructions and includes a memory 4021 and an external memory 4022; the memory 4021 is also referred to as an internal memory, and is configured to temporarily store operation data in the processor 401 and data exchanged with the external memory 4022 such as a hard disk, the processor 401 exchanges data with the external memory 4022 through the memory 4021, and when the electronic device 400 operates, the processor 401 communicates with the memory 402 through the bus 403, so that the processor 401 executes the following instructions:
obtaining at least one device usage information using different means;
determining device identification information corresponding to the device use information based on a preset device identification information determination rule and device basic information included in the device use information;
and acquiring a plurality of pieces of equipment to be fused using information with the same equipment identification information from the equipment using information corresponding to the determined equipment identification information, and fusing the acquired plurality of pieces of equipment to be fused using information.
In one possible design, the instructions that may be executed by processor 401 further include:
after obtaining at least one device usage information using different means, the method further comprises:
and processing each piece of equipment use information according to the preset type information to obtain the processed equipment use information.
In one possible design, the instructions that may be executed by processor 401 further include:
the device basic information includes: the method for determining the equipment identity information comprises the following steps that based on a preset equipment identity information determination rule and equipment basic information included by the equipment use information, the equipment identity information corresponding to the equipment use information is determined, and the method comprises the following steps:
detecting whether an IMEI in basic equipment information included in the equipment use information is empty or not;
if not, determining the IMEI as the equipment identification information corresponding to the equipment use information;
if yes, detecting whether IDFA in the basic information of the equipment included in the equipment use information is empty;
if not, determining the IDFA as the equipment identification information corresponding to the equipment use information;
if yes, detecting whether the MAC address in the basic equipment information included in the equipment use information is empty;
if not, determining the MAC address as the equipment identification information corresponding to the equipment use information;
if yes, detecting whether the Android ID in the basic equipment information included in the equipment use information is empty;
if not, determining the Android ID as the equipment identification information corresponding to the equipment use information; and if so, deleting the equipment use information.
In one possible design, the instructions that may be executed by processor 401 further include:
the software information includes: a software name, and a package name; the acquiring, from the device usage information corresponding to the determined device identification information, multiple pieces of device usage information to be fused, which are the same as the device identification information, and fusing the acquired multiple pieces of device usage information to be fused, includes:
determining identification information corresponding to software information according to the software information in the use information of the equipment to be fused;
if the identification information corresponding to the software information is determined to be a package name, fusing the use information of the multiple devices to be fused based on the package name of the software information;
or if the identification information corresponding to the determined software information is a software name, fusing the use information of the multiple devices to be fused based on the software name of the software information.
In one possible design, the instructions that may be executed by processor 401 further include:
if the identification information corresponding to the determined software information is a package name, fusing the use information of the multiple devices to be fused based on the package name of the software information, including:
when the software names in all the software information are null, fusing the use information of a plurality of devices to be fused based on the package names of the software information, wherein the fusing comprises the following steps:
merging the using information of the equipment to be fused containing the same package name, wherein the corresponding software name in the merged using information of the equipment is null;
or when the software name in any software information is not null, fusing the use information of the multiple devices to be fused based on the package name of the software information, including:
and merging the using information of the equipment to be fused containing the same package name, wherein the corresponding software name in the merged using information of the equipment is the software name with the largest occurrence frequency.
In one possible design, the instructions that may be executed by processor 401 further include:
the software information further includes: version number, software attributes, and timestamp;
in the fused device use information, the corresponding version number is the highest version number, the corresponding timestamp is the largest timestamp, and the corresponding software attribute is the software attribute corresponding to the software attribute value with the largest occurrence number.
Example four
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program performs the steps of the method for fusing device usage information described in any of the above embodiments.
Specifically, the storage medium can be a general-purpose storage medium, such as a removable disk, a hard disk, or the like, and when a computer program on the storage medium is executed, the steps of the method for fusing device usage information can be executed, so that the analysis efficiency is improved, and the analysis time cost is reduced.
The computer program product for performing the method for fusing device usage information provided in the embodiment of the present application includes a computer-readable storage medium storing a nonvolatile program code executable by a processor, where instructions included in the program code may be used to execute the method described in the foregoing method embodiment, and specific implementation may refer to the method embodiment, and is not described herein again.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the exemplary embodiments of the present application, and are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (10)
1. A method of fusing device usage information, the method comprising:
obtaining at least one device usage information using different means;
determining device identification information corresponding to the device use information based on a preset device identification information determination rule and device basic information included in the device use information;
and acquiring a plurality of pieces of equipment to be fused using information with the same equipment identification information from the equipment using information corresponding to the determined equipment identification information, and fusing the acquired plurality of pieces of equipment to be fused using information.
2. The method of claim 1, wherein after obtaining at least one device usage information using a different approach, the method further comprises:
and processing each piece of equipment use information according to the preset type information to obtain the processed equipment use information.
3. The method of claim 1, wherein the device basic information comprises: the method for determining the equipment identity information comprises the following steps of determining the equipment identity information corresponding to the equipment use information based on a preset equipment identity information determination rule and equipment basic information included in the equipment use information, wherein the method comprises the following steps:
detecting whether an IMEI in basic equipment information included in the equipment use information is empty or not;
if not, determining the IMEI as the equipment identification information corresponding to the equipment use information;
if yes, detecting whether IDFA in the basic information of the equipment included in the equipment use information is empty;
if not, determining the IDFA as the equipment identification information corresponding to the equipment use information;
if yes, detecting whether the MAC address in the basic equipment information included in the equipment use information is empty;
if not, determining the MAC address as the equipment identification information corresponding to the equipment use information;
if yes, detecting whether the Android ID in the basic equipment information included in the equipment use information is empty;
if not, determining the Android ID as the equipment identification information corresponding to the equipment use information;
and if so, deleting the equipment use information.
4. The method of claim 1, wherein the software information comprises: a software name, and a package name; the acquiring, from the device usage information corresponding to the determined device identification information, multiple pieces of device usage information to be fused, which are the same as the device identification information, and fusing the acquired multiple pieces of device usage information to be fused, includes:
determining identification information corresponding to software information according to the software information in the use information of the equipment to be fused;
if the identification information corresponding to the software information is determined to be a package name, fusing the use information of the multiple devices to be fused based on the package name of the software information;
or,
and if the identification information corresponding to the determined software information is the software name, fusing the use information of the plurality of devices to be fused based on the software name of the software information.
5. The method according to claim 4, wherein if the identification information corresponding to the determined software information is a package name, fusing the usage information of the multiple devices to be fused based on the package name of the software information includes:
when the software names in all the software information are null, fusing the use information of a plurality of devices to be fused based on the package names of the software information, wherein the fusing comprises the following steps:
merging the using information of the equipment to be fused containing the same package name, wherein the corresponding software name in the merged using information of the equipment is null;
or,
when the software name in any software information is not null, fusing the use information of a plurality of devices to be fused based on the package name of the software information, wherein the fusing comprises the following steps:
and merging the using information of the equipment to be fused containing the same package name, wherein the corresponding software name in the merged using information of the equipment is the software name with the largest occurrence frequency.
6. The method of claim 4, wherein the software information further comprises: version number, software attributes, and time stamp, the method further comprising:
in the fused device use information, the corresponding version number is the highest version number, the corresponding timestamp is the largest timestamp, and the corresponding software attribute is the software attribute corresponding to the software attribute value with the largest occurrence number.
7. An apparatus for fusing device usage information, the apparatus comprising:
the acquisition module is used for acquiring at least one piece of equipment use information in different modes;
the device identification information determining module is used for determining device identification information corresponding to the device use information based on a preset device identification information determining rule and device basic information included in the device use information;
and the fusion module is used for acquiring a plurality of pieces of equipment to be fused using information with the same equipment identification information from the equipment using information corresponding to the determined equipment identification information, and fusing the acquired plurality of pieces of equipment to be fused using information.
8. The apparatus of claim 7, further comprising:
and the processing module is used for processing the use information of each device according to the preset type information to obtain the processed use information of the devices.
9. An electronic device, comprising: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating over the bus when the electronic device is operating, the machine-readable instructions when executed by the processor performing the steps of the method of fusing device usage information according to any one of claims 1 to 6.
10. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the method for fusing device usage information according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910635695.3A CN110333997B (en) | 2019-07-15 | 2019-07-15 | Method and device for fusing equipment use information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910635695.3A CN110333997B (en) | 2019-07-15 | 2019-07-15 | Method and device for fusing equipment use information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110333997A true CN110333997A (en) | 2019-10-15 |
CN110333997B CN110333997B (en) | 2023-11-10 |
Family
ID=68146788
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910635695.3A Active CN110333997B (en) | 2019-07-15 | 2019-07-15 | Method and device for fusing equipment use information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110333997B (en) |
Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100057905A1 (en) * | 2008-09-02 | 2010-03-04 | Belarc, Inc. | System and method for software usage discovery |
US20130326477A1 (en) * | 2012-06-05 | 2013-12-05 | Lookout, Inc. | Expressing intent to control behavior of application components |
CN103888597A (en) * | 2012-12-21 | 2014-06-25 | 联想(北京)有限公司 | Communication method, device and electronic equipment |
CN104112084A (en) * | 2013-04-16 | 2014-10-22 | 国际商业机器公司 | Execution-based license discovery and optimization method and device |
CN104822156A (en) * | 2015-04-01 | 2015-08-05 | 中国联合网络通信集团有限公司 | User behavior analysis method and device |
WO2017097072A1 (en) * | 2015-12-09 | 2017-06-15 | 北京奇虎科技有限公司 | Software installation method and device |
CN107169094A (en) * | 2017-05-12 | 2017-09-15 | 北京小米移动软件有限公司 | information aggregation method and device |
CN107480208A (en) * | 2017-07-26 | 2017-12-15 | 广州供电局有限公司 | Multi-source electric power data method for amalgamation processing and device |
CN107578272A (en) * | 2017-08-10 | 2018-01-12 | 上海斐讯数据通信技术有限公司 | A kind of method and device for kinsfolk's portrait |
WO2018219178A1 (en) * | 2017-05-27 | 2018-12-06 | Oppo广东移动通信有限公司 | Data synchronization method and apparatus, server, and storage medium |
CN109213675A (en) * | 2017-07-05 | 2019-01-15 | 瞻博网络公司 | Software analysis platform |
US20190034443A1 (en) * | 2016-01-26 | 2019-01-31 | Huawei Technologies Co., Ltd. | Data Processing Method and Device |
CN109495562A (en) * | 2018-11-09 | 2019-03-19 | 精硕科技(北京)股份有限公司 | Obtain the method and device of device identification |
CN109492378A (en) * | 2018-11-26 | 2019-03-19 | 平安科技(深圳)有限公司 | A kind of auth method based on EIC equipment identification code, server and medium |
WO2019056721A1 (en) * | 2017-09-21 | 2019-03-28 | 掌阅科技股份有限公司 | Information pushing method, electronic device and computer storage medium |
CN109597804A (en) * | 2018-10-08 | 2019-04-09 | 中国平安人寿保险股份有限公司 | Client's merging method and device, electronic equipment and storage medium based on big data |
-
2019
- 2019-07-15 CN CN201910635695.3A patent/CN110333997B/en active Active
Patent Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100057905A1 (en) * | 2008-09-02 | 2010-03-04 | Belarc, Inc. | System and method for software usage discovery |
US20130326477A1 (en) * | 2012-06-05 | 2013-12-05 | Lookout, Inc. | Expressing intent to control behavior of application components |
CN103888597A (en) * | 2012-12-21 | 2014-06-25 | 联想(北京)有限公司 | Communication method, device and electronic equipment |
CN104112084A (en) * | 2013-04-16 | 2014-10-22 | 国际商业机器公司 | Execution-based license discovery and optimization method and device |
CN104822156A (en) * | 2015-04-01 | 2015-08-05 | 中国联合网络通信集团有限公司 | User behavior analysis method and device |
WO2017097072A1 (en) * | 2015-12-09 | 2017-06-15 | 北京奇虎科技有限公司 | Software installation method and device |
US20190034443A1 (en) * | 2016-01-26 | 2019-01-31 | Huawei Technologies Co., Ltd. | Data Processing Method and Device |
CN107169094A (en) * | 2017-05-12 | 2017-09-15 | 北京小米移动软件有限公司 | information aggregation method and device |
WO2018219178A1 (en) * | 2017-05-27 | 2018-12-06 | Oppo广东移动通信有限公司 | Data synchronization method and apparatus, server, and storage medium |
CN109213675A (en) * | 2017-07-05 | 2019-01-15 | 瞻博网络公司 | Software analysis platform |
CN107480208A (en) * | 2017-07-26 | 2017-12-15 | 广州供电局有限公司 | Multi-source electric power data method for amalgamation processing and device |
CN107578272A (en) * | 2017-08-10 | 2018-01-12 | 上海斐讯数据通信技术有限公司 | A kind of method and device for kinsfolk's portrait |
WO2019056721A1 (en) * | 2017-09-21 | 2019-03-28 | 掌阅科技股份有限公司 | Information pushing method, electronic device and computer storage medium |
CN109597804A (en) * | 2018-10-08 | 2019-04-09 | 中国平安人寿保险股份有限公司 | Client's merging method and device, electronic equipment and storage medium based on big data |
CN109495562A (en) * | 2018-11-09 | 2019-03-19 | 精硕科技(北京)股份有限公司 | Obtain the method and device of device identification |
CN109492378A (en) * | 2018-11-26 | 2019-03-19 | 平安科技(深圳)有限公司 | A kind of auth method based on EIC equipment identification code, server and medium |
Non-Patent Citations (3)
Title |
---|
ALBERTO SILLITTI;ANDREA JANES;GIANCARLO SUCCI;TULLIO VERNAZZA;: "Collecting, integrating and analyzing software metrics and personal software process data", 《2003 PROCEEDINGS 29TH EUROMICRO CONFERENCE》, pages 1 - 7 * |
周二虎等: "基于Deep Web检索的查询结果处理技术的应用", 《计算机工程与设计》 * |
周二虎等: "基于Deep Web检索的查询结果处理技术的应用", 《计算机工程与设计》, no. 01, 31 January 2010 (2010-01-31), pages 106 - 109 * |
Also Published As
Publication number | Publication date |
---|---|
CN110333997B (en) | 2023-11-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106874273B (en) | Channel information statistical method, device and system | |
CN110392155B (en) | Notification message display and processing method, device and equipment | |
CN110661794B (en) | Flow identification method and device, electronic equipment and readable storage medium | |
CN107844518B (en) | Method for evaluating download quantity of specified APP, data server, packaging platform and system | |
CN107992429B (en) | Memory object reference relation determining method and device | |
CN110545292B (en) | Abnormal flow monitoring method and device | |
CN105988836A (en) | Application recommendation method and device | |
CN107770805B (en) | Method and device for judging identification information of terminal | |
CN106487602B (en) | Application program release version monitoring method and monitoring device | |
CN110188276B (en) | Data transmission device, method, electronic device, and computer-readable storage medium | |
CN112507041B (en) | Equipment model identification method and device, electronic equipment and storage medium | |
CN110333997A (en) | The method and device of fusion device use information | |
CN106708706B (en) | Alarm information processing method and device for task program abnormity | |
CN110362540B (en) | Data storage and visitor number acquisition method and device | |
CN110489988B (en) | Method and device for calculating number of exposure equipment | |
CN111127094B (en) | Account matching method and device, electronic equipment and storage medium | |
CN114245324B (en) | Data flow reminding method and device, computer equipment and readable storage medium | |
CN107678928B (en) | Application program processing method and server | |
CN110830314A (en) | Method and device for determining abnormal traffic | |
CN111340583A (en) | Information acquisition method and device, computer equipment and storage medium | |
CN111177625A (en) | Data acquisition method, data reporting method, terminal device and storage medium | |
CN105812433B (en) | Cloud adaptation processing method and device, terminal and cloud server | |
CN111178924A (en) | Information delivery method and device | |
CN110689373B (en) | Method and device for detecting state of equipment to be detected | |
CN110851456B (en) | Information processing method, electronic equipment and storage 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 |