CN115543409B - Application installation source determining method and device, readable medium and electronic equipment - Google Patents

Application installation source determining method and device, readable medium and electronic equipment Download PDF

Info

Publication number
CN115543409B
CN115543409B CN202211387241.7A CN202211387241A CN115543409B CN 115543409 B CN115543409 B CN 115543409B CN 202211387241 A CN202211387241 A CN 202211387241A CN 115543409 B CN115543409 B CN 115543409B
Authority
CN
China
Prior art keywords
application
information
package
target
download
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211387241.7A
Other languages
Chinese (zh)
Other versions
CN115543409A (en
Inventor
丁英才
张贵
张允禹
王涛
王星辰
徐海校
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Youzhuju Network Technology Co Ltd
Original Assignee
Beijing Youzhuju Network Technology Co Ltd
Filing date
Publication date
Application filed by Beijing Youzhuju Network Technology Co Ltd filed Critical Beijing Youzhuju Network Technology Co Ltd
Priority to CN202211387241.7A priority Critical patent/CN115543409B/en
Publication of CN115543409A publication Critical patent/CN115543409A/en
Priority to PCT/CN2023/129876 priority patent/WO2024099256A1/en
Application granted granted Critical
Publication of CN115543409B publication Critical patent/CN115543409B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The disclosure relates to an installation source determining method and device of an application, a readable medium and an electronic device, wherein the method comprises the following steps: the content distribution server receives a download request from a user terminal; the downloading request is used for requesting an application program package of the target application; determining a download address corresponding to the application program package and application release information corresponding to the download request based on the download request; acquiring the application package based on the download address, and writing the application release information into the application package to acquire a target application package; and sending the target application program package to the user terminal so as to determine the installation source information of the target application based on the application release information in the target application program package when the user terminal runs the target application based on the target application program package. According to the technical scheme, the installation source of the application can be accurately determined.

Description

Application installation source determining method and device, readable medium and electronic equipment
Technical Field
The present disclosure relates to the field of computer applications, and in particular, to a method and apparatus for determining an installation source of an application, a readable medium, and an electronic device.
Background
Information is an important resource, and communication of information greatly promotes the development of society. When an application is developed, it can be promoted through various channels. However, after the application is promoted through a large number of channels and downloaded by the user, the relevant person does not know through what channel the user knows and downloads the application.
In the related art, an application package may be uploaded in an application store for a user to select and download, and in this process, when tracing an installation source of an application, device information of a user terminal, such as a user device number, needs to be obtained. In this process, due to the user privacy information read rights such as the device number, the popularization platform or the application publisher may not be able to read the user device number, it is difficult to accurately determine its installation source to ensure safe installation and operation of the application program, and it is difficult to adapt to the attribution process of the real-time target application.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
In a first aspect, the present disclosure provides a method for determining an installation source of an application, including:
The content distribution server receives a download request from a user terminal; the downloading request is used for requesting an application program package of the target application;
determining a download address corresponding to the application program package and application release information corresponding to the download request based on the download request;
Acquiring the application package based on the download address, and writing the application release information into the application package to acquire a target application package;
and sending the target application program package to the user terminal so as to determine the installation source information of the target application based on the application release information in the target application program package when the user terminal runs the target application based on the target application program package.
In a second aspect, the present disclosure provides an installation source determining apparatus of an application, including:
The receiving module is used for receiving the downloading request from the user terminal by the content distribution server; the downloading request is used for requesting an application program package of the target application;
the first determining module is used for determining a downloading address corresponding to the application program package and application release information corresponding to the downloading request based on the downloading request;
the processing module is used for acquiring the application program package based on the download address, writing the application release information into the application program package and acquiring a target application program package;
And the sending module is used for sending the target application program package to the user terminal so as to determine the installation source information of the target application based on the application release information in the target application program package when the user terminal runs the target application based on the target application program package.
In a third aspect, the present disclosure provides a computer-readable medium having stored thereon a computer program which, when executed by a processing device, implements the steps of the installation source determining method of an application described above.
In a fourth aspect, the present disclosure provides an electronic device comprising:
A storage device having a computer program stored thereon;
Processing means for executing the computer program in the storage means to implement the steps of the installation source determining method of the application described above.
In the above technical solution, the content distribution server may receive a download request from the user terminal, where the download request may include application delivery information corresponding to the download request, and further may write the application delivery information online into the application package before sending the application package to the user terminal, so as to obtain a target application package into which the application delivery information is written, so as to send the target application package to the user terminal. Thus, the target application program package received by the user terminal contains application release information. After the user terminal installs the target application, the application release information can be acquired by analyzing the target application program package, so that the installation source of the target application can be accurately determined without acquiring the identification of user privacy data such as IMEI, OAID, MAC of the user terminal, and the privacy of the user can be effectively protected. And the target application package is obtained by directly writing application release information into the application package on line through the content distribution server, so that the installation source information of the target application can be determined based on the application release information corresponding to the release content of the target application when the release content of the target application is displayed in the user terminal, the accuracy of the installation source of the application based on the method can be effectively improved, the process of determining the installation source can be effectively simplified, and accurate data support can be provided for realizing real-time effective popularization of the target application. In addition, when the version of the application program is changed and the application package needs to be changed, only the application package corresponding to the download address (i.e. the original application package to which the application delivery information is not written) needs to be changed, the installation source of the target application after the version is changed can be determined by the method for determining the installation source of the application, so that the development efficiency is improved.
Additional features and advantages of the present disclosure will be set forth in the detailed description which follows.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale. In the drawings:
FIG. 1 is a flow chart of a method of determining installation source of an application provided in accordance with one embodiment of the present disclosure;
FIG. 2 is a flow chart of an installation source determining apparatus of an application provided in accordance with one embodiment of the present disclosure;
Fig. 3 shows a schematic structural diagram of an electronic device suitable for use in implementing embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure have been shown in the accompanying drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "including" and variations thereof as used herein are intended to be open-ended, i.e., including, but not limited to. The term "based on" is based at least in part on. The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments. Related definitions of other terms will be given in the description below.
It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
It will be appreciated that prior to using the technical solutions disclosed in the embodiments of the present disclosure, the user should be informed and authorized of the type, usage range, usage scenario, etc. of the personal information related to the present disclosure in an appropriate manner according to the relevant legal regulations.
For example, in response to receiving an active request from a user, a prompt is sent to the user to explicitly prompt the user that the operation it is requesting to perform will require personal information to be obtained and used with the user. Thus, the user can autonomously select whether to provide personal information to software or hardware such as an electronic device, an application program, a server or a storage medium for executing the operation of the technical scheme of the present disclosure according to the prompt information.
As an alternative but non-limiting implementation, in response to receiving an active request from a user, the manner in which the prompt information is sent to the user may be, for example, a popup, in which the prompt information may be presented in a text manner. In addition, a selection control for the user to select to provide personal information to the electronic device in a 'consent' or 'disagreement' manner can be carried in the popup window.
It will be appreciated that the above-described notification and user authorization process is merely illustrative and not limiting of the implementations of the present disclosure, and that other ways of satisfying relevant legal regulations may be applied to the implementations of the present disclosure.
Meanwhile, it can be understood that the data (including but not limited to the data itself, the acquisition or the use of the data) related to the technical scheme should conform to the requirements of the corresponding laws and regulations and related regulations.
Fig. 1 is a flowchart illustrating a method for determining an installation source of an application according to an embodiment of the present disclosure, and the method may include steps 11 to 14 as shown in fig. 1.
In step 11, the content distribution server receives a download request from a user terminal; wherein the download request is for requesting an application package of the target application.
The content delivery server may be a server in a content delivery network (Content Delivery Network, CDN). In one embodiment, after a download application button on a user interface displayed in the user terminal is clicked by the user, the user terminal may generate a download request and send it to the content distribution server. The target application is the application that the user wants to download. By way of example, the user interface may be a page displaying targeted application placement promotional information, such as a page displaying targeted application advertising information.
In step 12, a download address corresponding to the application package and application delivery information corresponding to the download request are determined based on the download request.
The download address corresponding to the application package may be a file storage location corresponding to the application package. The application delivery information may be data information corresponding to displaying a delivery display page corresponding to the target application in a display application in the user terminal, that is, the application delivery information is triggered and generated based on popularization delivery information of the target application displayed in the user terminal. For example, the display application in the user terminal may be any application in the user terminal that can be used for displaying the delivery information, for example, the website C, the website D, the media APP E, and the like in the user terminal may be used as the display pages corresponding to the target application a in the user terminal, and the download addresses of the application packages in the download requests sent under different display pages are the same, so that the corresponding application delivery information in the download requests sent under different display pages is different. For example, display information corresponding to the website C may be included in the application delivery information corresponding to the website C (the display information is used to identify that the delivery information is displayed in the website C), and display information corresponding to the website D may be included in the application delivery information corresponding to the website D, so that a source triggering the acquisition of the application package of the target application a may be determined based on the application delivery information in the download request, so as to implement attribution of the installation source.
In one embodiment, in the download request sent by the user terminal to the content distribution server, the application delivery information may be mounted in the URL of the request.
In step 13, the application package is obtained based on the download address, and the application delivery information is written into the application package to obtain a target application package.
The target application package may be an application package in which application delivery information is written. In one embodiment, a location for writing application delivery information is reserved in the application package, and in the process of executing step 13, the application package may be acquired based on the download address, and the application delivery information may be written into a corresponding location (a location reserved for writing application delivery information) in the application package.
In one embodiment, for an application package of an android platform based application, application delivery information may be written into an ID-Value sequence in an APK signature area (APK SIGNING Block).
In step 14, the target application package is sent to the user terminal, so that when the user terminal runs the target application based on the target application package, the installation source information of the target application is determined based on the application release information in the target application package.
The installation source information is a source object for indicating a download request corresponding to the target application, such as display page information in the user terminal, for example, website C, website D, media application E, etc. as described above, or may also include related information about the display page (such as a page identifier and/or page content of an advertisement delivery page for the target application a in website C), so as to indicate from which channel the application delivery of the application package of the target application downloaded in the user terminal is derived.
After the target application program package is sent to the user terminal, the user can enable the user terminal to install the target application and enable the user terminal to run the target application through operation. Because the target application package of the user terminal for installing the target application contains the application release information, when the target application runs, the application release information written in the target application package can be acquired based on the corresponding target application package, and then the installation source information of the target application can be determined.
The following describes the step of parsing application delivery information from a target application package. For example, in step 13, the application delivery information is written into the ID-Value sequence in the APK signature area. In the step of analyzing the application delivery information, the binary stream of the target application package can be read, the starting address of the central directory of the target application package is found, the address for storing the signature information of the target application package is found, the address occupied by the ID-Value sequence is determined by the starting address of the central directory and the address for storing the signature information of the target application package, the ID-Value sequence can be further read, and the application delivery information can be read out from the ID-Value sequence.
In the above technical solution, the content distribution server may receive a download request from the user terminal, where the download request may include application delivery information corresponding to the download request, and further may write the application delivery information online into the application package before sending the application package to the user terminal, so as to obtain a target application package into which the application delivery information is written, so as to send the target application package to the user terminal. Thus, the target application program package received by the user terminal contains application release information. After the user terminal installs the target application, the application release information can be acquired by analyzing the target application program package, so that the installation source of the target application can be accurately determined without acquiring the identification of user privacy data such as IMEI, OAID, MAC of the user terminal, and the privacy of the user can be effectively protected. And the target application package is obtained by directly writing application release information into the application package on line through the content distribution server, so that the installation source information of the target application can be determined based on the application release information corresponding to the release content of the target application when the release content of the target application is displayed in the user terminal, the accuracy of the installation source of the application based on the method can be effectively improved, the process of determining the installation source can be effectively simplified, and accurate data support can be provided for realizing real-time effective popularization of the target application. In addition, when the version of the application program is changed and the application package needs to be changed, only the application package corresponding to the download address (i.e. the original application package to which the application delivery information is not written) needs to be changed, the installation source of the target application after the version is changed can be determined by the method for determining the installation source of the application, so that the development efficiency is improved.
Alternatively, the download request may be generated by:
The media server distributes application display information to the user terminal, wherein the application display information comprises a download address corresponding to the application program package and application release information corresponding to the download request;
And responding to a selection operation of a user in a display page for displaying the target application in the user terminal, and generating the downloading request based on the application display information.
The application display information may be information corresponding to an application display page (for example, a download address of a target application to which the application display page is intended to promote, and also for example, application delivery information corresponding to the application display page). For example, the media server sends application display information of the target application a to the media application E, where the application display information may be advertisement promotion information corresponding to the target application a, such as a video delivery content of the target video a, and the application display information may include a download address of an application package of the application program a and application delivery information corresponding to the video delivery content, and in the media application E of the user terminal, the application display information may be displayed through an application display page based on the application display information, such as playing the delivery content of the target video a.
When the media server distributes the application display page to the user terminal, the application display information may be simultaneously distributed to the user terminal. For example, a video for showing the application a is distributed to the user terminal, and at the same time, a download address of the application a and application delivery information corresponding to the video are distributed to the user terminal. A button may be arranged on the application display page such that, after the button is clicked by the user, the user terminal may generate a download request according to the application delivery information and the download address of the target application.
For example, when playing the video delivery content of the target application a in the application display page of the user terminal, the user may trigger the user terminal to generate a request by selecting in the application display page, for example, the user may select by clicking a download button in the application display page to trigger the user terminal to generate a download request, for example, the user selects an "immediately download" button in the application display page, and the user terminal may generate, in response to a selection operation of the user, a download request based on a download address of an application package of the target application a and application delivery information corresponding to the video. As another example, the user may also select by directly clicking on the playing content in the application display page to trigger the user terminal to generate the download request. The present disclosure is not limited in this regard.
Thus, the application delivery information corresponding to the download request may be issued to the user terminal together when the media server distributes the application display information. In this way, the application delivery information can accurately describe the delivery of the application display information, so that which application display information is delivered can be accurately recorded based on the application delivery information, and meanwhile, the generation process of the downloading request can be simplified.
If the determined installation source information is not accurate enough, the direction of the delivery distribution adjustment optimization is difficult to determine when the delivery distribution is carried out on the target application. Further, in one possible embodiment, the user terminal may send the determined installation source information to the media server, so that when the content is delivered in the media server, the delivery policy of the media server may be adjusted according to the installation source information, so as to provide data support for accurate and effective content delivery, and meanwhile, the matching degree between the content delivery of the media server and the user demand may be improved, so that the user experience is further improved. In addition, in the technical scheme, the installation source information of the target application can be further analyzed while the installation source information of the application can be accurately determined, so that effective delivery information in the installation source information can be determined, and a basis is provided for further optimizing a model of a delivery algorithm, so that the target application can be better matched with a user needing the target application.
Optionally, the download request includes offset location information, where the offset location information is used to indicate a start location in the application package for writing the extension information.
Accordingly, the step of obtaining the application package based on the download address and writing the application delivery information into the application package, and obtaining the target application package may include:
Downloading the data stream of the application program package based on the downloading address;
When the downloaded position of the data stream reaches the initial position indicated by the offset position information, writing the application release information into the data stream from the initial position;
and continuing to download the data stream of the application program package from the target position after the initial position, and determining the file formed by the downloaded data stream as the target application program package.
For example, the offset location information may be determined by a value of an offset field, which may be an offset of a first address of an area for storing application delivery information with respect to a start location of an application package file. The start position indicated by the offset position information may be an address of a first byte of an area for storing application delivery information in the application package. The byte data corresponding to the extension information in the application package is usually fixed, and may be preset, for example, the byte data corresponding to the extension information may be application end.length, and the target position may represent offset+application end.length, that is, the first address after the area for storing the application delivery information in the application package. If the position from offset to offset+application end.length-1 can be reserved for writing the extension information in the application package, the data stream from 0 to the position from offset-1 can be downloaded in the downloading process of the application package, the application release information can be written as the extension information from the position from offset, and the data stream can be continuously downloaded from the position from offset+application end.length until the downloading of the application package is completed, so as to obtain the target application package.
In the development process, the application package can be parsed in advance, and the starting address of the reserved area for storing the application delivery information is found and used as offset position information. In one embodiment, the offset location information may be mounted in the URL of the request. That is, the offset position information may be mounted in the URL requested by the user terminal to the content distribution server.
In the above scheme, when the download request includes the offset location information, the content distribution server may write the application delivery information into the application package according to the offset location information to obtain the target application package. The offset position information is obtained by analyzing the application package in advance, so that the application release information can be accurately written into the reserved position for writing the application release information, the influence of internal codes in the application package is avoided, the analysis process of the application release information is simplified while the target application package can be safely operated based on the target application package, and the situation that the user terminal cannot install the target application based on the target application package due to the fact that the target application package fails is avoided.
Optionally, the application release information includes a release request identifier corresponding to the application display page, or the application release information includes at least two of a release request identifier corresponding to the application display page, an application display page identifier, and a release position identifier.
After the user terminal sends a request to the media server for requesting delivery of the presentation content (e.g., the presented video asset), the media server may generate a delivery request identification, such as a request_id, that is unique and may be used to tag the delivery request this time. The application display page is a page of presentation content that the media server distributes to the user terminal. Wherein the application display page may include the content of the presented target application. For example, the application display page may present video of the target application.
Specifically, after the user terminal sends a request for requesting to deliver the presentation content to the media server, the media server generates a delivery request identifier "request_id_01" for marking the delivery request. After receiving the release request, the media server distributes release content of a target application to the user terminal, and the release request is identified as 'request_id_01', wherein the release content corresponds to a display page of the release content.
The application display page identification may be an identification for marking the presentation content. For example, there are 3 different videos used for displaying the target application, and 3 different application display page identifiers can be preset for marking the three different videos, and the three different videos can be identified by ad_id, for example, ad_id_01, ad_id_02 and ad_id_03 can be included to identify 3 different application delivery contents. Because the application delivery information comprises application display page identifiers, when the installation source is determined, the application display page can be evaluated, for example, based on the application display identifiers in the installation sources of a large number of users, which application display page is evaluated to maximize the user installation target application, and a basis is provided for related personnel to optimize the application display page.
The delivery location identity may be an identity for marking the delivery location of the presentation content in a display page in the user terminal. For example, it is possible to launch the content of the target application on different service boards of the media application, and different identifiers may be used to mark the location of the launch of the content.
As an example, the application launch information may only include a launch request identifier, and then when parsed based on the target installer package, the launch request identifier may be obtained to determine which application content launch to trigger downloading the target application.
As another example, the application drop information may include a drop request identification, an application display page identification, and a drop location identification. That is, in such an embodiment, the application drop information may include parameters for recording the drop request identification, parameters for recording the application display page identification, and parameters for recording the drop location identification.
Therefore, when the installation source of the target application is analyzed, the installation source of the target application can be analyzed through multiple dimensions, so that not only can the channel from which the installation source of the target is analyzed, but also the downloading of the target application can be triggered by which request is put in or by which display content is put in, and the accuracy of the determined installation source can be further improved.
Since the download request is generated online, the application delivery information can also be generated in real time, which makes the installation source information determined based on the application delivery information more time-efficient and information-rich. In addition, because the application delivery information is written into the application program package on line, the processes from the generation and the issuing of the application delivery information, the writing of the application delivery information into the application program package, and the downloading and the installation of the target application to the user terminal are generally coherent, so that the installation source determined according to the application delivery information is more accurate. Therefore, the target application can be launched and promoted based on the display application in the user terminal, and when the target application is promoted based on the display page of the display application, the installation source information of the target application in the user terminal, which is downloaded, can be accurately determined, and effective data support is determined for the launching and promoting information corresponding to the target application to be further adjusted later.
Optionally, before the step of determining the download address corresponding to the application package and the application delivery information corresponding to the download request based on the download request, the method further includes:
Determining the type of the download request;
And if the type of the downloading request is attribution type, executing the step of determining the downloading address corresponding to the application program package and the application release information corresponding to the downloading request based on the downloading request.
The attribution type may be a preset type. For example, settings may be made in advance for applications, and for applications in which the installation source thereof needs to be determined, identification may be made by identification information. If the action of downloading the application A by the user is required to be attributed, namely the application A is associated with the identification information, the downloading request sent by the user terminal to the content distribution server is of an attribution type based on the preset configuration information; if the behavior of the user downloading the application B does not need to be attributed, and the application B does not associate the identification information, the downloading request sent by the user terminal to the content distribution server is not of an attribution type. The reason may be for determining a drop display source for triggering the downloading of the application package of the target application in the user terminal. For example, after the user has downloaded application A, it is determined from what channel the user has learned about and downloaded application A.
The step of determining the download address corresponding to the application package and the application delivery information corresponding to the download request based on the download request may be performed upon determining whether the download request is of the attribution type, if the type of the download request is of the attribution type. If the download request is not of attribution type, the download request can be generated according to the download address corresponding to the application program package, so that the application program package which is received by the user terminal and is issued by the content distribution server is an application program package in which the application delivery information is not written.
Therefore, after the type of the downloading request is determined to be the attribution type, the step of determining the downloading address corresponding to the application program package and the application release information corresponding to the downloading request based on the downloading request is executed, so that the calculation force of the server can be saved, and the running efficiency of the server can be improved.
Optionally, the determining the type of the download request includes:
determining whether a target query parameter in the download request is empty;
And if the target query parameter is not null, determining that the downloading request is of an attribution type.
The target query parameters may be one or more of the query parameters in the URL requested by the download request. The target query parameters may be pre-selected. For example, in a URL requested by a download request sent by a user terminal to a content distribution server, a delivery request identifier, an application display page identifier, and a delivery location identifier (i.e., the delivery request identifier, the application display page identifier, and the delivery location identifier are all part of application delivery information) may be mounted on the URL in the form of query parameters. In the process of pre-selecting the target query parameters, parameters for recording the delivery request identifier, parameters for recording the application display page identifier and parameters for recording the delivery position identifier can be selected as the target query parameters.
In determining the type of download request, it may be determined whether the target query parameter is empty, and in the case where the target query parameter is not empty (i.e., in the case where the target query parameter has a value), the download request is determined to be of the attribution type. If the target query parameter is null, it may be determined that the download request is not of the attribution type.
Therefore, whether the requested URL is provided with application release information or not can be determined according to the target query parameters, whether the download request is of an attribution type or not is determined, subsequent operations are executed for the download request of the attribution type, and invalid operations on the download request without attribution are avoided.
In yet another embodiment, determining the type of the download request may include: the URL requested by the attribution type of download request sets a specific host (i.e., a specific host and port). In determining the type of the download request, it may be determined whether the URL requested by the download request is a preset, specific host, and if the URL requested is a preset, specific host, it may be determined that the download request is of an attribution type.
In yet another embodiment, determining the type of the download request may include: the URL requested by the attribution type download request sets a specific path. In determining the download type, it may be determined whether the URL requested by the download request is a preset, specific path, and if the URL requested is the preset, specific path, it may be determined that the download request is of the attribution type.
In determining whether the download request is of the attribution type, it may be determined whether the download request is of the attribution type in combination with three ways of distinction (host distinction by URL, path distinction by URL, and determination of whether the target query parameter is an empty part).
Optionally, the target application package further includes an information reporting SDK, where the information reporting SDK is configured to match a preset conversion rule according to an operation state of the target application, and send installation source information of the target application and conversion information corresponding to the matched conversion rule to a media server.
The information reporting SDK may be an SDK preset in an application installation package of the target application for reporting the conversion information. Conversion information is information of recording conversion condition. And when the running state of the target application meets the preset conversion rule, completing one conversion.
The running state of the target application may be an event generated by the target application in response to an operation of the user. For example, if the user terminal completes registration in response to the user's operation, an event of user registration is completed in the target application (the running state of the target application is that the user completes registration); for another example, if the user terminal finishes paying in the target application in response to the user's operation, an event of paying for the user is reached in the target application (the running state of the target application generates payment for the user).
One or more conditions can be set in the conversion rule, when the running state of the target application meets one condition in the conversion rule, the corresponding conversion is completed, and the completed conversion is recorded and used as conversion information.
For example, a rule of "user complete registration" may be set in the conversion rule, when the running state of the target application satisfies the condition of "user complete registration", that is, the conversion of "user complete registration" is completed, and an event of "user complete registration" may be recorded in the conversion information (that is, the event of "user complete registration" is included in the conversion information corresponding to the conversion rule to which the running state of the target application is matched). The installation source information and the conversion information can be transmitted to the media server through the information reporting SDK.
Therefore, the installation source information is sent to the media server through the information reporting SDK, so that the media server can acquire the installation source information of the application after the user terminal installs the target application; the conversion information is sent to the media server through the information reporting SDK, so that the media server can timely and automatically learn the subsequent conversion condition (such as whether registration is completed or not and whether payment is generated or not) after the user installs the target application. Therefore, when the media is convenient to count and analyze the installation source information and the conversion information so as to distribute the released content in the media server, the distribution strategy of the media can be adjusted according to the installation source information, data support is provided for realizing accurate and effective content distribution, and meanwhile, the matching degree between the content distribution of the media server and the user demand is further improved.
The present disclosure also provides an installation source determining apparatus of an application, as shown in fig. 2, the apparatus 20 includes:
A receiving module 201, configured to receive a download request from a user terminal by a content distribution server; the downloading request is used for requesting an application program package of the target application;
a first determining module 202, configured to determine, based on the download request, a download address corresponding to the application package and application delivery information corresponding to the download request;
The processing module 203 is configured to obtain the application package based on the download address, and write the application delivery information into the application package to obtain a target application package;
And the sending module 204 is configured to send the target application package to the user terminal, so that when the user terminal runs the target application based on the target application package, the installation source information of the target application is determined based on the application release information in the target application package.
Optionally, the downloading request includes offset position information;
The processing module comprises:
A download sub-module, configured to download a data stream of the application package based on the download address;
A writing sub-module, configured to write the application delivery information in a data stream from a start position when the downloaded position of the data stream reaches the start position indicated by the offset position information;
and the processing sub-module is used for continuing to download the data stream of the application program package from the target position after the initial position, and determining the file formed by the downloaded data stream as the target application program package.
Optionally, the application release information includes a release request identifier corresponding to the application display page, or the application release information includes at least two of a release request identifier corresponding to the application display page, an application display page identifier, and a release position identifier.
Optionally, the download request is generated by:
The media server distributes application display information to the user terminal, wherein the application display information comprises a download address corresponding to the application program package and application release information corresponding to the download request;
And responding to a selection operation of a user in a display page for displaying the target application in the user terminal, and generating the downloading request based on the application display information.
Optionally, the apparatus further comprises:
a second determining module, configured to determine a type of the download request;
And the execution module is used for triggering the first determination module to determine the download address corresponding to the application package and the application release information corresponding to the download request based on the download request if the type of the download request is attribution type.
Optionally, the second determining module includes:
A first determining submodule, configured to determine whether a target query parameter in the download request is empty;
And the second determining submodule is used for determining that the downloading request is of an attribution type if the target query parameter is not empty.
Optionally, the target application package further includes an information reporting SDK, where the information reporting SDK is configured to match a preset conversion rule according to an operation state of the target application, and send installation source information of the target application and conversion information corresponding to the matched conversion rule to a media server.
Referring now to fig. 3, a schematic diagram of an electronic device 600 suitable for use in implementing embodiments of the present disclosure is shown. The terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 3 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
As shown in fig. 3, the electronic device 600 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 601, which may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
In general, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, and the like; an output device 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, magnetic tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While fig. 3 shows an electronic device 600 having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a non-transitory computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via communication means 609, or from storage means 608, or from ROM 602. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by the processing device 601.
It should be noted that the computer readable medium described in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
In some embodiments, the user terminal, media server, content distribution server may communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol ), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: the content distribution server receives a download request from a user terminal; the downloading request is used for requesting an application program package of the target application; if the type of the downloading request is attribution type, determining a downloading address corresponding to the application program package and application release information corresponding to the downloading request based on the downloading request; acquiring the application package based on the download address, and writing the application release information into the application package to acquire a target application package; and sending the target application program package to the user terminal so as to determine the installation source information of the target application based on the application release information in the target application program package when the user terminal runs the target application based on the target application program package.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including, but not limited to, an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may 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 case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present disclosure may be implemented in software or hardware. The name of the module is not limited to the module itself in some cases, for example, the processing module may be further described as "a module for acquiring the application package based on the download address and writing the application delivery information into the application package to obtain a target application package"
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
In accordance with one or more embodiments of the present disclosure, example 1 provides an installation source determining method of an application, wherein the method comprises: the content distribution server receives a download request from a user terminal; the downloading request is used for requesting an application program package of the target application; determining a download address corresponding to the application program package and application release information corresponding to the download request based on the download request; acquiring the application package based on the download address, and writing the application release information into the application package to acquire a target application package; and sending the target application program package to the user terminal so as to determine the installation source information of the target application based on the application release information in the target application program package when the user terminal runs the target application based on the target application program package.
Example 2 provides the method of example 1, wherein the download request includes offset location information, in accordance with one or more embodiments of the present disclosure; the obtaining the application package based on the download address, and writing the application delivery information into the application package to obtain a target application package includes: downloading the data stream of the application program package based on the downloading address; when the downloaded position of the data stream reaches the initial position indicated by the offset position information, writing the application release information into the data stream from the initial position; and continuing to download the data stream of the application program package from the target position after the initial position, and determining the file formed by the downloaded data stream as the target application program package.
According to one or more embodiments of the present disclosure, example 3 provides the method of example 1, wherein the application release information includes a release request identifier corresponding to an application display page, or the application release information includes at least two of a release request identifier corresponding to an application display page, an application display page identifier, and a release location identifier.
According to one or more embodiments of the present disclosure, example 4 provides the method of example 1, wherein the download request is generated by: the media server distributes application display information to the user terminal, wherein the application display information comprises a download address corresponding to the application program package and application release information corresponding to the download request; and responding to a selection operation of a user in a display page for displaying the target application in the user terminal, and generating the downloading request based on the application display information.
According to one or more embodiments of the present disclosure, example 5 provides the method of example 1, wherein, before the step of determining, based on the download request, a download address corresponding to the application package and application delivery information corresponding to the download request, the method further includes: determining the type of the download request; and if the type of the downloading request is attribution type, executing the step of determining the downloading address corresponding to the application program package and the application release information corresponding to the downloading request based on the downloading request.
According to one or more embodiments of the present disclosure, example 6 provides the method of example 5, wherein said determining the type of the download request comprises: determining whether a target query parameter in the download request is empty; and if the target query parameter is not null, determining that the downloading request is of an attribution type.
According to one or more embodiments of the present disclosure, example 7 provides the method of example 1, wherein the target application package further includes an information reporting SDK, where the information reporting SDK is configured to match a preset conversion rule according to an operation state of the target application, and send, to a media server, installation source information of the target application and conversion information corresponding to the matched conversion rule.
According to one or more embodiments of the present disclosure, example 8 provides an installation source determining apparatus of an application, the apparatus comprising: the receiving module is used for receiving the downloading request from the user terminal by the content distribution server; the downloading request is used for requesting an application program package of the target application; the first determining module is used for determining a downloading address corresponding to the application program package and application release information corresponding to the downloading request based on the downloading request; the processing module is used for acquiring the application program package based on the download address, writing the application release information into the application program package and acquiring a target application program package; and the sending module is used for sending the target application program package to the user terminal so as to determine the installation source information of the target application based on the application release information in the target application program package when the user terminal runs the target application based on the target application program package.
According to one or more embodiments of the present disclosure, example 9 provides a computer-readable medium having stored thereon a computer program which, when executed by a processing device, implements the steps of the method of any of examples 1-7.
In accordance with one or more embodiments of the present disclosure, example 10 provides an electronic device, comprising:
a storage device having a computer program stored thereon; processing means for executing the computer program in the storage means to implement the steps of the method of any one of examples 1-7.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in this disclosure is not limited to the specific combinations of features described above, but also covers other embodiments which may be formed by any combination of features described above or equivalents thereof without departing from the spirit of the disclosure. Such as those described above, are mutually substituted with the technical features having similar functions disclosed in the present disclosure (but not limited thereto).
Moreover, although operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are example forms of implementing the claims. The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.

Claims (7)

1. A method for determining installation source of an application, comprising:
The content distribution server receives a download request from a user terminal; the downloading request is used for requesting an application program package of the target application;
determining a download address corresponding to the application program package and application release information corresponding to the download request based on the download request;
Acquiring the application package based on the download address, and writing the application release information into the application package to acquire a target application package;
transmitting the target application package to the user terminal, so that when the user terminal runs the target application based on the target application package, the installation source information of the target application is determined based on the application release information in the target application package;
The target application package further comprises an information reporting SDK, wherein the information reporting SDK is used for matching with a preset conversion rule according to the running state of the target application, and sending installation source information of the target application and conversion information corresponding to the matched conversion rule to a media server, and the installation source information and the conversion information are used for carrying out distribution strategy adjustment by the media server;
wherein the download request is generated by:
The media server distributes application information to the user terminal, wherein the application information comprises a download address corresponding to the application program package and application release information corresponding to the download request, and the application release information corresponding to the download request is issued to the user terminal together when the media server distributes the application information;
generating the download request based on the application information in response to a user selection operation in a display page of the user terminal for displaying the target application;
the user terminal is used for sending a download request to the content distribution server, wherein the application release information is mounted in the download request;
Wherein the download request includes offset location information;
The obtaining the application package based on the download address, and writing the application delivery information into the application package to obtain a target application package includes:
Downloading the data stream of the application program package based on the downloading address;
When the downloaded position of the data stream reaches the initial position indicated by the offset position information, writing the application release information into the data stream from the initial position;
and continuing to download the data stream of the application program package from the target position after the initial position, and determining the file formed by the downloaded data stream as the target application program package.
2. The method of claim 1, wherein the application delivery information comprises a delivery request identifier corresponding to an application display page, or wherein the application delivery information comprises at least two of a delivery request identifier corresponding to an application display page, an application display page identifier, and a delivery location identifier.
3. The method according to claim 1, wherein before the step of determining the download address corresponding to the application package and the application delivery information corresponding to the download request based on the download request, the method further comprises:
Determining the type of the download request;
And if the type of the downloading request is attribution type, executing the step of determining the downloading address corresponding to the application program package and the application release information corresponding to the downloading request based on the downloading request.
4. A method according to claim 3, wherein said determining the type of download request comprises:
determining whether a target query parameter in the download request is empty;
And if the target query parameter is not null, determining that the downloading request is of an attribution type.
5. An installation source determining apparatus of an application, comprising:
The receiving module is used for receiving the downloading request from the user terminal by the content distribution server; the downloading request is used for requesting an application program package of the target application;
the first determining module is used for determining a downloading address corresponding to the application program package and application release information corresponding to the downloading request based on the downloading request;
the processing module is used for acquiring the application program package based on the download address, writing the application release information into the application program package and acquiring a target application program package;
The sending module is used for sending the target application program package to the user terminal so as to determine the installation source information of the target application based on the application release information in the target application program package when the user terminal runs the target application based on the target application program package;
The target application package further comprises an information reporting SDK, wherein the information reporting SDK is used for matching with a preset conversion rule according to the running state of the target application, and sending installation source information of the target application and conversion information corresponding to the matched conversion rule to a media server, and the installation source information and the conversion information are used for carrying out distribution strategy adjustment by the media server;
wherein the download request is generated by:
The media server distributes application information to the user terminal, wherein the application information comprises a download address corresponding to the application program package and application release information corresponding to the download request, and the application release information corresponding to the download request is issued to the user terminal together when the media server distributes the application information;
generating the download request based on the application information in response to a user selection operation in a display page of the user terminal for displaying the target application;
The user terminal sends a download request to the content distribution server, wherein the application release information is mounted in the download request;
Wherein the download request includes offset location information;
The processing module comprises:
A download sub-module, configured to download a data stream of the application package based on the download address;
A writing sub-module, configured to write the application delivery information in a data stream from a start position when the downloaded position of the data stream reaches the start position indicated by the offset position information;
and the processing sub-module is used for continuing to download the data stream of the application program package from the target position after the initial position, and determining the file formed by the downloaded data stream as the target application program package.
6. A computer readable medium on which a computer program is stored, characterized in that the program, when being executed by a processing device, carries out the steps of the method according to any one of claims 1-4.
7. An electronic device, comprising:
A storage device having a computer program stored thereon;
Processing means for executing said computer program in said storage means to carry out the steps of the method according to any one of claims 1-4.
CN202211387241.7A 2022-11-07 2022-11-07 Application installation source determining method and device, readable medium and electronic equipment Active CN115543409B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211387241.7A CN115543409B (en) 2022-11-07 Application installation source determining method and device, readable medium and electronic equipment
PCT/CN2023/129876 WO2024099256A1 (en) 2022-11-07 2023-11-06 Application installation source determination method and apparatus, and readable medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211387241.7A CN115543409B (en) 2022-11-07 Application installation source determining method and device, readable medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN115543409A CN115543409A (en) 2022-12-30
CN115543409B true CN115543409B (en) 2024-06-28

Family

ID=

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113568626A (en) * 2021-06-29 2021-10-29 北京百度网讯科技有限公司 Dynamic packaging method, application package starting method, device and electronic equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113568626A (en) * 2021-06-29 2021-10-29 北京百度网讯科技有限公司 Dynamic packaging method, application package starting method, device and electronic equipment

Similar Documents

Publication Publication Date Title
US20130326502A1 (en) Installing applications remotely
CN111784380B (en) Advertisement putting attribution method and device
CN111488185B (en) Page data processing method, device, electronic equipment and readable medium
CN112214408A (en) Dependency conflict detection method and device, electronic equipment and computer readable medium
CN110865846B (en) Application management method, device, terminal, system and storage medium
CN109902726B (en) Resume information processing method and device
CN111597107A (en) Information output method and device and electronic equipment
CN110855655B (en) Information verification method, device, equipment and storage medium
CN111311358B (en) Information processing method and device and electronic equipment
CN111225255B (en) Target video push playing method and device, electronic equipment and storage medium
CN115543409B (en) Application installation source determining method and device, readable medium and electronic equipment
CN114780124A (en) Differential upgrading method, device, medium and electronic equipment
CN110287087B (en) Method and device for detecting application
CN115543409A (en) Application installation source determining method and device, readable medium and electronic equipment
CN113360704A (en) Voice playing method and device and electronic equipment
CN111475749A (en) Information display target optimization method and device, electronic equipment and readable medium
US10755321B1 (en) Techniques for dynamic utilization of advertising capabilities by applications on user devices
CN111800779B (en) Device source identification method and apparatus, computer system, and readable storage medium
CN111092929B (en) File issuing method and device and electronic equipment
CN112084440B (en) Data verification method, device, electronic equipment and computer readable medium
CN113641966B (en) Application integration method, system, equipment and medium
CN111291199B (en) Information query method and device
CN109005084B (en) Method, electronic device, and computer-readable medium for verifying network connection
CN112235333B (en) Function package management method, device, equipment and storage medium
CN117714407A (en) Information processing method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant