CN109471638A - The method and relevant device of recognition application downloading channel - Google Patents
The method and relevant device of recognition application downloading channel Download PDFInfo
- Publication number
- CN109471638A CN109471638A CN201811203970.6A CN201811203970A CN109471638A CN 109471638 A CN109471638 A CN 109471638A CN 201811203970 A CN201811203970 A CN 201811203970A CN 109471638 A CN109471638 A CN 109471638A
- Authority
- CN
- China
- Prior art keywords
- information
- application program
- domain name
- cookies
- channel
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses the methods and relevant device of a kind of recognition application downloading channel, wherein method includes: to generate cookies information corresponding with application program according to the Web loose-leaf where application program;Cookies information is sent to terminal, to be stored in the predetermined domain name of terminal browser;The predetermined domain name of browser is identical as the domain name that the URL of Web loose-leaf is belonged to;All cookies information obtained from the predetermined domain name of browser when receiving the application program described in terminal operating of terminal feedback;According to the application program of terminal operating, downloading channel information corresponding with the application program is obtained from all cookies information.The present invention pass through by include download channel information cookies information be stored in scheduled domain name, by same area under one's name cookies it is shared in the way of, it realizes when running application program, obtain all cookies information of same area under one's name, accurately to obtain the downloading channel of application program from cookies, thus solves the problems, such as existing downloading channel identification inaccuracy.
Description
Technical field
The present invention relates to the methods and correlation of field of communication technology more particularly to a kind of recognition application downloading channel to set
It is standby.
Background technique
The method of existing recognition application Application (App) downloading channel, is all by movable Web
IP address, browser UserAgent, timestamp of page record user etc. can indicate the data of user characteristics, when user exists
App has been downloaded in application program shop Appstore, and after opening App, by comparing the data of identical dimensional, carry out fuzzy
Match, identifies the downloading channel of App.
However, as user from be guided to download to environment locating for this stage after downloading completes to open App may
Variation, thus will cause user characteristics matching it is unsuccessful or inaccurate, overall plan is not accurate enough.
Summary of the invention
The embodiment of the present invention provides a kind of method and device of recognition application downloading channel, to solve the prior art
Present in downloading channel identify not accurate enough problem.
In a first aspect, the embodiment of the present invention provides a kind of method of recognition application downloading channel, the method includes
Following steps:
According to the Web loose-leaf where application program, cookies information corresponding with application program is generated;
The cookies information is sent to terminal, to be stored in the predetermined domain name of terminal browser;The browser
Predetermined domain name it is identical as the domain name that the uniform resource position mark URL of Web loose-leaf is belonged to;
It is obtained from the predetermined domain name of the browser when receiving the application program described in terminal operating of terminal feedback
All cookies information;
According to the application program of terminal operating, obtained and the application program from all cookies information
Corresponding downloading channel information.
Optionally, the cookies information is sent to terminal, to be stored in the predetermined domain name of terminal browser, tool
Body includes:
When user clicks the application program download button of Web loose-leaf, using the open interface of Web loose-leaf to
The cookies information is written in the predetermined domain name of the browser of the terminal;
The cookies information include channel key information corresponding with application program and with channel key information pair
The downloading channel information answered.
Optionally, it according to the application program of terminal operating, obtains from all cookies information and is answered with described
With the corresponding downloading channel information of program, specifically include:
According to the application program of terminal operating, obtained and the application program from all cookies information
Corresponding channel key information obtains downloading channel information corresponding with channel key information using the channel key information.
Second aspect, the embodiment of the present invention provide a kind of method of recognition application downloading channel, which comprises
When clicking downloading application program in Web loose-leaf, the cookies information that server-side is sent is received, will be received
To the cookies information be stored in browser predetermined domain name in, and jump to application shop, it is described using journey to complete
The downloading of sequence;The predetermined domain name of the browser is identical as the domain name that the URL of Web loose-leaf is belonged to;
When running the application program, scheduled URL is read, according to the domain name of scheduled URL, obtains and makes a reservation for described
URL the identical predetermined domain name of domain name in all cookies information;
All cookies information of acquisition are sent to server-side.
Optionally, the cookies information include channel key information corresponding with application program and with channel key
The corresponding downloading channel information of information.
The third aspect, the embodiment of the present invention provide a kind of device of recognition application downloading channel, comprising:
Generation module, for generating corresponding cookies information according to the Web loose-leaf where application program;
First sending module, for the cookies information to be sent to terminal, to be stored in the predetermined of terminal browser
In domain name;The predetermined domain name of the browser is identical as the domain name that the URL of Web loose-leaf is belonged to;
Receiving module, for receive terminal feedback when running the application program, from the predetermined domain of the browser
All cookies information obtained in name;
First obtains module, for the application program according to terminal operating, obtains from all cookies information
Take downloading channel information corresponding with the application program.
Optionally, the sending module, is specifically used for: clicking the application program download button of Web loose-leaf in user
When, the cookies is written into the predetermined domain name of the browser of the terminal using the open interface of Web loose-leaf and believes
Breath;The cookies information includes channel key information corresponding with application program, and it is corresponding with channel key information under
Carry channel information.
Optionally, the acquisition module, is specifically used for, and according to the application program of terminal operating, owns from described
Corresponding with application program channel key information is obtained in cookies information, obtained using the channel key information and
The corresponding downloading channel information of channel key information.
Fourth aspect, the embodiment of the present invention provide a kind of device of recognition application downloading channel, comprising:
Memory module when for clicking downloading application program in Web loose-leaf, receives what server-side was sent
The cookies information received is stored in the predetermined domain name of browser, and jumps to using quotient by cookies information
Shop, to complete the downloading of the application program;The domain that the predetermined domain name of the browser and the URL of Web loose-leaf are belonged to
Name is identical;
Second obtains module, for reading scheduled URL, the domain according to scheduled URL when running the application program
Name obtains all cookies information in the predetermined domain name identical with the domain name of the scheduled URL;
Second sending module, for all cookies information obtained to be sent to server-side.
Optionally, the cookies information includes channel key information corresponding with application program, and with channel key
The corresponding downloading channel information of information.
5th aspect, the embodiment of the present invention provide a kind of server, and the server includes memory, processor and storage
On the memory and the computer program that can run on the processor, the computer program are held by the processor
The step of following method is realized when row:
According to the Web loose-leaf where application program, cookies information corresponding with application program is generated;
The cookies information is sent to terminal, to be stored in the predetermined domain name of terminal browser;The browser
Predetermined domain name it is identical as the domain name that the URL of Web loose-leaf is belonged to;
It is obtained from the predetermined domain name of the browser when receiving the application program described in terminal operating of terminal feedback
All cookies information;
According to the application program of terminal operating, obtained and the application program from all cookies information
Corresponding downloading channel information.
6th aspect, the embodiment of the present invention provide a kind of terminal, and the terminal includes: memory, processor and is stored in
On the memory and the computer program that can run on the processor, the computer program are executed by the processor
The step of Shi Shixian following method:
When clicking downloading application program in Web loose-leaf, the cookies information that server-side is sent is received, will be received
To the cookies information be stored in browser predetermined domain name in, and jump to application shop, it is described using journey to complete
The downloading of sequence;The predetermined domain name of the browser is identical as the domain name that the URL of Web loose-leaf is belonged to;
When running the application program, scheduled URL is read, according to the domain name of scheduled URL, obtains and makes a reservation for described
URL the identical predetermined domain name of domain name in all cookies information;
All cookies information of acquisition are sent to server-side.
7th aspect, the embodiment of the present invention provide a kind of storage medium, the storage medium include memory, processor and
It is stored in the computer program that can be run on the memory and on the processor, the computer program is by the processing
The step of device realizes following method when executing:
According to the Web loose-leaf where application program, cookies information corresponding with application program is generated;
The cookies information is sent to terminal, to be stored in the predetermined domain name of terminal browser;The browser
Predetermined domain name it is identical as the domain name that the URL of Web loose-leaf is belonged to;
It is obtained from the predetermined domain name of the browser when receiving the application program described in terminal operating of terminal feedback
All cookies information;
According to the application program of terminal operating, obtained and the application program from all cookies information
Corresponding downloading channel information.
Alternatively, the step of realizing following method:
When clicking downloading application program in Web loose-leaf, the cookies information that server-side is sent is received, will be received
To the cookies information be stored in browser predetermined domain name in, and jump to application shop, it is described using journey to complete
The downloading of sequence;The predetermined domain name of the browser is identical as the domain name that the URL of Web loose-leaf is belonged to;
When running the application program, scheduled URL is read, according to the domain name of scheduled URL, obtains and makes a reservation for described
URL the identical predetermined domain name of domain name in all cookies information;
All cookies information of acquisition are sent to server-side.
The embodiment of the present invention pass through by include download channel information cookies information be stored in scheduled domain name,
By same area under one's name cookies information sharing in the way of, realize when running application program, obtain same area under one's name all
Thus cookies information solves existing accurately to obtain the downloading channel information of application program from cookies information
Downloading channel identify not accurate enough problem.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field
Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 is the method flow diagram that the recognition application that first embodiment provides downloads channel;
Fig. 2 is the method flow diagram that the recognition application that second embodiment provides downloads channel;
Fig. 3 is the method flow diagram that the recognition application that 3rd embodiment provides downloads channel;
Fig. 4 is the device block diagram that the recognition application that the 4th and the 5th embodiment provides downloads channel;
Fig. 5 is the device block diagram that the recognition application that sixth embodiment provides downloads channel;
Fig. 6 is the structural block diagram for the server that the 7th embodiment provides;
Fig. 7 is the structural block diagram for the terminal that the 8th embodiment provides;
Fig. 8 is the flow chart for the system that the recognition application that the tenth embodiment provides downloads channel.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
It is fully disclosed to those skilled in the art.
First embodiment of the invention provides a kind of method of recognition application downloading channel, and executing subject includes but not
It is limited to server-side, as shown in Figure 1, comprising the following specific steps
Step S11 generates cookies letter corresponding with application program according to the Web loose-leaf where application program
Breath;
In this step, the cookies information of generation includes key information corresponding with application program and and key information
Corresponding downloading channel information, specific key information can be the key value of channel for identification, and downloading channel information can be
The value value of channel.
The cookies information is sent to terminal, to be stored in the predetermined domain name of terminal browser by step S12;Institute
State the predetermined domain name of browser and the URL (Uniform Resource Locator, uniform resource locator) of Web loose-leaf
The domain name belonged to is identical;
In this step, domain name is identical but two or more Web loose-leafs that URL is different can generate accordingly
Cookies information, these cookies information can be stored in the same scheduled domain name;Such as xxx1.58.com and
Xxx2.58.com is two Web loose-leafs that domain name is identical but URL is different, and domain name is .58.com, xxx1.58.com
Corresponding Web loose-leaf for guiding user to download application program App1, use by the corresponding Web loose-leaf of xxx2.58.com
App2 is downloaded in guidance user;So, the corresponding Web loose-leaf of xxx1.58.com can generate cookies corresponding with App1
Information, the corresponding Web loose-leaf of xxx2.58.com can generate cookies information corresponding with App2, the two cookies
It is in .58.com that information, which can be stored in terminal browser domain name,.
Step S13, from the predetermined domain name of the browser when receiving the application program described in terminal operating of terminal feedback
All cookies information of middle acquisition;
In this step, such as after downloading App1 and App2 in step S12, when terminal opens operation App2, service
End can receive the domain name of terminal feedback as all cookies information in .58.com, and it is corresponding to specifically include App1
Cookies information and the corresponding cookies information of App2;
Step S14, according to terminal operating the application program, from all cookies information obtain with it is described
The corresponding downloading channel information of application program.
In this step, terminal is when running App2, after server-side receives all cookies information of terminal feedback
(including the corresponding cookies information of App1 and the corresponding cookies information of App2), meeting be found according to the title of App2 and App2
Corresponding cookies information, to obtain the downloading channel information of the App2 in cookies information.
The embodiment of the present invention pass through by include download channel information cookies information be stored in scheduled domain name,
By same area under one's name cookies information sharing in the way of, realize when running application program, obtain same area under one's name all
Thus cookies information solves existing accurately to obtain the downloading channel information of application program from cookies information
Downloading channel identify not accurate enough problem.
Second embodiment of the invention provides a kind of method of recognition application downloading channel, as shown in Fig. 2, including following
Specific steps:
Step S21 generates cookies letter corresponding with application program according to the Web loose-leaf where application program
Breath;
Step S22, it is open using Web loose-leaf when user clicks the application program download button of Web loose-leaf
Interface the cookies information is written into the predetermined domain name of the browser of the terminal;The cookies information includes:
Channel key information corresponding with application program, and downloading channel information corresponding with channel key information;The browser
Predetermined domain name it is identical as the domain name that the URL of Web loose-leaf is belonged to;In this step, application program can be for applied to IOS
The App of system, browser are specially Safari;
In this step, in implementation process, it is specifically as follows: by the open API of Web loose-leaf
(ApplicationProgramming Interface, application programming interface) is into the predetermined domain name of the browser of terminal
Cookies information is sent, cookies information is written in predetermined domain name and is saved.
Step S23 receives obtaining from the predetermined domain name of the browser when running the application program for terminal feedback
All cookies information obtained;
Step S24, according to terminal operating the application program, from all cookies information obtain with it is described
The corresponding channel key information of application program obtains downloading canal corresponding with channel key information using the channel key information
Road information;
In this step, for terminal when running App2, server-side can receive the title or ID of the App2 of the operation of terminal feedback,
Key information corresponding with App2 title is obtained from all cookies information according to title, or the ID according to App2 is obtained
Key information corresponding with the ID of App2 is obtained from all cookies information, then obtains cookie information according to key information
In corresponding with key information application program download channel information.
In the embodiment of the present invention, by will channel key information corresponding with application program and with channel key information it is corresponding
Downloading channel information write-in cookies information in, realize when running application program, can be obtained from cookies information
Channel key information corresponding with application program is decrypted downloading channel information using channel key information is obtained, thus
The downloading channel that the application program can more accurately be obtained, thus solve existing downloading channel identify it is not accurate enough
Problem.
Third embodiment of the invention provides a kind of method of recognition application downloading channel, as shown in figure 3, the method
Include:
Step S31 when clicking downloading application program in Web loose-leaf, receives the cookies letter that server-side is sent
Breath, the cookies information received is stored in the predetermined domain name of browser, and jump to application shop, to complete
The downloading of the application program;The predetermined domain name of the browser is identical as the domain name that the URL of Web loose-leaf is belonged to;
In this step, application program is specially the App for being applied to IOS system, and browser is specially Safari.
Step S32 reads scheduled URL when running the application program, according to the domain name of scheduled URL, obtain with
All cookies information in the identical predetermined domain name of the domain name of the scheduled URL;
In this step, by taking IOS system as an example, when running App, App can execute preprepared code, implicitly (no
Show User Interface user interface) one view controller SFSafariViewController of opening, and access
The scheduled URL to have made an appointment, and the domain name of the predetermined URL is identical as the domain name of loose-leaf where App;Due to
SFSafariViewController and Safari has the same area characteristic that cookies is communicated under one's name,
SFSafariViewController access scheduled URL when, obtain all cookies information of this domain name;Such as:
App1 and App2 were downloaded, and the domain name of the domain name of the Web loose-leaf where App1 and the Web loose-leaf where App2
It is identical, for example domain name is .58.com, then the cookies information corresponding with App1 that generates and generating corresponding with App2
Cookies information can be stored in domain name be .58.com in;When running App2, terminal can be utilized
SFSafariViewController simultaneously accesses the URL that a domain name is .58.com according to preparatory agreement, then terminal can obtain
Take all cookies information in .58.com, including and the corresponding cookies information of App1 and cookies corresponding with App2
Information.
All cookies information of acquisition are sent to server-side by step S33.In this step, cookies information
Including channel key information corresponding with application program, and downloading channel information corresponding with channel key information.Such as it wraps
It includes: and the key value and channel value value corresponding with the key value of channel of the corresponding channel of App1, channel corresponding with App2
Key value and channel value value corresponding with the key value of channel.
In the embodiment of the present invention, it is stored in scheduled domain name by the cookies information that will be received, realizes and transporting
When row application program, scheduled domain name can be accessed by view controller, to obtain cookies information from scheduled domain name,
And then downloading channel information corresponding with application program is directly obtained from cookies information, thus solve it is existing under
It carries channel and identifies not accurate enough problem.
Fourth embodiment of the invention provides a kind of device of recognition application downloading channel, as shown in Figure 4, comprising:
Generation module 11, for generating corresponding cookies information according to the Web loose-leaf where application program;
First sending module 12, for the cookies information to be sent to terminal, to be stored in the pre- of terminal browser
In localization name;The predetermined domain name of the browser is identical as the domain name that the URL of Web loose-leaf is belonged to;
Receiving module 13, for receive terminal feedback when run the application program, from the browser make a reservation for
All cookies information obtained in domain name;
First obtains module 14, for the application program according to terminal operating, from all cookies information
Obtain downloading channel information corresponding with the application program.
Using generation module generation include downloading channel information cookies information in the embodiment of the present invention, and utilizes the
Cookies information is sent to terminal to be stored in predetermined domain name by one sending module, and utilizes same area cookies information under one's name
Shared mode is realized when running application program, all cookies information of same area under one's name is obtained, to believe from cookies
Thus the downloading channel information that application program is accurately obtained in breath solves existing downloading channel and identifies not accurate enough ask
Topic.
Fifth embodiment of the invention provides a kind of device of recognition application downloading channel, as shown in Figure 4, comprising: raw
Module 14 is obtained at module 11, the first sending module 12, receiving module 13 and first;
Generation module 11, for generating corresponding cookies information according to the Web loose-leaf where application program;
First sending module 12 utilizes Web when for clicking the application program download button of Web loose-leaf in user
The cookies information is written into the predetermined domain name of the browser of the terminal for the open interface of loose-leaf;It is described
Cookies information includes channel key information corresponding with application program, and downloading channel corresponding with channel key information
Information;
Receiving module 13, for receive terminal feedback when run the application program, from the browser make a reservation for
All cookies information obtained in domain name;
First obtains module 14, for the application program according to terminal operating, from all cookies information
Channel key information corresponding with the application program is obtained, is obtained and channel key information pair using the channel key information
The downloading channel information answered.
It, will channel key information corresponding with application program and and channel using the first sending module in the embodiment of the present invention
In the corresponding downloading channel information write-in cookies information of key information, realizes when running application program, obtained using first
Modulus block obtains channel key information corresponding with application program from cookies information, recycles channel key information under
It carries channel information to be decrypted, so as to more accurately obtain the downloading channel of the application program, thus solve existing
Downloading channel identify not accurate enough problem.
Sixth embodiment of the invention provides a kind of device of recognition application downloading channel, as shown in Figure 5, comprising: deposit
It stores up module 21, obtain module 22 and sending module 23,
Memory module 21 when for clicking downloading application program in Web loose-leaf, receives what server-side was sent
The cookies information received is stored in the predetermined domain name of browser, and jumps to using quotient by cookies information
Shop, to complete the downloading of the application program;The domain that the predetermined domain name of the browser and the URL of Web loose-leaf are belonged to
Name is identical;
Second obtains module 22, for scheduled URL being read, according to scheduled URL's when running the application program
Domain name obtains all cookies information in the predetermined domain name identical with the domain name of the scheduled URL;
Second sending module 23, for all cookies information obtained to be sent to server-side.Wherein, described
Cookies information includes channel key information corresponding with application program, and downloading channel corresponding with channel key information
Information.
In the embodiment of the present invention, the cookies information received is stored in scheduled domain name using memory module, it is real
Show when running application program, obtained module by second and start view controller, has been accessed using view controller scheduled
Domain name to obtain cookies information from scheduled domain name, and then is directly obtained from cookies information and application program
Thus it is not accurate enough to solve the problems, such as that existing downloading channel identifies for corresponding downloading channel information.
Seventh embodiment of the invention provides a kind of server, as shown in fig. 6, including that memory 1, processor 2 and communication are total
Line 3;The communication bus 3 is for realizing the connection communication between processor 2 and memory 1;
Specifically, processor 2 can be general processor, such as central processing unit (Central in the embodiment of the present invention
Processing Unit, CPU), can also be digital signal processor (Digital Signal Processor, DSP), specially
With integrated circuit (English: Application Specific Integrated Circuit, ASIC), or it is arranged to
Implement one or more integrated circuits of the embodiment of the present invention.Wherein, memory is used to store the executable finger of the processor
It enables;
Memory 1 is transferred to processor for storing program code, and by the program code.Memory may include easy
The property lost memory (Volatile Memory), such as random access memory (Random Access Memory, RAM);Storage
Device also may include nonvolatile memory (Non-Volatile Memory), such as read-only memory (Read-Only
Memory, ROM), flash memory (Flash Memory), hard disk (Hard Disk Drive, HDD) or solid state hard disk
(Solid-State Drive, SSD);Memory can also include the combination of the memory of mentioned kind.
Specifically, the processor is used to execute under the recognition application stored in memory in the embodiment of the present invention
The program of channel is carried, the program of the recognition application downloading channel realizes following method step when being executed by the processor
It is rapid:
Step 1: generating corresponding cookies information according to the Web loose-leaf where application program;
Step 2: the cookies information is sent to terminal, to be stored in the predetermined domain name of terminal browser;Institute
The predetermined domain name for stating browser is identical as the domain name that the URL of Web loose-leaf is belonged to;
Step 3: receive terminal feedback when running the application program, obtained from the predetermined domain name of the browser
All cookies information obtained;
Step 4: the application program according to terminal operating, obtains from all cookies information and answers with described
With the corresponding downloading channel information of program.
Eighth embodiment of the invention provides a kind of terminal, in conjunction with Fig. 7, including memory 1, processor 2 and communication bus 3;
The communication bus 3 is for realizing the connection communication between processor 2 and memory 1;
Specifically, processor 2 can be general processor, such as central processing unit (Central in the embodiment of the present invention
Processing Unit, CPU), can also be digital signal processor (Digital Signal Processor, DSP), specially
With integrated circuit (English: Application Specific Integrated Circuit, ASIC), or it is arranged to
Implement one or more integrated circuits of the embodiment of the present invention.Wherein, memory is used to store the executable finger of the processor
It enables;
Memory 1 is transferred to processor for storing program code, and by the program code.Memory may include easy
The property lost memory (Volatile Memory), such as random access memory (Random Access Memory, RAM);Storage
Device also may include nonvolatile memory (Non-Volatile Memory), such as read-only memory (Read-Only
Memory, ROM), flash memory (Flash Memory), hard disk (Hard Disk Drive, HDD) or solid state hard disk
(Solid-State Drive, SSD);Memory can also include the combination of the memory of mentioned kind.
Specifically, the processor is used to execute under the recognition application stored in memory in the embodiment of the present invention
The program of channel is carried, the program of the recognition application downloading channel realizes following method step when being executed by the processor
It is rapid:
Step 1: the cookies information that server-side is sent is received when clicking downloading application program in Web loose-leaf,
The cookies information received is stored in the predetermined domain name of browser, and jumps to application shop, described in completing
The downloading of application program;The predetermined domain name of the browser is identical as the domain name that the URL of Web loose-leaf is belonged to;
Step 2: read scheduled URL when running the application program, according to the domain name of scheduled URL, obtain with
All cookies information in the identical predetermined domain name of the domain name of the scheduled URL;
Step 3: all cookies information of acquisition are sent to server-side.
Ninth embodiment of the invention provides a kind of storage medium, and computer program is stored on the storage medium, described
Following method and step is realized when computer program is executed by processor:
Step 1: generating corresponding cookies information according to the Web loose-leaf where application program;
Step 2: the cookies information is sent to terminal, to be stored in the predetermined domain name of terminal browser;Institute
The predetermined domain name for stating browser is identical as the domain name that the URL of Web loose-leaf is belonged to;
Step 3: receive terminal feedback when running the application program, obtained from the predetermined domain name of the browser
All cookies information obtained;
Step 4: the application program according to terminal operating, obtains from all cookies information and answers with described
With the corresponding downloading channel information of program.
Or realize following method and step:
Step 1: the cookies information that server-side is sent is received when clicking downloading application program in Web loose-leaf,
The cookies information received is stored in the predetermined domain name of browser, and jumps to application shop, described in completing
The downloading of application program;The predetermined domain name of the browser is identical as the domain name that the URL of Web loose-leaf is belonged to;
Step 2: read scheduled URL when running the application program, according to the domain name of scheduled URL, obtain with
All cookies information in the identical predetermined domain name of the domain name of the scheduled URL;
Step 3: all cookies information of acquisition are sent to server-side.
Tenth embodiment of the invention provides a kind of system of recognition application downloading channel, comprising: client and service
End;In conjunction with Fig. 8, still by taking IOS system as an example, specific identification process is as follows:
Server-side is used to make the Web loose-leaf that guidance user downloads App, and the URL of this Web loose-leaf belongs to Mr. Yu
A certain domain name, for example, Web loose-leaf URL domain name be .58.com.
According to the Web loose-leaf where application program, generates corresponding cookies information and be handed down to terminal;
Guide user in the button of this Web loose-leaf click downloading App by popularization activity.
For user while clicking button, server-side is by Web open interface API to the spy of terminal browser Safari
Cookies information is written in localization name, such as cookies information is written into the domain name of .58.com, and jump in Appstore
The page for the App to be downloaded;Wherein, cookies information includes: specific key value, for the key as identification channel;Channel
Value value, for identifying channel.
User downloads App in Appstore.
After any user opens App, App can execute preprepared code, implicitly (not show UI, i.e. User
Interface (user interface)) one SFSafariViewController of opening, and access make an appointment specific one
A to report URL, this URL and loose-leaf belong to the same certain domain name, such as belong to the domain name of .58.com.
Because SFSafariViewController and Safari has the same area characteristic that cookies is communicated under one's name,
SFSafariViewController can take all in .58.com domain name when access specifically reports URL
Cookies information.
Server-side reports URL to obtain all cookies information by what SFSafariViewController was accessed, passes through
App title or ID recycle specific key value to take from all cookies information acquisitions specific key value corresponding with App
The value value of channel in cookies information, to recognize the channel of the App of user's downloading.
By will include that the cookies information of downloading channel information is stored in the predetermined domain of terminal browser in the present invention
In name, when running App for the first time, then read all cookies information in predetermined domain name, according to cookies acquisition of information with
The corresponding downloading channel information of App accurately and reliably solves the problems, such as that App downloading channel cannot be accurately identified in the prior art.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form, all of these belong to the protection of the present invention.
Claims (14)
1. a kind of method of recognition application downloading channel, which is characterized in that described method includes following steps:
According to the Web loose-leaf where application program, cookies information corresponding with application program is generated;
The cookies information is sent to terminal, to be stored in the predetermined domain name of terminal browser;The browser it is pre-
Localization name is identical as the domain name that the uniform resource position mark URL of Web loose-leaf is belonged to;
What is obtained from the predetermined domain name of the browser when receiving the application program described in terminal operating of terminal feedback is all
Cookies information;
According to the application program of terminal operating, obtained from all cookies information corresponding with the application program
Downloading channel information.
2. the method for recognition application downloading channel described in claim 1, which is characterized in that by the cookies information
It is sent to terminal, to be stored in the predetermined domain name of terminal browser, is specifically included:
When user clicks the application program download button of Web loose-leaf, using the open interface of Web loose-leaf to described
The cookies information is written in the predetermined domain name of the browser of terminal;
The cookies information includes: and the corresponding channel key information of application program and corresponding with channel key information
Download channel information.
3. the method for recognition application downloading channel as claimed in claim 2, which is characterized in that the institute according to terminal operating
Application program is stated, downloading channel information corresponding with the application program is obtained from all cookies information, it is specific to wrap
It includes:
According to the application program of terminal operating, obtained from all cookies information corresponding with the application program
Channel key information, utilize the channel key information to obtain corresponding with channel key information downloading channel information.
4. a kind of method of recognition application downloading channel, which is characterized in that the described method includes:
When clicking downloading application program in Web loose-leaf, the cookies information that server-side is sent is received, by what is received
The cookies information is stored in the predetermined domain name of browser, and jumps to application shop, to complete the application program
Downloading;The predetermined domain name of the browser is identical as the domain name that the URL of Web loose-leaf is belonged to;
When running the application program, read scheduled URL, according to the domain name of scheduled URL, obtain with it is described scheduled
All cookies information in the identical predetermined domain name of the domain name of URL;
All cookies information of acquisition are sent to server-side.
5. the method for recognition application downloading channel as claimed in claim 4, which is characterized in that the cookies information
Including and the corresponding channel key information of application program and downloading channel information corresponding with channel key information.
6. a kind of device of recognition application downloading channel characterized by comprising
Generation module, for generating corresponding cookies information according to the Web loose-leaf where application program;
First sending module, for the cookies information to be sent to terminal, to be stored in the predetermined domain name of terminal browser
In;The predetermined domain name of the browser is identical as the domain name that the URL of Web loose-leaf is belonged to;
Receiving module, for receive terminal feedback when running the application program, from the predetermined domain name of the browser
All cookies information obtained;
First obtain module, for according to terminal operating the application program, from all cookies information obtain with
The corresponding downloading channel information of the application program.
7. the device of recognition application downloading channel as claimed in claim 6, which is characterized in that the sending module, tool
Body is used for: when user clicks the application program download button of Web loose-leaf, using the open interface of Web loose-leaf to
The cookies information is written in the predetermined domain name of the browser of the terminal;The cookies information includes and application program
Corresponding channel key information, and downloading channel information corresponding with channel key information.
8. the device of recognition application downloading channel as claimed in claim 6, which is characterized in that the acquisition module, tool
Body is used for, and according to the application program of terminal operating, is obtained and the application program pair from all cookies information
The channel key information answered obtains downloading channel information corresponding with channel key information using the channel key information.
9. a kind of device of recognition application downloading channel characterized by comprising
Memory module when for clicking downloading application program in Web loose-leaf, receives the cookies letter that server-side is sent
Breath, the cookies information received is stored in the predetermined domain name of browser, and jump to application shop, to complete
The downloading of the application program;The predetermined domain name of the browser and the uniform resource position mark URL of Web loose-leaf are belonged to
Domain name it is identical;
Second obtains module, for when running the application program, reads scheduled URL, according to the domain name of scheduled URL,
Obtain all cookies information in the predetermined domain name identical with the domain name of the scheduled URL;
Second sending module, for all cookies information obtained to be sent to server-side.
10. the device of recognition application downloading channel as claimed in claim 9, which is characterized in that the cookies information
Including channel key information corresponding with application program, and downloading channel information corresponding with channel key information.
11. a kind of server, which is characterized in that the server includes memory, processor and is stored on the memory
And the computer program that can be run on the processor, such as right is realized when the computer program is executed by the processor
It is required that the step of method of the downloading channel of recognition application described in any one of 1-3.
12. a kind of terminal, which is characterized in that the terminal includes: memory, processor and is stored on the memory and can
The computer program run on the processor realizes such as claim when the computer program is executed by the processor
Recognition application described in any one of 4-5 downloads the step of method of channel.
13. a kind of storage medium, which is characterized in that be stored with computer program, the computer program on the storage medium
The step of the method for the recognition application downloading channel as described in any one of claim 1-3 is realized when being executed by processor
Suddenly.
14. a kind of storage medium, which is characterized in that be stored with computer program, the computer program on the storage medium
The step of the method for the recognition application downloading channel as described in any one of claim 4-5 is realized when being executed by processor
Suddenly.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811203970.6A CN109471638B (en) | 2018-10-16 | 2018-10-16 | Method for identifying application program downloading channel and related equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811203970.6A CN109471638B (en) | 2018-10-16 | 2018-10-16 | Method for identifying application program downloading channel and related equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109471638A true CN109471638A (en) | 2019-03-15 |
CN109471638B CN109471638B (en) | 2021-08-20 |
Family
ID=65665108
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811203970.6A Active CN109471638B (en) | 2018-10-16 | 2018-10-16 | Method for identifying application program downloading channel and related equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109471638B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112256520A (en) * | 2020-09-17 | 2021-01-22 | 北京一亩田新农网络科技有限公司 | Method and device for monitoring webpage publishing channel of application program |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102682009A (en) * | 2011-03-11 | 2012-09-19 | 腾讯科技(北京)有限公司 | Method and system for logging in webpage |
US20150350179A1 (en) * | 2014-05-30 | 2015-12-03 | Canon Kabushiki Kaisha | Authority transfer system, method, and authentication server system |
CN106375411A (en) * | 2016-08-30 | 2017-02-01 | 乐视控股(北京)有限公司 | Method and device for acquiring operation data of browser |
-
2018
- 2018-10-16 CN CN201811203970.6A patent/CN109471638B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102682009A (en) * | 2011-03-11 | 2012-09-19 | 腾讯科技(北京)有限公司 | Method and system for logging in webpage |
US20150350179A1 (en) * | 2014-05-30 | 2015-12-03 | Canon Kabushiki Kaisha | Authority transfer system, method, and authentication server system |
CN106375411A (en) * | 2016-08-30 | 2017-02-01 | 乐视控股(北京)有限公司 | Method and device for acquiring operation data of browser |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112256520A (en) * | 2020-09-17 | 2021-01-22 | 北京一亩田新农网络科技有限公司 | Method and device for monitoring webpage publishing channel of application program |
CN112256520B (en) * | 2020-09-17 | 2023-12-15 | 北京一亩田新农网络科技有限公司 | Method and device for monitoring webpage distribution channel of application program |
Also Published As
Publication number | Publication date |
---|---|
CN109471638B (en) | 2021-08-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109471738A (en) | A kind of application program downloads recognition methods and the relevant device of channel | |
CN106294614B (en) | Method and apparatus for accessing business | |
CN103944944B (en) | Method, electronic equipment and the system of sharing web page link | |
CN106648643A (en) | Method and device for generating channel package, terminal and server | |
CN107832099A (en) | A kind of client release compatible method, apparatus and storage medium | |
CN105141605B (en) | Session method, Website server and browser | |
CN111275205B (en) | Virtual sample generation method, terminal equipment and storage medium | |
CN109144842A (en) | Method and apparatus for test application | |
CN114785685B (en) | Software differential upgrading method and device, electronic equipment and readable storage medium | |
CN106874471A (en) | Information-pushing method and device | |
CN109492181A (en) | Method for page jump, device, computer equipment and storage medium | |
CN110457628A (en) | Webpage edition correcting method, device, equipment and storage medium | |
CN109376534A (en) | Method and apparatus for detecting application | |
CN109598131A (en) | A kind of file upload, method for down loading, device, electronic equipment and storage medium | |
CN109471638A (en) | The method and relevant device of recognition application downloading channel | |
CN109145194A (en) | The acquisition method and device of user behavior data | |
CN109977675A (en) | A kind of open source software recognition methods and device | |
CN111159464A (en) | Audio clip detection method and related equipment | |
CN111274433A (en) | Method and device for updating voice resource library | |
US20060112299A1 (en) | Implementing application specific management policies on a content addressed storage device | |
CN113127370A (en) | Report system smoking test method, RPA robot and system | |
CN108306937B (en) | Sending method and obtaining method of short message verification code, server and storage medium | |
CN111932178A (en) | Method, device, server and system for processing product logistics information | |
CN105847516A (en) | Method and device for managing contact person information | |
Senol et al. | Unveiling the Impact of User-Agent Reduction and Client Hints: A Measurement Study |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |