Method, device, terminal and storage medium for determining application download path
By proactively sending inquiry information to the promotion end and judging the returned information, it solves the problem of application download path confirmation errors caused by information delay on the promotion end, improves the accuracy and efficiency of download path judgment, and provides reliable information for fund transactions and promotion channel planning. Data support.
Patent Information
- Application Number
- CN202010089433.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-02-12
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2040-02-12
AI Technical Summary
In the existing technology, application download channel confirmation errors are often caused by delays in proactively sending information by the promotion end, causing application developers to be unable to accurately understand the download channel, affecting financial transactions and promotion channel planning.
By detecting application downloads, it proactively sends inquiry information to the promotion end, receives and judges the return information from the promotion end, to determine the application download path, including defaulting to the official path when no return information is received, and confirming the download path through polling.
It effectively solves the problem of download channel confirmation errors caused by information delay, improves the accuracy and work efficiency of download channel judgment, and provides reliable data support for capital transactions and promotion channel planning.
Smart Images

Figure CN111338642B
Abstract
Description
Technical Field
[0001] The present invention generally relates to the field of computer technology, and more specifically, to a method, device, terminal and storage medium for determining an application download path. Background Art
[0002] With the development of mobile terminals and network technology, more and more applications have been developed, benefiting people's lives in many aspects and providing more convenience for people's lives. In order to better promote applications and enable more people to know about the APP, application developers usually need to use multi-channel promotion platforms for promotion in addition to providing official download channels, such as advertising through multi-channel promotion platforms, so that more users can download and use the application. In this process, application developers need to accurately understand the download channel of each APP download in order to facilitate financial transactions with promoters, and to reasonably plan promotion channels through accurate comparison of promotion effects.
[0003] At present, the common method is that every time an APP is downloaded through a promotion platform, the promoter's server will send the relevant download information to the application developer. The application developer will record the download information and use it as a basis to complete the transaction with the promoter. If the application developer does not receive the relevant information, it will record the download as an official channel and there is no need to conduct a financial transaction with the promoter. Since this process is a process in which the application developer passively receives information, the promoter's server needs to send the download information in a timely manner. Otherwise, there is a problem that the application developer's server will confirm the download path incorrectly due to information delays and other reasons. Summary of the invention
[0004] In order to at least solve the defects of the prior art described in the above background technology, the technical solution of the present invention provides a method, device, terminal and storage medium for determining an application download path in multiple aspects.
[0005] According to a first aspect of the present invention, there is provided a method for determining an application download path, comprising: in response to detecting that an application is downloaded, obtaining a user identification of a user who downloads the application S1; sending an inquiry message to one or more promotion terminals that promote the application to inquire whether the application is downloaded through the promotion terminals S2; and receiving return information from the promotion terminals to determine the download path of the application S3.
[0006] According to one embodiment of the present invention, the inquiry information includes at least one of the user identifier, the application identifier of the application, and an inquiry request on whether to download the application; and the return information includes at least one of the user identifier, the promotion end identifier, and confirmation information on whether to download the application.
[0007] According to another embodiment of the present invention, it further comprises: when the return information from any of the promotion terminals is not received within a first predetermined time, determining that the download path of the application comes from the application development terminal S4.
[0008] According to another embodiment of the present invention, step S3 further includes: when one or more of the return information are received, and only one of the return information is information confirming the download, determining that the download path of the application comes from the promotion end corresponding to the one return information S31; when multiple return information are received, and at least two of the return information are information confirming the download, sending the inquiry information and a request for providing a download record again to at least two of the promotion ends corresponding to the at least two return information to reconfirm the download path of the application S32; and when one or more of the return information are received, and all of the return information are information denying the download, determining that the download path of the application comes from the application development end S33.
[0009] According to an embodiment of the present invention, the inquiry information is sent in a polling manner.
[0010] According to another embodiment of the present invention, step S3 includes: receiving the return information of the promotion terminal queried in sequence in accordance with the polling order to determine the download path of the application S34.
[0011] According to another embodiment of the present invention, step S34 includes: when the return information from the promotion end polled is received within a second predetermined time, and the return information is information confirming the download, terminating the polling and determining that the download path of the application comes from the promotion end corresponding to the return information; when the return information from the promotion end polled is not received within the second predetermined time, or the received return information is information denying the download, querying the next promotion end in sequence until the polling is ended and the return information from any promotion end is not received, or all the received return information is information denying the download, determining that the download path of the application comes from the application development end.
[0012] According to a second aspect of the present invention, there is provided an apparatus for determining a download path of an application, comprising: a first device configured to, in response to detecting that an application is downloaded, obtain a user identifier of a user who downloads the application; a second device configured to send an inquiry message to one or more promotion terminals that promote the application to inquire whether the application is downloaded through the promotion terminals; and a third device configured to receive return information from the promotion terminals to determine the download path of the application.
[0013] According to a third aspect of the present invention, there is provided a terminal for determining an application download path, comprising a memory; and a processor coupled to the memory, the processor being configured to execute a method as described in any one of the first aspects of the present invention based on instructions stored in the memory.
[0014] According to a fourth aspect of the present invention, there is provided a computer-readable storage medium having computer program instructions stored thereon, the instructions being executed by one or more processors to implement the operations of any one of the methods described in the first aspect of the present invention.
[0015] Through the above description of the technical solution of the present invention and its multiple embodiments, those skilled in the art can understand that the method of the present invention can effectively solve the problem of incorrect confirmation of the application download path caused by the delay of the information actively sent by the promotion end by actively sending inquiry information to the promotion end, and can improve the work efficiency and accuracy of determining the application download path, thereby providing reliable data support for subsequent capital transactions and reasonable planning of promotion channels. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The above features of the present invention may be better understood, and its numerous objects, features and advantages may become apparent to those skilled in the art by referring to the accompanying drawings, wherein like reference numerals represent like components, and wherein:
[0017] Figure 1 is a flow chart generally showing a method for determining an application download path according to the present invention;
[0018] Figure 2 is a schematic diagram of an application environment showing a method for determining an application download path according to an embodiment of the present invention;
[0019] Figure 3 and Figure 4 is a flow chart showing a method for determining an application download path according to multiple embodiments of the present invention;
[0020] Figure 5 is a diagram showing an application environment for sending inquiry information in a polling manner according to the present invention;
[0021] Figure 6 is a flow chart showing a method for sending inquiry information in a polling manner according to the present invention;
[0022] Figure 7 is a block diagram showing a device for determining an application download path according to the present invention;
[0023] Figure 8 is a schematic diagram showing a terminal for determining an application download path according to the present invention; and
[0024] Fig. 9 It is a program product illustrating an embodiment according to the present invention. DETAILED DESCRIPTION
[0025] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. Reference numerals refer to components and technologies in the present invention so that the advantages and features of the present invention can be more easily understood when implemented in a suitable environment. The following description is a concretization of the claims of the present invention, and other specific implementations related to the claims that are not explicitly described also belong to the scope of the claims.
[0026] The present invention provides a new and feasible solution to the deficiencies of the prior art. In particular, the present invention provides a method for determining the download path of an application, which can determine the download path of the application by actively sending an inquiry message to a promotion terminal and judging the download path of the application based on the return information received from the promotion terminal. According to the method of the present invention, the problem of incorrect confirmation of the application download path caused by the delay in sending information from the promotion terminal can be effectively avoided. Through the following description, those skilled in the art can understand that the method of the present invention can further include multiple judgment methods executed for various situations of the received return information and multiple ways of sending inquiry information, so as to further improve the efficiency of the confirmation work and further reduce the performance loss of the equipment.
[0027] Several embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
[0028] Figure 1 FIG. 1 is a flow chart generally showing a method for determining an application download path according to the present invention. Figure 1 As shown in the figure, a method 100 for determining the download path of an application is provided, which may include: in response to detecting that an application is downloaded, obtaining a user identification of a user who downloads the application S1; sending an inquiry message to one or more promotion terminals that promote the application to inquire whether the application is downloaded through the promotion terminals S2; and receiving return information from the promotion terminals to determine the download path of the application S3.
[0029] like Figure 1 In step S1 shown, in response to detecting that an application is downloaded, the method 100 according to the present invention obtains the user ID of the user who downloaded the application, and can correspond the user ID to the behavior of downloading the application. In specific operations, detecting that an application is downloaded can also be achieved by detecting that the application is run. For example, in one embodiment, the server at the application development end detects that the application is run for the first time, indicating that the application has been downloaded, that is, the method 100 detects that the application is downloaded.
[0030] The user identifier mentioned above may be at least one of a user identity identifier, a device identifier, an advertising identifier IDFA, etc. The user identity identifier may be user information collected by the first run of the application or registration information collected by user registration, etc. The device identifier may be at least one of the model, serial number, serial number, identification number, address, etc. of the device that downloaded the application. The advertising identifier IDFA may include information such as an advertising identifier for tracking users provided by the vendor of the device that downloaded the application.
[0031] like Figure 1 In step S2 shown, the method 100 according to the present invention can send inquiry information to the promotion end simultaneously or sequentially or according to the order required. The method 100 can send inquiry information to one or more (for example, part or all) promotion ends that promote the application to inquire whether the application is downloaded through the download path provided by the promotion end. The promotion end may refer to a party used to promote applications and provide application download paths. In one embodiment, the inquiry information may include at least one of the user identifier, the application identifier of the application, and an inquiry request whether to download the application. The application identifier may be an identifier representing the application, such as the name, symbol, preset number, etc. of the application. In one embodiment, the inquiry information may be implemented in the form of text, signals, codes, passwords, instructions, etc.
[0032] Figure 1 In step S3 shown in, method 100 can receive return information from one or more promotion terminals, and can determine the download path of the application according to the content of the return information. In one embodiment, method 100 may include determining the download path of the application according to whether the return information is received. According to another embodiment of the present invention, the return information may include at least one of the user identifier, the promotion terminal identifier, and the confirmation information of whether to download the application. The promotion terminal identifier may be an identifier used to represent the identity of the promotion terminal, such as the name, symbol, preset number, etc. of the promotion terminal. The confirmation information of whether to download the application may include information confirming the download or information denying the download. The return information may include information fed back by the promotion terminal in response to the inquiry information, or download information actively sent by the promotion terminal. In one embodiment, the return information may be implemented in the form of text, signal, code, password, etc. In another embodiment, in step S3 of method 100, the download path of the application may be determined by comparing the received return information with the acquired information to determine whether the two match. For example, in another embodiment, method 100 may compare and match the user identifier in the received return information with the user identifier acquired in step S1 to determine whether the download path of the application is the promotion terminal corresponding to the return information.
[0033] Combination of the above Figure 1 The method for determining the download path of an application according to the present invention is generally described. Those skilled in the art can make adjustments as needed under the guidance of the present disclosure. For example, the sending method of the inquiry information, the receiving method of the return information, the content and implementation method of the inquiry information, and the content and implementation method of the return information can all be set as needed. In order to facilitate the understanding of the technical solution of the present invention, the following will be combined with Figure 2 An application environment of the method of the present invention is described.
[0034] Figure 2 1 is a schematic diagram showing an application environment of a method for determining an application download path according to an embodiment of the present invention. Figure 1 The method shown in ) can be applied to Figure 2 In the application environment shown, the device (e.g., terminal) 110 used by the user to download the application can communicate with the server 120 of the application development end (through, for example, a network, etc.), and the server 120 of the application development end can communicate with one or more servers of the promotion end (e.g., 130-1, 130-2, 130-3 in the figure) (through, for example, a network, etc.). The device 110 used by the user to download the application can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, portable wearable devices, etc. The server 120, server 130-1, server 130-2, and server 130-3 in the figure can be implemented as an independent server or a server cluster composed of multiple servers.
[0035] like Figure 2 As shown in , the process of applying the method 100 of the present invention to the environment may be: in step S1, the server 120 at the application development end may obtain the user identifier of the user who downloaded the application, such as the device identifier of the device 110 shown in the figure, the user identity information input by the user through the device 110, etc. in response to detecting that the application is downloaded; in step S2, the server 120 at the application development end sends an inquiry message to one or more of the servers 130-1, 130-2, and 130-3 at the promotion end that promotes the application, to inquire whether the application is downloaded through the promotion end; in step S3, the server 120 at the application development end determines the download path of the application by receiving the return information of one or more of the servers 130-1, 130-2, and 130-3 at the promotion end.
[0036] Combination of the above Figure 2 The actual application of the method for determining the application download path according to the embodiment of the present invention is described exemplarily, and those skilled in the art should understand that: Figure 2The figures shown in the figure are exemplary and not restrictive. For example, the number of servers at the promotion end may not be limited to the three shown in the figure, and more or less servers may be set as needed. The manner in which the server at the application development end sends inquiry information to the server at the promotion end may not be limited to the parallel manner shown in the figure. For example, in one embodiment, the server at the application development end may send inquiry information to the server at the promotion end in sequence in a polling manner. Through the above description, those skilled in the art should understand that the method according to the present invention can determine the download path of the application by receiving the return information. The following will be combined with Figure 3 Another embodiment of the method is described, which provides a solution for determining the download path of the application when no return information is received.
[0037] Figure 3 1 is a flow chart showing a method for determining an application download path according to an embodiment of the present invention. Figure 3 As shown, according to another embodiment of the present invention, a method 100 for determining an application download path is provided, which may include: in response to detecting that an application is downloaded, obtaining a user identification of a user who downloads the application S1; sending an inquiry message to one or more promotion terminals that promote the application to inquire whether the application is downloaded through the promotion terminals S2; receiving return information from the promotion terminals to determine the download path of the application S3; and may further include: when the return information from any of the promotion terminals is not received within a first predetermined time, determining that the download path of the application is from the application development terminal S4.
[0038] like Figure 3 As shown in the figure, the order of step S3 and step S4 can be adjusted as needed, for example, step S3 and step S4 in the figure can be executed in parallel. In another embodiment, step S3 can be executed before step S4. Step S1, step S2 and step S3 in the figure have been described in detail above, and will not be repeated here. Step S4 will be described in detail below.
[0039] like Figure 3In step S4 shown in , when the return information of any of the promotion terminals is not received within the first predetermined time, that is, when the return information of any of the promotion terminals is not received within a preset certain time range, it is determined that the download path of the application comes from the application development terminal's own channel. The application development terminal is the party that develops the application, and can promote the application by cooperating with the promotion terminal. If the user downloads the application through the download path of the promotion terminal, the application development terminal of the application needs to pay funds to the promotion terminal, so the accurate identification of the download path is very important for the application development terminal. In a specific operation, if the application development terminal does not receive the return information of any promotion terminal that promotes its application, it is determined that the application download comes from the download channel of the application development terminal. The first predetermined time can be set according to the feedback speed result of the big data analysis server, the experience value, or according to the needs (such as the time range agreed by the application development terminal and the promotion terminal). In different application scenarios, the setting of the first predetermined time may be different.
[0040] Combination of the above Figure 3 The method for determining the download path of an application including the case where no return information is received according to an embodiment of the present invention is described. The method can more comprehensively determine the download path of the application by classifying the various situations of receiving return information and not receiving return information, and can control the rate of information feedback by setting the first predetermined time, thereby further improving the execution efficiency of the method. Furthermore, for the return information received from the promotion terminal in step S3 of the method, the specific implementation method of determining the download path of the application will be combined with Figure 4 An exemplary description is given.
[0041] Figure 4 FIG. 1 is a flow chart showing a method for determining an application download path according to another embodiment of the present invention. Figure 4As shown in , according to an embodiment of the present invention, the method 100 may include: in response to detecting that an application is downloaded, obtaining a user identifier of a user who downloads the application S1; sending an inquiry message to one or more promotion terminals that promote the application to inquire whether the application is downloaded through the promotion terminal S2; receiving return information from the promotion terminal to determine the download path of the application S3; wherein step S3 may further include: when one or more of the return information is received, and only one of the return information is information confirming the download, determining that the download path of the application comes from the promotion terminal corresponding to the one return information S31; when multiple return information is received, and at least two of the return information are information confirming the download, sending the inquiry message and a request for providing a download record again to at least two promotion terminals corresponding to the at least two return information to reconfirm the download path of the application S32; and when one or more of the return information is received, and all of the return information is information denying the download, determining that the download path of the application comes from the application development terminal S33. Step S1 and step S2 in the figure have been described in detail in the previous text and will not be repeated here. The specific implementation methods S31, S32, and S33 of step S3 of this embodiment will be described below.
[0042] like Figure 4 As shown in step S31 of the method 100, when executing step S3, when only one of the received return information (one or more) includes information confirming the download, it can be determined that the download path of the application this time comes from the promotion end corresponding to the only one return information. The correspondence means that the only one return information (for information confirming the download) is sent by the promotion end.
[0043] like Figure 4As shown in step S32 in, in one embodiment, under the premise that one return information corresponds to one promotion end, and one application download can usually only be realized through one download path, when the method 100 executes step S3, when multiple return information is received, and at least two of the multiple return information include information confirming the download, it is impossible to determine which of the at least two promotion ends corresponding to the at least two return information the download path of the application is from; therefore, the method 100 can send information including inquiry information and request to provide download records (equivalent to proof of download through the path) to the at least two promotion ends that feedback the download information to confirm the download, so as to reconfirm the download path of the application for this download. For example, in one embodiment, the method 100 can repeatedly execute step S2 and / or step S3 (e.g., step S31, step S32, step S33) in the figure to judge the return information received again until the only download path is determined. In another embodiment, when the method 100 executes step S32, an audible or visible alarm message can be issued at the same time to remind the operator to pay attention.
[0044] like Figure 4 As shown in step S33 in method 100, when executing step S3, when none of the received return information (one or more) includes information confirming the download, that is, all the received return information is information denying the download, it can be determined that the download path of this download of the application comes from the channel of the application development end.
[0045] Combination of the above Figure 4 Several embodiments of the method 100 executing step S3 are described. It should be understood by those skilled in the art that: Figure 4The above description is exemplary and non-restrictive, and those skilled in the art can set and adjust it as needed. For example, the execution of step S32 is an operation set based on the case where one return information corresponds to one promotion terminal and one download of the application corresponds to one download path. In another embodiment, when one promotion terminal can send two or more return information, it is possible to directly determine the download path of the application without sending the inquiry information again. Although steps S31, S32 and S33 in the figure are arranged in the order of upper and lower, it is not a limitation of the present method. Steps S31, S32 and S33 are all included in step S3, and their execution may not be limited to sequential execution, and the execution order between the steps may be adjusted as needed, or may be set to synchronous execution as needed. In another embodiment, step S3 may further set a time range for receiving the return information, such as receiving the return information of the promotion terminal within the first predetermined time, and making a judgment based on it. Such a setting can improve the confirmation efficiency. The execution of steps S31, S32 and S33 in the method 100 described above is based on the judgment of all the received return information. The implementation of step S3 is not limited to the steps S31, S32 and S33 shown in the figure. Figure 5 and Figure 6 Another implementation of step S3 is exemplarily described.
[0046] Figure 5 2 is a diagram showing an application environment in which query information is sent in a polling manner according to the present invention. Figure 5 As shown in FIG. 1 , the method for determining an application download path according to the present invention can be applied to Figure 5 In the application environment shown, the device (e.g., terminal) 110 used by the user to download the application can communicate with the server 120 of the application development end (through, for example, a network, etc.), and the server 120 of the application development end can communicate with one or more servers of the promotion end (e.g., 130-1, 130-2, 130-3 in the figure) (through, for example, a network, etc.).
[0047] According to one embodiment of the present invention, the query information in the method of the present invention may be in the form of polling ( Figure 5 The polling may be to query each promotion end in sequence, and after obtaining the query result (for example, receiving the return information of the polled promotion end or determining whether the polled promotion end is the download path for the current application download), the query information is sent to the next promotion end. Figure 5As shown in , the process of applying the method of the present invention in this environment may be: in response to detecting that the application is downloaded, the server 120 at the application development end may obtain the user identifier of the user who downloaded the application, such as the device identifier of the device 110 shown in the figure, the user identity information input by the user through the device 110, etc.; the server 120 at the application development end sends inquiry information to the servers 130-1, 130-2, and 130-3 at the promotion end that promotes the application in a polling manner in sequence (for example, in the direction of the one-way arrow in the figure) to inquire whether the application is downloaded through the promotion end; the server 120 at the application development end may determine the download path of the application by receiving the return information of the promotion end servers 130-1, 130-2, and 130-3 that are sequentially inquired.
[0048] Combination of the above Figure 5 The practical application of the method for sending inquiry information in a polling manner according to the present invention is described exemplarily, and those skilled in the art should understand that: Figure 5 The figures shown in the figure are exemplary and non-restrictive. For example, the servers at the promotion end may not be limited to the three shown in the figure, and more or less may be set as needed. Server 120, server 130-1, server 130-2, and server 130-3, etc. may not be limited to being implemented as independent servers as shown in the figure. In one embodiment, one or more of server 120, server 130-1, server 130-2, and server 130-3, etc. may be implemented as a server cluster composed of multiple servers. The device 110 used by the user to download the application may not be limited to the smartphone shown in the figure, but may also be various personal computers, laptops, tablet computers, portable wearable devices, etc.
[0049] Furthermore, the order in which the server 120 on the application development side sends the inquiry information in a polling manner may not be limited to the direction in the diagram (the direction indicated by the one-way arrow), and those skilled in the art may adjust it as needed, for example, it may be in the opposite order to the direction in the diagram, or in the order of 130-2, 130-3, 130-1, etc. In another embodiment, the server 120 on the application development side may query all of the servers 130-1, 130-2, and 130-3 on the promotion side in sequence according to the order indicated by the one-way arrows in the diagram. In yet another embodiment, the server 120 on the application development side may query some of the servers 130-1, 130-2, and 130-3 on the promotion side in sequence according to the order indicated by the one-way arrows in the diagram. The following will be combined with Figure 6 Provide detailed explanation.
[0050] Figure 6is a flow chart showing a method for sending inquiry information in a polling manner according to the present invention. A method 100 for determining an application download path according to the present invention may include: in response to detecting that an application is downloaded, obtaining a user identification of a user who downloads the application S1; sending inquiry information to one or more promotion terminals that promote the application to inquire whether the application is downloaded through the promotion terminals S2; and receiving return information from the promotion terminals to determine the download path of the application S3. According to an embodiment of the present invention, the inquiry information may be sent in a polling manner, such as Figure 6 As shown in, step S2 of method 100 may include: sending inquiry information to one or more promotion terminals that promote the application in a polling manner to inquire whether the application is downloaded through the promotion terminals S21; and step S3 may include: receiving the return information of the promotion terminals that are sequentially inquired in the order of polling to determine the download path of the application S34.
[0051] Figure 6 Step S1 shown in FIG. 1 has been described in detail above and will not be repeated here. When method 100 executes step S21, query information may be sent to one or more promotion terminals of the promotion application in a polling manner. The one or more promotion terminals may be part or all of the promotion terminals of the promotion application and may be adjusted as needed. Figure 5 It has been explained and will not be repeated here.
[0052] like Figure 6 As shown in , when method 100 executes step S34, the return information of the promotion terminals that are sequentially queried can be received in the order of polling in which the inquiry information is sent, and it can be determined whether the promotion terminals that are sequentially queried are the download paths for this application download. The order of polling can be set as needed. According to the method for determining the application download path by sending inquiry information in a polling manner of the present invention, each promotion terminal can be queried in sequence, and the return information can be received in sequence, which can ensure the accuracy of the received information and the accuracy of the judgment, and can effectively avoid confusion in the reception of the return information that may be caused by the fact that the promotion terminal identifier is not included in the return information of the promotion terminal, and the problem of being unable to correspond the return information to the promotion terminal, etc.
[0053] According to one embodiment of the present invention, step S34 may include: when the return information of the promotion end polled is received within the second predetermined time, and the return information is information confirming the download, terminating the polling and determining that the download path of the application comes from the promotion end corresponding to the return information (i.e., the return information including the information confirming the download); and when the return information of the promotion end polled is not received within the second predetermined time, or the received return information is information denying the download, querying the next promotion end in sequence until the polling is completed (i.e., all promotion ends are queried) and the return information of any promotion end is not received, or all the received return information is information denying the download, determining that the download path of the application comes from the application development end.
[0054] According to the method of this embodiment, polling can be terminated after receiving return information including information confirming the download, and the download path of the application can be determined without inquiring all the promotion terminals. This can not only save inquiry time to improve inquiry efficiency, but also effectively reduce the number of inquiries, the number of download path determinations, the number of information interactions with the promotion terminal server, and the number of promotion terminals that perform information interactions, thereby helping to reduce performance losses of devices on all parties.
[0055] The second predetermined time described above may be a preset time range, which is used to control the time of receiving the return information of each promotion terminal polled to improve the query efficiency. The second predetermined time can be set as needed, or it can be calculated based on big data analysis, experience value, etc. The second predetermined time for receiving the return information of each promotion terminal polled can be the same or different. For example, in one embodiment, the second predetermined time for receiving the return information of each promotion terminal is the same, that is, the polling interval is the same, and the method 100 can poll each promotion terminal at a uniform speed. In another embodiment, the second predetermined time for receiving the return information of each promotion terminal can be different, and the second predetermined time can be set according to different promotion terminals, that is, the polling interval is different, and the method 100 can poll each promotion terminal at a variable speed (that is, the time required to poll each promotion terminal can be different), but the order of polling will not be changed due to the difference in the second predetermined time.
[0056] Combination of the above Figure 6The method for sending inquiry information in a polling manner according to the present invention is exemplarily described, and those skilled in the art may adjust and set the above steps as needed. Although the present embodiment describes the method of sending inquiry information by taking the polling method as an example, those skilled in the art should understand that there may be multiple ways to send inquiry information, and those skilled in the art may choose according to their needs, such as synchronous sending, jump sending, etc. For example, in one embodiment, the method according to the present invention may send inquiry information in sequence, but there is no need to receive the return information in sequence before inquiring the next promotion end, but it may be sent while receiving or all sent and then received at once, etc. Accordingly, under the guidance of the present disclosure, for different inquiry information sending methods, those skilled in the art may make adaptive adjustments to step S2 and step S3 in the method according to the present invention, and the adjustment still falls within the protection scope of the present invention.
[0057] Figure 7 FIG. 2 shows a block diagram of a device for determining an application download path according to the present invention. Figure 7 As shown, a device for determining the download path of an application is provided, which may include a first device M101, which is configured to obtain a user identification of a user who downloads the application in response to detecting that the application is downloaded; a second device M102, which is configured to send an inquiry message to one or more promotion terminals that promote the application to inquire whether the application is downloaded through the promotion terminal; and a third device M103, which is configured to receive return information from the promotion terminal to determine the download path of the application. The device of the present invention has been described and explained in detail in conjunction with the method above, and will not be repeated here.
[0058] Through the above description, those skilled in the art can understand that in the above-mentioned scheme of the present invention and its different embodiments, according to the method for determining the application download path of the present invention, a technical solution for actively inquiring the promotion end is provided to solve the problem that the promotion end may actively send download information due to information delays and other reasons, resulting in errors in confirming the application download path. Furthermore, the method of the present invention provides multiple ways to send inquiry information and multiple embodiments of how to determine the application download path, which can further improve the accuracy and reliability of the judgment, improve the execution efficiency of determining the application download path, and reduce the performance loss of each party's equipment. The method and device according to the present invention have a wide range of applications and can be applied to the determination of download paths for a variety of application APPs, such as reading application APPs, information application APPs, game application APPs, etc.
[0059] Figure 8 A schematic diagram of a terminal for determining an application download path according to the present invention is shown. Figure 8The terminal 1 shown is only an example, which should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0060] like Figure 8 As shown, the terminal 1 is in the form of a general computing device, such as a mobile phone, a computer, and other reading devices, including but not limited to: at least one processor 10, at least one memory 20, and a bus 60 connecting different system components.
[0061] Bus 60 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures.
[0062] The memory 20 may include a readable medium in the form of a volatile memory, such as a random access memory (RAM) 21 and / or a cache memory 22 , and may further include a read-only memory (ROM) 23 .
[0063] The memory 20 may also include program modules 24, such program modules 24 including but not limited to: an operating system, one or more application programs, other program modules and program data, each of which or some combination thereof may include the implementation of a network environment.
[0064] The terminal 1 can also communicate with one or more external devices 2, and can also communicate with one or more other devices. Such communication can be performed through an input / output (I / O) interface 40 and displayed on a display unit 30. The terminal 1 can also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN) and / or a public network, such as the Internet) through a network adapter 50. Figure 8 As shown, the network adapter 50 communicates with other modules in the terminal 1 via the bus 60. It should be understood that although Figure 8 Not shown, other hardware and / or software modules may be used in conjunction with terminal 1, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0065] In some possible implementations, various aspects of the present invention may also be implemented in the form of a program product, which includes program code. When the program code is executed by a processor, the program code is used to enable the processor to perform the method described above.
[0066] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable 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.
[0067] like Fig. 9 As shown, a program product 3 according to an embodiment of the present invention is shown, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.
[0068] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).
[0069] In addition, although the operations of the method of the present invention are described in a specific order in the drawings, this does not require or imply that the operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.
[0070] It should be understood that the terms "first", "second", "third" and "fourth" etc. in the claims, specifications and drawings of the present invention are used to distinguish different objects rather than to describe a specific order. The terms "include" and "comprise" used in the specification and claims of the present invention indicate the presence of the described features, wholes, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or their collections.
[0071] It should be noted that the above embodiments illustrate the present invention rather than limit the present invention, and those skilled in the art may design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation to the claims.
Claims
1. A method for determining an application download path, comprising: Step S1: in response to detecting that the application is run for the first time, obtaining a user identifier for downloading the application; Step S2: sending inquiry information to one or more promotion terminals that promote the application, to inquire whether the application is downloaded through the promotion terminals; Step S3: receiving the return information from the promotion terminal to determine the download path of the application; Step S4: when the return information is not received from any of the promotion terminals within the first predetermined time, determining that the download path of the application is from the application development terminal; Wherein step S3 further comprises: Step S31: when one or more return information is received and only one of the return information is information confirming the download, determining that the download path of the application comes from the promotion end corresponding to the one return information; Step S32: when a plurality of the return messages are received, and at least two of the return messages are confirmation messages of the download, the inquiry message and the request for providing the download record are sent again to at least two of the promotion terminals corresponding to the at least two return messages, so as to reconfirm the download path of the application; Step S33: When one or more of the return information is received and all of the return information is information denying the download, it is determined that the download path of the application comes from the application development end.
2. The method according to claim 1, wherein the inquiry information comprises at least one of the user identifier, the application identifier of the application, and an inquiry request whether to download the application; and The returned information includes at least one of the user identifier, the promotion terminal identifier, and confirmation information of whether to download the application. The method according to claim 1 , wherein the inquiry information is sent in a polling manner.
4. The method according to claim 3, wherein step S3 comprises: Step S34: receiving the return information of the promotion terminal inquired in sequence according to the polling order to determine the download path of the application.
5. The method according to claim 4, wherein step S34 comprises: When the return information from the promotion end polled is received within a second predetermined time, and the return information is information confirming the download, the polling is terminated and it is determined that the download path of the application comes from the promotion end corresponding to the return information; When the return information from the promotion end polled is not received within the second predetermined time, or the received return information is information denying the download, the next promotion end is queried in sequence until the polling is completed and the return information from any promotion end is not received, or all the received return information is information denying the download, it is determined that the download path of the application comes from the application development end.
6. A device for determining an application download path, comprising: A first device configured to obtain a user identifier for downloading the application in response to detecting that the application is run for the first time; A second device is configured to send an inquiry message to one or more promotion terminals that promote the application to inquire whether the application is downloaded through the promotion terminals; as well as A third device configured to receive the return information from the promotion terminal to determine the download path of the application; Wherein, when the return information is not received from any of the promotion terminals within the first predetermined time, it is determined that the download path of the application comes from the application development terminal; The third device is further configured to: When one or more of the return information are received, and only one of the return information is information confirming the download, determining that the download path of the application comes from the promotion end corresponding to the one return information; When a plurality of the return information is received, and at least two of the return information are information confirming the download, the second device resends the inquiry information and a request for providing a download record to at least two promotion terminals corresponding to the at least two return information, so as to reconfirm the download path of the application; as well as When one or more of the return information is received and all of the return information is information denying the download, it is determined that the download path of the application comes from the application development end.
7. A terminal for determining an application download path, comprising: Memory; and a processor coupled to the memory, wherein the processor is configured to execute the method according to any one of claims 1 to 5 based on instructions stored in the memory.
8. A computer-readable storage medium having computer program instructions stored thereon, the instructions being executed by one or more processors to implement the operations of the method of any one of claims 1 to 5.
