Application channel tracing method and device, equipment and storage medium

By generating a combined traceability identifier, the application download channel is determined in response to the application download and start operations, and the problems of high channel traceability cost and poor accuracy in the prior art are solved, and efficient and accurate channel traceability are achieved.

CN119475280APending Publication Date: 2025-02-18WANGYIBAO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411320081.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-20
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

The channel traceability methods of existing applications have high time and maintenance costs, and it is difficult to ensure the accuracy of traceability.

Method used

By generating a combined traceability identifier of the global unique identifier and the target traceability identifier, the application download channel is determined in response to the application download and startup operations, and the channel packaging step is avoided.

Benefits of technology

It saves time and maintenance costs caused by channel packaging and ensures the accuracy of channel traceability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119475280A_ABST
    Figure CN119475280A_ABST
Patent Text Reader

Abstract

The invention provides a channel tracing method and device for an application program, equipment and a storage medium, and the method comprises the steps: generating a global unique identifier in response to a downloading operation for a target application program, and determining a combined tracing identifier according to a target tracing identifier corresponding to the target application program and the global unique identifier; sending the combined traceability identifier to a first device downloading the target application program, so that the first device stores the combined traceability identifier; associating and storing a downloading channel corresponding to the downloading operation and the combined traceability identifier to a target storage unit; in response to a starting operation for the target application program, obtaining a combined traceability identifier from a second device installed with the target application program by using the target traceability identifier, and obtaining a traceability identifier obtaining result; and determining a downloading channel of the target application program according to the traceability identifier acquisition result and the target storage unit. The time cost and the maintenance cost of channel tracing caused by channel packaging are saved, and the accuracy of channel tracing is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of computer technology, and in particular to a channel tracing method, apparatus, device, and storage medium for an application. Background Art

[0002] Program developers often publish applications (Application, APP) in various channels such as app stores, web pages, other applications, etc., so as to provide users with download, installation and registration.

[0003] At present, when counting the download channels (that is, the download sources) of applications, that is, tracing the channels of applications, it is often achieved by channel packaging the applications. For example, the channel identifiers of different channels can be packaged with the applications respectively to obtain channel packages for different channels. The different channel packages are then published to multiple channels for users to download. After the user completes the download, installation and registration, the source of the application, that is, the channel, is determined by the channel identifier in the saved channel package.

[0004] However, since there are many and increasing channels for applications, the above channel tracing method has high time and maintenance costs. Summary of the invention

[0005] The present application provides a channel tracing method, apparatus, device and storage medium for an application program, which can save the time cost and maintenance cost of channel tracing caused by channel packaging and ensure the accuracy of channel tracing.

[0006] In a first aspect, the present application provides a channel tracing method for an application, the method comprising: in response to a download operation for a target application, generating a globally unique identifier, determining a combined traceability identifier based on the target traceability identifier corresponding to the target application and the globally unique identifier; sending the combined traceability identifier to a first device that downloads the target application, so that the first device stores the combined traceability identifier; associating the download channel corresponding to the download operation with the combined traceability identifier and storing it in a target storage unit; in response to a startup operation for the target application, using the target traceability identifier to obtain the combined traceability identifier from a second device that installs the target application, and obtaining a traceability identifier acquisition result; determining the download channel of the target application based on the traceability identifier acquisition result and the target storage unit.

[0007] In a second aspect, the present application provides a channel tracing device for an application, and the channel tracing device for an application includes: a generation and determination module, which is used to generate a globally unique identifier in response to a download operation for a target application, and determine a combined traceability identifier based on a target traceability identifier corresponding to the target application and the globally unique identifier; an identifier sending module, which is used to send the combined traceability identifier to a first device that downloads the target application, so that the first device stores the combined traceability identifier; a first storage module, which is used to associate the download channel corresponding to the download operation with the combined traceability identifier and store it in a target storage unit; a first acquisition module, which is used to obtain the combined traceability identifier from a second device that installs the target application in response to a startup operation for the target application, using the target traceability identifier to obtain a traceability identifier acquisition result; a first determination module, which is used to determine the download channel of the target application based on the traceability identifier acquisition result and the target storage unit.

[0008] In a third aspect, the present application provides an electronic device, comprising: a processor and a memory, the memory being used to store a computer program, the processor being used to call and run the computer program stored in the memory, and executing the method in the first aspect or its various implementations.

[0009] In a fourth aspect, the present application provides a computer-readable storage medium for storing a computer program, wherein the computer program enables a computer to execute the method in the first aspect or its various implementations.

[0010] In a fifth aspect, the present application provides a computer program product, comprising computer program instructions, which enable a computer to execute the method in the first aspect or its various implementations.

[0011] In a sixth aspect, the present application provides a computer program, which enables a computer to execute the method in the first aspect or its various implementations.

[0012] Through the technical solution of the present application, the server can determine the combined traceability identifier in response to a download operation for the target application, and store the download channel corresponding to the download operation in association with the combined traceability identifier. Afterwards, the server can determine the download channel in response to a startup operation for the target application using the combined traceability identifier, thereby eliminating the need to channel package the target application. Therefore, the time cost and maintenance cost of channel traceability caused by channel packaging can be saved, thereby ensuring the accuracy of channel traceability. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0014] Figure 1 An application scenario diagram provided for an embodiment of the present application;

[0015] Figure 2 A flow chart of a channel tracing method for an application provided in an embodiment of the present application;

[0016] Figure 3 A schematic diagram of a channel tracing method for an application provided in an embodiment of the present application;

[0017] Figure 4 A schematic diagram of a channel tracing device 400 for an application provided in an embodiment of the present application;

[0018] Figure 5 A schematic block diagram of an electronic device 500 provided in an embodiment of the present application. DETAILED DESCRIPTION

[0019] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0020] It should be noted that the information involved in this application (including but not limited to: environmental identification, etc., for example, network connection information, operating system information and device fingerprints), data (including but not limited to: download channels), signals, and operations and methods for obtaining information, data or information, etc., are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions. For example, the Canvas fingerprint, Audio fingerprint, operating system name, operating system version number and Internet Protocol address used by the device for communication involved in this application are all obtained with full authorization.

[0021] It should be understood that the technical solution of the present application can be applied to the following scenarios, but is not limited to:

[0022] In one embodiment, the technical solution of the present application can be applied to the channel tracing scenario of the application. For example, it can be applied to the scenario of counting the number of downloads of the application under a certain promotion channel. The present application does not impose any restrictions on this.

[0023] In one embodiment, Figure 1 An application scenario diagram provided for an embodiment of the present application, such as Figure 1 As shown, the application scenario may include a terminal device 110 and a server 120. The terminal device 110 may establish a connection with the server 120 via a wired network or a wireless network.

[0024] Exemplarily, the terminal device 110 may be a mobile phone, tablet computer, desktop, laptop, handheld computer, notebook computer, vehicle-mounted device, ultra-mobile personal computer (UMPC), netbook, cellular phone, personal digital assistant (PDA), augmented reality (AR)\virtual reality (VR) device, etc., but not limited thereto. The server 120 may be a server, a server cluster composed of multiple servers, or a cloud platform control center, which is not limited in the embodiments of the present application.

[0025] Exemplarily, the server 120 may generate a globally unique identifier in response to a download operation performed by a user on a target application based on the terminal device 110, and determine a combined traceability identifier based on the target traceability identifier of the target application and the globally unique identifier; then, the server 120 may store the download channel corresponding to the above-mentioned download operation in association with the combined traceability identifier in a target storage unit, and send the combined traceability identifier to the terminal device 110, and the terminal device 110 may store the combined traceability identifier; thereafter, the server 120 may obtain the combined traceability identifier from the terminal device 110 based on the target traceability identifier in response to a startup operation performed by the user on the terminal device 110 on the target application, and obtain the download channel from the target storage unit based on the combined traceability identifier.

[0026] also, Figure 1 The number of server ends and terminal devices is only exemplary, and other numbers of server ends and terminal devices may actually be included, and this application does not impose any limitation on this.

[0027] After introducing the application scenarios of the embodiments of the present application, the technical solution of the present application will be described in detail below:

[0028] Figure 2 A flow chart of a channel tracing method for an application provided in an embodiment of the present application, the method can be performed as follows Figure 1 The server 120 shown in the figure performs, but is not limited to this. Figure 2 As shown, the method may include the following steps:

[0029] S210: In response to a download operation for a target application, a globally unique identifier is generated, and a combined traceability identifier is determined according to a target traceability identifier corresponding to the target application and the globally unique identifier;

[0030] S220: Sending the combined traceability identifier to the first device that downloads the target application, so that the first device stores the combined traceability identifier;

[0031] S230: storing the download channel corresponding to the download operation and the combined traceability identifier in association with each other in the target storage unit;

[0032] S240: In response to the start operation for the target application, using the target traceability identifier to obtain a combined traceability identifier from a second device on which the target application is installed, and obtaining a traceability identifier acquisition result;

[0033] S250: Determine the download channel of the target application according to the traceability identification acquisition result and the target storage unit.

[0034] In one embodiment, both the first device and the second device may be terminal devices. Specifically, the first device refers to a terminal device for downloading the target application, and the second device refers to a terminal device for installing and starting the target application.

[0035] Among them, since the premise for a device to launch the target application is that the device has the target application installed, the device that installs the target application is generally the same device as the device that launches the target application, that is, the second device refers to the terminal device that installs and launches the target application. However, after a device downloads the target application, it can either install and launch the target application directly on the device, or transfer the downloaded target application to another device, and install and launch the target application on the other device, so the first device and the second device can be the same device or different devices.

[0036] In one embodiment, a user can download a target application based on a first device through a target download channel (i.e., a download channel corresponding to a download operation). The first device can obtain the user's download operation for the target application under the target download channel, and send the download operation to the server, so that the server can generate a globally unique identifier and determine a combined traceability identifier in response to the download operation.

[0037] The target download channel may include any of the following, but is not limited to: an application store installed on the first device, a browser, a QR code for downloading an application, and a promotional application.

[0038] Taking the target download channel as an example of a promotional application, the promotional application can be an application installed on the first device and includes a promotional link for downloading the target application. For example, the user can first launch the promotional application based on the first device, and then the first device can obtain the user's click operation on the promotional link displayed on the promotional application, and in response to the click operation, jump to the browser installed on the first device, and at the same time control the browser to display the download page of the target application; then, the first device can obtain the user's click operation on the download button in the download page (i.e., download operation) and send it to the server, so that the server can obtain and respond to the click operation and determine the combined traceability identifier.

[0039] The following is an introduction to the global unique identifier, target traceability identifier, and combined traceability identifier:

[0040] The globally unique identifier is used to uniquely identify the above download operation, and can distinguish different download operations, that is, one download operation corresponds to one globally unique identifier. It is understandable that since the server may record multiple users' download operations on the application, in order to facilitate the server to record different download operations, the server can use the globally unique identifier to distinguish them.

[0041] Specifically, the globally unique identifier can be a universally unique identifier (UUID), or it can be an identifier generated based on the download operation or the download time corresponding to the download operation or the user account (the user account can be the account used by the user to log in to the promotion application) to uniquely identify the download operation, but is not limited to this.

[0042] The server can directly generate a globally unique identifier in response to a download operation; or, after obtaining a download operation, the first device generates a globally unique identifier and sends the globally unique identifier to the server, so that the server can obtain the globally unique identifier. The first device can send the globally unique identifier to the server based on a download embedding interface, which is an interface between the first device and the server for transmitting a globally unique identifier, a target traceability identifier, or a combined traceability identifier.

[0043] The target traceability identifier refers to the identifier agreed upon with the target application, where the application corresponds to the pre-agreed traceability identifier one by one. It is understandable that since the server may record the download channels of multiple applications, in order to facilitate the server to record different applications, the server can use the traceability identifier to distinguish them.

[0044] Specifically, the target traceability identifier can be a numerical value or character generated based on the program name, development time or development version of the target application, and this application does not limit this. For example, a hash algorithm or encoding algorithm can be used to process the program name, development time or development version of the target application to obtain the target traceability identifier.

[0045] Among them, similar to the generation method of the globally unique identifier, the target traceability identifier can be generated by the server or by the first device.

[0046] The combined traceability identifier is generated based on the target traceability identifier and the global unique identifier, and may include the target traceability identifier and the global unique identifier. Specifically, the combined traceability identifier may be in the following form: (target traceability identifier, global unique identifier) ​​or (global unique identifier, target traceability identifier). For example, assuming that the global unique identifier is 123abc and the target traceability identifier is program 1, the combined traceability identifier may be any of the following: 123abc+program 1, (program 1, 123abc).

[0047] Among them, similar to the generation method of the globally unique identifier, the combined traceability identifier can be generated by the server or by the first device.

[0048] In one embodiment, after determining the combined traceability identifier, the server may send the combined traceability identifier to the first device, and then the first device may store the combined traceability identifier.

[0049] Specifically, the first device can store the combined traceability identification in a local storage unit of the first device. For example, it can be stored in the system clipboard of the first device (a storage area in the device used to copy or cut content), or it can be stored in the cache of the first device, but is not limited to this.

[0050] In one embodiment, the server may obtain the download channel corresponding to the download operation (ie, the target download channel) from the first device. For example, the first device may determine the download channel corresponding to the download operation, and then send the download operation and the download channel to the server.

[0051] Taking the target download channel as a promotional application as an example, in combination with the above embodiments, the target download channel can be built into the promotion link, and the first device can extract the target download channel from the promotion link after obtaining the user's click operation on the promotion link. The download link and the target download channel can be encoded to obtain the promotion link, and the download link is used to jump to the download page of the target application; the first device can decode the promotion link in response to the click operation on the promotion link to obtain the download link and the target download channel, and then jump to the download page of the target application according to the download link.

[0052] Then, after obtaining the download channel corresponding to the download operation, the server can associate the download channel with the above-mentioned combined traceability identifier and store it in the target storage unit (specifically, the channel identifier of the download channel and the combined traceability identifier can be associated and stored in the target storage unit, and the channel identifier is used to uniquely identify the download channel). The target storage unit can be a local storage unit of the server or a cloud storage corresponding to the server, and this application does not limit this.

[0053] Specifically, assuming that the download channel corresponding to the download operation is "channelId" and the combined traceability identifier is "UUID+target traceability identifier", the server can associate and store it in the target storage unit, as shown below: Figure 3 The storage record shown in (a).

[0054] In one embodiment, for S240, after the target application is installed, the second device can obtain the user's startup operation for the target application and send the startup operation to the server; the server can respond to the startup operation and use the target traceability identifier to obtain the combined traceability identifier from the second device to obtain the traceability identifier acquisition result.

[0055] Alternatively, after determining that the target application has been installed, the second device may send an installation completion operation to the server; in response to the installation completion operation, the server may use the target traceability identifier to obtain a combined traceability identifier from the second device to obtain a traceability identifier acquisition result.

[0056] Specifically, combined with the above content, it can be seen that multiple applications may be downloaded on the same device, so the device may record the combined traceability identifiers of multiple applications. Therefore, the server can first use the target traceability identifier to obtain the combined traceability identifier corresponding to the target application from the second device to improve the search efficiency. If there are multiple combined traceability identifiers corresponding to the target application (for example, when multiple download operations are performed on the same target application), the server can obtain the combined traceability identifier corresponding to the download operation in S210 from the combined traceability identifier corresponding to the target application obtained above according to the global unique identifier.

[0057] Correspondingly, in combination with the above content, it can be understood that if the first device and the second device are different devices, or the combined traceability identifier stored in the first device is cleared, for example, the content in the system clipboard of the first device is cleared, then the server cannot obtain the combined traceability identifier from the second device, that is, the traceability identifier acquisition result can be determined as: the combined traceability identifier is not obtained; if the first device and the second device are the same device and the combined traceability identifier stored in the first device is not cleared, then the server can obtain the combined traceability identifier from the second device, that is, the traceability identifier acquisition result can be determined as: the combined traceability identifier is obtained.

[0058] It is understandable that, with a high probability, the first device and the second device are the same device and the combined traceability identifier stored in the first device will not be cleared. Therefore, the server can generally obtain the combined traceability identifier from the second device, and then obtain the download channel corresponding to the download operation from the target storage unit, thereby avoiding channel packaging of the target application. Therefore, the time cost and maintenance cost of channel traceability brought by channel packaging can be saved, and the accuracy of channel traceability can be ensured.

[0059] In one embodiment, since the traceability identification acquisition results include two types: failure to obtain the combined traceability identification and obtaining the combined traceability identification, the download channel of the target application program determined according to the traceability identification acquisition result and the target storage unit may include the following situations:

[0060] Case 1: In response to the tracing identifier acquisition result being that a combined tracing identifier is acquired, the download channel associated with the combined tracing identifier in the target storage unit is determined as the download channel of the target application.

[0061] In case 2, in response to the result of obtaining the traceability identifier being that the combined traceability identifier is not obtained, the server can determine the download channel of the target application according to at least one second environment identifier of the target storage unit and the second device. This application will introduce this case in subsequent embodiments.

[0062] In addition, the server may also directly determine that the download channel of the target application has not been found in response to the traceability identifier acquisition result that the combined traceability identifier has not been acquired.

[0063] In combination with the above content, it can be known that when the first device and the second device are different devices, or the combined traceability identifier stored in the first device is cleared, the server cannot obtain the combined traceability identifier from the second device. Therefore, the server can trace the download channel through the environment identifier (that is, determine the download channel according to the above situation 2) to improve the stability and reliability of channel traceability. This application will introduce this specific process and effect in the following embodiments:

[0064] The following first introduces the environmental identification involved in the embodiment:

[0065] In one embodiment, the environment identifier may include: device fingerprint, operating system information, or network connection information, but is not limited thereto.

[0066] Specifically, the environment identifier of the first device is the first environment identifier, and the environment identifier of the second device is the second environment identifier.

[0067] Device fingerprint is used to uniquely identify a device and / or a browser in the device. For example, the device fingerprint may be composed of at least one of the following: Canvas fingerprint, Audio fingerprint, International Mobile Equipment Identity (IMEI), hard disk serial number, central processing unit (CPU) serial number, but is not limited thereto.

[0068] Alternatively, a device fingerprint may be generated based on behavioral characteristics generated by a user's use of the device and / or a browser in the device, wherein the behavioral characteristics may be determined based on at least one of the following: page or page logo click habits, page scrolling speed, input speed of the device's corresponding keyboard, device startup time, and device startup duration, but is not limited thereto.

[0069] Specifically, the device fingerprint of the first device is the first device fingerprint, and the device fingerprint of the second device is the second device fingerprint. The first device fingerprint is used to uniquely identify the first device and / or the browser in the first device, and the second device fingerprint is used to uniquely identify the second device and / or the browser in the second device.

[0070] The operating system information may include at least one of the following, but is not limited thereto: an operating system name, an operating system version number. Specifically, the operating system information of the first device is the first operating system information, and the operating system information of the second device is the second operating system information.

[0071] Network connection information is used to indicate information about the network to which the device is connected or the network used for communication. For example, the network connection information may include at least one of the following, but is not limited to: an Internet Protocol Address (IP address) or a Media Access Control Address (MAC address) used by the device for communication. Specifically, the network connection information of the first device is the first network connection information, and the network connection information of the second device is the second network connection information.

[0072] In one embodiment, before the server obtains the result and the target storage unit according to the traceability identifier and determines the download channel of the target application, it may further perform the following steps:

[0073] Step 1: In response to the download operation, obtain at least one first environment identifier of the first device, where the at least one first environment identifier includes at least one of the following: a first device fingerprint, first operating system information, and first network connection information.

[0074] Specifically, the first device may obtain the first environment identifier and send the first environment identifier to the server (similar to the above-mentioned method of sending the globally unique identifier to the server), so that the server can obtain the first environment identifier. For example, the first device may obtain the first environment identifier through a browser in the first device (for example, a browser built into the device), but is not limited thereto.

[0075] It should be noted that the way in which the server, the first device or the second device obtains the environmental identification must be approved by the user or permitted by regulations.

[0076] Step 2: associate the download channel corresponding to the download operation with at least one first environment identifier of the first device and store them in a target storage unit.

[0077] Alternatively, the server may also associate the download channel corresponding to the download operation with the combined traceability identifier and at least one first environment identifier and store them in the target storage unit.

[0078] In addition, the server can also associate the download channel corresponding to the download operation with the combined traceability identifier and store it in the first target storage unit, and associate the download channel corresponding to the download operation with at least one first environment identifier and store it in the second target storage unit. The first target storage unit and the second target storage unit are different storage units.

[0079] Specifically, in combination with the above embodiment, assuming that at least one first environment identifier includes: a first Canvas fingerprint "CanvasId", a first Audio fingerprint "AudioId", a first operating system name "os", a first operating system version number "osVersion" and first network connection information "IP", the server can store the download channel and at least one first environment identifier in the target storage unit, and obtain the following: Figure 3 Alternatively, the server can associate the download channel, at least one first environment identifier and the combined traceability identifier and store them in the target storage unit, so as to obtain the following: Figure 3 The storage record shown in (c).

[0080] Step three, in response to the startup operation, obtaining at least one second environment identifier of the second device, where the at least one second environment identifier includes at least one of the following: a second device fingerprint, second operating system information, and second network connection information.

[0081] Alternatively, similar to obtaining the combined traceability identifier from the second device, the server may also obtain the second environment identifier in response to the installation completion operation of the target application.

[0082] Alternatively, after starting the target application, the user can obtain the registered account (useid, used to uniquely identify the user who registered the target application) based on the login account of the second device to register the target application; the second device can obtain the registered account, determine that the registration is successful, and send the registered account and the second environment identifier to the server, so that the server can obtain and save the second environment identifier and the registered account. That is, the server can obtain the second environment identifier in response to the successful registration of the target application.

[0083] Specifically, similar to the method of obtaining the first environment identifier, the second device can obtain the second environment identifier and send the second environment identifier to the server, so that the server can obtain the second environment identifier.

[0084] Correspondingly, the above-mentioned determination of the download channel of the target application based on the traceability identification acquisition result and the target storage unit may include: in response to the traceability identification acquisition result being that the combined traceability identification is not obtained, determining the download channel of the target application based on the target storage unit and at least one second environment identification of the second device.

[0085] In addition, the server may not determine or obtain the combined traceability identifier, and in combination with the above content, determine the download channel of the target application only based on the environment identifier (the first environment identifier and the second environment identifier) ​​and the target storage unit.

[0086] Through the above embodiment, since the first environmental identifier is stored in the target storage unit rather than the first device, it is not easy to be cleared. Moreover, when the first device and the second device are the same device, their corresponding environmental identifiers must be the same. Therefore, the accuracy of channel traceability can be further improved and the cost of channel traceability can be reduced.

[0087] This application will introduce the content of determining the download channel of the target application according to the target storage unit and at least one second environment identifier in the following embodiments:

[0088] In one embodiment, the server can search for at least one first environment identifier that matches each second environment identifier in at least one second environment identifier in the target storage unit, that is, the server can match each second environment identifier in at least one second environment identifier with the first environment identifier in the target storage unit respectively; however, since the environment identifier may change, for example, if the device system is updated after downloading the target application and before installing the target application, the operating system information will change, that is, the first operating system information and the second operating system information may be different; if the hardware information, browser, etc. of the device change after downloading the target application and before installing the target application, since the Canvas fingerprint and the Audio fingerprint are determined based on the hardware information and the browser, the device fingerprint will change, that is, the first device fingerprint and the second device fingerprint may be different; if the device updates the network or network card required for communication after downloading the target application and before installing the target application, the network connection information will change, that is, the first network connection information and the second network connection information may be different. Therefore, the search results corresponding to the above search include the following two situations:

[0089] Scenario 1: At least one first environment identifier corresponding to and matching each second environment identifier in at least one second environment identifier is stored in the target storage unit.

[0090] In this case, the server may determine the download channel associated with at least one first environment identifier in the target storage unit that corresponds to and matches each second environment identifier in the at least one second environment identifier as the download channel of the target application.

[0091] Scenario 2: The target storage unit does not store at least one first environment identifier that matches each second environment identifier in at least one second environment identifier. That is, the target storage unit stores first environment identifiers that match some of the second environment identifiers in at least one second environment identifier, or the target storage unit does not store first environment identifiers that match any second environment identifier.

[0092] In this case, the server can determine a partial environment identifier from at least one second environment identifier based on the identifier change probability of each second environment identifier in at least one second environment identifier, and determine a download channel for the target application based on the partial environment identifier and the target storage unit.

[0093] Based on the above content, it can be seen that environmental identifiers may change, but the probability of their change is different, that is, their stability is different. For example, the probability of a device fingerprint changing is generally greater than the probability of an operating system information changing, and the probability of an operating system information changing is generally greater than the probability of a network connection information changing. Therefore, determining some environmental identifiers for search / matching based on the probability of environmental identifier change can improve the fault tolerance and efficiency of channel traceability.

[0094] In addition, if at least one second environment identifier in the above situation 2 is a second environment identifier, the server can determine that the download channel of the target application is not found.

[0095] The following describes the process of determining some environmental identifiers and determining download channels based on some environmental identifiers:

[0096] In one embodiment, the server may first remove the second environment identifier with the highest probability of identifier change from the at least one second environment identifier (wherein the at least one second environment identifier at this time is a plurality of second environment identifiers) to obtain a partial environment identifier; then, the server may search the target storage unit for at least one first environment identifier that matches each environment identifier in the partial environment identifier. However, since the environment identifier may change, a matching first environment identifier may not be found, or since the environment identifiers of devices used by different users (i.e., devices corresponding to different download operations) may be the same, for example, the network used for communication, the operating system of the device, or the browser may be the same, then multiple sets of matching first environment identifiers may be found. Therefore, the search results corresponding to the search include the following:

[0097] Search result 1: the target storage unit stores a group of at least one first environment identifier that matches each environment identifier in the partial environment identifier.

[0098] Based on the search result, the server may determine the download channel associated with at least one first environment identifier in the group that matches each environment identifier in the partial environment identifiers as the download channel of the target application.

[0099] Search result 2: the target storage unit does not store at least one first environment identifier that matches each environment identifier in the partial environment identifier.

[0100] Based on the search result, the server can determine that the download channel of the target application has not been found. Alternatively, the server can remove the environment identifier with the highest probability of identifier change in the partial environment identifiers, and continue to perform the above-mentioned search in the target storage unit for at least one first environment identifier that matches each environment identifier in the partial environment identifiers, until a group of at least one first environment identifier that matches each environment identifier in the partial environment identifiers is stored in the target storage unit, and the download channel of the target application is obtained.

[0101] Search result three: the target storage unit stores multiple groups of at least one first environment identifier that matches each environment identifier in the partial environment identifier, and the partial environment identifier includes one environment identifier.

[0102] Based on the search result, the server can determine that the download channel of the target application is not found.

[0103] Search result four: the target storage unit stores multiple groups of at least one first environment identifier corresponding to and matching each environment identifier in the partial environment identifier, and the partial environment identifier includes multiple environment identifiers.

[0104] Based on the search result, the server can remove the environment identifier with the highest probability of identifier change in the partial environment identifiers, and continue to execute the above-mentioned search in the target storage unit for at least one first environment identifier that matches each environment identifier in the partial environment identifiers, until a group of at least one first environment identifier that matches each environment identifier in the partial environment identifiers is stored in the target storage unit, and the download channel of the target application is obtained.

[0105] Alternatively, the server may determine that no download channel for the target application has been found.

[0106] That is to say, under this search result, the server can continue to reduce the number of second environment identifiers that need to be matched according to the probability of identifier change, and perform matching searches through more stable second environment identifiers, thereby further improving the fault tolerance and accuracy of channel traceability.

[0107] In addition, if after removing some environment identifiers or the environment identifier with the highest probability of identity change in at least one second environment identifier, the obtained partial environment identifier includes an environment identifier, and the target storage unit stores multiple groups of first environment identifiers that correspond to and match the obtained partial environment identifier (i.e., the one environment identifier included above) or the target storage unit does not store the first environment identifier that corresponds to and matches the obtained partial environment identifier (i.e., the one environment identifier included above), it is possible that the one environment identifier included above, i.e., the environment identifier with the lowest probability of identity change in at least one second environment identifier, has changed, then the server can remove the environment identifier from at least one second environment identifier, and use other environment identifiers after removing the environment identifier for search and matching:

[0108] The server can search the target storage unit for at least one first environment identifier that matches each of the other environment identifiers except the obtained partial environment identifier (i.e., the one environment identifier included above) in the at least one second environment identifier. If the target storage unit stores a group of at least one first environment identifier that matches each of the other environment identifiers, the download channel associated with the group of at least one first environment identifier that matches each of the other environment identifiers is determined as the download channel of the target application; if the target storage unit does not store a group of at least one first environment identifier that matches each of the other environment identifiers, it is determined that the download channel of the target application has not been found; if the target storage unit stores multiple groups of at least one first environment identifier that matches each of the other environment identifiers, the environment identifier with the highest probability of identity change in the other environment identifiers is removed, and the above-mentioned search for at least one first environment identifier that matches each of the other environment identifiers in the target storage unit is continued until a group of at least one first environment identifier that matches each of the other environment identifiers is stored in the target storage unit, and the download channel of the target application is obtained.

[0109] Of course, considering the possibility that only the environmental identifier with the lowest probability of identifier change has changed, the server may also remove or remove in sequence the environmental identifier with the lowest probability of identifier change in at least one second environmental identifier to obtain a partial environmental identifier, and then, similar to the above embodiment, determine the download channel based on the partial environmental identifier.

[0110] In one embodiment, the server may determine the first environment identifier that matches the second environment identifier from the target storage unit through a matching algorithm or a search algorithm. The present application does not limit the specific method for determining the first environment identifier that matches.

[0111] Specifically, the search algorithm may be a hash table search algorithm or a binary search algorithm, but is not limited thereto. The matching algorithm may be a string matching algorithm or a regular expression matching algorithm, but is not limited thereto.

[0112] In one embodiment, it is assumed that at least one second environment identifier includes the following five: a second Canvas fingerprint "CanvasId", a second Audio fingerprint "AudioId", a second operating system name "os", a second operating system version number "osVersion" and a second network connection information "IP". First, the server can search for at least one first environment identifier that matches the above "CanvasId", "AudioId", "os", "osVersion" and "IP" in the target storage unit. If at least one first environment identifier that matches all of the above five second environment identifiers is found in the target storage unit, the server can determine the download channel associated with the at least one first environment identifier that matches the corresponding one in the target storage unit as the download channel of the target application.

[0113] If at least one first environment identifier that matches all of the above five second environment identifiers is not found in the target storage unit, the server may search in the target storage unit for at least one first environment identifier that matches the following four of the five second environment identifiers, "CanvasId", "os", "osVersion" and "IP". If a group or a pair of at least one first environment identifier that matches all of the above four second environment identifiers is found in the target storage unit, the server may determine the download channel associated with the at least one first environment identifier that matches the group in the target storage unit as the download channel of the target application.

[0114] If at least one first environment identifier that matches all of the above four second environment identifiers is not found in the target storage unit, or if multiple groups of at least one first environment identifier that matches all of the above four second environment identifiers are found, the server may search in the target storage unit for at least one first environment identifier that matches the following four of the above five second environment identifiers, namely, "AudioId", "os", "osVersion" and "IP". If a group of at least one first environment identifier that matches all of the above four second environment identifiers is found in the target storage unit, the server may determine the download channel associated with the at least one first environment identifier that matches the corresponding one in the target storage unit as the download channel of the target application.

[0115] If at least one first environment identifier that matches all of the above-mentioned "AudioId", "os", "osVersion" and "IP" is not found in the target storage unit, or if multiple groups of at least one first environment identifier that matches all of the "AudioId", "os", "osVersion" and "IP" are found, the server may search in the target storage unit for at least one first environment identifier that matches the following three of the above-mentioned five second environment identifiers: "os", "osVersion" and "IP". If a group of at least one first environment identifier that matches all of the above three second environment identifiers is found in the target storage unit, the server may determine the download channel associated with the at least one first environment identifier that matches the corresponding one in the target storage unit as the download channel of the target application.

[0116] If at least one first environment identifier that matches all of the above "os", "osVersion" and "IP" is not found in the target storage unit, or if multiple groups of at least one first environment identifier that matches all of the above "os", "osVersion" and "IP" are found, the server may search in the target storage unit for at least one first environment identifier that matches the following second environment identifier "IP" among the above five second environment identifiers. If a group of at least one first environment identifier that matches all of the above second environment identifiers is found in the target storage unit, the server may determine the download channel associated with the at least one first environment identifier that matches the corresponding one in the target storage unit as the download channel of the target application.

[0117] If at least one first environment identifier that matches the above "os" is not found in the target storage unit, or multiple groups of at least one first environment identifier that matches "IP" are found, the server can search the target storage unit for at least one first environment identifier that matches the following four second environment identifiers "CanvasId", "os", and "osVersion" other than the above "os" among the above five second environment identifiers. If at least one first environment identifier that matches the above "CanvasId", "os", and "osVersion" is found in the target storage unit, the server can determine the download channel associated with the at least one first environment identifier that matches the corresponding one in the target storage unit as the download channel of the target application. Otherwise, the server can stop matching and determine that the download channel of the target application has not been found.

[0118] It should be noted that all the above technical solutions can be combined in any way to form optional embodiments of the present application, which will not be described one by one here.

[0119] Figure 4 A schematic diagram of a channel tracing device 400 for an application provided in an embodiment of the present application.

[0120] like Figure 4 As shown, the channel tracing device 400 of the application includes: a generation and determination module 401, an identification sending module 402, a first storage module 403, a first acquisition module 404, a first determination module 405, a second acquisition module 406, a second storage module 407, a third acquisition module 408, a second determination module 409, and a third determination module 410.

[0121] Optionally, a generation and determination module 401 is used to generate a globally unique identifier in response to a download operation for a target application, and determine a combined traceability identifier based on a target traceability identifier corresponding to the target application and the globally unique identifier; an identifier sending module 402 is used to send the combined traceability identifier to a first device that downloads the target application, so that the first device stores the combined traceability identifier; a first storage module 403 is used to associate the download channel corresponding to the download operation with the combined traceability identifier and store it in a target storage unit; a first acquisition module 404 is used to obtain the combined traceability identifier from a second device that installs the target application using the target traceability identifier in response to a startup operation for the target application, and obtain a traceability identifier acquisition result; a first determination module 405 is used to determine the download channel of the target application based on the traceability identifier acquisition result and the target storage unit.

[0122] Optionally, a second acquisition module 406 is used to obtain at least one first environment identifier of the first device in response to the download operation, the at least one first environment identifier of the first device including at least one of the following: a first device fingerprint of the first device, first operating system information of the first device and first network connection information of the first device, the first device fingerprint is used to uniquely identify the first device and / or the browser in the first device; a second storage module 407 is used to associate the download channel corresponding to the download operation with the at least one first environment identifier of the first device and store it in a target storage unit; a third acquisition module 408 is used to obtain at least one second environment identifier of the second device in response to the start operation, the second device fingerprint is used to uniquely identify the first device and / or the browser in the first device; The at least one second environment identifier of the device includes at least one of the following: a second device fingerprint of the second device, second operating system information of the second device, and second network connection information of the second device, the second device fingerprint is used to uniquely identify the second device and / or the browser in the second device; the first determination module 405 is specifically used to: in response to the traceability identifier acquisition result being that the combined traceability identifier is obtained, determine the download channel associated with the combined traceability identifier in the target storage unit as the download channel of the target application; or, in response to the traceability identifier acquisition result being that the combined traceability identifier is not obtained, determine the download channel of the target application according to the target storage unit and at least one second environment identifier of the second device.

[0123] Optionally, the first determination module 405 is specifically used to: search in the target storage unit for at least one first environment identifier that corresponds to and matches each second environment identifier in at least one second environment identifier of the second device; if the target storage unit stores at least one first environment identifier that corresponds to and matches each second environment identifier in at least one second environment identifier of the second device, then determine the download channel associated with the at least one first environment identifier that corresponds to and matches each second environment identifier in at least one second environment identifier of the second device in the target storage unit as the download channel of the target application; if the target storage unit does not store at least one first environment identifier that corresponds to and matches each second environment identifier in at least one second environment identifier of the second device, then determine a partial environment identifier from at least one second environment identifier of the second device based on the identifier change probability of each second environment identifier in at least one second environment identifier of the second device, and determine the download channel of the target application based on the partial environment identifier and the target storage unit.

[0124] Optionally, the first determination module 405 is specifically used to: remove the second environment identifier with the highest probability of identity change from at least one second environment identifier of the second device to obtain a partial environment identifier; search the target storage unit for at least one first environment identifier that matches each environment identifier in the partial environment identifier; if the target storage unit stores a group of at least one first environment identifier that matches each environment identifier in the partial environment identifier, then determine a download channel associated with a group of at least one first environment identifier that matches each environment identifier in the partial environment identifier as the download channel of the target application; if the target storage unit stores multiple groups of at least one first environment identifier that matches each environment identifier in the partial environment identifier, and the partial environment identifier includes multiple environment identifiers, then remove the environment identifier with the highest probability of identity change from the partial environment identifier, and continue to search the target storage unit for at least one first environment identifier that matches each environment identifier in the partial environment identifier, until the target storage unit stores a group of at least one first environment identifier that matches each environment identifier in the partial environment identifier, and the download channel of the target application is obtained.

[0125] Optionally, the second determination module 409 is configured to determine that the download channel of the target application is not found if the target storage unit does not store at least one first environment identifier that matches each environment identifier in the partial environment identifiers.

[0126] Optionally, the third determination module 410 is used to determine that the download channel of the target application is not found if the target storage unit stores multiple groups of at least one first environment identifier corresponding to each environment identifier in the partial environment identifier, and the partial environment identifier includes an environment identifier.

[0127] Optionally, the first device fingerprint or the second device fingerprint includes: Canvas fingerprint and / or Audio fingerprint; the first operating system information or the second operating system information includes: operating system name and / or operating system version number; the first network connection information or the second network connection information includes: Internet Protocol address used by the device for communication.

[0128] It should be understood that the embodiments of the device are similar to the embodiments of the above method, and the contents and effects thereof can refer to the contents and effects of the above method, which will not be described in detail in this application. Figure 4 The device 400 shown can execute the above method embodiments, and the above and other operations and / or functions of each module in the device 400 are respectively for implementing the corresponding processes in the above methods, which will not be repeated here for the sake of brevity.

[0129] The above describes the device 400 of the embodiment of the present application from the perspective of the functional module in conjunction with the accompanying drawings. It should be understood that the functional module can be implemented in hardware form, can be implemented by instructions in software form, and can also be implemented by a combination of hardware and software modules. Specifically, the steps of the method embodiment in the embodiment of the present application can be completed by the hardware integrated logic circuit and / or software form instructions in the processor, and the steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to perform, or a combination of hardware and software modules in the decoding processor to perform. Optionally, the software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory, and completes the steps in the above method embodiment in conjunction with its hardware.

[0130] Figure 5 A schematic block diagram of an electronic device 500 provided in an embodiment of the present application.

[0131] like Figure 5 As shown, the electronic device 500 may include:

[0132] The memory 510 and the processor 520, the memory 510 is used to store the computer program and transmit the program code to the processor 520. In other words, the processor 520 can call and run the computer program from the memory 510 to implement the method in the embodiment of the present application.

[0133] For example, the processor 520 may be configured to execute the above method embodiments according to instructions in the computer program.

[0134] In some embodiments of the present application, the processor 520 may include but is not limited to:

[0135] General-purpose processor, digital signal processor (DSP), application-specific integrated circuit (ASIC), field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc.

[0136] In some embodiments of the present application, the memory 510 includes but is not limited to:

[0137] Volatile memory and / or non-volatile memory. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM) or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link DRAM (SLDRAM) and direct RAM bus random access memory (DR RAM).

[0138] In some embodiments of the present application, the computer program may be divided into one or more modules, which are stored in the memory 510 and executed by the processor 520 to complete the method provided by the present application. The one or more modules may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program in the electronic device.

[0139] like Figure 5 As shown, the electronic device may also include:

[0140] The transceiver 530 may be connected to the processor 520 or the memory 510 .

[0141] The processor 520 may control the transceiver 530 to communicate with other devices, specifically, to send information or data to other devices, or to receive information or data sent by other devices. The transceiver 530 may include a transmitter and a receiver. The transceiver 530 may further include an antenna, and the number of antennas may be one or more.

[0142] It should be understood that the various components in the electronic device are connected via a bus system, wherein the bus system includes not only a data bus but also a power bus, a control bus and a status signal bus.

[0143] The present application also provides a computer storage medium on which a computer program is stored, and when the computer program is executed by a computer, the computer can perform the method of the above method embodiment. In other words, the present application embodiment also provides a computer program product containing instructions, and when the instructions are executed by a computer, the computer can perform the method of the above method embodiment.

[0144] When software is used for implementation, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instruction is loaded and executed on a computer, the computer can be made to perform the corresponding flow in each method in the embodiment of the present application in whole or in part, and generate the functions that can be realized by each method in the embodiment of the present application. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instruction can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instruction can be transmitted from a website site, computer, server or data center by wired (such as coaxial cable, optical fiber, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (such as infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, a data center, etc. that contains one or more available media integrations. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital video disk (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).

[0145] Those skilled in the art will appreciate that the modules and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution.

[0146] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the system embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the system, device or module can be electrical, mechanical or other forms.

[0147] The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. For example, each functional module in each embodiment of the present application may be integrated into a processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.

Claims

1. A channel tracing method for an application, characterized in that: include: In response to a download operation for a target application, a globally unique identifier is generated, and a combined traceability identifier is determined according to a target traceability identifier corresponding to the target application and the globally unique identifier; Sending the combined traceability identifier to a first device that downloads the target application so that the first device stores the combined traceability identifier; The download channel corresponding to the download operation is associated with the combined traceability identifier and stored in a target storage unit; In response to a start-up operation for the target application, the target traceability identifier is used to obtain the combined traceability identifier from a second device on which the target application is installed, to obtain a traceability identifier acquisition result; The download channel of the target application is determined according to the traceability identification acquisition result and the target storage unit.

2. The method according to claim 1, characterized in that: Before determining the download channel of the target application according to the tracing identification acquisition result and the target storage unit, the method further includes: In response to the download operation, obtaining at least one first environment identifier of the first device, wherein the at least one first environment identifier of the first device includes at least one of the following: a first device fingerprint of the first device, first operating system information of the first device, and first network connection information of the first device, wherein the first device fingerprint is used to uniquely identify the first device and / or a browser in the first device; storing the download channel corresponding to the download operation in association with at least one first environment identifier of the first device in the target storage unit; In response to the startup operation, obtaining at least one second environment identifier of the second device, where the at least one second environment identifier of the second device includes at least one of the following: a second device fingerprint of the second device, second operating system information of the second device, and second network connection information of the second device, where the second device fingerprint is used to uniquely identify the second device and / or a browser in the second device; The step of determining the download channel of the target application according to the tracing identification acquisition result and the target storage unit includes: In response to the tracing identifier acquisition result being that the combined tracing identifier is acquired, determining the download channel associated with the combined tracing identifier in the target storage unit as the download channel of the target application; or, In response to the traceability identifier acquisition result being that the combined traceability identifier is not acquired, a download channel for the target application is determined according to the target storage unit and at least one second environment identifier of the second device.

3. The method according to claim 2, characterized in that The step of determining a download channel of the target application according to the target storage unit and at least one second environment identifier of the second device includes: searching the target storage unit for at least one first environment identifier that matches each second environment identifier of the at least one second environment identifier of the second device; If the target storage unit stores at least one first environment identifier that matches each of the at least one second environment identifier of the second device, a download channel associated with the at least one first environment identifier that matches each of the at least one second environment identifier of the second device in the target storage unit is determined as a download channel for the target application; If the target storage unit does not store at least one first environment identifier corresponding to each second environment identifier of the second device, then according to the identifier change probability of each second environment identifier of the at least one second environment identifier of the second device, a partial environment identifier is determined from the at least one second environment identifier of the second device, and the download channel of the target application is determined based on the partial environment identifier and the target storage unit.

4. The method according to claim 3, characterized in that: The method of determining a partial environment identifier from at least one second environment identifier of the second device according to an identifier change probability of each second environment identifier in at least one second environment identifier of the second device, and determining a download channel of the target application according to the partial environment identifier and the target storage unit includes: Removing the second environment identifier with the highest identifier change probability from the at least one second environment identifier of the second device to obtain the partial environment identifier; Searching the target storage unit for at least one first environment identifier that matches each environment identifier in the partial environment identifiers; If the target storage unit stores a group of at least one first environment identifier that matches each environment identifier in the partial environment identifier, a download channel associated with the group of at least one first environment identifier that matches each environment identifier in the partial environment identifier is determined as a download channel for the target application; If the target storage unit stores multiple groups of at least one first environment identifier corresponding to each environment identifier in the partial environment identifier, and the partial environment identifier includes multiple environment identifiers, then the environment identifier with the highest probability of identifier change in the partial environment identifier is removed, and the search for at least one first environment identifier corresponding to each environment identifier in the partial environment identifier in the target storage unit is continued until a group of at least one first environment identifier corresponding to each environment identifier in the partial environment identifier is stored in the target storage unit, and the download channel of the target application is obtained.

5. The method according to claim 4, characterized in that Also includes: If the target storage unit does not store at least one first environment identifier that corresponds to and matches each environment identifier in the partial environment identifiers, it is determined that the download channel of the target application program has not been found.

6. The method according to claim 4, characterized in that Also includes: If the target storage unit stores multiple groups of at least one first environment identifier corresponding to each environment identifier in the partial environment identifier, and the partial environment identifier includes one environment identifier, it is determined that no download channel for the target application is found.

7. A channel tracing device for an application, characterized in that: include: A generating and determining module, configured to generate a globally unique identifier in response to a download operation for a target application, and determine a combined traceability identifier based on a target traceability identifier corresponding to the target application and the globally unique identifier; An identification sending module, used for sending the combined traceability identification to a first device that downloads the target application, so that the first device stores the combined traceability identification; A first storage module, configured to associate the download channel corresponding to the download operation with the combined traceability identifier and store them in a target storage unit; A first acquisition module is used to obtain the combined traceability identifier from a second device on which the target application is installed using the target traceability identifier in response to a startup operation on the target application, and obtain a traceability identifier acquisition result; The first determination module is used to determine the download channel of the target application according to the traceability identification acquisition result and the target storage unit.

8. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to perform the method of any one of claims 1 to 6 by executing the executable instructions.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.

10. A computer program product comprising instructions, characterized in that When the computer program product is run on an electronic device, the electronic device is enabled to execute the method according to any one of claims 1 to 6.