Channel tracking method, apparatus, device, storage medium, and computer program product

By obtaining the data area parameter information of the original program file and adding channel identification information to the signature data area to generate the channel package file, the problem of long development cycle of existing channel tracking methods is solved, enabling rapid response to market changes and improving the real-time performance of channel tracking.

CN120892075BActive Publication Date: 2026-01-16BEIJING QIHOOD TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511407171.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-09-29
Publication Date
2026-01-16
Estimated Expiration
2045-09-29

AI Technical Summary

Technical Problem

Existing channel tracking methods based on embedded packaging technology require recompiling and repackaging the program files every time a new channel is added, resulting in a long development cycle, low real-time performance, and inability to quickly respond to market changes.

Method used

By obtaining the data area parameter information of the original program file, channel identification information is added to the signature data area to generate a channel package file, and the content delivery network is used for channel tracking, avoiding recompilation and repackaging.

Benefits of technology

It enables rapid response to market changes in channel tracking, improves the real-time nature and accuracy of channel tracking, and reduces the development cycle.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120892075B_ABST
    Figure CN120892075B_ABST
Patent Text Reader

Abstract

The application discloses a channel tracking method and device, equipment, a storage medium and a computer program product, and relates to the technical field of data processing. The method comprises the following steps: acquiring data area parameter information corresponding to an original program file of a to-be-tracked channel, wherein the data area parameter information is used for representing the position of a signature data area in the original program file; adding channel identification information of the to-be-tracked channel to the signature data area to generate a channel package file of the to-be-tracked channel; and tracking the to-be-tracked channel through the channel package file. According to the application, the channel identification information of the to-be-tracked channel can be added to the signature data area of the original program file to generate a channel package file containing the channel identification information, so that the technical problem that the development cycle of a new channel is relatively long in the prior art channel tracking method based on an embedded packaging technology and the real-time performance of channel tracking is not high is solved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of data processing, and particularly relates to a channel tracking method and device, equipment, a storage medium and a computer program product. BACKGROUND

[0002] In digital marketing, software developers need to distribute software through multiple channels (such as advertising platforms, promotion links, etc.) to attract users to download and install. In order to evaluate the promotion effect of different channels, channel identification information can be embedded in the software to track the user source, so that when the user installs and uses the software, the user can be accurately identified as downloading from which channel.

[0003] The channel tracking method in the existing scheme usually relies on embedded packaging technology. This method can generate a separate channel package file for each channel for channel tracking. However, since these files have embedded specific channel identification information when compiled and packaged, the program file needs to be recompiled and packaged every time a new channel is added, which may take a long time, resulting in low real-time performance of channel tracking, and thus unable to quickly respond to market changes and new marketing strategies. SUMMARY

[0004] The main purpose of the present application is to provide a channel tracking method, device, equipment, storage medium and computer program product, which aims to solve the technical problem of long development cycle of adding channels in the prior art channel tracking method based on embedded packaging technology, resulting in low real-time performance of channel tracking.

[0005] To achieve the above purpose, the present application provides a channel tracking method, which comprises:

[0006] Obtaining data area parameter information corresponding to an original program file of a to-be-tracked channel, the data area parameter information being used to represent a position of a signature data area in the original program file;

[0007] Adding channel identification information of the to-be-tracked channel to the signature data area to generate a channel package file of the to-be-tracked channel;

[0008] Tracking the to-be-tracked channel through the channel package file.

[0009] In an embodiment, the step of obtaining data area parameter information corresponding to an original program file of a to-be-tracked channel comprises:

[0010] Parsing the original program file of the to-be-tracked channel and extracting a certificate data directory table in the original program file;

[0011] determining a certificate table entry in the certificate data directory table according to a directory index of the certificate data directory table;

[0012] obtaining data area parameter information corresponding to the original program file based on the certificate table entry.

[0013] In an embodiment, the step of obtaining the data area parameter information corresponding to the original program file based on the certificate table entry comprises:

[0014] determining a file offset position and a data area length of the certificate data directory table based on the certificate table entry, the file offset position being an offset position of the signature data area in the original program file;

[0015] generating the data area parameter information corresponding to the original program file based on the file offset position and the data area length.

[0016] In an embodiment, before the step of adding the channel identifier information of the to-be-tracked channel to the signature data area to generate a channel package file of the to-be-tracked channel, the method further comprises:

[0017] generating a target channel promotion address corresponding to the to-be-tracked channel based on the data area parameter information;

[0018] The step of adding the channel identifier information of the to-be-tracked channel to the signature data area to generate a channel package file of the to-be-tracked channel comprises:

[0019] a channel package generation request triggered by a user based on the target channel promotion address;

[0020] adding the channel identifier information of the to-be-tracked channel to the signature data area based on the channel package generation request through a content distribution network to generate a channel package file of the to-be-tracked channel.

[0021] In an embodiment, the step of generating a target channel promotion address corresponding to the to-be-tracked channel based on the data area parameter information comprises:

[0022] generating a channel promotion address corresponding to the to-be-tracked channel based on the data area parameter information;

[0023] determining channel promotion information according to a link download request triggered by a user based on the channel promotion address;

[0024] generating a target channel promotion address based on the channel promotion information and the channel promotion address.

[0025] In an embodiment, the step of adding the channel identification information of the to-be-tracked channel to the signature data area based on the channel package generation request of the content distribution network to generate the channel package file of the to-be-tracked channel comprises:

[0026] The channel package generation request is parsed by a content distribution node in the content distribution network to obtain all channel fields in the target channel promotion address;

[0027] The channel identification information of the to-be-tracked channel is generated based on each channel field;

[0028] The channel identification information is added to the signature data area to generate the channel package file of the to-be-tracked channel.

[0029] In an embodiment, the step of adding the channel identification information to the signature data area to generate the channel package file of the to-be-tracked channel comprises:

[0030] The to-be-written position of the channel identification information is determined based on the file offset position and the data area length;

[0031] The channel identification information is added to the signature data area according to the to-be-written position to generate the channel package file of the to-be-tracked channel.

[0032] In an embodiment, the step of adding the channel identification information to the signature data area according to the to-be-written position to generate the channel package file of the to-be-tracked channel comprises:

[0033] The channel identification information is added to the signature data area according to the to-be-written position, and the channel identification length of the channel identification information is determined;

[0034] The length field in the signature data area is updated in a first length based on the channel identification length;

[0035] When the first length update is completed, the channel package file of the to-be-tracked channel is generated.

[0036] In an embodiment, the step of generating the channel package file of the to-be-tracked channel when the first length update is completed comprises:

[0037] When the first length update is completed, the table length of the certificate table is updated in a second length based on the channel identification length;

[0038] When the second length update is completed, the channel package file of the to-be-tracked channel is generated.

[0039] In an embodiment, the channel tracking of the to-be-tracked channel through the channel package file comprises:

[0040] The channel package file is parsed to read the channel identification information;

[0041] An activation event is generated based on the channel identification information and the device parameter information, and the activation event is sent to a server;

[0042] The to-be-tracked channel is tracked by the server based on the activation event.

[0043] In addition, to achieve the above object, the application further provides a channel tracking device, which comprises:

[0044] A file parsing module is configured to obtain data area parameter information corresponding to an original program file of a to-be-tracked channel, wherein the data area parameter information is used to represent a signature data area in the original program file in a position of the original program file;

[0045] A file generation module is configured to add channel identification information of the to-be-tracked channel to the signature data area to generate a channel package file of the to-be-tracked channel;

[0046] A channel tracking module is configured to track the to-be-tracked channel through the channel package file.

[0047] In an embodiment, the file parsing module is further configured to parse an original program file of a to-be-tracked channel and extract a certificate data directory table in the original program file;

[0048] The file parsing module is further configured to determine a certificate table entry in the certificate data directory table according to a directory index of the certificate data directory table;

[0049] The file parsing module is further configured to obtain data area parameter information corresponding to the original program file based on the certificate table entry.

[0050] In an embodiment, the file parsing module is further configured to determine a file offset position and a data area length of the certificate data directory table based on the certificate table entry, wherein the file offset position is an offset position of a signature data area in the original program file;

[0051] The file parsing module is further configured to generate the data area parameter information corresponding to the original program file based on the file offset position and the data area length.

[0052] In an embodiment, the file generation module is further configured to generate a target channel promotion address corresponding to the to-be-tracked channel based on the data area parameter information;

[0053] The file generation module is further configured to generate a channel package file of the to-be-tracked channel in response to a channel package generation request triggered by a user based on the target channel promotion address.

[0054] The file generation module is further configured to add channel identification information of the to-be-tracked channel to the signature data area based on the channel package generation request to generate the channel package file of the to-be-tracked channel through a content distribution network.

[0055] In an embodiment, the file generation module is further configured to generate a channel promotion address corresponding to the to-be-tracked channel based on the data area parameter information.

[0056] The file generation module is further configured to determine channel promotion information according to a link download request triggered by a user based on the channel promotion address.

[0057] The file generation module is further configured to generate a target channel promotion address based on the channel promotion information and the channel promotion address.

[0058] In an embodiment, the file generation module is further configured to parse the channel package generation request through a content distribution node in the content distribution network to obtain all channel fields in the target channel promotion address.

[0059] The file generation module is further configured to generate channel identification information of the to-be-tracked channel based on each channel field.

[0060] The file generation module is further configured to add the channel identification information to the signature data area to generate the channel package file of the to-be-tracked channel.

[0061] In an embodiment, the channel tracking module is further configured to parse the channel package file to read the channel identification information.

[0062] The channel tracking module is further configured to generate an activation event based on the channel identification information and device parameter information, and send the activation event to a server.

[0063] The channel tracking module is further configured to track the to-be-tracked channel based on the activation event through the server.

[0064] In addition, to achieve the above-mentioned purpose, the present application further provides a channel tracking device, which comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, and the computer program is configured to implement the steps of the channel tracking method as described above.

[0065] In addition, to achieve the above-mentioned purpose, the application further provides a storage medium, which is a computer readable storage medium, and a computer program is stored on the storage medium, and the computer program is executed by a processor to implement the steps of the channel tracking method.

[0066] In addition, to achieve the above-mentioned purpose, the application further provides a computer program product, which comprises a computer program, and the computer program is executed by a processor to implement the steps of the channel tracking method.

[0067] The application provides a channel tracking method, and the application discloses obtaining data area parameter information corresponding to an original program file of a to-be-tracked channel, wherein the data area parameter information is used to represent a position of a signature data area in the original program file; adding channel identification information of the to-be-tracked channel to the signature data area to generate a channel package file of the to-be-tracked channel; and tracking the to-be-tracked channel through the channel package file. Compared with the channel tracking method based on the embedded packaging technology in the prior art, the channel tracking method needs to recompile and package the program file every time a new channel is added, which leads to a long development cycle. Since the application can add the channel identification information of the to-be-tracked channel to the signature data area of the original program file to generate a channel package file containing the channel identification information to track the channel, the technical problem that the development cycle of adding a channel in the channel tracking method based on the embedded packaging technology in the prior art is long and the real-time performance of channel tracking is not high is solved, and the market changes can be responded quickly. BRIEF DESCRIPTION OF DRAWINGS

[0068] The accompanying drawings, which are incorporated into and form a part of the specification, illustrate an embodiment consistent with the present application and, together with the description, serve to explain the principles of the application.

[0069] In order to more clearly illustrate the technical solutions in the embodiments of the application or the prior art, the accompanying drawings needed in the embodiments or the prior art description will be briefly introduced as follows. Obviously, for those skilled in the art, other drawings can also be obtained based on these drawings without creative labor.

[0070] Figure 1 A flowchart is provided for the channel tracking method embodiment one of the application;

[0071] Figure 2 A format display diagram of the program file in the channel tracking method of the application is provided;

[0072] Figure 3 A flowchart is provided for the channel tracking method embodiment two of the application;

[0073] Figure 4The flowchart provided for the third embodiment of the channel tracking method of the present application is shown in the figure;

[0074] Figure 5 The overall flowchart of the channel tracking method of the present application is shown in the figure;

[0075] Figure 6 The module structure of the channel tracking device of the embodiment of the present application is shown in the figure;

[0076] Figure 7 The device structure of the hardware running environment involved in the channel tracking method of the embodiment of the present application is shown in the figure.

[0077] The object implementation, functional features and advantages of the present application will be further described with reference to the embodiments and the accompanying drawings. DETAILED DESCRIPTION

[0078] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application, and are not used to limit the present application.

[0079] In order to better understand the technical solutions of the present application, the specific embodiments will be described in detail below with reference to the drawings in the specification.

[0080] The main solution of the embodiment of the present application is: obtaining data area parameter information corresponding to the original program file of the to-be-tracked channel, the data area parameter information being used to represent the position of the signature data area in the original program file; adding channel identification information of the to-be-tracked channel to the signature data area to generate a channel package file of the to-be-tracked channel; and tracking the to-be-tracked channel through the channel package file.

[0081] Since the channel tracking method based on the embedded packaging technology in the prior art is to track the channel by generating a separate channel package file for each channel, and these files have embedded specific channel identification information when compiled and packaged, the program file needs to be recompiled and packaged every time a new channel is added, which results in a long development cycle and low real-time performance of channel tracking.

[0082] The present application provides a solution, which can add channel identification information of the to-be-tracked channel to the signature data area of the original program file to generate a channel package file containing channel identification information for channel tracking, thereby solving the technical problem of long development cycle of adding channels in the channel tracking method based on the embedded packaging technology in the prior art, which results in low real-time performance of channel tracking, and further enabling a quick response to market changes.

[0083] It should be noted that the execution subject of the embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a channel tracking device, or a channel tracking system containing a channel tracking device, etc. The channel tracking system (hereinafter referred to as the system) is taken as an example to describe the embodiment and the following embodiments.

[0084] Based on this, the embodiment of the present application provides a channel tracking method, which is described with reference to Figure 1 , Figure 1 The flowchart provided by the first embodiment of the channel tracking method of the present application is shown in the figure.

[0085] In the embodiment, the channel tracking method includes steps S10-S30:

[0086] Step S10: Obtain the data area parameter information corresponding to the original program file of the channel to be tracked, and the data area parameter information is used to represent the position of the signature data area in the original program file.

[0087] It should be noted that the above-mentioned channel to be tracked can be each channel for distributing software through an advertising platform, a promotion link, social media, etc. In actual application, these channels are used to promote software, attract users to download and install, and the present application needs to track these channels in order to evaluate the promotion effect of different channels.

[0088] It should be understood that the above-mentioned original program file can be a program file containing a digital signature running in the system, which can be a PE (Portable Executable) file such as.exe or.dll, etc. In the embodiment, the original program file can be the basis for generating a channel package, and by dynamically modifying it, a channel package containing specific channel information can be generated, and then the channel to be tracked can be tracked through the channel package.

[0089] It should be noted that the above-mentioned data area parameter information can be the related information of the certificate table in the original program file, including the offset position and size of the certificate table, etc. In the embodiment, the system can locate the position of the signature data area in the original program file through the offset position and size of the certificate table, so as to subsequently embed channel identification information in the signature data area, wherein the signature data area can be a region in the original program file for storing digital signature information, which can contain digital signature data for verifying the integrity and source of the file.

[0090] Further, the step S10 includes:

[0091] Step S101: parsing the original program file to be tracked to extract the certificate data directory table in the original program file.

[0092] It can be understood that the above-mentioned certificate data directory table can be a data directory item in the original program file, which is used to store the offset position and size of the certificate table, wherein the offset position can be the starting position of the certificate table in the program file; the size can be the total length of the certificate table, that is, the number of bytes. In this embodiment, the system can use a parsing tool (such as pefile) to parse the file header of the original program file, so as to obtain the certificate data directory table in the original program file.

[0093] Step S102: determining the certificate table entry in the certificate data directory table according to the directory index of the certificate data directory table.

[0094] It should be understood that the above-mentioned directory index can be the index value of the data directory in the optional header of the original program file. In this embodiment, the optional header of the original program file can contain a plurality of data directory items, each directory item points to a specific part of the file and has a unique index value, and the certificate table is one of these directory items.

[0095] It should be noted that the above-mentioned certificate table entry can be the starting position of the certificate table in the original program file, wherein the certificate table is the part of the original program file that stores the digital signature information, and the table contains one or more certificate table entries, each entry stores specific signature information, such as the length of the certificate entry, the revision version of the certificate entry, the certificate type, the certificate data (such as digital signature information), etc., which is not limited in this embodiment.

[0096] Step S103: obtaining the data area parameter information corresponding to the original program file based on the certificate table entry.

[0097] In this embodiment, after determining the certificate table entry in the certificate data directory table, the system can directly extract the data area parameter information corresponding to the original program file from the certificate table according to the certificate table entry.

[0098] Specifically, the step S103 comprises: determining the file offset position and the data area length of the certificate data directory table based on the certificate table entry, the file offset position being the offset position of the signature data area in the original program file; generating the data area parameter information corresponding to the original program file based on the file offset position and the data area length.

[0099] It should be noted that the file offset position can be the start position of the signature data area in the original program file; and the data area length can be the length of the signature data area. In actual application, the certificate data directory table can be sequentially arranged by 16 (or more) directory entries, wherein the 5th entry (i.e. the directory entry corresponding to directory index 4) of the certificate data directory table is the certificate table entry, each directory entry is fixed at 8 bytes, the first 4 bytes are Virtual Address, which directly points to the start position of the signature data area in the original program file, i.e. the file offset position, and the last 4 bytes are Size, which represents the byte length of the entire signature data area, i.e. the data area length. In this embodiment, the system can directly extract the Virtual Address field and the Size field in the certificate table to obtain the start position of the signature data area in the original program file and the length of the signature data area, i.e. to obtain the data area parameter information.

[0100] In a specific implementation, refer to Figure 2 , Figure 2 for the format of the program file in the channel tracking method of the present application. Figure 2 The typical Windows PE file format is shown in the figure. The file can be composed of an MS-DOS header, a PE header, an optional header, Windows-specific fields (such as checksum), a data directory, a section table, and other contents. The optional header can contain optional information of the file, such as entry point and section alignment size. The data directory can contain the offset position and size of various data in the file. The section table can be an import table, an export table, a resource table, a property certificate table, etc., which contains descriptions of each section in the file, and each section contains the actual content of the file, such as code, data, and resources. Figure 2 As shown in the figure, the property certificate table stores a certificate binary array, which contains an Authenticode signature, which conforms to the PKCS#7 standard and is composed of contentInfo, certificate, and signer information. The contentInfo is used to describe the content and type of the signed data and can be set to SPCIndirectDataContent and contains the PE file hash value and the legacy structure. The certificate can include the X.509 certificate signed by the software publisher and the X.509 certificate for timestamp signature (optional). The signer information can include SignerInfo and timestamp (optional). The SignerInfo includes the signature hash value publisher description and URL of the content information. The timestamp can be a PKCS#9 reverse signature, which is stored as an unauthenticated attribute, which can store the signature information of the signer, including: the hash value of the Signerlnfos signature, the UTC timestamp creation time, and the timestamp authorization signature. Figure 2In the middle, the object with the gray background can be omitted from the Authenticode hash value, and the bolded object describes the location of the Authenticode-related data.

[0101] Step S20: adding the channel identification information of the channel to be tracked to the signature data area to generate a channel package file of the channel to be tracked.

[0102] It should be understood that the above channel identification information can be information for uniquely identifying a promotion source and a distribution channel, such as cid, pid, ck, etc., where cid represents a media channel name or number; pid represents a promotion bit, an advertisement group, or a creative number under the same channel; and ck represents a unique click stream number generated by an advertisement platform for accurate attribution. In actual applications, in advertisement delivery and software promotion, user behavior analysis and attribution analysis can be performed based on the channel identification information to determine from which channel the user downloaded and installed the software.

[0103] In actual applications, when running application software in the system, in order to verify the source and integrity of the program file, Authenticode digital signature technology can be used for code signature verification to help users check whether the signed program file has been tampered with by an attacker during transmission, verify that the signature certificate is issued by a trusted certificate authority, and ensure that the signed program is from the publisher. When tracking channels, the existing scheme is usually to write channel identification information into the program file, which requires modifying the content of the program file. Once the program file is tampered with, it will not pass the signature verification. Therefore, in order to make the file pass the verification, the embodiment needs to append the identification data of any channel to the legally signed program file without destroying the original digital signature in the program file. Since the WinVerifyTrust function used to verify the digital signature of the file in the Authenticode code signing mechanism excludes the file data checksum (OptionalHeader.CheckSum), the certificate data directory table (Certificate Table), and the signature data area (Attribute Certificate Table) in the PE file when verifying the digital signature of the PE file, the application can append the channel identification information to the signature data in the signature data area of the file, so that the appended channel identification information will be considered as part of the signature data when performing signature verification through the hash value, and thus be excluded from the program file hash calculation. At this time, the calculated hash value is unchanged and does not damage the effectiveness of the original signature in the program file. Through the above method, the system can append channel identification data to the legally signed program file without destroying the original digital signature in the program file.

[0104] It should be noted that the channel package file can be an executable file formed by adding channel identification information in real time in the original program file. In the embodiment, the system can add the channel identification information to the tail of the signature data area in the original program file, so that the channel package file can be generated, which still maintains the original digital signature valid and can be directly installed and run by the user, and the program can self-analyze the channel identification information after running to perform attribution analysis.

[0105] Step S30: performing channel tracking on the to-be-tracked channel through the channel package file.

[0106] In actual application, the user starts the program after installing the channel package file in the program software. The program can automatically parse and read the channel identification information added at the end of the signature data area after starting, so that channel tracking can be performed according to the channel identification information.

[0107] Further, the step S30 includes: parsing the channel package file to read the channel identification information; generating an activation event based on the channel identification information and device parameter information, and sending the activation event to the server; and performing channel tracking on the to-be-tracked channel by the server based on the activation event.

[0108] It can be understood that the device parameter information can be a field for uniquely identifying a device, including a device unique identifier, an application package name and version number, an IP, a timestamp, etc., which is not limited in the embodiment; and the activation event can be structured data sent to the server when the program is started for the first time.

[0109] In actual application, the system can start the program after detecting that the user installs the channel package file, and parse and obtain the channel identification information from the channel package file, and call the API to collect the device parameter information, and then combine the channel identification information and the device parameter information into an activation event, and send the activation event to the attribution server, so that the attribution server performs channel tracking based on the activation event.

[0110] The embodiment provides a channel tracking method. The method discloses obtaining data area parameter information corresponding to an original program file of a channel to be tracked, the data area parameter information being used to represent a position of a signature data area in the original program file; adding channel identifier information of the channel to be tracked to the signature data area to generate a channel package file of the channel to be tracked; and tracking the channel to be tracked through the channel package file. Compared with a channel tracking method based on an embedded packaging technology in the prior art, the method needs to recompile and package a program file every time a new channel is added, which leads to a long development period. The embodiment can add the channel identifier information of the channel to be tracked to the signature data area of the original program file to generate a channel package file containing the channel identifier information to track the channel, thereby solving the technical problem that the development period of adding a channel in the channel tracking method based on the embedded packaging technology in the prior art is long, and the real-time performance of channel tracking is not high, and further responding to market changes quickly.

[0111] Based on the first embodiment of the application, in the second embodiment of the application, the same or similar contents as the above-mentioned first embodiment can be referred to the above description, and will not be described in detail. On this basis, please refer to Figure 3 , Figure 3 The flowchart provided by the second embodiment of the channel tracking method of the application is shown.

[0112] In the embodiment, before the step S20, the method further includes a step S02.

[0113] Step S02: generating a target channel promotion address corresponding to the channel to be tracked based on the data area parameter information.

[0114] Specifically, the step S02 includes: generating a channel promotion address corresponding to the channel to be tracked based on the data area parameter information; in response to a link download request triggered by a user based on the channel promotion address, and determining channel promotion information according to the link download request; and generating a target channel promotion address based on the channel promotion information and the channel promotion address.

[0115] It can be understood that the channel promotion address can be an address carrying the data area parameter information and used to uniquely identify a channel; and correspondingly, the target channel promotion address can be an address obtained by adding the channel promotion information to the channel promotion address.

[0116] It should be noted that the above channel promotion information can be information for identifying the promotion source, for example, a channel identifier (cid) for distinguishing between advertising platforms or distribution channels, a promotion bit or an advertisement group identifier (pid) for identifying different promotion bits, advertisement groups or advertisement creatives under the same channel, a click identifier (ck) which can be a unique click stream number generated by the advertising platform for subsequent accurate matching attribution, and an optional extension field which can be a sub-channel, city, material ID, activity ID, etc.

[0117] In actual application, the system can first splice the data area parameter information into the address of the advertising platform or media channel to generate a channel promotion address corresponding to the advertising platform or media channel. At this time, the user can trigger a link download request by clicking the channel promotion address. After receiving the link download request, the system can analyze the link download request to obtain the channel promotion information, and then splice the channel promotion information to the channel promotion address to finally generate a target channel promotion address.

[0118] Correspondingly, the step S20 includes:

[0119] Step S201: in response to a channel package generation request triggered by the user based on the target channel promotion address.

[0120] It should be understood that the above channel package generation request can be a request for instructing the system to generate a channel package.

[0121] Step S202: adding channel identifier information of the to-be-tracked channel to the signature data area based on the channel package generation request through a content distribution network to generate a channel package file of the to-be-tracked channel.

[0122] It can be understood that the above content distribution network can be a network composed of a group of servers distributed in different geographical locations, such as a CDN (Content Delivery Network). In actual application, the servers in the content distribution network work cooperatively to cache the content of the source station to the edge node closer to the user, thereby accelerating the delivery of the content. In the scenario of channel package generation, the CDN can be used to cache and distribute program files, so that the user can obtain faster response speed and higher transmission efficiency when downloading the channel package.

[0123] In actual application, the system can display the target channel promotion address of the media channel after generating the target channel promotion address, so that the user can trigger a channel package generation request by clicking the target channel promotion address in the media channel, and then the system can parse the request through the CDN, determine the channel identifier information of the to-be-tracked channel, and add the channel identifier information to the signature data area in the program file through the CDN network, and finally generate the channel package file of the media channel.

[0124] In the embodiment, the target channel promotion address corresponding to the to-be-tracked channel is generated based on the data area parameter information; a channel package generation request triggered by the user based on the target channel promotion address is responded; and the channel identifier information of the to-be-tracked channel is added to the signature data area based on the channel package generation request through the content distribution network, so as to generate the channel package file of the to-be-tracked channel. Since the channel identifier information of the to-be-tracked channel is added to the signature data area to generate the channel package file of the to-be-tracked channel in the embodiment, each channel package carries unique identifier information, thereby facilitating to improve the accuracy of channel tracking.

[0125] Based on the first embodiment and / or the second embodiment of the present application, in the third embodiment of the present application, the same or similar contents as the above embodiments can be referred to the above introduction, and will not be described in detail. On this basis, please refer to Figure 4 , Figure 4 The flowchart provided for the third embodiment of the channel tracking method of the present application.

[0126] In the embodiment, step S202 further includes steps S202a-S202c:

[0127] Step S202a: the channel package generation request is parsed through a content distribution node in the content distribution network to obtain all channel fields in the target channel promotion address.

[0128] It should be noted that the above content distribution node can be an edge server in the content distribution network for processing requests.

[0129] It can be understood that the above channel field can be a field carried in the target channel promotion address for identifying the specific channel source, such as cid, pid, ck, etc. In the embodiment, after receiving the channel package generation request, the system can call the URL parsing library through the content distribution node in the content distribution network to parse the channel package generation request, and extract the key-value pair for identifying the specific channel source in the channel package generation request to obtain the channel field.

[0130] Step S202b: generating the channel identifier information of the to-be-tracked channel based on each channel field.

[0131] In the embodiment, after extracting all the channel fields in the target channel promotion address, the system can splice the fields into a structured string in the manner of "key=value", and finally obtain the channel identification information, for example, cid=abc&pid=123&ck=xyz, wherein cid, pid and ck are channel fields, and the corresponding values are channel field values.

[0132] Step S202c: adding the channel identification information to the signature data area to generate the channel package file of the channel to be tracked.

[0133] Further, the step S202c includes determining a position to be written of the channel identification information based on the file offset position and the data area length, and adding the channel identification information to the signature data area according to the position to be written to generate the channel package file of the channel to be tracked.

[0134] It should be understood that the above-mentioned position to be written can be a position where the channel identification information should be written in the original program file. In the embodiment, the position to be written can be the first byte position after the end of the last certificate entry in the signature data area of the original program file. In the embodiment, the file offset position is the starting offset of the signature data area in the file in the original program file. The system can sequentially traverse each entry in the signature data area from the starting offset, and accumulate the starting offset until the end of the last entry. The position after the accumulation (starting offset + data area length) is the first byte after the end of the last certificate entry, i.e. the above-mentioned position to be written. After determining the position to be written, the system can directly add the channel identification information to the position to be written in the signature data area, and finally generate the channel package file of the channel to be tracked.

[0135] In an embodiment, the step of adding the channel identification information to the signature data area according to the position to be written to generate the channel package file of the channel to be tracked includes adding the channel identification information to the signature data area according to the position to be written, and determining the channel identification length of the channel identification information, performing first length update on the length field in the signature data area based on the channel identification length, and generating the channel package file of the channel to be tracked when the first length update is completed.

[0136] It should be noted that the above channel identifier length is the number of bytes required by the channel identifier information; the above first length update can be a process of updating the length of the signature data. In actual application, after the channel identifier information is appended to the signature data area, the length field of the signature data needs to be updated to reflect the new data length, so that the signature verification of the file can still pass, and the integrity and source credibility of the file are not affected. Therefore, after the channel identifier information is added to the signature data area of the program file, the length field in the signature data area can be updated according to the length of the channel identifier information in the embodiment, and the updated length field of the signature data area is the sum of the original length field of the signature data area and the channel identifier length.

[0137] In an embodiment, the step of generating the channel package file of the to-be-tracked channel when the first length update is completed includes: performing a second length update on the table length of the certificate table based on the channel identifier length when the first length update is completed; and generating the channel package file of the to-be-tracked channel when the second length update is completed.

[0138] It can be understood that the above second length update can be a process of updating the length of the certificate table. In actual application, after the channel identifier information is appended to the certificate table, the total length of the certificate table will increase. If the total length field of the certificate table is not updated at this time, the structure of the program file will be incomplete, which will cause the program file to be unable to be normally loaded and executed. Therefore, in order to maintain the integrity of the file structure, the table length of the certificate table can be updated according to the length of the channel identifier information after the channel identifier information is added to the signature data area of the program file in the embodiment, and the updated table length is the sum of the original table length and the channel identifier length.

[0139] In a specific implementation, reference is made to Figure 5 , Figure 5 the overall flowchart of the channel tracking method of the present application. As shown in Figure 5 , first, the user can upload an original program file. After receiving the original program file, the system can perform file format analysis on the original program file to obtain an offset position and a length, and attach the offset position and the length as a channel promotion link parameter to a URL and jump to a CDN. Then, the system can find the original program file through the CDN and modify the byte stream in real time through a Lua script to append channel identifier information to the tail end of the signature data area of the original program file, and finally generate a channel data package. After that, the user can download the channel package file containing the channel identifier information. After the program installation and activation are completed, the system can read the channel identifier information in the channel package file and report it to a server, so that the server can track the channel based on the channel identifier information.

[0140] In this embodiment, the channel package generation request is parsed by the content distribution node in the content distribution network to obtain all channel fields in the target channel promotion address; the channel identification information of the to-be-tracked channel is generated based on each channel field; and the channel identification information is added to the tail end of the signature data area to generate the channel package file of the to-be-tracked channel. Since the channel package file of the to-be-tracked channel can be generated by adding the channel identification information to the tail end of the signature data area in the program file, the channel package containing specific channel identification information can be dynamically generated without destroying the original digital signature of the program file, without the need for recompiling and packaging the program file, thereby facilitating the improvement of the efficiency of channel tracking.

[0141] It should be noted that the above examples are only used for understanding the present application and do not constitute a limitation on the channel tracking method of the present application. More forms of simple transformation based on this technical concept are within the protection scope of the present application.

[0142] The present application also provides a channel tracking device, please refer to Figure 6 , the channel tracking device comprises:

[0143] The file analysis module 10 is configured to obtain data area parameter information corresponding to the original program file of the to-be-tracked channel, wherein the data area parameter information is used to represent the location of the signature data area in the original program file.

[0144] The file generation module 20 is configured to add the channel identification information of the to-be-tracked channel to the signature data area to generate a channel package file of the to-be-tracked channel.

[0145] The channel tracking module 30 is configured to track the to-be-tracked channel through the channel package file.

[0146] The channel tracking device provided by the present application adopts the channel tracking method in the above embodiment, which can solve the technical problem that the development cycle of the new channel is relatively long in the channel tracking method based on the embedded packaging technology in the prior art, resulting in low real-time performance of channel tracking. Compared with the prior art, the beneficial effects of the channel tracking device provided by the present application are the same as those of the channel tracking method provided by the above embodiment, and the other technical features in the channel tracking device are the same as those disclosed in the above embodiment method, which will not be repeated here.

[0147] The present application provides a channel tracking device, which comprises at least one processor and a memory in communication connection with the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the channel tracking method in the above embodiment one.

[0148] Reference will now be made to the drawings Figure 7 , which show a structural diagram of a channel tracking device suitable for use in implementing embodiments of the present application. The channel tracking device in embodiments of the present application can include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), car terminals (e.g., car navigation terminals), and the like, as well as fixed terminals such as digital TVs, desktop computers, and the like. Figure 7 The channel tracking device shown is merely an example and should not impose any limitations on the functions and use range of embodiments of the present application.

[0149] As shown in Figure 7 , the channel tracking device can include a processing device 1001 (e.g., a central processing unit, a graphic processing unit, or the like) that can perform various appropriate actions and processes according to programs stored in a read-only memory 1002 or loaded from a storage device 1003 into a random access memory 1004. Various programs and data required for operation of the channel tracking device are also stored in the random access memory 1004. The processing device 1001, the read-only memory 1002, and the random access memory 1004 are connected to each other through a bus 1005. An input / output interface 1006 is also connected to the bus. In general, the following systems can be connected to the input / output interface 1006: input devices 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, and the like; output devices 1008 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, and the like; the storage device 1003 including, for example, a magnetic tape, a hard disk, and the like; and a communication device 1009. The communication device 1009 can allow the channel tracking device to communicate wirelessly or wired with other devices to exchange data. Although the channel tracking device having various systems is shown in the drawing, it should be understood that all of the systems shown are not required to be implemented or provided. More or less systems can be alternatively implemented or provided.

[0150] In particular, according to embodiments of the present disclosure, the processes described above with reference to the flowcharts can be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a computer readable medium, the computer program comprising program code for performing the methods illustrated by the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from a storage device 1003, or installed from a read-only memory 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the methods of the embodiments of the present disclosure are performed.

[0151] The channel tracking device provided by the present application adopts the channel tracking method in the above-mentioned embodiments, and can solve the technical problem of channel tracking. Compared with the prior art, the beneficial effects of the channel tracking device provided by the present application are the same as those of the channel tracking method provided by the above-mentioned embodiments, and other technical features in the channel tracking device are the same as those disclosed in the previous embodiment method, which will not be repeated here.

[0152] It should be understood that various parts of the present disclosure can be realized by hardware, software, firmware or a combination thereof. In the description of the above-mentioned embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0153] The above is merely specific implementation of the present application, but the protection scope of the present application is not limited thereto, any person skilled in the art can easily think of changes or replacements within the technical scope disclosed by the present application, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

[0154] The present application provides a computer readable storage medium having stored thereon computer readable program instructions (i.e. computer program) for performing the channel tracking method in the above-mentioned embodiments.

[0155] The computer readable storage medium provided in the application may be, for example, a U disk, but is not limited to an electric, magnetic, optical, electromagnetic, infrared, or semiconductor system or device, or any combination of the above. More specific examples of the computer readable storage medium may include, but are not limited to, an electric connection with one or more conductive wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the embodiment, the computer readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system or device. The program code contained on the computer readable storage medium can be transmitted by any suitable medium, including but not limited to an electric wire, an optical cable, an RF (Radio Frequency), and the like, or any suitable combination of the above.

[0156] The computer readable storage medium described above may be contained in the channel tracking device, or may exist separately without being assembled into the channel tracking device.

[0157] The computer readable storage medium described above carries one or more programs, when the one or more programs are executed by the channel tracking device, the channel tracking device is caused to: acquire data area parameter information corresponding to an original program file of a channel to be tracked, the data area parameter information being used to represent a location of a signature data area in the original program file; add channel identification information of the channel to be tracked to the signature data area to generate a channel package file of the channel to be tracked; and track the channel to be tracked through the channel package file.

[0158] Computer program code for carrying out operations of the present application can be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).

[0159] The computer program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0160] The modules involved in the embodiments of the present application can be implemented in software or hardware. In some cases, the names of the modules do not limit the modules themselves.

[0161] The readable storage medium provided by the present application is a computer readable storage medium, which stores computer readable program instructions (i.e. computer programs) for executing the channel tracking method described above, and can solve the technical problem that the development cycle of the new channel of the channel tracking method based on the embedded packaging technology is long, resulting in low real-time performance of channel tracking. Compared with the prior art, the beneficial effects of the computer readable storage medium provided by the present application are the same as those of the channel tracking method provided by the above-mentioned embodiments, and are not described here.

[0162] The application also provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of the channel tracking method as described above.

[0163] The computer program product provided by the application can solve the technical problem of the prior art that the development cycle of newly added channels based on the embedded packaging technology is relatively long, resulting in low real-time performance of channel tracking. Compared with the prior art, the beneficial effects of the computer program product provided by the application are the same as those of the channel tracking method provided by the above-mentioned embodiments, and are not described here.

[0164] The above only describes some embodiments of the application, and does not limit the patent scope of the application. Any equivalent structural transformation based on the technical concept of the application, or direct / indirect application in other related technical fields is included in the patent protection scope of the application.

[0165] The application discloses A1, a channel tracking method, which comprises:

[0166] Obtaining data area parameter information corresponding to an original program file of a channel to be tracked, the data area parameter information being used to represent a location of a signature data area in the original program file;

[0167] Adding channel identification information of the channel to be tracked to the signature data area to generate a channel package file of the channel to be tracked;

[0168] Tracking the channel to be tracked through the channel package file.

[0169] A2, the method of A1, the step of obtaining data area parameter information corresponding to an original program file of a channel to be tracked, comprises:

[0170] Parsing the original program file of the channel to be tracked, and extracting a certificate data directory table in the original program file;

[0171] Determining a certificate table entry in the certificate data directory table according to a directory index of the certificate data directory table;

[0172] Obtaining data area parameter information corresponding to the original program file based on the certificate table entry.

[0173] A3, the method of A2, the step of obtaining data area parameter information corresponding to the original program file based on the certificate table entry, comprises:

[0174] determining a file offset position and a data area length of the certificate data directory table based on the certificate table entry, the file offset position being an offset position of a signature data area in the original program file;

[0175] generating data area parameter information corresponding to the original program file based on the file offset position and the data area length.

[0176] A4. The method of A3, before the step of adding the channel identification information of the to-be-tracked channel to the signature data area to generate a channel package file of the to-be-tracked channel, further comprising:

[0177] generating a target channel promotion address corresponding to the to-be-tracked channel based on the data area parameter information;

[0178] The step of adding the channel identification information of the to-be-tracked channel to the signature data area to generate a channel package file of the to-be-tracked channel, comprising:

[0179] in response to a channel package generation request triggered by a user based on the target channel promotion address;

[0180] adding, by a content distribution network, the channel identification information of the to-be-tracked channel to the signature data area to generate a channel package file of the to-be-tracked channel based on the channel package generation request.

[0181] A5. The method of A4, the step of generating a target channel promotion address corresponding to the to-be-tracked channel based on the data area parameter information, comprising:

[0182] generating a channel promotion address corresponding to the to-be-tracked channel based on the data area parameter information;

[0183] in response to a link download request triggered by a user based on the channel promotion address, and determining channel promotion information according to the link download request;

[0184] generating a target channel promotion address based on the channel promotion information and the channel promotion address.

[0185] A6. The method of A4, the step of adding, by a content distribution network, the channel identification information of the to-be-tracked channel to the signature data area to generate a channel package file of the to-be-tracked channel based on the channel package generation request, comprising:

[0186] parsing, by a content distribution node in the content distribution network, the channel package generation request to obtain all channel fields in the target channel promotion address;

[0187] generating channel identification information of the to-be-tracked channel based on each channel field.

[0188] adding the channel identification information to the signature data area to generate a channel package file of the channel to be tracked.

[0189] A7. The method of A6, wherein the step of adding the channel identification information to the signature data area to generate a channel package file of the channel to be tracked comprises:

[0190] determining a position to be written of the channel identification information based on the file offset position and the data area length;

[0191] adding the channel identification information to the signature data area according to the position to be written to generate a channel package file of the channel to be tracked.

[0192] A8. The method of A7, wherein the step of adding the channel identification information to the signature data area according to the position to be written to generate a channel package file of the channel to be tracked comprises:

[0193] adding the channel identification information to the signature data area according to the position to be written, and determining a channel identification length of the channel identification information;

[0194] performing a first length update on a length field in the signature data area based on the channel identification length;

[0195] generating a channel package file of the channel to be tracked upon completion of the first length update.

[0196] A9. The method of A8, wherein the step of generating a channel package file of the channel to be tracked upon completion of the first length update comprises:

[0197] performing a second length update on a table length of a certificate table based on the channel identification length upon completion of the first length update;

[0198] generating a channel package file of the channel to be tracked upon completion of the second length update.

[0199] A10. The method of any one of A1 to A9, wherein the step of channel tracking the channel to be tracked through the channel package file comprises:

[0200] parsing the channel package file to read the channel identification information;

[0201] generating an activation event based on the channel identification information and device parameter information, and sending the activation event to a server;

[0202] channel tracking the channel to be tracked through the server based on the activation event.

[0203] The application also discloses a channel tracking device B11, which comprises:

[0204] a file analysis module, configured to acquire data area parameter information corresponding to an original program file of a channel to be tracked, the data area parameter information being used to represent a signature data area in the original program file in a position of the original program file;

[0205] a file generation module, configured to add channel identification information of the channel to be tracked to the signature data area to generate a channel package file of the channel to be tracked;

[0206] a channel tracking module, configured to track the channel to be tracked through the channel package file.

[0207] B12, the device as described in B11, the file analysis module is further configured to analyze an original program file of a channel to be tracked and extract a certificate data directory table in the original program file;

[0208] the file analysis module is further configured to determine a certificate table entry in the certificate data directory table according to a directory index of the certificate data directory table;

[0209] the file analysis module is further configured to acquire data area parameter information corresponding to the original program file based on the certificate table entry.

[0210] B13, the device as described in B12, the file analysis module is further configured to determine a file offset position and a data area length of the certificate data directory table based on the certificate table entry, the file offset position being an offset position of a signature data area in the original program file;

[0211] the file analysis module is further configured to generate the data area parameter information corresponding to the original program file based on the file offset position and the data area length.

[0212] B14, the device as described in B13, the file generation module is further configured to generate a target channel promotion address corresponding to the channel to be tracked based on the data area parameter information;

[0213] the file generation module is further configured to respond to a channel package generation request triggered by a user based on the target channel promotion address;

[0214] the file generation module is further configured to add the channel identification information of the channel to be tracked to the signature data area through a content distribution network based on the channel package generation request to generate a channel package file of the channel to be tracked.

[0215] B15. The apparatus of B14, wherein the file generation module is further configured to generate a channel promotion address corresponding to the channel to be tracked based on the data area parameter information.

[0216] The file generation module is further configured to generate channel promotion information according to a link download request triggered by a user based on the channel promotion address.

[0217] The file generation module is further configured to generate a target channel promotion address based on the channel promotion information and the channel promotion address.

[0218] B16. The apparatus of B14, wherein the file generation module is further configured to parse the channel package generation request by a content distribution node in a content distribution network to obtain all channel fields in the target channel promotion address.

[0219] The file generation module is further configured to generate channel identification information of the channel to be tracked based on each channel field.

[0220] The file generation module is further configured to add the channel identification information to the signature data area to generate a channel package file of the channel to be tracked.

[0221] B17. The apparatus of any one of B11 to B16, wherein the channel tracking module is further configured to parse the channel package file to read the channel identification information.

[0222] The channel tracking module is further configured to generate an activation event based on the channel identification information and device parameter information, and send the activation event to a server.

[0223] The channel tracking module is further configured to track the channel to be tracked based on the activation event by the server.

[0224] The present application also discloses C18, a channel tracking device, comprising a memory, a processor, and a channel tracking program stored on the memory and executable on the processor, wherein the channel tracking program is configured to implement the steps of the channel tracking method as described above.

[0225] The present application also discloses D19, a storage medium, wherein the storage medium stores a channel tracking program, and the channel tracking program is executable on a processor to implement the steps of the channel tracking method as described above.

[0226] The present application also discloses E20, a computer program product, wherein the computer program product comprises a computer program, and the computer program is executable on a processor to implement the steps of the channel tracking method as described above.

Claims

1. A channel tracking method characterized by, The method comprises: Obtaining data area parameter information corresponding to the original program file of the channel to be tracked, the data area parameter information being used to represent the location of the signature data area in the original program file; Adding channel identification information of the channel to be tracked to the signature data area to generate a channel package file of the channel to be tracked; Tracking the channel to be tracked through the channel package file; The step of obtaining the data area parameter information corresponding to the original program file of the channel to be tracked comprises: Parsing the original program file of the channel to be tracked to extract a certificate data directory table in the original program file; Determining a certificate table entry in the certificate data directory table according to a directory index of the certificate data directory table; Determining a file offset position and a data area length of the certificate data directory table based on the certificate table entry, the file offset position being an offset position of the signature data area in the original program file; Generating the data area parameter information corresponding to the original program file based on the file offset position and the data area length.

2. The method of claim 1, wherein, Before the step of adding the channel identification information of the channel to be tracked to the signature data area to generate the channel package file of the channel to be tracked, the method further comprises: Generating a target channel promotion address corresponding to the channel to be tracked based on the data area parameter information; The step of adding the channel identification information of the channel to be tracked to the signature data area to generate the channel package file of the channel to be tracked comprises: Responding to a channel package generation request triggered by a user based on the target channel promotion address; Adding the channel identification information of the channel to be tracked to the signature data area based on the channel package generation request through a content distribution network to generate the channel package file of the channel to be tracked.

3. The method of claim 2, wherein, The step of generating the target channel promotion address corresponding to the channel to be tracked based on the data area parameter information comprises: Generating a channel promotion address corresponding to the channel to be tracked based on the data area parameter information; Responding to a link download request triggered by a user based on the channel promotion address and determining channel promotion information according to the link download request; Generating the target channel promotion address based on the channel promotion information and the channel promotion address.

4. The method of claim 2, wherein, The step of adding the channel identification information of the channel to be tracked to the signature data area based on the channel package generation request through the content distribution network to generate the channel package file of the channel to be tracked comprises: Parsing the channel package generation request through a content distribution node in the content distribution network to obtain all channel fields in the target channel promotion address; Generating the channel identification information of the channel to be tracked based on each channel field; Adding the channel identification information to the signature data area to generate the channel package file of the channel to be tracked.

5. A channel tracking device, characterized by, The device comprises: A file parsing module configured to obtain data area parameter information corresponding to an original program file of a channel to be tracked, the data area parameter information being used to represent a location of a signature data area in the original program file; The file generation module is configured to add channel identification information of the channel to be tracked into the signature data area to generate a channel package file of the channel to be tracked. The channel tracking module is configured to track the channel to be tracked through the channel package file. The file analysis module is further configured to analyze an original program file of the channel to be tracked, extract a certificate data directory table in the original program file, determine a certificate table entry in the certificate data directory table according to a directory index of the certificate data directory table, determine a file offset position and a data area length of the certificate data directory table based on the certificate table entry, the file offset position being an offset position of a signature data area in the original program file, and generate data area parameter information corresponding to the original program file based on the file offset position and the data area length.

6. A channel tracking device, characterized by The device comprises a memory, a processor, and a computer program stored on the memory and executable on the processor, and the computer program is configured to implement the steps of the channel tracking method according to any one of claims 1 to 4.

7. A storage medium, characterized by The storage medium is a computer readable storage medium, and the storage medium stores a computer program, and the computer program is executed by the processor to implement the steps of the channel tracking method according to any one of claims 1 to 4.

8. A computer program product, characterised in that, The computer program product comprises a computer program, and the computer program is executed by the processor to implement the steps of the channel tracking method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • A method and a device for generating a mobile game channel package

    CN109213497A

  • Application program installation package generation method and device

    CN110401717A