Data analysis method and device, equipment, storage medium and program product
By determining the second and third device identifiers based on the write time of the device identifier in media applications and target applications and correlating them on the attribution server, the problem of attribution analysis inaccurate caused by the low device identifier acquisition rate is solved, and a higher analysis accuracy is achieved.
Patent Information
- Application Number
- CN202510474782.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-15
- Publication Date
- 2025-07-29
AI Technical Summary
In the prior art, the acquisition rate of equipment identification is low, resulting in a low accuracy of attribution analysis results of application traffic sources.
By obtaining the device identifier in the media application and writing it into the data path, the second device identifier is determined based on the writing time of the device identifier, and transmitting it to the attribution server for association. After starting, the target application determines the third device identifier and transmits information based on the same mechanism to establish a unified device identifier.
The acquisition rate of equipment identification is improved, the accuracy of attribution analysis results is ensured, and analysis errors caused by low equipment identification collection rate are avoided.
Smart Images

Figure CN120387516A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of data processing, and particularly to a data analysis method, apparatus, device, storage medium, and program product. Background Art
[0002] With the development of media technology, more and more publishers tend to use media applications to promote the target applications they release, so as to increase the exposure of the target applications. In the related art, the traffic source of the target application is mainly attributed by tracking the device identifier of the device where the target application is located and the device identifier when the user clicks on the recommendation information of the target application in the media application, so as to optimize the recommendation method of the target application according to the attribution analysis result. However, due to the low collection rate of device identifiers, the accuracy rate of the attribution analysis result is low. Summary of the Invention
[0003] In view of this, the present disclosure provides a data analysis method, apparatus, device, storage medium, and program product to solve the problem of low accuracy rate of the attribution analysis result of the application traffic source caused by the low collection rate of device identifiers.
[0004] In a first aspect, the present disclosure provides a data analysis method applied to a media application. The method includes:
[0005] Obtain a first device identifier of the media application and write the first device identifier into a data path. The first device identifier is obtained based on first application information and first identifier information of the media application;
[0006] Display recommendation information of a target application;
[0007] In response to an interaction operation on the recommendation information, determine a second device identifier based on the writing time of the first device identifier of each media application in the data path;
[0008] Transmit the second device identifier and first information about the media application to an attribution server. After the target application is started, it is used to determine a third device identifier based on the writing time of the first device identifier of each media application in the data path, and transmit the third device identifier and second information about the target application to the attribution server. The attribution server is used to associate the first information and the second information based on the second device identifier and the third device identifier.
[0009] In a second aspect, the present disclosure provides another data analysis method applied to a media server. The method includes:
[0010] Obtain the second device identifier reported by the media application and the first information for the media application; wherein, the second device identifier is determined by the media application based on the writing time of the first device identifiers of each media application in the data path in response to an interaction operation on the recommendation information for the displayed target application; the first device identifier in the data path is obtained and written by the media application; the first device identifier is obtained based on the first application information and the first identifier information of the media application.
[0011] Transmit the second device identifier and the first information to the attribution server; wherein, the target application is used to determine a third device identifier based on the writing time of the first device identifiers of each media application in the data path after startup, and transmit the third device identifier and the second information for the target application to the attribution server; the attribution server is used to associate the first information and the second information based on the second device identifier and the third device identifier.
[0012] In a third aspect, the present disclosure provides a data analysis device applied to a media application, and the device includes:
[0013] A first processing module, configured to obtain the first device identifier of the media application and write the first device identifier into the data path, where the first device identifier is obtained based on the first application information and the first identifier information of the media application;
[0014] An information display module, configured to display recommendation information of a target application;
[0015] A second processing module, configured to determine a second device identifier based on the writing time of the first device identifiers of each media application in the data path in response to an interaction operation on the recommendation information;
[0016] A data transmission module, configured to transmit the second device identifier and the first information for the media application to the attribution server; wherein, the target application is used to determine a third device identifier based on the writing time of the first device identifiers of each media application in the data path after startup, and transmit the third device identifier and the second information for the target application to the attribution server; the attribution server is used to associate the first information and the second information based on the second device identifier and the third device identifier.
[0017] In a fourth aspect, the present disclosure provides another data analysis device applied to a media server, and the device includes:
[0018] A data acquisition module, configured to acquire a second device identifier reported by a media application and first information regarding the media application; wherein, the second device identifier is determined based on the writing time of the first device identifiers of the respective media applications in a data path in response to an interaction operation on recommended information for a displayed target application; the first device identifiers in the data path are acquired and written by the media application; the first device identifier is obtained based on first application information and first identifier information of the media application.
[0019] A data distribution module, configured to transmit the second device identifier and the first information to an attribution server; wherein, the target application is configured to determine a third device identifier based on the writing time of the first device identifiers of the respective media applications in the data path after startup, and transmit the third device identifier and second information regarding the target application to the attribution server; the attribution server is configured to associate the first information and the second information based on the second device identifier and the third device identifier.
[0020] In a fifth aspect, the present disclosure provides an electronic device, comprising: a memory and a processor, communicatively connected to each other, wherein the memory stores computer instructions, and the processor executes the computer instructions to perform the data analysis method according to the first aspect or the second aspect above.
[0021] In a sixth aspect, the present disclosure provides a computer-readable storage medium, on which computer instructions are stored, and the computer instructions are used to cause a computer to perform the data analysis method according to the first aspect or the second aspect above.
[0022] In a seventh aspect, the present disclosure provides a computer program product, comprising computer instructions, and the computer instructions are used to cause a computer to perform the data analysis method according to the first aspect or any corresponding embodiment thereof.
[0023] The data analysis method provided by the embodiments of the present disclosure enables a media application to obtain a first device identifier based on first application information and first identification information of the media application, and write it into a data path. If a user interacts with the recommendation information of a target application displayed by the media application, a second device identifier is determined based on the writing time of the first device identifiers of each media application in the data path, and it is transmitted to an attribution server together with the first information for the media application. Therefore, it is possible to avoid the difficulty of the media application in collecting the device identifier due to reasons such as network environment and device status, thereby improving the collection rate of the device identifier to avoid inaccurate attribution analysis results of the traffic source of the target application caused by a low collection rate of the device identifier. Moreover, after the target application is installed and launched on the terminal device, the target application also determines a third device identifier based on the writing time of the first device identifiers of each media application in the data path, and transmits it to the attribution server together with the second information for the target application. Therefore, it is possible to establish a unified device identifier between the media application and the target application, avoiding different device identifier collection mechanisms for the media application and the target application, resulting in different device identifiers for the media application and the target application that belong to the traffic source of the target application, thereby improving the accuracy of the attribution analysis.
[0024] The beneficial effects of the data analysis device, electronic device, storage medium, and program product correspond to those of the data analysis method, and will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the specific embodiments of the present disclosure or the technical solutions in the prior art, the following will briefly introduce the drawings required for use in the description of the specific embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present disclosure. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0026] Figure 1 is a flowchart of the first data analysis method according to the embodiments of the present disclosure;
[0027] Figure 2 is a flowchart of the attribution process of the traffic source of the first target application according to the embodiments of the present disclosure;
[0028] Figure 3 is a data diagram of a data path according to an embodiment of the present disclosure;
[0029] Figure 4 is a flowchart of the second data analysis method according to the embodiments of the present disclosure;
[0030] Figure 5It is a schematic diagram of a processing flow of device identification according to an embodiment of the present disclosure;
[0031] Figure 6 It is a schematic diagram of a flow of a third data analysis method according to an embodiment of the present disclosure;
[0032] Figure 7 It is a schematic diagram of an attribution process of a traffic source of a second target application according to an embodiment of the present disclosure;
[0033] Figure 8 It is a schematic diagram of a flow of a fourth data analysis method according to an embodiment of the present disclosure;
[0034] Figure 9 It is a schematic diagram of a flow of a fifth data analysis method according to an embodiment of the present disclosure;
[0035] Figure 10 It is a schematic diagram of an attribution process of a traffic source of a third target application according to an embodiment of the present disclosure;
[0036] Figure 11 It is a block diagram of a structure of a data analysis device according to an embodiment of the present disclosure;
[0037] Figure 12 It is a block diagram of a structure of another data analysis device according to an embodiment of the present disclosure;
[0038] Figure 13 It is a block diagram of a structure of an electronic device according to an embodiment of the present disclosure. Detailed implementation manners
[0039] To make the objectives, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are some but not all of the embodiments of the present disclosure. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present disclosure without creative efforts shall fall within the scope of protection of the present disclosure.
[0040] It can be understood that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, usage scopes, usage scenarios, etc. of the personal information involved in the present disclosure shall be informed to the users and the authorization of the users shall be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0041] For example, when a user's active request is received, a prompt message is sent to the user to clearly prompt the user that the operation requested by the user will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, an application program, a server, or a storage medium that performs the operations of the present disclosure's technical solution based on the prompt message.
[0042] As an optional but non-limiting implementation manner, the manner of sending a prompt message to the user in response to receiving the user's active request may be, for example, in the form of a pop-up window, and the prompt message may be presented in text in the pop-up window. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0043] It can be understood that the above notification and user authorization process is only illustrative and does not constitute a limitation on the implementation manner of the present disclosure. Other manners that comply with relevant laws and regulations can also be applied to the implementation manner of the present disclosure.
[0044] It can be understood that the data involved in the present technical solution (including but not limited to the data itself, the acquisition or use of the data) should comply with the requirements of corresponding laws, regulations, and related regulations.
[0045] With the development of media technology, more and more publishers tend to use media applications to promote the target applications they publish to increase the exposure of the target applications. Among them, the publisher needs to perform attribution analysis on the traffic sources of the target applications, that is, trace the traffic sources of the target applications. For example, the traffic of the target application comes from the promotion of the media application or the natural growth of the target application without promotion. Accurate attribution analysis results can facilitate the publisher to split the recommendation effects of the target applications under different media applications, and then better optimize the recommendation methods of the target applications.
[0046] For the attribution analysis of the traffic sources of the target applications, its essence is to match the interaction data points of the recommendation information for the target applications in the media application and the operation data points for the target applications using scientific methods. That is, the publisher obtains the operation data points of the target application on the server of the target application and uses the device identifier of the terminal device to match the interaction data points of the recommendation information for the target application in the media application. Among them, the interaction data points include users viewing, playing, and clicking on the recommendation information. The operation data points include starting the target application, registering an account for the target application, etc.
[0047] It can be understood that when matching the operation data points of the target application and the interaction data points of the media application, the device identifier of the same terminal device needs to be used for matching to ensure that the operation data points are attributed to the correct interaction data points.
[0048] In the related art, the traffic source of a target application is mainly attributed by tracking the device identifier of the device where the target application is located and the device identifier when the user clicks on the recommendation information of the target application in a media application, so as to optimize the recommendation method of the target application according to the attribution analysis result. Among them, the device identifiers used in the related art mainly include the Open Anonymous Device Identifier (OAID) and the IdentifierFor Advertising (IDFA). However, due to the problems of the acquisition technical solution of this type of device identifier, the acquisition rate of the device identifier is relatively low, resulting in a relatively low accuracy rate of the attribution analysis result of the traffic source of the target application.
[0049] Taking two attribution methods for the traffic source of target applications in the related art as an example. First, use fields such as the Internet Protocol (IP) address of the network and the User Agent (UA) parameter of the operating system to achieve fuzzy attribution. However, the accuracy of fuzzy attribution is limited, which may lead to certain attribution analysis errors. Second, let the target application of the publisher access the Software Development Kit (SDK) of the traffic party to increase the injection rate of specific parameters in the operation link from the interaction data point of the recommendation information in the media application to the target application, such as the Click-Through Identifier (ClickID). By matching the operation data point of the target application to return specific parameters, the traffic party parses the specific parameters and attributes them to the corresponding interaction data point of the media application. However, this attribution method can only be realized by relying entirely on the target application of the publisher accessing the software development kit, which poses a certain risk to the data security of users and publishers. Moreover, it is still difficult to ensure the acquisition rate of the device identifier after the injection rate is increased, and there are still attribution omissions and errors.
[0050] In view of this, according to an embodiment of the present disclosure, an embodiment of a data analysis method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than here.
[0051] In this embodiment, a data analysis method is provided, which can be used for a media application installed on a terminal device, and the recommendation information of the target application published by the publisher can be displayed in the media application. Figure 1 It is a flowchart of the first data analysis method according to an embodiment of the present disclosure. As Figure 1 shown, the process includes the following steps:
[0052] Step S101: Obtain the first device identifier of the media application and write the first device identifier into the data path. The first device identifier is obtained based on the first application information and the first identifier information of the media application.
[0053] Optionally, the data path is a standardized data path, such as the Unified Data Management Framework (UDMF). The data path is used for the media application installed on the terminal device to transmit its first device identifier. That is, the first device identifier is transmitted between various applications (such as media applications and target applications) installed on the terminal device through the data path.
[0054] In other words, the operating system of the terminal device opens a common data path for each application. The applications installed on the terminal device can transmit data of a preset size to this data path; and, the installed applications can read one or more specified data in this data path; and, the installed applications can delete one or more data in this data path or even empty this data path.
[0055] It should be noted that since the data path is a common space, any application on the terminal device can directly delete or empty the data in the data path, which may very likely result in the first device identifier written by a certain media application being accidentally deleted by other media applications or target applications. Therefore, after the user has an interaction in the media application, it is necessary to check and update the first device identifier in the data path to store the correct first device identifier in the data path to the greatest extent for the target application or other media applications to access.
[0056] Optionally, the first application information includes the description information of the media application. Among them, the description information includes the package name of the application program package of the media application. In addition, the description information can also adopt other information used to distinguish the media application, which is not limited here.
[0057] Optionally, the first identifier information is the Open Device Identifier (ODID). According to statistics, the acquisition rate of ODID can almost reach 100%.
[0058] When using ODID as the first identifier information, it is necessary to turn on the cross-application association switch and respond to the permission pop-up box. If the terminal device restores the factory settings, all media applications of the same developer are uninstalled and reinstalled, or the mobile core service, such as the Android application package (APK), is uninstalled and reinstalled, the ODID is reset.
[0059] It should be noted that the first identification information of media applications of the same developer on the same terminal device is the same, while that of different developers is different. Also, the first identification information of the same developer on different terminal devices is different, which is convenient for device identification and data reporting among multiple media applications of the same developer.
[0060] Among them, since the first identification information is different among different terminal devices, the uniqueness of the first device identification of media applications among terminal devices can be guaranteed. At the same time, since the first identification information of media applications of the same developer on the same terminal device is the same, the persistence of the first device identification of media applications on the terminal device can be guaranteed. In the data analysis method of the present disclosure, the media applications on the terminal device mainly refer to media applications of the same publisher.
[0061] In some optional embodiments, at the startup stage of the media application, the first device identification of the media application is obtained and written into the data path.
[0062] Step S102, display the recommendation information of the target application.
[0063] In practical applications, the publisher of the target application can select the media application for recommending the target application. The recommendation information of the target application can be displayed on the page shown by the media application.
[0064] Step S103, in response to an interaction operation on the recommendation information, determine the second device identification based on the writing time of the first device identification of each media application in the data path.
[0065] Optionally, the interaction operation includes clicking, browsing, playing, etc.
[0066] It can be understood that when the media application writes the first device identification into the data path, the writing time of the first device identification will be synchronously recorded. When the user interacts with the recommendation information shown by the media application, the media application selects the most recently written first device identification in the data path as the second device identification.
[0067] Of course, in practical applications, the second device identification written the second-to-last time or the third-to-last time can also be selected as the second device identification, which is not limited herein.
[0068] Step S104, transmit the second device identification and the first information regarding the media application to the attribution server; wherein, the target application is used to determine the third device identification based on the writing time of the first device identification of each media application in the data path after startup, and transmit the third device identification and the second information regarding the target application to the attribution server; the attribution server is used to associate the first information and the second information based on the second device identification and the third device identification.
[0069] Optionally, the first information includes interaction information for the recommendation information in the media application, and the second information includes operation information of the target application.
[0070] Specifically, the media application transmits the second device identifier and the first information to the media server, and the media server transmits the second device identifier and the first information to the attribution server; wherein, the media server is the server of the media application.
[0071] Optionally, the attribution server is the server of the target application.
[0072] It should be noted that, if you want to update or delete a certain piece of data, you need to obtain a unique data identifier of the data. However, due to the communication mechanism problems among the applications on the terminal device, it is difficult for the applications on the terminal device to directly transmit the unique data identifiers corresponding to their respective data. Therefore, each application can only delete and update the data it writes into the data path. So, in practical applications, it can only be ensured that each media application on the terminal device writes the correct first device identifier into the data path. From the perspective of the target application, since the target application does not know the unique data identifier of the first device identifier, it can only find the first device identifiers written by each media application by traversing all the data in the data path. However, at this time, the target application does not know which first device identifier it needs. Therefore, in the data analysis method of the present disclosure, it is set that the target application determines the third device identifier based on the writing time of the first device identifiers of each media application in the data path, so as to select the first device identifier written most recently in the data path as the third device identifier.
[0073] Of course, in practical applications, the second device identifier written the penultimate time or the third time can also be selected as the third device identifier, which is not limited herein.
[0074] Exemplarily, as Figure 2 shown, the user clicks on the recommendation information displayed by the media application, and the recommendation information includes download information (such as a download link) of the application package of the target application. The terminal device downloads the application package of the target application using the download information and installs the target application through the application package. When starting the target application, the target application selects the first device identifier written most recently as the third device identifier based on the writing time of the first device identifier in the data path. For example Figure 3As shown, the first device identifiers of media applications APP1, APP2, and APP3 are written in the data path. If the write time of the first device identifier of media application APP3 is the latest, the target application uses the first device identifier of media application APP3 as the third device identifier. The target application transmits the third device identifier to the attribution server, so that the attribution server can associate the first information transmitted by the media application and the second information transmitted by the target application based on the second device identifier and the third device identifier transmitted by the media application, and thus perform attribution analysis on the traffic source of the target application according to the association result to obtain the attribution analysis result.
[0075] For the data analysis method provided in this embodiment, the media application obtains the first device identifier obtained based on the first application information and the first identification information of the media application, and writes it into the data path. If the user interacts with the recommended information of the target application displayed by the media application, the second device identifier is determined based on the write time of the first device identifier of each media application in the data path, and it is transmitted to the attribution server together with the first information for the media application. Therefore, it is possible to avoid the difficulty for the media application to collect the device identifier due to reasons such as network environment and device status, thereby improving the collection rate of the device identifier and avoiding inaccurate attribution analysis results for the traffic source of the target application due to a low collection rate of the device identifier. Moreover, after the target application is installed and started on the terminal device, the target application also determines the third device identifier based on the write time of the first device identifier of each media application in the data path, and transmits it to the attribution server together with the second information for the target application. Therefore, it is possible to establish a unified device identifier between the media application and the target application, and avoid different device identifier collection mechanisms for the media application and the target application, resulting in different device identifiers for the media application and the target application that belong to the traffic source of the target application, thereby improving the accuracy of the attribution analysis.
[0076] In this embodiment, a second data analysis method is also provided, which can be used for media applications. Figure 4 It is a schematic flowchart of the second data analysis method according to an embodiment of the present disclosure. As Figure 4 shown, the process includes the following steps:
[0077] Step S401: Obtain the first device identifier of the media application and write the first device identifier into the data path. The first device identifier is obtained based on the first application information and the first identification information of the media application.
[0078] In some alternative embodiments, the above step S401 includes:
[0079] Step S4011a: If the first device identifier does not exist in the local cache, obtain the first application information of the media application and the first identifier information corresponding to the media application.
[0080] Among them, the local cache includes the cache space allocated to the media application in the terminal device.
[0081] Optionally, at the startup stage of the media application, if the first device identifier does not exist in the local cache, obtain the first application information of the media application and the first identifier information corresponding to the media application.
[0082] Specifically, at the first startup stage of the media application, it will transmit its first application information and first identifier information to the media server. The media server encrypts the first application information and first identifier information transmitted by the media application through a preset key to generate the first device identifier of the media application. The media server feeds back the first device identifier of the media application to the media application, and the media application writes the first device identifier into the local cache and the data path.
[0083] Step S4012a: Send a first request to the media server based on the first application information and the first identifier information; among them, the media server is used to respond to the first request and encrypt and generate a first device identifier based on the first application information and the first identifier information.
[0084] Specifically, the media server encrypts and processes the first application information and the first identifier information through a preset key to generate a first device identifier.
[0085] Step S4013a: Obtain the first device identifier fed back by the media server and write the first device identifier into the data path and the local cache.
[0086] It should be noted that if the first device identifier of the media application exists in the data path, the corresponding first device identifier in the data path is overwritten with the first device identifier fed back by the media server.
[0087] Step S402: Display the recommended information of the target application. Refer to the above step S102, and details are not elaborated here.
[0088] Step S403: In response to the interaction operation on the recommended information, determine the second device identifier based on the writing time of the first device identifier of each media application in the data path. Refer to the above step S103, and details are not elaborated here.
[0089] Step S404: Transmit the second device identifier and the first information for the media application to the attribution server; wherein, the target application is used to determine a third device identifier based on the writing time of the first device identifiers of each media application in the data path after startup, and transmit the third device identifier and the second information for the target application to the attribution server; the attribution server is used to associate the first information with the second information based on the second device identifier and the third device identifier. Refer to the above step S104 for details and will not be elaborated here.
[0090] In the data analysis method provided in this embodiment, the media server encrypts and generates the first device identifier of the media application based on the first application information and the first identification information of the media application. Since the preset key used for encryption is stored in the media server, it is difficult for a third party to decrypt and tamper with the first device identifier. Therefore, it is possible to prevent the first application information and the first identification information corresponding to the first device identifier from being obtained and tampered with by a third party, thereby ensuring the correctness of the device identifiers transmitted by the media application and the target application to the attribution server.
[0091] In some alternative embodiments, the above step S401 further includes:
[0092] Step S4011b: If the first device identifier exists in both the data path and the local cache, send a second request to the media server based on the first device identifier in the data path and the first device identifier in the local cache; wherein, the media server is used to verify the first device identifier in the data path and the first device identifier in the local cache in response to the second request.
[0093] Optionally, in the startup phase of the media application, if the first device identifier exists in both the data path and the local cache, send a second request to the media server based on the first device identifier in the data path and the first device identifier in the local cache.
[0094] Specifically, the first device identifier is encrypted and generated by the media server based on a preset key for the first application information and the first identification information of the media application. When the media server obtains the first device identifier in the data path reported by the media application and the first device identifier in the local cache, decrypt the first device identifier in the data path reported by the media application and the first device identifier in the local cache respectively based on the preset key to obtain the first decryption result in the data path and the second decryption result in the local cache. Among them, the first decryption result includes the second application information and the second identification information of the media application, and the second decryption result includes the third application information and the third identification information of the media application. Verify based on the first decryption result and the second decryption result to obtain a verification result.
[0095] Step S4012b, obtain the first device identifier re-determined by the media server based on the verification result.
[0096] Specifically, if the verification result is that the verification fails, the media server re-determines the first device identifier of the media application based on the first application information and the first identifier information. If the verification result is that the verification passes, the media server re-determines the first device identifier of the media application as the original value, that is, the first device identifier of the media application originally recorded by the media server. The media server feeds back the re-determined first device identifier to the media application.
[0097] Step S4013b, overwrite the first device identifier in the local cache and the data path based on the re-determined first device identifier.
[0098] For the data analysis method provided in this embodiment, if the first device identifier exists in both the data path and the local cache, the first device identifiers of the data path and the local cache are reported to the media server, so that the media server verifies the first device identifier of the data path and the first device identifier of the local cache to identify whether the first device identifiers in the local cache and the data path are the latest or have been tampered with. Furthermore, the media server re-determines the first device identifier of the media application based on the verification result and sends it to the media application, so that the media application overwrites the first device identifier in the local cache and the data path. Therefore, it can be ensured that the first device identifier written by the media application in the local cache and the data path is the latest and has not been tampered with.
[0099] In some alternative embodiments, the above step S4011b includes: when the first device identifiers of the data path and the local cache are inconsistent, send a second request to the media server based on the first device identifier of the data path and the first device identifier of the local cache.
[0100] Optionally, when the first device identifiers of the data path and the local cache are consistent, do not update the first device identifiers of the data path and the local cache.
[0101] For the data analysis method provided in this embodiment, only when the first device identifiers of the data path and the local cache are inconsistent, the first device identifiers in the data path and the local cache are sent to the media server to verify the first device identifiers of the data path and the local cache. Therefore, it can avoid frequently updating the first device identifiers in the data path and the local cache.
[0102] In some alternative embodiments, the above step S401 further includes:
[0103] Step S4011c: If the first device identifier does not exist in the data path and the first device identifier exists in the local cache, the first device identifier in the local cache is written into the data path.
[0104] The data analysis method provided in this embodiment is a public space. Since the data path is a public space, the first device identifier written by the media application into the data path may be mistakenly deleted by the target application or other media applications. Therefore, it is necessary to check the first device identifier in the data path. If the first device identifier does not exist in the data path and the first device identifier exists in the local cache, the first device identifier in the local cache is written into the data path to promptly fill in the mistakenly deleted first device identifier. The correct first identification identifier is written into the data path to the greatest extent possible for use by the target application or other media applications, thereby improving the collection rate of the device identifiers of the media application and the target application.
[0105] As a specific application example, see Figure 5 During the startup phase of a media application, the process of writing the first device identifier of the media application into the data path mainly includes the following steps: Step S501, obtain the first device identifier of the media application in the data path, and then execute step S502. Step S502, determine whether the first device identifier exists in the data path. If so, execute step S503a; if not, execute step S503b. Step S503a, determine whether the first device identifier of the media application exists in the local cache. If so, execute step S504a; if not, execute step S505. Step S504a, verify whether the first device identifier of the data path is consistent with the first device identifier of the local cache. If so, the current process ends; if not, execute step S505. Step S503b, determine whether the first device identifier of the media application exists in the local cache. If so, execute step S504b; if not, execute step S505. Step S504b, write the first device identifier in the local cache into the data path, and the current process ends. In step S505, the media server is requested to verify the first device identifier in the data path and the local cache, and then step S506 is executed. In step S506, the media server obtains the first device identifier re-determined based on the verification result and writes the re-determined first device identifier to the data path and the local cache, thus ending the current processing flow.
[0106] In this embodiment, a third data analysis method is provided, which can be used on the media server. Figure 6 is a flow chart of a third data analysis method according to an embodiment of the present disclosure, such as Figure 6 As shown, the process includes the following steps:
[0107] Step S601: Obtain the second device identifier reported by the media application and the first information regarding the media application. Among them, the second device identifier is determined based on the writing time of the first device identifiers of each media application in the data path in response to the interaction operation for the recommended information of the displayed target application. The first device identifier in the data path is obtained and written by the media application. The first device identifier is obtained based on the first application information and the first identification information of the media application.
[0108] Optionally, the first application information includes the description information of the media application. Among them, the description information includes the package name of the application program package of the media application. In addition, the description information can also adopt other information used to distinguish the media application, which is not limited here.
[0109] Optionally, the first identification information is the developer anonymous device identifier. Among them, the first identification information of the media applications of the same developer on the same terminal device is the same, the first identification information of the media applications of different developers is different, and the first identification information of the same developer between different terminal devices is different.
[0110] It should be noted that for the determination methods of the first device identifier and the second device identifier, reference can be made to the description in the above-mentioned data analysis method for media applications, and details will not be elaborated here.
[0111] Step S602: Transmit the second device identifier and the first information to the attribution server. Among them, the target application is used to determine the third device identifier based on the writing time of the first device identifiers of each media application in the data path after startup, and transmit the third device identifier and the second information regarding the target application to the attribution server. The attribution server is used to associate the first information and the second information based on the second device identifier and the third device identifier.
[0112] Optionally, the first information includes the interaction information regarding the recommended information in the media application, and the second information includes the operation information of the target application.
[0113] It should be noted that for the relevant data processing processes of the target application and the attribution server, reference can be made to the description in the above-mentioned data analysis method for media applications, and details will not be elaborated here.
[0114] The data analysis method provided in this embodiment is such that the media application obtains a first device identifier obtained based on the first application information and the first identification information of the media application, and writes it into the data path. If the user interacts with the recommendation information of the target application displayed by the media application, the second device identifier is determined based on the writing time of the first device identifier of each media application in the data path, and it is transmitted to the media server together with the first information for the media application, and then transmitted by the media server to the attribution server. Therefore, it is possible to avoid the difficulty for the media application to collect the device identifier due to reasons such as the network environment and device status, thereby improving the collection rate of the device identifier, so as to avoid inaccurate attribution analysis results of the traffic source of the target application due to a low collection rate of the device identifier. Moreover, after the target application is installed and started on the terminal device, the target application also determines a third device identifier based on the writing time of the first device identifier of each media application in the data path, and transmits it to the attribution server together with the second information for the target application. Therefore, it is possible to establish a unified device identifier between the media application and the target application, and avoid different device identifier collection mechanisms for the media application and the target application, resulting in different device identifiers for the media application and the target application that belong to the traffic source of the target application, thereby improving the accuracy of the attribution analysis.
[0115] As a specific application example, refer to Figure 7 , the attribution analysis process of the traffic source of the target application mainly includes the following steps: The media application on the terminal device displays the recommendation information of the target application. In response to the interaction operation for the recommendation information, the media application determines the second device identifier based on the writing time of the first device identifier of each media application in the data path, and reports the application log of the media application to the media server. The application log includes the second device identifier and the first information for the recommendation information in the media application. After detecting the second device identifier and the first information from the application log reported by the media application, the media server sends the second device identifier and the first information to the attribution server. If the user installs the target application on the terminal device after interacting with the recommendation information in the media application, then after the target application is started, the target application determines the third device identifier based on the writing time of the first device identifier of each media application in the data path. The target application transmits the third device identifier and the second information for the target application to the attribution server. The attribution server performs associated attribution on the first information and the second information based on the second device identifier and the third device identifier to obtain the attribution analysis result of the traffic source of the target application.
[0116] In this embodiment, a fourth data analysis method is provided, which can be used for the media server. Figure 8 It is a schematic flowchart of the fourth data analysis method according to the embodiment of the present disclosure. As shown in Figure 8 The process includes the following steps:
[0117] Step S801: In response to a first request from a media application, obtain first application information and first identification information of the media application; wherein, the first request is generated based on the first application information and the first identification information when the first device identifier of the media application does not exist in the local cache of the media application.
[0118] Specifically, the local cache includes the cache space allocated to the media application in the terminal device.
[0119] It should be noted that for the process of initiating the first request, reference can be made to the description in the above-mentioned data analysis method for media applications, and details will not be elaborated here.
[0120] Step S802: Encrypt and generate a first device identifier based on the first application information and the first identification information.
[0121] Specifically, step S802 includes: obtaining a preset key; performing an encryption process on the first application information and the first identification information based on the preset key to obtain the first device identifier.
[0122] Step S803: Feed back the first device identifier to the media application, and the media application is used to write the first device identifier into the data path and the local cache.
[0123] Among them, if the first device identifier of the media application exists in the data path, the corresponding first device identifier in the data path is overwritten with the first device identifier fed back by the media server.
[0124] Step S804: Obtain a second device identifier reported by the media application and first information about the media application; wherein, the second device identifier is determined based on the writing time of the first device identifiers of each media application in the data path in response to an interaction operation for recommended information of the displayed target application; the first device identifiers in the data path are obtained and written by the media application; the first device identifier is obtained based on the first application information and the first identification information of the media application. Reference can be made to step S601 above, and details will not be elaborated here.
[0125] Step S805: Transmit the second device identifier and the first information to the attribution server; wherein, the target application is used to determine a third device identifier based on the writing time of the first device identifiers of each media application in the data path after startup, and transmit the third device identifier and second information about the target application to the attribution server; the attribution server is used to associate the first information and the second information based on the second device identifier and the third device identifier. Reference can be made to step S602 above, and details will not be elaborated here.
[0126] In the data analysis method provided in this embodiment, since the first device identifier is encrypted and generated by the media server based on the first application information and the first identifier information of the media application, and the preset key used for encryption is stored in the media server, it is difficult for a third party to decrypt and tamper with the first device identifier. Therefore, it is possible to prevent the first application information and the first identifier information corresponding to the first device identifier from being obtained and tampered with by a third party, thereby ensuring the correctness of the device identifier transmitted by the media application and the target application to the attribution server.
[0127] In this embodiment, a fifth data analysis method is provided, which can be used in the media server. Figure 9 It is a schematic flowchart of the fifth data analysis method according to an embodiment of the present disclosure. As Figure 9 shown, the process includes the following steps:
[0128] Step S901: In response to a second request from the media application, obtain the first device identifier of the media application in the data path and the local cache of the media application respectively; wherein, the second request is generated by the media application based on the first device identifier in the data path and the first device identifier in the local cache when the first device identifier exists in both the data path and the local cache.
[0129] Specifically, when the first device identifiers in the data path and the local cache of the media application are inconsistent, the media application sends a second request to the media server based on the first device identifier in the data path and the first device identifier in the local cache.
[0130] Step S902: Verify the first device identifier in the data path and the first device identifier in the local cache to obtain a verification result.
[0131] Specifically, the above step S902 includes: obtaining a preset key; decrypting the first device identifier in the data path and the first device identifier in the local cache respectively based on the preset key to obtain a first decryption result in the data path and a second decryption result in the local cache. The first decryption result includes the second application information and the second identifier information of the media application, and the second decryption result includes the third application information and the third identifier information of the media application; verifying based on the first decryption result and the second decryption result to obtain a verification result.
[0132] Specifically, based on the comparison result between the second application information and the first application information, and the comparison result between the second identification information and the first identification information, the verification result of the first device identification in the data path is determined, so as to determine whether the first device identification in the data path is generated by the media server. Based on the comparison result between the third application information and the first application information, and the comparison result between the third identification information and the first identification information, the verification result of the first device identification in the local cache is determined, so as to determine whether the first device identification in the local cache is generated by the media server. Furthermore, in the case that the first device identification in the data path or the local cache is not generated by the media server, a new first device identification is re-determined to update the old or tampered first device identification in the data path and the local cache.
[0133] Step S903: Re-determine the first device identification of the media application based on the verification result, and feedback the re-determined first device identification to the media application, which is used to overwrite the first device identification in the local cache and the data path based on the re-determined first device identification.
[0134] Specifically, if the verification result is that the verification fails, the media server encrypts the first application information and the first identification information based on a preset key to re-determine the first device identification of the media application. If the verification result is that the verification passes, the media server sets the re-determined first device identification as the original value. The media server feeds back the re-determined first device identification to the media application, so that the media application overwrites the first device identification in the local cache and the data path based on the re-determined first device identification.
[0135] Step S904: Obtain the second device identification reported by the media application and the first information for the media application; wherein, the second device identification is determined by the media application based on the writing time of the first device identification of each media application in the data path in response to the interaction operation for the recommended information of the displayed target application; the first device identification in the data path is obtained and written by the media application; the first device identification is obtained based on the first application information and the first identification information of the media application. Refer to the above step S601 for details, and no further elaboration will be provided here.
[0136] Step S905: Transmit the second device identification and the first information to the attribution server; wherein, the target application is used to determine the third device identification based on the writing time of the first device identification of each media application in the data path after startup, and transmit the third device identification and the second information for the target application to the attribution server; the attribution server is used to associate the first information and the second information based on the second device identification and the third device identification. Refer to the above step S602 for details, and no further elaboration will be provided here.
[0137] For the data analysis method provided in this embodiment, if the first device identifier exists in both the data path and the local cache, the media application reports the first device identifiers of the data path and the local cache to the media server, so that the media server verifies the first device identifier of the data path and the first device identifier of the local cache, and re-determines the first device identifier of the media application, so that the media application overwrites the first device identifiers in the local cache and the data path based on the re-determined first device identifier. Therefore, it can ensure that the first device identifiers written by the media application in the local cache and the data path are the latest and have not been tampered with.
[0138] As a specific application example, a media application is installed on a mobile phone, and the media application is configured with the data analysis method of the present disclosure. As Figure 10 shown, when the user starts the media application, the media application writes the first device identifier into the data path by using the data analysis method of the present disclosure. When the user clicks on the recommended information of the target application in the media application, the media application uses the first device identifier newly written in the data path as the second device identifier, and reports the second device identifier and the first information for the recommended information in the media application to the media server. The media server sends the second device identifier and the first information to the attribution server. If the user downloads and installs the target application, and the user interacts with the target application, such as starting the target application. Then the target application reads the first device identifier newly written in the data path as the third device identifier, and transmits the third device identifier and the second information for the target application to the attribution server. The attribution server correlates the first information and the second information based on the second device identifier and the third device identifier to attribute the traffic source of the target application, and obtains an attribution analysis result.
[0139] It should be noted that in the data analysis method of the present disclosure, on the one hand, the media application and the target application use the data path to establish a unified device identifier, which can complete the collection of the general device identifier, and it is difficult for a third party to understand the generation logic of the device identifier. On the other hand, by detecting the first device identifier of the media application in the data path and the local cache, using the intrusion tampering detection and overwrite recovery mechanism of the first device identifier, it can be timely discovered whether the first device identifier has been intruded and tampered with by a third party, timely insight into the tampered first device identifier, and complete the overwrite of the correct first device identifier, which can ensure the effectiveness of the device identifiers obtained by the media application and the target application, improve the robustness, and improve the collection rate and filling rate of the device identifiers transmitted by the media application and the target application to the attribution server for attribution. Furthermore, it can supplement the proportion of the operation data points of the target application attributed to the interaction data points of the recommended information for the target application in the media application, and effectively improve the attribution analysis effect.
[0140] In this embodiment, a data analysis device is further provided. This device is used to implement the above-mentioned embodiments and preferred implementation manners, and those that have been described will not be repeated. As used hereinafter, the term "module" can be a combination of software and / or hardware that can achieve a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware is also possible and contemplated.
[0141] This embodiment provides a data analysis device, which is applied to a media application, such as Figure 11 As shown, the device includes:
[0142] A first processing module 1101, configured to obtain a first device identifier of the media application and write the first device identifier into the data path. The first device identifier is obtained based on the first application information and the first identifier information of the media application;
[0143] An information display module 1102, configured to display recommended information of the target application;
[0144] A second processing module 1103, configured to, in response to an interaction operation on the recommended information, determine a second device identifier based on the write time of the first device identifier of each media application in the data path;
[0145] A data transmission module 1104, configured to transmit the second device identifier and the first information about the media application to the attribution server; wherein, the target application is configured to, after startup, determine a third device identifier based on the write time of the first device identifier of each media application in the data path, and transmit the third device identifier and the second information about the target application to the attribution server; the attribution server is configured to associate the first information with the second information based on the second device identifier and the third device identifier.
[0146] In some alternative implementation manners, the first processing module 1101 includes:
[0147] A first acquisition unit, configured to obtain the first application information of the media application and the first identifier information corresponding to the media application if the first device identifier does not exist in the local cache;
[0148] A first request unit, configured to send a first request to the media server based on the first application information and the first identifier information; wherein, the media server is configured to, in response to the first request, encrypt and generate a first device identifier based on the first application information and the first identifier information;
[0149] A first processing unit, configured to obtain the first device identifier fed back by the media server and write the first device identifier into the data path and the local cache.
[0150] In some alternative implementation manners, the first processing module 1101 further includes:
[0151] A second request unit, configured to, if a first device identifier exists in both the data path and the local cache, send a second request to the media server based on the first device identifier of the data path and the first device identifier of the local cache; wherein, the media server is configured to, in response to the second request, verify the first device identifier of the data path and the first device identifier of the local cache.
[0152] A second obtaining unit, configured to obtain the first device identifier re-determined by the media server based on the verification result.
[0153] A second processing unit, configured to overwrite the first device identifier in the local cache and the data path based on the re-determined first device identifier.
[0154] In some alternative embodiments, the second request unit includes:
[0155] A data request subunit, configured to, when the first device identifiers of the data path and the local cache are inconsistent, send a second request to the media server based on the first device identifier of the data path and the first device identifier of the local cache.
[0156] In some alternative embodiments, the first processing module 1101 further includes:
[0157] A third processing unit, configured to, if the first device identifier does not exist in the data path and exists in the local cache, write the first device identifier in the local cache into the data path.
[0158] The further function descriptions of the above-mentioned various modules and units are the same as those in the corresponding foregoing embodiments, and will not be elaborated herein.
[0159] The data analysis device in this embodiment is presented in the form of functional units. Here, the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and a memory that execute one or more software or fixed programs, and / or other devices that can provide the above functions.
[0160] In this embodiment, another data analysis device is further provided. This device is used to implement the above-mentioned embodiments and preferred implementation manners, and those that have been described will not be elaborated again. As used hereinafter, the term "module" may be a combination of software and / or hardware that can implement a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware is also possible and contemplated.
[0161] This embodiment provides another data analysis device, which is applied to the media server, asFigure 12 As shown, the device includes:
[0162] A data acquisition module 1201, configured to acquire a second device identifier reported by a media application and first information regarding the media application; wherein, the second device identifier is determined based on the writing time of the first device identifiers of the respective media applications in the data path in response to an interaction operation on the recommendation information for the displayed target application; the first device identifiers in the data path are acquired and written by the media applications; the first device identifier is obtained based on the first application information and the first identification information of the media application;
[0163] A data distribution module 1202, configured to transmit the second device identifier and the first information to an attribution server; wherein, the target application is configured to determine a third device identifier based on the writing time of the first device identifiers of the respective media applications in the data path after startup, and transmit the third device identifier and second information regarding the target application to the attribution server; the attribution server is configured to associate the first information and the second information based on the second device identifier and the third device identifier.
[0164] In some alternative embodiments, the data analysis device of the present disclosure further includes:
[0165] A first response module, configured to respond to a first request of a media application and acquire the first application information and the first identification information of the media application; wherein, the first request is generated based on the first application information and the first identification information when the first device identifier of the media application does not exist in the local cache of the media application.
[0166] A first processing module, configured to encrypt and generate a first device identifier based on the first application information and the first identification information.
[0167] A first transmission module, configured to feedback the first device identifier to the media application, and the media application is configured to write the first device identifier into the data path and the local cache.
[0168] In some alternative embodiments, the first processing module includes:
[0169] A first acquisition unit, configured to acquire a preset key;
[0170] An encryption unit, configured to perform an encryption process on the first application information and the first identification information based on the preset key to obtain the first device identifier.
[0171] In some alternative embodiments, the data analysis device of the present disclosure further includes:
[0172] A second response module, configured to, in response to a second request of a media application, obtain a first device identifier of the media application in a data path and a local cache of the media application respectively; wherein, the second request is generated by the media application based on the first device identifier in the data path and the first device identifier in the local cache when the first device identifier exists in both the data path and the local cache.
[0173] A data verification module, configured to verify the first device identifier in the data path and the first device identifier in the local cache to obtain a verification result.
[0174] A second processing module, configured to re-determine the first device identifier of the media application based on the verification result and feedback the re-determined first device identifier to the media application, and the media application is configured to overwrite the first device identifier in the local cache and the data path based on the re-determined first device identifier.
[0175] In some alternative embodiments, the data verification module includes:
[0176] A second acquisition unit, configured to acquire a preset key.
[0177] A decryption unit, configured to decrypt the first device identifier in the data path and the first device identifier in the local cache respectively based on the preset key to obtain a first decryption result in the data path and a second decryption result in the local cache, the first decryption result includes second application information and second identification information of the media application, and the second decryption result includes third application information and third identification information of the media application.
[0178] A verification unit, configured to verify based on the first decryption result and the second decryption result to obtain a verification result.
[0179] The further function descriptions of the above-mentioned various modules and units are the same as those in the corresponding foregoing embodiments, and will not be elaborated herein.
[0180] The data analysis device in this embodiment is presented in the form of functional units. Here, the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and a memory that execute one or more software or fixed programs, and / or other devices that can provide the above functions.
[0181] This embodiment of the present disclosure further provides an electronic device having the above Figure 11 or Figure 12 shown data analysis device.
[0182] Please refer to Figure 13 , Figure 13 which is a structural block diagram of an electronic device provided by an alternative embodiment of the present disclosure, asFigure 13 As shown, the electronic device includes: one or more processors 1301, a memory 1302, and interfaces for connecting the components, including a high-speed interface and a low-speed interface. Each component communicates with each other using different buses and can be installed on a common motherboard or installed in other ways as needed. The processor can process instructions executed within the electronic device, including instructions stored in the memory or on the memory to display graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some alternative embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories. Similarly, multiple electronic devices can be connected, and each device provides some necessary operations (for example, as a server array, a set of blade servers, or a multi-processor system). Figure 13 In FIG., a processor 1301 is taken as an example.
[0183] The processor 1301 can be a central processing unit, a network processor, or a combination thereof. Among them, the processor 1301 can further include a hardware chip. The above-mentioned hardware chip can be an application-specific integrated circuit, a programmable logic device, or a combination thereof. The above-mentioned programmable logic device can be a complex programmable logic device, a field programmable gate array, a generic array logic, or any combination thereof.
[0184] Among them, the memory 1302 stores instructions executable by at least one processor 1301, so that at least one processor 1301 executes the method shown in the above embodiments.
[0185] The memory 1302 can include a program storage area and a data storage area. Among them, the program storage area can store an operating system and application programs required for at least one function; the data storage area can store data created according to the use of the electronic device, etc. In addition, the memory 1302 can include a high-speed random access memory and can also include a non-transitory memory, such as at least one disk storage device, a flash memory device, or other non-transitory solid-state storage devices. In some alternative embodiments, the memory 1302 can optionally include a memory remotely set relative to the processor 1301, and these remote memories can be connected to the electronic device through a network. Examples of the above-mentioned network include but are not limited to the Internet, an enterprise intranet, a local area network, a mobile communication network, and combinations thereof.
[0186] The memory 1302 can include a volatile memory, such as a random access memory; the memory can also include a non-volatile memory, such as a flash memory, a hard disk, or a solid-state drive; the memory 1302 can also include a combination of the above types of memories.
[0187] The electronic device further includes an input device 1303 and an output device 1304. The processor 1301, the memory 1302, the input device 1303, and the output device 1304 may be connected through a bus or other means. Figure 13 Taking the connection through the bus as an example.
[0188] The input device 1303 can receive input digital or character information, and generate key signal inputs related to the user settings and function controls of the electronic device, such as a touch screen, a keypad, a mouse, a trackpad, a touchpad, a pointing stick, one or more mouse buttons, a trackball, a joystick, etc. The output device 1304 may include a display device, an auxiliary lighting device (e.g., an LED), and a haptic feedback device (e.g., a vibration motor), etc. The above display device includes but is not limited to a liquid crystal display, a light-emitting diode, a display, and a plasma display. In some alternative embodiments, the display device may be a touch screen.
[0189] The embodiments of the present disclosure also provide a computer-readable storage medium. The methods according to the embodiments of the present disclosure can be implemented in hardware, firmware, or be implemented as computer code that can be recorded on a storage medium, or be implemented as computer code that is originally stored in a remote storage medium or a non-transitory machine-readable storage medium and downloaded through a network and will be stored in a local storage medium, so that the methods described herein can be processed by such software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium may be a magnetic disk, an optical disk, a read-only memory, a random access memory, a flash memory, a hard disk, or a solid-state drive, etc.; further, the storage medium may also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by the computer, the processor, or the hardware, the methods shown in the above embodiments are implemented.
[0190] A part of the present disclosure can be applied as a computer program product, such as computer program instructions. When executed by a computer, through the operation of the computer, the methods and / or technical solutions according to the present disclosure can be called or provided. Those skilled in the art should be able to understand that the forms of existence of computer program instructions in a computer-readable medium include but are not limited to source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include but are not limited to: the computer directly executes the instructions, or the computer compiles the instructions and then executes the corresponding compiled program, or the computer reads and executes the instructions, or the computer reads and installs the instructions and then executes the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible by the computer.
[0191] Although embodiments of the present disclosure have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the present disclosure, and such modifications and variations fall within the scope defined by the appended claims.
Claims
1. A data analysis method, characterized in that, Applied to a media application, the method includes: Obtaining a first device identifier of the media application and writing the first device identifier into a data path, where the first device identifier is obtained based on first application information and first identifier information of the media application; Displaying recommended information of a target application; In response to an interaction operation on the recommended information, determining a second device identifier based on the writing time of the first device identifiers of the respective media applications in the data path; Transmitting the second device identifier and first information for the media application to an attribution server; wherein, after the target application is started, it is configured to determine a third device identifier based on the writing time of the first device identifiers of the respective media applications in the data path, and transmit the third device identifier and second information for the target application to the attribution server; the attribution server is configured to associate the first information and the second information based on the second device identifier and the third device identifier.
2. The data analysis method according to claim 1, wherein The obtaining the first device identifier of the media application and writing the first device identifier into the data path includes: If the first device identifier does not exist in the local cache, obtaining the first application information of the media application and the first identifier information corresponding to the media application; Sending a first request to a media server based on the first application information and the first identifier information; wherein, the media server is configured to, in response to the first request, encrypt and generate the first device identifier based on the first application information and the first identifier information; Obtaining the first device identifier fed back by the media server and writing the first device identifier into the data path and the local cache.
3. The data analysis method according to claim 1, characterized in that, The obtaining the first device identifier of the media application and writing the first device identifier into the data path includes: If the first device identifier exists in both the data path and the local cache, sending a second request to the media server based on the first device identifier in the data path and the first device identifier in the local cache; wherein, the media server is configured to, in response to the second request, verify the first device identifier in the data path and the first device identifier in the local cache; Obtaining the first device identifier re-determined by the media server based on the verification result; Overwriting the first device identifier in the local cache and the data path based on the re-determined first device identifier.
4. The data analysis method according to claim 3, characterized in that The sending the second request to the media server based on the first device identifier in the data path and the first device identifier in the local cache includes: In the case where the first device identifiers in the data path and the local cache are inconsistent, sending the second request to the media server based on the first device identifier in the data path and the first device identifier in the local cache.
5. The data analysis method according to claim 1, wherein The obtaining the first device identifier of the media application and writing the first device identifier into the data path further includes: If there is no first device identifier in the data path and there is a first device identifier in the local cache, write the first device identifier in the local cache into the data path.
6. A data analysis method, characterized in that, Applied to a media server, the method includes: Obtain a second device identifier reported by a media application and first information about the media application; wherein, the second device identifier is determined based on the writing time of the first device identifiers of the media applications in the data path in response to an interaction operation on the recommendation information for the displayed target application; the first device identifiers in the data path are obtained and written by the media application; the first device identifier is obtained based on the first application information and the first identification information of the media application. Transmit the second device identifier and the first information to an attribution server; wherein, the target application is configured to determine a third device identifier based on the writing time of the first device identifiers of the media applications in the data path after startup, and transmit the third device identifier and second information about the target application to the attribution server; the attribution server is configured to associate the first information and the second information based on the second device identifier and the third device identifier.
7. The data analysis method according to claim 6, characterized in that The method further includes: In response to a first request of the media application, obtain the first application information and the first identification information of the media application; wherein, the first request is generated by the media application based on the first application information and the first identification information when there is no first device identifier of the media application in the local cache. Encrypt and generate the first device identifier based on the first application information and the first identification information. Feedback the first device identifier to the media application, and the media application is configured to write the first device identifier into the data path and the local cache.
8. The data analysis method according to claim 7, wherein The encrypting and generating the first device identifier based on the first application information and the first identification information includes: Obtain a preset key. Perform an encryption process on the first application information and the first identification information based on the preset key to obtain the first device identifier.
9. The data analysis method according to claim 6, wherein The method further includes: In response to a second request of the media application, obtain the first device identifiers of the media application in the data path and the local cache of the media application respectively; wherein, the second request is generated by the media application based on the first device identifier in the data path and the first device identifier in the local cache when there are first device identifiers in both the data path and the local cache. Verify the first device identifier in the data path and the first device identifier in the local cache to obtain a verification result. Redetermine the first device identifier of the media application based on the verification result, and feedback the redetermined first device identifier to the media application, and the media application is configured to overwrite the first device identifiers in the local cache and the data path based on the redetermined first device identifier.
10. The data analysis method according to claim 9, wherein Performing verification on the first device identifier of the data path and the first device identifier of the local cache to obtain a verification result includes: Obtaining a preset key; Separately decrypting the first device identifier of the data path and the first device identifier of the local cache based on the preset key to obtain a first decryption result of the data path and a second decryption result of the local cache, where the first decryption result includes second application information and second identifier information of the media application, and the second decryption result includes third application information and third identifier information of the media application; Performing verification based on the first decryption result and the second decryption result to obtain the verification result.
11. A data analysis device, characterized in that, Applied to a media application, the device includes: A first processing module, configured to obtain a first device identifier of the media application and write the first device identifier into the data path, where the first device identifier is obtained based on first application information and first identifier information of the media application; An information display module, configured to display recommended information of a target application; A second processing module, configured to, in response to an interaction operation on the recommended information, determine a second device identifier based on the writing time of the first device identifier of each media application in the data path; A data transmission module, configured to transmit the second device identifier and first information about the media application to an attribution server; where the target application is configured to, after startup, determine a third device identifier based on the writing time of the first device identifier of each media application in the data path and transmit the third device identifier and second information about the target application to the attribution server; and the attribution server is configured to associate the first information with the second information based on the second device identifier and the third device identifier.
12. A data analysis device, characterized in that, Applied to a media server, the device includes: A data acquisition module, configured to acquire a second device identifier reported by a media application and first information about the media application; where the second device identifier is determined by the media application in response to an interaction operation on the recommended information of the displayed target application based on the writing time of the first device identifier of each media application in the data path; the first device identifier in the data path is acquired and written by the media application; and the first device identifier is obtained based on first application information and first identifier information of the media application; A data distribution module, configured to transmit the second device identifier and the first information to an attribution server; where the target application is configured to, after startup, determine a third device identifier based on the writing time of the first device identifier of each media application in the data path and transmit the third device identifier and second information about the target application to the attribution server; and the attribution server is configured to associate the first information with the second information based on the second device identifier and the third device identifier.
13. An electronic device, characterized in that, Including: A memory and a processor, which are communicatively connected to each other. Computer instructions are stored in the memory, and the processor executes the computer instructions to execute the data analysis method according to any one of claims 1 to 5, or executes the data analysis method according to any one of claims 6 to 10.
14. A computer-readable storage medium, characterized in that, Computer instructions are stored on the computer-readable storage medium, and the computer instructions are used to cause a computer to execute the data analysis method according to any one of claims 1 to 5, or execute the data analysis method according to any one of claims 6 to 10.
15. A computer program product, characterized in that, It includes computer instructions, and the computer instructions are used to cause a computer to execute the data analysis method according to any one of claims 1 to 5, or execute the data analysis method according to any one of claims 6 to 10.