CN109600417B - Method, device, equipment and system for tracking application access - Google Patents

Method, device, equipment and system for tracking application access Download PDF

Info

Publication number
CN109600417B
CN109600417B CN201811299601.1A CN201811299601A CN109600417B CN 109600417 B CN109600417 B CN 109600417B CN 201811299601 A CN201811299601 A CN 201811299601A CN 109600417 B CN109600417 B CN 109600417B
Authority
CN
China
Prior art keywords
domain name
target application
identifier
server
access
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811299601.1A
Other languages
Chinese (zh)
Other versions
CN109600417A (en
Inventor
吴建雷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced Nova Technology Singapore Holdings Ltd
Original Assignee
Advanced New Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Advanced New Technologies Co Ltd filed Critical Advanced New Technologies Co Ltd
Priority to CN201811299601.1A priority Critical patent/CN109600417B/en
Publication of CN109600417A publication Critical patent/CN109600417A/en
Application granted granted Critical
Publication of CN109600417B publication Critical patent/CN109600417B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/535Tracking the activity of the user
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]

Abstract

The embodiment of the specification discloses a method, a device, equipment and a system for tracking application access, wherein the method comprises the following steps: sending an access tracking request of a target application to a server, wherein the access tracking request comprises an identifier of the target application, receiving a domain name identifier returned by the server according to the access tracking request, combining the domain name identifiers returned by the server into a domain name according to a preset domain name combination rule, performing domain name resolution processing on the combined domain name, and determining whether the domain name is accessed by the target application according to the resolution condition of the domain name.

Description

Method, device, equipment and system for tracking application access
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a system for tracking application access.
Background
With the continuous development of terminal technology and network technology, it is becoming an important way in information promotion and testing to promote information (e.g. information about events or advertisements to be held by a website) or to test some related items (e.g. detecting the authenticity of a certain web page conversion rate or the authenticity of a user purchasing a certain product) to users through a network. In order to better promote the relevant information to the user or test some relevant item, an application access (or link) tracking mechanism can be set to track or record the links opened or used by the user or the application, and the like.
Generally, many organizations or organizations track links by collecting device fingerprint data, where the device fingerprint data belongs to system-level data, and for some system-level data, an application program is not authorized to access, so to implement the tracking manner, a corresponding operating system provider needs to set a corresponding program interface for the application program, for example, for an Android operating system in a mobile phone operating system, the Android operating system supports the requirement of tracking a specific link through an API interface provided by Google Play. However, tracking a link by collecting device fingerprint data is very easily limited by anti-privacy tracking such as sandbox in an operating system, and therefore, in practical applications, a detailed scheme of a link tracking mechanism in an application program needs to be continuously adjusted to enable the link tracking mechanism to normally work in a new operating system or a running environment, so that link tracking has a great limitation, and the link tracking effect is poor.
Disclosure of Invention
An object of the embodiments of the present disclosure is to provide a method, an apparatus, a device, and a system for tracking application access, so as to provide an application access tracking scheme that can break through anti-privacy tracking restrictions in an operating system and has a better effect.
In order to solve the above technical problem, the embodiments of the present specification are implemented as follows:
an embodiment of the present specification provides a method for tracking application access, where the method includes:
sending an access tracking request of a target application to a server, wherein the access tracking request comprises an identifier of the target application;
receiving a domain name identifier returned by the server according to the access tracking request;
combining the domain name identifications returned by the server into a domain name according to a preset domain name combination rule;
and performing domain name resolution processing on the combined domain name, and determining whether the domain name is accessed by the target application according to the resolution condition of the domain name.
In this embodiment, the access tracking request further includes IP address information for accessing the server,
the receiving the domain name identifier returned by the server according to the access tracking request includes:
and receiving the domain name identifier returned by the server according to the identifier of the target application and the IP address information.
In this embodiment of this specification, the performing domain name resolution processing on the combined domain name, and determining whether the domain name is accessed by the target application according to a resolution condition of the domain name includes:
monitoring whether to initiate UDP connection for analyzing the domain name or not in the process of performing domain name analysis processing on the combined domain name;
and if the UDP connection is not monitored to be initiated, determining that the domain name is accessed by the target application.
In this embodiment of this specification, the performing domain name resolution processing on the combined domain name, and determining whether the domain name is accessed by the target application according to a resolution condition of the domain name includes:
performing domain name resolution processing on the combined domain name, and determining the domain name resolution duration of the domain name;
and if the domain name resolution time of the domain name is less than a preset time threshold, determining that the domain name is accessed by the target application.
In an embodiment of this specification, the method further includes:
sending a domain name identifier storage request to the server, wherein the domain name identifier storage request comprises the identifier of the target application and the domain name identifier, so that the server correspondingly stores the identifier of the target application and the domain name identifier;
wherein, the access tracking request and the domain name identification storage request are respectively sent by different applications.
In this embodiment of this specification, the sending a domain name identifier storage request to the server includes:
and performing domain name resolution processing on the domain name, caching resolution information of the domain name, and sending a domain name identifier storage request to the server.
In this embodiment, the domain name includes the domain name identifier.
An embodiment of the present specification provides a method for tracking application access, where the method includes:
receiving an access tracking request of a target application sent by a terminal device, wherein the access tracking request comprises an identifier of the target application;
acquiring a domain name identifier corresponding to the access tracking request according to the identifier of the target application;
sending the obtained domain name identifier to the terminal device, so that the terminal device combines the obtained domain name identifiers into a domain name according to a preset domain name combination rule, performs domain name resolution processing on the combined domain name, and determines whether the domain name is accessed by the target application according to the resolution condition of the domain name.
In an embodiment of this specification, before receiving a domain name identifier acquisition request sent by a terminal device, the method further includes:
receiving a domain name identifier storage request sent by a first application in the terminal device, wherein the domain name identifier storage request comprises an identifier of the target application and the domain name identifier, and the first application is the same as or different from the target application;
correspondingly storing the identifier of the target application and the domain name identifier;
the receiving of the access tracking request of the target application sent by the terminal device includes:
and receiving an access tracking request of a target application sent by a second application in the terminal equipment.
In this embodiment of the present specification, the access tracking request further includes IP address information used by the terminal device for access,
the obtaining, according to the identifier of the target application, a domain name identifier corresponding to the access tracking request includes:
and acquiring a domain name identifier corresponding to the access tracking request according to the identifier of the target application and the IP address information.
An embodiment of the present specification provides a method for tracking application access, where the method includes:
sending an access tracking request of a target application to a server, wherein the access tracking request comprises an identifier of the target application;
receiving a domain name returned by the server according to the access tracking request;
and performing domain name resolution processing on the domain name returned by the server, and determining whether the domain name is accessed by the target application according to the resolution condition of the domain name.
In this embodiment, the access tracking request further includes IP address information for accessing the server,
the receiving the domain name returned by the server according to the access tracking request includes:
and receiving the domain name returned by the server according to the identification of the target application and the IP address information.
In this embodiment of this specification, the performing domain name resolution processing on the domain name returned by the server, and determining whether the domain name is accessed by the target application according to a resolution condition of the domain name includes:
monitoring whether to initiate UDP connection for analyzing the domain name or not in the process of performing domain name analysis processing on the domain name returned by the server;
and if the UDP connection is not monitored to be initiated, determining that the domain name is accessed by the target application.
In this embodiment of this specification, the performing domain name resolution processing on the domain name returned by the server, and determining whether the domain name is accessed by the target application according to a resolution condition of the domain name includes:
performing domain name resolution processing on the domain name returned by the server, and determining the domain name resolution duration of the domain name;
and if the domain name resolution time of the domain name is less than a preset time threshold, determining that the domain name is accessed by the target application.
An embodiment of the present specification provides a method for tracking application access, where the method includes:
receiving an access tracking request of a target application sent by a terminal device, wherein the access tracking request comprises an identifier of the target application;
acquiring a domain name corresponding to the access tracking request according to the identifier of the target application;
and sending the acquired domain name to the terminal equipment so that the terminal equipment performs domain name resolution processing on the acquired domain name, and determining whether the domain name is accessed by the target application according to the resolution condition of the domain name.
In this embodiment of this specification, the obtaining, according to the identifier of the target application, a domain name corresponding to the access tracking request includes:
acquiring a domain name identifier corresponding to the identifier of the target application according to the identifier of the target application;
and acquiring the domain name corresponding to the domain name identifier.
In this embodiment, the domain name includes the domain name identifier.
In this embodiment of the present specification, the access tracking request further includes IP address information used by the terminal device for access,
acquiring a domain name identifier corresponding to the identifier of the target application according to the identifier of the target application, wherein the acquiring comprises the following steps:
and acquiring a domain name identifier corresponding to the identifier of the target application and the IP address information.
An apparatus for tracking application access provided by an embodiment of the present specification, the apparatus includes:
the system comprises a first request sending module, a first tracking module and a second request sending module, wherein the first request sending module is used for sending an access tracking request of a target application to a server, and the access tracking request comprises an identifier of the target application;
the identification receiving module is used for receiving the domain name identification returned by the server according to the access tracking request;
a domain name obtaining module, configured to combine the domain name identifiers returned by the server into a domain name according to a predetermined domain name combination rule;
and the processing module is used for carrying out domain name resolution processing on the combined domain name and determining whether the domain name is accessed by the target application according to the resolution condition of the domain name.
An apparatus for tracking application access provided by an embodiment of the present specification, the apparatus includes:
the first request receiving module is used for receiving an access tracking request of a target application sent by a terminal device, wherein the access tracking request comprises an identifier of the target application;
the identification acquisition module is used for acquiring a domain name identification corresponding to the access tracking request according to the identification of the target application;
and the identifier sending module is used for sending the acquired domain name identifier to the terminal equipment so as to enable the terminal equipment to combine the acquired domain name identifier into a domain name according to a preset domain name combination rule, perform domain name resolution processing on the combined domain name, and determine whether the domain name is accessed by the target application according to the resolution condition of the domain name.
An apparatus for tracking application access provided by an embodiment of the present specification, the apparatus includes:
the system comprises a first request sending module, a first tracking module and a second request sending module, wherein the first request sending module is used for sending an access tracking request of a target application to a server, and the access tracking request comprises an identifier of the target application;
a domain name receiving module, configured to receive a domain name returned by the server according to the access tracking request;
and the processing module is used for carrying out domain name resolution processing on the domain name returned by the server and determining whether the domain name is accessed by the target application or not according to the resolution condition of the domain name.
An apparatus for tracking application access provided by an embodiment of the present specification, the apparatus includes:
the first request receiving module is used for receiving an access tracking request of a target application sent by a terminal device, wherein the access tracking request comprises an identifier of the target application;
a domain name obtaining module, configured to obtain a domain name corresponding to the access tracking request according to the identifier of the target application;
and the domain name sending module is used for sending the acquired domain name to the terminal equipment so as to enable the terminal equipment to perform domain name resolution processing on the acquired domain name, and determining whether the domain name is accessed by the target application according to the resolution condition of the domain name.
An apparatus for tracking application access provided by an embodiment of the present specification, includes:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
sending an access tracking request of a target application to a server, wherein the access tracking request comprises an identifier of the target application;
receiving a domain name identifier returned by the server according to the access tracking request;
combining the domain name identifications returned by the server into a domain name according to a preset domain name combination rule;
and performing domain name resolution processing on the combined domain name, and determining whether the domain name is accessed by the target application according to the resolution condition of the domain name.
An apparatus for tracking application access provided by an embodiment of the present specification, includes:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
receiving an access tracking request of a target application sent by a terminal device, wherein the access tracking request comprises an identifier of the target application;
acquiring a domain name identifier corresponding to the access tracking request according to the identifier of the target application;
sending the obtained domain name identifier to the terminal device, so that the terminal device combines the obtained domain name identifiers into a domain name according to a preset domain name combination rule, performs domain name resolution processing on the combined domain name, and determines whether the domain name is accessed by the target application according to the resolution condition of the domain name.
An apparatus for tracking application access provided by an embodiment of the present specification, includes:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
sending an access tracking request of a target application to a server, wherein the access tracking request comprises an identifier of the target application;
receiving a domain name returned by the server according to the access tracking request;
and performing domain name resolution processing on the domain name returned by the server, and determining whether the domain name is accessed by the target application according to the resolution condition of the domain name.
An apparatus for tracking application access provided by an embodiment of the present specification, includes:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
receiving an access tracking request of a target application sent by a terminal device, wherein the access tracking request comprises an identifier of the target application;
acquiring a domain name corresponding to the access tracking request according to the identifier of the target application;
and sending the acquired domain name to the terminal equipment so that the terminal equipment performs domain name resolution processing on the acquired domain name, and determining whether the domain name is accessed by the target application according to the resolution condition of the domain name.
The system for tracking application access provided by the embodiment of the specification comprises a terminal device and a server, wherein:
the terminal device is used for sending an access tracking request of a target application to a server, wherein the access tracking request comprises an identifier of the target application;
the server is used for acquiring a domain name identifier corresponding to the access tracking request according to the identifier of the target application and sending the acquired domain name identifier to the terminal equipment;
the terminal device is further configured to combine the domain name identifiers returned by the server into a domain name according to a predetermined domain name combination rule, perform domain name resolution processing on the combined domain name, and determine whether the domain name is accessed by the target application according to a resolution condition of the domain name.
The system for tracking application access provided by the embodiment of the specification comprises a terminal device and a server, wherein:
the terminal device is used for sending an access tracking request of a target application to a server, wherein the access tracking request comprises an identifier of the target application;
the server is used for acquiring a domain name corresponding to the access tracking request according to the identification of the target application and sending the acquired domain name to the terminal equipment;
the terminal device is further configured to perform domain name resolution processing on the domain name returned by the server, and determine whether the domain name is accessed by the target application according to a resolution condition of the domain name.
As can be seen from the above technical solutions provided by the embodiments of the present specification, in the embodiments of the present specification, an access tracking request of a target application including an identifier of the target application is sent to a server, a domain identifier corresponding to the access tracking request returned by the server is received, then, the domain identifier returned by the server is combined into a domain name according to a predetermined domain name combination rule, a domain name resolution process is performed on the domain name, and whether the domain name is accessed by the target application is determined according to a resolution condition of the domain name, so that, by setting corresponding domain name identifiers for different links or domain names in advance, when determining which links or domain names are opened or accessed by a user through the target application, the domain name identifiers can be obtained from the server, and further, according to the predetermined domain name combination rule, the combined domain name is determined, and according to a resolution condition of the domain name in a domain name resolution process, whether the domain name is resolved before is judged, and therefore whether a user opens or accesses the domain name or a corresponding link through a target application is judged, system-level data such as equipment fingerprint information does not need to be acquired in the whole processing process, the limitation of anti-privacy tracking such as sandbox in an operating system is not easy to cause, the whole scheme is not influenced even if the operating system is replaced with a new operating system, and in addition, the domain name resolution information caching is considered to be a necessary step in a computer system, so the processing process of the scheme cannot be prevented by the system, and the effect of application access tracking is good and stable.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present specification, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative effort.
FIG. 1 is a flow diagram illustrating one embodiment of a method for tracking application access;
FIG. 2 is another embodiment of a method for tracking application access according to the present disclosure;
FIG. 3 is a flowchart of yet another embodiment of a method for tracking application access;
FIG. 4 is a block diagram illustrating a system for tracking application access according to the present disclosure;
FIG. 5 is a flowchart of yet another embodiment of a method for tracking application access;
FIG. 6 is a flowchart of yet another embodiment of a method for tracking application access;
FIG. 7 is a block diagram illustrating an alternative system for tracking application access;
FIG. 8 is a flowchart of yet another embodiment of a method for tracking application access;
FIG. 9 is a flowchart of yet another embodiment of a method for tracking application access;
FIG. 10 is a flowchart of yet another embodiment of a method for tracking application access;
FIG. 11 is a flowchart of yet another embodiment of a method for tracking application access;
FIG. 12 is an embodiment of an apparatus for tracking application access according to the present disclosure;
FIG. 13 is another embodiment of an apparatus for tracking application access in accordance with the teachings of the present disclosure;
FIG. 14 is an embodiment of an apparatus for tracking application access according to yet another embodiment of the present disclosure;
FIG. 15 is an embodiment of an apparatus for tracking application access consistent with the principles of the invention;
FIG. 16 is an embodiment of an apparatus for tracking application access in accordance with the present disclosure;
FIG. 17 is another embodiment of an apparatus for tracking application access in accordance with the teachings of the present disclosure.
Detailed Description
The embodiment of the specification provides a method, a device, equipment and a system for tracking application access.
In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present specification, and not all of the embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments in the present specification without any inventive step should fall within the scope of protection of the present specification.
Example one
As shown in fig. 1, an embodiment of the present specification provides a method for tracking application access, where an execution subject of the method may be a terminal device, where the terminal device may be a mobile terminal device such as a mobile phone or a tablet computer, and may also be a device such as a personal computer. The method can be used for detecting which links or domain names are accessed by the user through the terminal equipment so as to facilitate subsequent related information popularization or access detection and the like. The method may specifically comprise the steps of:
in step S102, an access tracking request of the target application is sent to the server, where the access tracking request includes an identifier of the target application.
In practical application, the server may also be a server for performing data scheduling, and the server may also be connected to a database, and the server may store some data in a corresponding location in the database. The target application may be any application such as a browser, an instant messaging application, or a shopping application. The identification of the target application may include a name or code of the target application, and may further include, for example, User Agent (UA) information, i.e., information that may be used to identify an operating system and version, a CPU type and browser and version, and the like used by the User.
In implementation, with the continuous development of terminal technology and network technology, a service provided by a server that uses an application installed in a terminal device (such as a mobile phone or a computer) to access a certain service through a network becomes an important way for service processing in various industries, and the application accesses the service through the network, which may have a certain risk, for example, a certain application may access system-level data during the use process, and for some system-level data, the application is not authorized to access, and therefore, a sandbox is usually arranged in the terminal device. The sandbox is a protection mechanism provided by an operating system of the terminal device for isolating application data of an application program and preventing the application program from accessing system-level data beyond right, and a browser or other application programs can be operated in a virtual execution environment provided by the sandbox through the sandbox, wherein changes generated in the operation process of the application programs can be deleted, so that the sandbox creates an independent operation environment, the application programs operated in the sandbox cannot permanently influence storage devices (such as hard disks and the like), and the sandbox can be used as an independent virtual environment for testing untrusted application programs or internet surfing behaviors and the like.
Generally, in order to better promote relevant information to users (for example, information about events or advertisements to be held by a certain website, etc.), or to perform tests on a certain relevant item (for example, to detect the authenticity of a certain webpage conversion rate or the authenticity of a certain product purchased by a user, etc.), etc., a domain name (or link) tracking mechanism may be provided, i.e. it can be detected by some application whether the user opens or uses some specified domain name or link, or, the domain name or link opened or used by the user, etc., is tracked or recorded by the operating system, e.g., many organizations or organizations track domain names or links by collecting device fingerprint data, wherein, the device fingerprint data belongs to system level data, in order to realize the tracking mode, the operating system provider needs to set a corresponding program interface for the device fingerprint data, for example, for the Android operating system in the mobile phone operating system, the Android operating system supports the above requirement of tracking the specified domain name or link through the API interface provided by Google Play. However, tracking a domain name or a link by collecting device fingerprint data is very easily limited by anti-privacy tracking in an operating system such as the sandbox, and therefore, in practical applications, it is necessary to continuously adjust a detail scheme of a domain name tracking mechanism in an application program to enable the domain name tracking mechanism to normally operate in a new operating system or a new operating environment, so that domain name or link tracking has a great limitation, and for this reason, embodiments of the present specification provide a technical solution that can solve the above problem, which may specifically include the following:
considering that the domain name or link to be tracked may include a plurality of domain names or links, and based on the above, if a domain name or link is directly tracked, it is likely to be limited by the anti-privacy tracking in the operating system, such as the sandbox, etc., therefore, a corresponding domain name identifier may be set for the domain name or link to be tracked, and different domain names or links may be set with different domain name identifiers. A server for storing a domain name identifier may be preset, considering that domain name or link tracking may be performed through device fingerprint data in general, and since the device fingerprint data belongs to system level data, and system level data may be limited to some extent when an application program acquires the system level data, for this reason, other manners may be used to perform domain name or link tracking, in this specification, a domain name or link tracking may be performed using a name, a code, User Agent (UA) information, and the like of a target application, based on which, a domain name identifier corresponding to a domain name to be tracked, and a name, a code, User Agent (UA) information, and the like of the target application accessing the domain name may be sent to the server through a certain application program, and the server may store the domain name identifier in correspondence with the identifier of the target application, where, the same identification of the target application may correspond to a plurality of different domain name identifications, as shown in table 1 below.
TABLE 1
Domain name label (code) Identification of applications
123 UA1
Abc UA1
ck547 UA1
q564 UA2
mnfkd UA2
When it is required to detect whether a user opens or uses a domain name or a link through a target application, an application installed in a terminal device may be started, after the application is started, the target application (such as the UA or the name) may be acquired, an access tracking request of the target application may be generated by using the target application, and the access tracking request of the target application may be sent to a server, and the server may receive the access tracking request of the target application.
It should be noted that, the server may store the domain name identifier and the target application in the above manner, and may also store the domain name identifier, the identifier of the target application, and the domain name (or link) correspondingly.
In step S104, the domain name identifier returned by the server according to the access tracking request is received.
In implementation, after receiving an access tracking request of a target application sent by a terminal device through an application program, a server may extract an identifier of the target application included in the access tracking request, and then may search, according to the extracted identifier of the target application, a domain name identifier corresponding to the extracted identifier of the target application from the stored correspondence between the identifier of the target application and the domain name identifier, and may use the searched domain name identifier as the domain name identifier corresponding to the access tracking request. For example, the identifier of the target application extracted from the domain name identifier obtaining request by the server is UA1, and then the server may look up the domain name identifiers corresponding to UA1, i.e. 123, Abc, and ck547, in the correspondence as shown in table 1 above. Then, the server may send the domain name identifier corresponding to the identifier of the target application to a corresponding application program of the terminal device, and the corresponding application program of the terminal device may receive the domain name identifier sent by the server.
In step S106, the domain name identifications returned by the server are combined into a domain name according to a predetermined domain name combination rule.
The predetermined domain name combination rule may be set according to an actual situation, and the domain name combination rule may be a rule for combining a domain name identifier with a predetermined domain name, where the predetermined domain name may be a pre-specified domain name, and the specified domain name may include one or more (e.g., 3 or 5) domain names, it should be noted that, in order to reduce the processing pressure of the terminal device, the number of the specified domain names is not too large, a corresponding threshold (e.g., 10 or 8 domain names, etc.) may be preset according to the performance of the terminal device, and the number of the specified domain names may not exceed the threshold. The specified domain name may be specifically a.com, b.cn, c.net, or the like, which is not limited in this specification. The domain name in this embodiment may be a domain name including a domain name identifier, which may be a link or a domain name that needs to be tracked, and may be a new domain name (which may be referred to as a combined domain name) obtained by combining a predetermined domain name set in a domain name combination rule with a corresponding domain name identifier, for example, if the predetermined domain name set in the domain name combination rule is b.com and the domain name identifier is 123, the combined domain name obtained by the predetermined domain name combination rule may be 123.b.com, and the like, and the way of combining the new domain name in actual application is not limited to the above one, and may include a plurality of ways, and may be specifically processed according to the way specified in the domain name combination rule, and regardless of which combination way is used, the combined domain name needs to satisfy the following condition: the combined domain name is a resolvable domain name.
In implementation, the domain name combination rule may be provided to the terminal device in advance, specifically, the domain name combination rule may be written in a program code of an application program, or the domain name combination rule may be stored as an independent file in a predetermined storage area of the terminal device, or the like. When the terminal device obtains the domain name identifier through the processing in step S104, it may obtain a pre-stored domain name combination rule or a processing mechanism for running the domain name combination rule by running a corresponding program code in the application program, and then may arbitrarily select one domain name identifier from the obtained domain name identifiers, and combine the selected domain name identifiers into a new domain name through the processing mechanism for the domain name combination rule, based on the above example, if the domain name identifier is 123, the domain names obtained through the predetermined domain name combination rule may be 123.b.com, 123.c.com, and the like.
In step S108, a domain name resolution process is performed on the combined domain name, and it is determined whether the domain name is accessed by the target application according to the resolution condition of the domain name.
The resolution condition of the domain name may be a condition indicated by related information generated in the process of performing domain name resolution on a certain domain name, for example, sending a domain name resolution request (the indicated condition may include performing domain name resolution on a certain domain name, and the like), initiating a domain name resolution connection (the indicated condition may include that domain name resolution needs to be performed on a certain domain name, and the like), a domain name resolution duration (the indicated condition may include that domain name resolution is performed on a certain domain name, and the like), and the like.
In the implementation, the domain name or the link is not directly recognizable to the computer system, and different terminal devices exchange information through the IP address, so the domain name or the link needs to be converted into the IP address. Specifically, when a user clicks a certain link, the terminal device of the user first sends a domain name resolution request carrying the link to the domain name resolution server, the domain name resolution server searches for an IP address corresponding to the link and sends the IP address to the terminal device, and then the terminal device requests the corresponding server for web page data corresponding to the link through the IP address again. In addition, the terminal device (or a corresponding gateway, etc.) may cache the domain name resolution information (including a corresponding IP address, etc.) linked in the domain name resolution process.
After the terminal device acquires the combined domain name, it may try to perform domain name resolution on the domain name, and collect or record the domain name resolution condition in the domain name resolution process. Whether the domain name resolution information is cached in the terminal equipment can be determined through analyzing the domain name resolution condition. For example, it may be tried to perform domain name resolution on a combined domain name, and it may be monitored whether the terminal device sends a domain name resolution request for the domain name to a preset domain name resolution server, and if it is monitored that the terminal device sends the domain name resolution request for the domain name to the domain name resolution server, it indicates that resolution information of the domain name is not cached in the terminal device, that is, the terminal device has not resolved the combined domain name before, so that it may be determined that a corresponding user has not opened or used the domain name or a corresponding link through a target application, and at this time, the domain name or the corresponding link may be marked. If the fact that the terminal device sends the domain name resolution request of the domain name to the domain name resolution server is not monitored, the fact that resolution information of the domain name is cached in the terminal device is indicated, namely the domain name is resolved by the terminal device before, so that the fact that the corresponding user opens or uses the domain name or a corresponding link through target application can be judged, at the moment, the next domain name identification can be continuously obtained, the domain name identifications are combined into the domain name according to a preset domain name combination rule, and the processing is executed until all processing of the domain name identifications returned by the server is completed.
It should be noted that the specific processing manner for determining whether the terminal device caches the resolution information of the domain name according to the domain name resolution condition is not limited to the foregoing implementation manner, and in practical applications, the specific processing manner may further include multiple implementation manners, which may be specifically set according to practical situations, and this is not limited in this embodiment of the present specification.
As shown in fig. 2, an execution subject of the method may be a server, where the server may be an independent server, or a server cluster composed of multiple servers, and the server may be a background server of a certain website (such as an online shopping website or a shopping application), and the like. The method can be used for detecting which links or domain names are accessed by the user through the terminal equipment so as to facilitate subsequent related information popularization or access detection and the like. The method may specifically comprise the steps of:
in step S202, an access tracking request of a target application sent by a terminal device is received, where the access tracking request includes an identifier of the target application.
In step S204, a domain name identifier corresponding to the domain name identifier obtaining request is obtained according to the identifier of the target application.
In step S206, the domain name identifier is sent to the terminal device, so that the terminal device combines the obtained domain name identifiers into a domain name according to a predetermined domain name combination rule, performs domain name resolution processing on the combined domain name, and determines whether the domain name is accessed by a target application according to a resolution condition of the domain name.
For the specific processing procedure of the step S202 to the step S206, reference may be made to the relevant contents of the step S102 to the step S108, and details are not repeated here.
The embodiment of the specification provides a method for tracking application access, which comprises the steps of sending an access tracking request of a target application comprising a target application identifier to a server, receiving a domain name identifier corresponding to the access tracking request returned by the server, combining the domain name identifiers returned by the server into a domain name according to a preset domain name combination rule, carrying out domain name resolution processing on the domain name, and determining whether the domain name is accessed by the target application according to the resolution condition of the domain name, so that corresponding domain name identifiers are preset for different links or domain names, when determining which links or domain names are opened or accessed by a user through the target application, the domain name identifiers can be obtained from the server, further the combined domain name is determined according to the preset domain name combination rule, and the resolution condition of the domain name in the domain name resolution processing process is utilized, whether the domain name is resolved before is judged, and therefore whether a user opens or accesses the domain name or a corresponding link through a target application is judged, system-level data such as equipment fingerprint information does not need to be acquired in the whole processing process, the limitation of anti-privacy tracking such as sandbox in an operating system is not easy to cause, the whole scheme is not influenced even if the operating system is replaced with a new operating system, and in addition, the domain name resolution information caching is considered to be a necessary step in a computer system, so the processing process of the scheme cannot be prevented by the system, and the effect of application access tracking is good and stable.
Example two
As shown in fig. 3, the present specification provides a method for tracking application access, which may be performed by a terminal device and a server together, where the terminal device may be a mobile terminal device such as a mobile phone or a tablet computer, and may also be a device such as a personal computer. The server may be an independent server or a server cluster composed of a plurality of servers, and the server may be a background server of a certain website (such as an online shopping website or a shopping application). The method can be used for detecting which links or domain names are accessed by the user through the terminal equipment so as to facilitate subsequent related information popularization or access detection and the like. The method may specifically comprise the steps of:
in step S302, the terminal device sends a domain name identifier storage request to the server, where the domain name identifier storage request includes an identifier of the target application and a domain name identifier.
In addition, the domain name identifier storage request may include, in addition to the above information, IP address information of the access server, and then the processing of step S302 may be: the terminal equipment sends a domain name identification storage request to the server, wherein the domain name identification storage request comprises the identification of the target application, the domain name identification and the IP address information of the access server.
It should be noted that the storage request of the domain name identifier is only for indicating a purpose that needs to be achieved, and in practical applications, the request sent by the terminal device to the server is not limited to the storage request of the domain name identifier, and the storage of the domain name identifier may also be triggered by other requests, for example, the storage of the domain name identifier is triggered by an access request of a user accessing a domain name (i.e., a combined domain name) corresponding to the domain name identifier or a link, and the like.
The specific processing of step S302 may be various, and the following provides an optional processing manner, which may specifically include the following: and performing domain name resolution processing on the combined domain name, caching resolution information of the domain name, and sending a domain name identifier storage request to a server.
The domain name may include a domain name identifier, for example, if the domain name (i.e., the combined domain name) is acd254.b.com, the domain name identifier may be acd254, and the like.
In implementation, a user may click a domain name or a corresponding link displayed in a target application, a terminal device may obtain the domain name, generate a domain name resolution request according to the domain name, and send the domain name resolution request to a domain name resolution server, and the domain name resolution server may obtain an IP address corresponding to the domain name and send the IP address to the terminal device, thereby completing domain name resolution processing of the domain name. Meanwhile, as shown in fig. 4, the terminal device may further obtain a domain name identifier from the domain name, obtain an identifier of the target application, generate a domain name identifier storage request according to the obtained information, and send the domain name identifier storage request to the server.
In the case that the domain name identifier storage request further includes IP address information for accessing the server, the terminal device may further obtain a currently used IP address or an IP address that needs to be specified (i.e., an IP address used for connecting to an external network), generate a domain name identifier storage request according to the obtained information, and send the domain name identifier storage request to the server.
In step S304, the server stores the identifier of the target application and the identifier of the domain name in a corresponding manner.
For the case that the domain name identifier storage request further includes the IP address information of the access server, the server correspondingly stores the identifier of the target application, the IP address information, and the domain name identifier, which may be shown in table 2 below.
TABLE 2
Domain name label (code) Identification of applications IP address information
123 UA1 IP1
Abc UA1 IP1
ck547 UA1 IP1
q564 UA2 IP2
mnfkd UA2 IP2
In step S306, the terminal device sends an access tracking request of the target application to the server, where the access tracking request includes an identifier of the target application.
It should be noted that the access tracking request of the target application further includes IP address information of the access server, and the IP address information may be used to define an IP address used when accessing the server.
In step S308, the server obtains a domain name identifier corresponding to the access tracking request according to the identifier of the target application.
In addition, in the case that the access tracking request of the target application further includes the IP address information of the access server, the processing of step S308 may be further: the server may obtain the domain name identifier corresponding to the access tracking request according to the identifier of the target application and the IP address information.
In implementation, if the identifier of the target application included in the access tracking request of the target application is UA1 and the IP address information is IP1, the domain name identifiers 123, Abc, and ck547 may be determined according to the correspondence relationship shown in table 2.
In step S310, the server sends the acquired domain name identifier to the terminal device.
In step S312, the terminal device combines the domain name identifiers returned by the server into a domain name according to a predetermined domain name combination rule.
The domain name may include a domain name identifier.
It should be noted that the domain name identifier returned by the server may be subjected to some kind of processing information, for example, the domain name identifier may be encrypted and then sent to the terminal device. The terminal device receives the encrypted domain name identifier, and can decrypt the domain name identifier first, and then combine the decrypted domain name identifier into a domain name and the like.
Considering that, in the process of domain name resolution, a corresponding UDP connection needs to be initiated for a domain name to be resolved, therefore, whether the domain name needs to be resolved may be determined by determining whether the terminal device initiates a UDP connection for resolving the domain name, which may specifically refer to the following processing of step S314 and step S316.
In step S314, during the domain name resolution process of the combined domain name, the terminal device monitors whether to initiate a UDP connection for resolving the domain name.
In implementation, after the terminal device obtains the combined domain name, it may try to perform domain name resolution on the domain name, and meanwhile, it may be monitored whether the terminal device initiates a UDP connection for resolving the domain name to a preset domain name resolution server.
In step S316, if it is not monitored that the terminal device initiates the UDP connection, it is determined that the domain name is accessed by the target application.
In implementation, if it is not monitored that the terminal device initiates a UDP connection for analyzing the domain name to the domain name resolution server, it indicates that the domain name resolution information is cached in the terminal device, that is, the terminal device has previously resolved the domain name, so that it can be determined that the corresponding user has opened or used the domain name or the corresponding link through the target application.
In addition, if it is monitored that the terminal device initiates the UDP connection, it is determined that the resolution information of the domain name is not cached locally, that is, the terminal device has not resolved the domain name before, so that it can be determined that the corresponding user does not open or use the domain name or the corresponding link through the target application.
The embodiment of the specification provides a method for tracking application access, which comprises the steps of sending an access tracking request of a target application comprising a target application identifier to a server, receiving a domain name identifier corresponding to the access tracking request returned by the server, combining the domain name identifiers returned by the server into a domain name according to a preset domain name combination rule, carrying out domain name resolution processing on the domain name, and determining whether the domain name is accessed by the target application according to the resolution condition of the domain name, so that corresponding domain name identifiers are preset for different links or domain names, when determining which links or domain names are opened or accessed by a user through the target application, the domain name identifiers can be obtained from the server, further the combined domain name is determined according to the preset domain name combination rule, and the resolution condition of the domain name in the domain name resolution processing process is utilized, whether the domain name is resolved before is judged, and therefore whether a user opens or accesses the domain name or a corresponding link through a target application is judged, system-level data such as equipment fingerprint information does not need to be acquired in the whole processing process, the limitation of anti-privacy tracking such as sandbox in an operating system is not easy to cause, the whole scheme is not influenced even if the operating system is replaced with a new operating system, and in addition, the domain name resolution information caching is considered to be a necessary step in a computer system, so the processing process of the scheme cannot be prevented by the system, and the effect of application access tracking is good and stable.
EXAMPLE III
As shown in fig. 5, the present specification provides a method for tracking application access, which may be performed by a terminal device and a server together, where the terminal device may be a mobile terminal device such as a mobile phone or a tablet computer, and may also be a device such as a personal computer. The server may be an independent server or a server cluster composed of a plurality of servers, and the server may be a background server of a certain website (such as an online shopping website or a shopping application). The method can be used for detecting which links or domain names are accessed by the user through the terminal equipment so as to facilitate subsequent related information popularization or access detection and the like. The method may specifically comprise the steps of:
in step S502, the terminal device sends a domain name identifier storage request to the server, where the domain name identifier storage request includes an identifier of the target application and a domain name identifier.
In addition, the domain name identifier storage request may include, in addition to the above information, IP address information of the access server, and then the processing of step S302 may be: the terminal equipment sends a domain name identification storage request to the server, wherein the domain name identification storage request comprises the identification of the target application, the domain name identification and the IP address information of the access server.
The specific processing of step S502 may be various, and an optional processing manner is provided as follows, which may specifically include the following: and performing domain name resolution processing on the domain name, caching resolution information of the domain name, and sending a domain name identifier storage request to a server.
The domain name may include a domain name identifier.
In step S504, the server stores the identifier of the target application and the identifier of the domain name in a corresponding manner.
And for the condition that the domain name identifier storage request also comprises IP address information of an access server, the server correspondingly stores the identifier of the target application, the IP address information and the domain name identifier.
In step S506, the terminal device sends an access tracking request of the target application to the server, where the access tracking request includes an identifier of the target application.
It should be noted that the access tracking request further includes IP address information of the access server, and the IP address information may be used to define an IP address used when accessing the server.
In step S508, the server obtains a domain name identifier corresponding to the access tracking request according to the identifier of the target application.
In addition, in the case where the access tracking request further includes the IP address information of the access server, the processing of step S508 may be: the server may obtain the domain name identifier corresponding to the access tracking request according to the identifier of the target application and the IP address information.
In step S510, the server sends the acquired domain name identifier to the terminal device.
In step S512, the terminal device combines the obtained domain name identifiers into a domain name according to a predetermined domain name combination rule.
The domain name may include a domain name identifier.
Considering that, in the process of domain name resolution, the domain name resolution time for resolving a domain name through the domain name resolution server generally needs a predetermined time (for example, 0.2 seconds or more), and if the resolution information of the domain name is cached locally, the domain name resolution processing of the domain name will be completed within a very short time (less than the predetermined time), therefore, it can be determined whether a domain name needs to be resolved through the domain name resolution time, which may be specifically referred to the processing of step S514 and step S516 described below.
In step S514, the terminal device performs domain name resolution processing on the combined domain name, and determines a domain name resolution duration of the domain name.
In implementation, after the terminal device obtains the combined domain name, it may try to perform domain name resolution on the domain name, and at the same time, record the start time of the domain name performing domain name resolution, then perform domain name resolution on the domain name based on the processing procedure, after the resolution is completed, the terminal device may record the completion time, and then, the domain name resolution duration of the domain name may be determined according to the start time and the completion time.
In step S516, if the domain name resolution duration of the domain name is less than the predetermined duration threshold, the terminal device determines that the domain name is accessed by the target application.
The predetermined duration threshold may be set according to an actual situation, specifically, for example, 0.2 second or 0.05 second, and the setting of the predetermined duration threshold is not limited in the embodiment of this specification.
In implementation, the terminal device may compare the determined domain name resolution duration with a predetermined duration threshold, and if the domain name resolution duration of the domain name is smaller than the predetermined duration threshold, it indicates that resolution information of the domain name is cached in the terminal device, that is, the domain name has been resolved by the terminal device before, so that it may be determined that the corresponding user has opened or used the domain name or the corresponding link.
In addition, if the domain name resolution time of the domain name is not less than the predetermined time threshold, it is determined that the resolution information of the domain name is not cached locally, that is, the domain name is not resolved by the terminal device before, so that it can be determined that the corresponding user does not open or use the domain name or the corresponding link through the target application.
The embodiment of the specification provides a method for tracking application access, which comprises the steps of sending an access tracking request of a target application comprising a target application identifier to a server, receiving a domain name identifier corresponding to the access tracking request returned by the server, combining the domain name identifiers returned by the server into a domain name according to a preset domain name combination rule, carrying out domain name resolution processing on the domain name, and determining whether the domain name is accessed by the target application according to the resolution condition of the domain name, so that corresponding domain name identifiers are preset for different links or domain names, when determining which links or domain names are opened or accessed by a user through the target application, the domain name identifiers can be obtained from the server, further the combined domain name is determined according to the preset domain name combination rule, and the resolution condition of the domain name in the domain name resolution processing process is utilized, whether the domain name is resolved before is judged, and therefore whether a user opens or accesses the domain name or a corresponding link through a target application is judged, system-level data such as equipment fingerprint information does not need to be acquired in the whole processing process, the limitation of anti-privacy tracking such as sandbox in an operating system is not easy to cause, the whole scheme is not influenced even if the operating system is replaced with a new operating system, and in addition, the domain name resolution information caching is considered to be a necessary step in a computer system, so the processing process of the scheme cannot be prevented by the system, and the effect of application access tracking is good and stable.
Example four
As shown in fig. 6, the present specification provides a method for tracking application access, which may be performed by a terminal device and a server together, where the terminal device may be a mobile terminal device such as a mobile phone or a tablet computer, and may also be a device such as a personal computer. The server may be an independent server or a server cluster composed of a plurality of servers, and the server may be a background server of a certain website (such as an online shopping website or a shopping application). The method can be used for detecting which links or domain names are accessed by the user through the terminal equipment so as to facilitate subsequent related information popularization or access detection and the like. As shown in FIG. 7, cross-application link tracking may be achieved by the present embodiment. The method may specifically comprise the steps of:
in step S602, a first application in the terminal device sends a domain name identifier storage request to the server, where the domain name identifier storage request includes an identifier of a target application and a domain name identifier.
The first application may be any application program, such as a browser, an instant messaging application, or a shopping application, the first application may be the above target application, or the first application may be an application different from the target application.
In addition, the domain name identifier storage request may include, in addition to the above information, IP address information of the access server, and then the processing of step S602 may be: the terminal equipment sends a domain name identification storage request to the server, wherein the domain name identification storage request comprises the identification of the target application, the domain name identification and the IP address information of the access server.
In the case that the domain name identifier storage request further includes IP address information for accessing the server, the terminal device may further obtain a currently used IP address or an IP address that needs to be specified (i.e., an IP address used for connecting to an external network), generate a domain name identifier storage request according to the obtained information, and send the domain name identifier storage request to the server.
The specific processing of step S602 may be various, and the following provides an optional processing manner, which may specifically include the following: and the first application in the terminal equipment carries out domain name resolution processing on the domain name, caches resolution information of the domain name and sends a domain name identifier storage request to the server.
In step S604, the server stores the identifier of the target application and the identifier of the domain name in a corresponding manner.
And for the condition that the domain name identifier storage request also comprises IP address information of an access server, the server correspondingly stores the identifier of the target application, the IP address information and the domain name identifier.
In step S606, the second application of the terminal device sends an access tracking request of the target application to the server, where the access tracking request includes an identifier of the target application.
It should be noted that the access tracking request further includes IP address information of the access server, and the IP address information may be used to define an IP address used when accessing the server.
The second application may be any application program different from the first application, for example, the first application is a browser, and the second application may be a shopping application or a financial application.
In step S608, the server obtains a domain name identifier corresponding to the access tracking request according to the identifier of the target application.
In addition, in the case where the access tracking request further includes the IP address information of the access server, the processing of step S608 may be further: the server may obtain the domain name identifier corresponding to the access tracking request according to the identifier of the target application and the IP address information.
In step S610, the server sends the acquired domain name identifier to the second application of the terminal device.
In step S612, the second application of the terminal device combines the domain name identifiers into a domain name according to a predetermined domain name combination rule.
The domain name may include a domain name identifier.
In step S614, during the domain name resolution process for the domain name, the terminal device monitors whether to initiate a UDP connection for resolving the domain name.
In step S616, if it is not monitored that the terminal device initiates the UDP connection, it is determined that the domain name is accessed by the target application.
In addition, the domain name resolution processing on the domain name and the processing for determining whether the domain name is accessed by the target application according to the resolution condition of the domain name can be implemented by the following modes in addition to the modes of the step S614 and the step S616: performing domain name resolution processing on the domain name, and determining the domain name resolution duration of the domain name; and if the domain name resolution time of the domain name is less than a preset time threshold, determining that the domain name is accessed by the target application.
The embodiment of the specification provides a method for tracking application access, which comprises the steps of sending an access tracking request of a target application comprising a target application identifier to a server, receiving a domain name identifier corresponding to the access tracking request returned by the server, combining the domain name identifiers returned by the server into a domain name according to a preset domain name combination rule, carrying out domain name resolution processing on the domain name, and determining whether the domain name is accessed by the target application according to the resolution condition of the domain name, so that corresponding domain name identifiers are preset for different links or domain names, when determining which links or domain names are opened or accessed by a user through the target application, the domain name identifiers can be obtained from the server, further the combined domain name is determined according to the preset domain name combination rule, and the resolution condition of the domain name in the domain name resolution processing process is utilized, whether the domain name is resolved before is judged, and therefore whether a user opens or accesses the domain name or a corresponding link through a target application is judged, system-level data such as equipment fingerprint information does not need to be acquired in the whole processing process, the limitation of anti-privacy tracking such as sandbox in an operating system is not easy to cause, the whole scheme is not influenced even if the operating system is replaced with a new operating system, and in addition, the domain name resolution information caching is considered to be a necessary step in a computer system, so the processing process of the scheme cannot be prevented by the system, and the effect of application access tracking is good and stable.
EXAMPLE five
As shown in fig. 8, an embodiment of the present specification provides a method for tracking application access, where an execution subject of the method may be a terminal device, where the terminal device may be a mobile terminal device such as a mobile phone or a tablet computer, and may also be a device such as a personal computer. The method can be used for detecting which links or domain names are accessed by the user through the terminal equipment so as to facilitate subsequent related information popularization or access detection and the like. The method may specifically comprise the steps of:
in step S802, an access tracking request of the target application is sent to the server, where the access tracking request includes an identifier of the target application.
In step S804, the domain name returned by the server according to the access tracking request is received.
In implementation, the server may store in advance a corresponding relationship between the application identifier and the domain name, which is used to detect whether the application program corresponding to the application identifier accesses the corresponding domain name, where the corresponding relationship may be set according to an actual situation, and the same application identifier may correspond to a plurality of different domain names, as shown in table 3 below.
TABLE 3
Domain name Identification of applications
123.B.com UA1
www.C.com UA1
ck547.D.com UA1
q564.E.com UA2
www.A.com UA2
After receiving an access tracking request of a target application sent by a terminal device through an application program, a server can search a domain name identifier corresponding to the identifier of the target application from the stored corresponding relationship between the identifier of the application and the domain name according to the identifier of the target application in the access tracking request. For example, the identifier of the target application in the domain name identifier obtaining request is UA2, and the domain names corresponding to UA2, that is, q564.e.com and www.A.com, can be found in the correspondence shown in table 3 above. Then, the server may send the domain name corresponding to the identifier of the target application to a corresponding application program of the terminal device, and the corresponding application program of the terminal device may receive the domain name sent by the server.
It should be noted that, in addition to storing the identifier and the domain name of the target application in the above manner, the information may also be stored in other manners, for example, as described above, a domain name identifier may be set for the domain name to be tracked, so that the server may store the corresponding relationship between the domain name identifier, the identifier of the target application, and the domain name (or link), as shown in table 4.
TABLE 4
Domain name label (code) Links or domain names Identification of applications
123 123.A.com UA1
Abc www.B.com UA1
ck547 www.C.com UA1
q564 www.D.com UA2
mnfkd www.E.com UA2
In view of the above situation, the corresponding domain name identifier may be found through the identifier of the target application, and then the corresponding domain name may be found through the domain name identifier.
It should be noted that the domain name stored in the server may be a domain name based on the combination of domain name identifications as mentioned in the above embodiments, or may be any domain name commonly used in practical applications.
In step S806, a domain name resolution process is performed on the domain name returned by the server, and it is determined whether the domain name is accessed by the target application according to the resolution condition of the domain name.
As shown in fig. 9, an execution subject of the method may be a server, where the server may be an independent server, or a server cluster composed of multiple servers, and the server may be a background server of a certain website (such as an online shopping website or a shopping application), and the like. The method can be used for detecting which links or domain names are accessed by the user through the terminal equipment so as to facilitate subsequent related information popularization or access detection and the like. The method may specifically comprise the steps of:
in step S902, an access tracking request of a target application sent by a terminal device is received, where the access tracking request includes an identifier of the target application.
In step S904, a domain name corresponding to the access tracking request is obtained according to the identifier of the target application.
In step S906, the obtained domain name is sent to the terminal device, so that the terminal device performs domain name resolution processing on the obtained domain name, and determines whether the domain name is accessed by the target application according to a resolution condition of the domain name.
The embodiment of the specification provides a method for tracking application access, which comprises the steps of sending an access tracking request of a target application including an identifier of the target application to a server, receiving a domain name corresponding to the access tracking request returned by the server, then performing domain name resolution processing on the domain name, and determining whether the domain name is accessed by the target application according to the resolution condition of the domain name, so that when determining which links or domain names are opened or accessed by a user through the target application, the domain name corresponding to the identifier of the target application can be obtained from the server, and whether the domain name is resolved before the domain name is determined according to the resolution condition of the domain name in the domain name resolution processing process, thereby determining whether the domain name or the corresponding links are opened or accessed by the user through the target application, and the whole processing process does not need to obtain system level data such as device fingerprint information, the method is not easily limited by anti-privacy tracking in an operating system such as a sandbox, the whole scheme is not influenced even if the operating system is replaced with a new operating system, and the caching of domain name resolution information is considered to be a necessary step in a computer system, so that the processing process of the scheme cannot be prevented by the system, and the application access tracking effect is good and stable.
EXAMPLE six
As shown in fig. 10, the present specification provides a method for tracking application access, which may be performed by a terminal device and a server together, where the terminal device may be a mobile terminal device such as a mobile phone or a tablet computer, and may also be a device such as a personal computer. The server may be an independent server or a server cluster composed of a plurality of servers, and the server may be a background server of a certain website (such as an online shopping website or a shopping application). The method can be used for detecting which links or domain names are accessed by the user through the terminal equipment so as to facilitate subsequent related information popularization or access detection and the like. The method may specifically comprise the steps of:
in step S1002, the terminal device sends a domain name storage request to the server, where the domain name storage request includes an identifier of the target application and a domain name.
In addition, the domain name storage request may include, in addition to the above information, IP address information of the access server, and then the processing of step S1002 may be: the terminal equipment sends a domain name storage request to the server, wherein the domain name storage request comprises the identification of the target application, the domain name and the IP address information of the access server.
The specific processing of step S1002 may be various, and the following provides an optional processing manner, which may specifically include the following: and performing domain name resolution processing on the domain name, caching resolution information of the domain name, and sending a domain name storage request to a server.
The domain name may be a domain name commonly used in practical applications, or may be a domain name combined by domain name identifications as mentioned in the above embodiments, such as acd254.b.com, where the domain name identification is acd254.
In the case that the domain name storage request further includes the IP address information of the access server, the terminal device may further obtain the currently used IP address or the IP address that needs to be specified (i.e., the IP address used for connecting to the external network), generate the domain name storage request according to the obtained information, and send the domain name storage request to the server.
In step S1004, the server stores the identifier of the target application and the domain name in association with each other.
In the case that the domain name storage request further includes IP address information of the access server, the server correspondingly stores the identifier of the target application, the IP address information, and the domain name, which may be shown in table 5 below.
TABLE 5
Domain name Identification of applications IP address information
123.B.com UA1 IP1
www.C.com UA1 IP1
ck547.D.com UA1 IP1
q564.E.com UA2 IP2
www.A.com UA2 IP2
In step S1006, the terminal device sends an access tracking request of the target application to the server, where the access tracking request includes an identifier of the target application.
It should be noted that the access tracking request of the target application further includes IP address information of the access server, and the IP address information may be used to define an IP address used when accessing the server.
In step S1008, the server obtains a domain name identifier corresponding to the identifier of the target application according to the identifier of the target application.
In addition, in the case that the access tracking request of the target application further includes the IP address information of the access server, the processing of step S1008 may be further: the server may obtain a domain name identification corresponding to the identification of the target application and the IP address information.
In step S1010, the server acquires a domain name corresponding to the domain name identifier.
In step S1012, the server transmits the acquired domain name to the terminal device.
Considering that, in the process of domain name resolution, a corresponding UDP connection needs to be initiated for a domain name to be resolved, therefore, whether the domain name needs to be resolved may be determined by determining whether the terminal device initiates a UDP connection for resolving the domain name, which may specifically refer to the following processing in step S1014 and step S1016.
In step S1014, during the domain name resolution process performed on the domain name, the terminal device monitors whether to initiate a UDP connection for resolving the domain name.
In step S1016, if it is not monitored that the terminal device initiates the UDP connection, it is determined that the domain name is accessed by the target application.
In addition, the domain name resolution processing on the domain name and the processing for determining whether the domain name is accessed by the target application according to the resolution condition of the domain name can be realized by the following modes in addition to the modes of the step S1014 and the step S1016: performing domain name resolution processing on the domain name, and determining the domain name resolution duration of the domain name; and if the domain name resolution time of the domain name is less than a preset time threshold, determining that the domain name is accessed by the target application.
The embodiment of the specification provides a method for tracking application access, which comprises the steps of sending an access tracking request of a target application including an identifier of the target application to a server, receiving a domain name corresponding to the access tracking request returned by the server, then performing domain name resolution processing on the domain name, and determining whether the domain name is accessed by the target application according to the resolution condition of the domain name, so that when determining which links or domain names are opened or accessed by a user through the target application, the domain name corresponding to the identifier of the target application can be obtained from the server, and whether the domain name is resolved before the domain name is determined according to the resolution condition of the domain name in the domain name resolution processing process, thereby determining whether the domain name or the corresponding links are opened or accessed by the user through the target application, and the whole processing process does not need to obtain system level data such as device fingerprint information, the method is not easily limited by anti-privacy tracking in an operating system such as a sandbox, the whole scheme is not influenced even if the operating system is replaced with a new operating system, and the caching of domain name resolution information is considered to be a necessary step in a computer system, so that the processing process of the scheme cannot be prevented by the system, and the application access tracking effect is good and stable.
EXAMPLE seven
As shown in fig. 11, the present specification provides a method for tracking application access, which may be performed by a terminal device and a server together, where the terminal device may be a mobile terminal device such as a mobile phone or a tablet computer, and may also be a device such as a personal computer. The server may be an independent server or a server cluster composed of a plurality of servers, and the server may be a background server of a certain website (such as an online shopping website or a shopping application). The method can be used for detecting which links or domain names are accessed by the user through the terminal equipment so as to facilitate subsequent related information popularization or access detection and the like. As shown in FIG. 7, cross-application link tracking may be achieved by the present embodiment. The method may specifically comprise the steps of:
in step S1102, a first application in the terminal device sends a domain name storage request to the server, where the domain name storage request includes an identifier of a target application and a domain name.
In addition, the domain name identifier storage request may include, in addition to the above information, IP address information of the access server, and then the processing of step S1102 may be: the terminal equipment sends a domain name storage request to the server, wherein the domain name storage request comprises the identification of the target application, the domain name and the IP address information of the access server.
In the case that the domain name storage request further includes the IP address information of the access server, the terminal device may further obtain the currently used IP address or the IP address that needs to be specified (i.e., the IP address used for connecting to the external network), generate the domain name storage request according to the obtained information, and send the domain name storage request to the server.
The specific processing of step S1102 may be various, and an alternative processing manner is provided as follows, which may specifically include the following: and the first application in the terminal equipment carries out domain name resolution processing on the domain name, caches resolution information of the domain name and sends a domain name storage request to the server.
In step S1104, the server stores the identifier of the target application and the domain name in association with each other.
And for the condition that the domain name storage request also comprises the IP address information of the access server, the server correspondingly stores the identifier of the target application, the IP address information and the domain name.
In step S1106, the second application of the terminal device sends an access tracking request of the target application to the server, where the access tracking request includes an identifier of the target application.
It should be noted that the access tracking request further includes IP address information of the access server, and the IP address information may be used to define an IP address used when accessing the server.
In step S1108, the server obtains a domain name corresponding to the access tracking request according to the identifier of the target application.
In addition, in the case where the access tracking request further includes the IP address information of the access server, the processing of step S1108 may further include: the server may obtain a domain name corresponding to the access tracking request according to the identifier of the target application and the IP address information.
In step S1110, the server transmits the acquired domain name to the second application of the terminal device.
In step S1112, during the domain name resolution processing on the domain name, the terminal device monitors whether to initiate a UDP connection for resolving the domain name.
In step S1114, if it is not monitored that the terminal device initiates the UDP connection, it is determined that the domain name is accessed by the target application.
In addition, the domain name resolution processing on the domain name and the processing for determining whether the domain name is accessed by the target application according to the resolution condition of the domain name can be implemented by the following modes in addition to the modes of the step S614 and the step S616: performing domain name resolution processing on the domain name, and determining the domain name resolution duration of the domain name; and if the domain name resolution time of the domain name is less than a preset time threshold, determining that the domain name is accessed by the target application.
The embodiment of the specification provides a method for tracking application access, which comprises the steps of sending an access tracking request of a target application including an identifier of the target application to a server, receiving a domain name corresponding to the access tracking request returned by the server, then performing domain name resolution processing on the domain name, and determining whether the domain name is accessed by the target application according to the resolution condition of the domain name, so that when determining which links or domain names are opened or accessed by a user through the target application, the domain name corresponding to the identifier of the target application can be obtained from the server, and whether the domain name is resolved before the domain name is determined according to the resolution condition of the domain name in the domain name resolution processing process, thereby determining whether the domain name or the corresponding links are opened or accessed by the user through the target application, and the whole processing process does not need to obtain system level data such as device fingerprint information, the method is not easily limited by anti-privacy tracking in an operating system such as a sandbox, the whole scheme is not influenced even if the operating system is replaced with a new operating system, and the caching of domain name resolution information is considered to be a necessary step in a computer system, so that the processing process of the scheme cannot be prevented by the system, and the application access tracking effect is good and stable.
Example eight
Based on the same idea, the method for tracking application access provided by the embodiment of the present specification further provides an apparatus for tracking application access, as shown in fig. 12.
The device for tracking application access comprises: a first request sending module 1201, an identifier receiving module 1202, a domain name obtaining module 1203, and a processing module 1204, where:
a first request sending module 1201, configured to send an access tracking request of a target application to a server, where the access tracking request includes an identifier of the target application;
an identifier receiving module 1202, configured to receive a domain name identifier returned by the server according to the access tracking request;
a domain name obtaining module 1203, configured to combine the domain name identifiers returned by the server into a domain name according to a predetermined domain name combination rule;
a processing module 1204, configured to perform domain name resolution processing on the combined domain name, and determine whether the domain name is accessed by the target application according to a resolution condition of the domain name.
In this embodiment, the access tracking request further includes IP address information for accessing the server,
the identifier receiving module 1202 is configured to receive a domain name identifier returned by the server according to the identifier of the target application and the IP address information.
In this embodiment, the processing module 1204 includes:
a detecting unit, configured to monitor whether to initiate a UDP connection for analyzing the domain name during a domain name analysis process performed on the combined domain name;
and the processing unit is used for determining that the domain name is accessed by the target application if the UDP connection is not monitored to be initiated.
In this embodiment, the processing module 1204 includes:
a duration determining unit, configured to perform domain name resolution processing on the combined domain name, and determine a domain name resolution duration of the domain name;
and the processing unit is used for determining that the domain name is accessed by the target application if the domain name resolution time of the domain name is less than a preset time threshold.
In an embodiment of this specification, the apparatus further includes:
a second request sending module, configured to send a domain name identifier storage request to the server, where the domain name identifier storage request includes an identifier of the target application and the domain name identifier, so that the server correspondingly stores the identifier of the target application and the domain name identifier;
wherein, the access tracking request and the domain name identification storage request are respectively sent by different applications.
In this embodiment of the present specification, the second request sending module is configured to perform domain name resolution processing on the domain name, cache resolution information of the domain name, and send a domain name identifier storage request to the server.
In this embodiment, the domain name includes the domain name identifier.
The embodiment of the specification provides a device for tracking application access, which sends an access tracking request of a target application including a target application identifier to a server, receives a domain name identifier corresponding to the access tracking request returned by the server, combines the domain name identifiers returned by the server into a domain name according to a preset domain name combination rule, performs domain name resolution processing on the domain name, and determines whether the domain name is accessed by the target application according to the resolution condition of the domain name, so that, by setting corresponding domain name identifiers for different links or domain names in advance, when determining which links or domain names are opened or accessed by a user through the target application, the domain name identifiers can be obtained from the server, further the combined domain name is determined according to the preset domain name combination rule, and the resolution condition of the domain name in the domain name resolution processing process is used, whether the domain name is resolved before is judged, and therefore whether a user opens or accesses the domain name or a corresponding link through a target application is judged, system-level data such as equipment fingerprint information does not need to be acquired in the whole processing process, the limitation of anti-privacy tracking such as sandbox in an operating system is not easy to cause, the whole scheme is not influenced even if the operating system is replaced with a new operating system, and in addition, the domain name resolution information caching is considered to be a necessary step in a computer system, so the processing process of the scheme cannot be prevented by the system, and the effect of application access tracking is good and stable.
Example nine
Based on the same idea, the embodiment of the present specification further provides a device for tracking application access, as shown in fig. 13.
The device for tracking application access comprises: a first request receiving module 1301, an identification obtaining module 1302, and an identification sending module 1303, wherein:
a first request receiving module 1301, configured to receive an access tracking request of a target application sent by a terminal device, where the access tracking request includes an identifier of the target application;
an identifier obtaining module 1302, configured to obtain, according to the identifier of the target application, a domain name identifier corresponding to the access tracking request;
the identifier sending module 1303 is configured to send the obtained domain name identifier to the terminal device, so that the terminal device combines the obtained domain name identifiers into a domain name according to a predetermined domain name combination rule, performs domain name resolution processing on the combined domain name, and determines whether the domain name is accessed by the target application according to a resolution condition of the domain name.
In an embodiment of this specification, the apparatus further includes:
a second request receiving module, configured to receive a domain name identifier storage request sent by a first application in the terminal device, where the domain name identifier storage request includes an identifier of the target application and the domain name identifier, and the first application is the same as or different from the target application;
the storage module is used for correspondingly storing the identifier of the target application and the domain name identifier;
the first request receiving module 1301 is configured to receive an access tracking request of a target application sent by a second application in the terminal device.
In this embodiment of this specification, the access tracking request further includes IP address information used by the terminal device to access, and the identifier obtaining module 1302 is configured to obtain a domain name identifier corresponding to the access tracking request according to the identifier of the target application and the IP address information.
The embodiment of the specification provides a device for tracking application access, which sends an access tracking request of a target application including a target application identifier to a server, receives a domain name identifier corresponding to the access tracking request returned by the server, combines the domain name identifiers returned by the server into a domain name according to a preset domain name combination rule, performs domain name resolution processing on the domain name, and determines whether the domain name is accessed by the target application according to the resolution condition of the domain name, so that, by setting corresponding domain name identifiers for different links or domain names in advance, when determining which links or domain names are opened or accessed by a user through the target application, the domain name identifiers can be obtained from the server, further the combined domain name is determined according to the preset domain name combination rule, and the resolution condition of the domain name in the domain name resolution processing process is used, whether the domain name is resolved before is judged, and therefore whether a user opens or accesses the domain name or a corresponding link through a target application is judged, system-level data such as equipment fingerprint information does not need to be acquired in the whole processing process, the limitation of anti-privacy tracking such as sandbox in an operating system is not easy to cause, the whole scheme is not influenced even if the operating system is replaced with a new operating system, and in addition, the domain name resolution information caching is considered to be a necessary step in a computer system, so the processing process of the scheme cannot be prevented by the system, and the effect of application access tracking is good and stable.
Example ten
Based on the same idea, the method for tracking application access provided by the embodiment of the present specification further provides an apparatus for tracking application access, as shown in fig. 14.
The device for tracking application access comprises: a first request sending module 1401, a domain name receiving module 1402 and a processing module 1403, wherein:
a first request sending module 1401, configured to send an access tracking request of a target application to a server, where the access tracking request includes an identifier of the target application;
a domain name receiving module 1402, configured to receive a domain name returned by the server according to the access tracking request;
a processing module 1403, configured to perform domain name resolution on the domain name returned by the server, and determine whether the domain name is accessed by the target application according to a resolution condition of the domain name.
In this embodiment, the access tracking request further includes IP address information for accessing the server,
the domain name receiving module 1402 is configured to receive a domain name returned by the server according to the identifier of the target application and the IP address information.
In this embodiment of the present specification, the processing module 1403 is configured to monitor whether to initiate a UDP connection for resolving the domain name returned by the server in a process of performing domain name resolution on the domain name; and if the UDP connection is not monitored to be initiated, determining that the domain name is accessed by the target application.
In this embodiment of the present specification, the processing module 1403 is configured to perform domain name resolution processing on the domain name returned by the server, and determine a domain name resolution duration of the domain name; and if the domain name resolution time of the domain name is less than a preset time threshold, determining that the domain name is accessed by the target application.
In an embodiment of this specification, the apparatus further includes:
a second request sending module, configured to send a domain name storage request to the server, where the domain name storage request includes the identifier of the target application and the domain name, so that the server correspondingly stores the identifier of the target application and the domain name;
wherein the access tracking request and the domain name storage request are respectively sent by different applications.
In this embodiment of the present specification, the second request sending module is configured to perform domain name resolution processing on the domain name, cache resolution information of the domain name, and send a domain name storage request to the server.
The embodiment of the specification provides a device for tracking application access, which sends an access tracking request of a target application including an identifier of the target application to a server, receives a domain name corresponding to the access tracking request returned by the server, then performs domain name resolution processing on the domain name, and determines whether the domain name is accessed by the target application according to the resolution condition of the domain name, so that when determining which links or domain names are opened or accessed by a user through the target application, the domain name corresponding to the identifier of the target application can be obtained from the server, and whether the domain name is resolved before the domain name is determined according to the resolution condition of the domain name in the domain name resolution processing process, thereby determining whether the domain name or the corresponding links are opened or accessed by the user through the target application, and the whole processing process does not need to obtain system level data such as device fingerprint information, the method is not easily limited by anti-privacy tracking in an operating system such as a sandbox, the whole scheme is not influenced even if the operating system is replaced with a new operating system, and the caching of domain name resolution information is considered to be a necessary step in a computer system, so that the processing process of the scheme cannot be prevented by the system, and the application access tracking effect is good and stable.
EXAMPLE eleven
Based on the same idea, the method for tracking application access provided by the embodiment of the present specification further provides an apparatus for tracking application access, as shown in fig. 15.
The device for tracking application access comprises: a first request receiving module 1501, a domain name obtaining module 1502, and a domain name sending module 1503, wherein:
a first request receiving module 1501, configured to receive an access tracking request of a target application sent by a terminal device, where the access tracking request includes an identifier of the target application;
a domain name obtaining module 1502, configured to obtain a domain name corresponding to the access tracking request according to the identifier of the target application;
the domain name sending module 1503 is configured to send the obtained domain name to the terminal device, so that the terminal device performs domain name resolution on the obtained domain name, and determines whether the domain name is accessed by the target application according to a resolution condition of the domain name.
In this embodiment of the present specification, the domain name obtaining module 1502 is configured to obtain, according to the identifier of the target application, a domain name identifier corresponding to the identifier of the target application; and acquiring the domain name corresponding to the domain name identifier.
In this embodiment, the domain name includes the domain name identifier.
In this embodiment of the present specification, the access tracking request further includes IP address information used by the terminal device for access,
the domain name obtaining module 1502 is configured to obtain a domain name identifier corresponding to the identifier of the target application and the IP address information.
In an embodiment of this specification, the apparatus further includes:
a second request receiving module, configured to receive a domain name identifier storage request sent by a first application in the terminal device, where the domain name identifier storage request includes an identifier of the target application and the domain name identifier, and the first application is the same as or different from the target application;
the storage module is used for correspondingly storing the identifier of the target application and the domain name identifier;
the first request receiving module 1501 is configured to receive an access tracking request of a target application sent by a second application in the terminal device.
The embodiment of the specification provides a device for tracking application access, which sends an access tracking request of a target application including an identifier of the target application to a server, receives a domain name corresponding to the access tracking request returned by the server, then performs domain name resolution processing on the domain name, and determines whether the domain name is accessed by the target application according to the resolution condition of the domain name, so that when determining which links or domain names are opened or accessed by a user through the target application, the domain name corresponding to the identifier of the target application can be obtained from the server, and whether the domain name is resolved before the domain name is determined according to the resolution condition of the domain name in the domain name resolution processing process, thereby determining whether the domain name or the corresponding links are opened or accessed by the user through the target application, and the whole processing process does not need to obtain system level data such as device fingerprint information, the method is not easily limited by anti-privacy tracking in an operating system such as a sandbox, the whole scheme is not influenced even if the operating system is replaced with a new operating system, and the caching of domain name resolution information is considered to be a necessary step in a computer system, so that the processing process of the scheme cannot be prevented by the system, and the application access tracking effect is good and stable.
Example twelve
Based on the same idea, the apparatus for tracking application access provided by the embodiment of the present specification further provides a device for tracking application access, as shown in fig. 10.
The device for tracking the access of the application can be the terminal device provided in the above embodiment.
Devices tracking application access may vary significantly depending on configuration or performance and may include one or more processors 1001 and memory 1002, where the memory 1002 may store one or more stored applications or data. Memory 1002 may be, among other things, transient storage or persistent storage. The application programs stored in memory 1002 may include one or more modules (not shown), each of which may include a series of computer-executable instructions in a device that tracks application access. Still further, the processor 1001 may be configured to communicate with the memory 1002 to execute a series of computer-executable instructions in the memory 1002 on a device that tracks access by applications. The apparatus to track application access may also include one or more power supplies 1003, one or more wired or wireless network interfaces 1004, one or more input-output interfaces 1005, one or more keyboards 1006.
In particular, in this embodiment, an apparatus to track application access includes a memory, and one or more programs, where the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer-executable instructions in the apparatus to track application access, and the one or more programs configured to be executed by one or more processors include computer-executable instructions to:
sending an access tracking request of a target application to a server, wherein the access tracking request comprises an identifier of the target application;
receiving a domain name identifier returned by the server according to the access tracking request;
combining the domain name identifications returned by the server into a domain name according to a preset domain name combination rule;
and performing domain name resolution processing on the combined domain name, and determining whether the domain name is accessed by the target application according to the resolution condition of the domain name.
In this embodiment, the access tracking request further includes IP address information for accessing the server,
the receiving the domain name identifier returned by the server according to the access tracking request includes:
and receiving the domain name identifier returned by the server according to the identifier of the target application and the IP address information.
In this embodiment of this specification, the performing domain name resolution processing on the combined domain name, and determining whether the domain name is accessed by the target application according to a resolution condition of the domain name includes:
monitoring whether to initiate UDP connection for analyzing the domain name or not in the process of performing domain name analysis processing on the combined domain name;
and if the UDP connection is not monitored to be initiated, determining that the domain name is accessed by the target application.
In this embodiment of this specification, the performing domain name resolution processing on the combined domain name, and determining whether the domain name is accessed by the target application according to a resolution condition of the domain name includes:
performing domain name resolution processing on the combined domain name, and determining the domain name resolution duration of the domain name;
and if the domain name resolution time of the domain name is less than a preset time threshold, determining that the domain name is accessed by the target application.
In an embodiment of this specification, the method further includes:
sending a domain name identifier storage request to the server, wherein the domain name identifier storage request comprises the identifier of the target application and the domain name identifier, so that the server correspondingly stores the identifier of the target application and the domain name identifier;
wherein, the access tracking request and the domain name identification storage request are respectively sent by different applications.
In this embodiment of this specification, the sending a domain name identifier storage request to the server includes:
and performing domain name resolution processing on the domain name, caching resolution information of the domain name, and sending a domain name identifier storage request to the server.
In this embodiment, the domain name includes the domain name identifier.
In particular, in this embodiment, an apparatus to track application access includes a memory, and one or more programs, where the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer-executable instructions in the apparatus to track application access, and the one or more programs configured to be executed by one or more processors include computer-executable instructions to:
sending an access tracking request of a target application to a server, wherein the access tracking request comprises an identifier of the target application;
receiving a domain name returned by the server according to the access tracking request;
and performing domain name resolution processing on the domain name returned by the server, and determining whether the domain name is accessed by the target application according to the resolution condition of the domain name.
In this embodiment, the access tracking request further includes IP address information for accessing the server,
the receiving the domain name returned by the server according to the access tracking request includes:
and receiving the domain name returned by the server according to the identification of the target application and the IP address information.
In this embodiment of this specification, the performing domain name resolution processing on the domain name returned by the server, and determining whether the domain name is accessed by the target application according to a resolution condition of the domain name includes:
monitoring whether to initiate UDP connection for analyzing the domain name or not in the process of performing domain name analysis processing on the domain name returned by the server;
and if the UDP connection is not monitored to be initiated, determining that the domain name is accessed by the target application.
In this embodiment of this specification, the performing domain name resolution processing on the domain name returned by the server, and determining whether the domain name is accessed by the target application according to a resolution condition of the domain name includes:
performing domain name resolution processing on the domain name returned by the server, and determining the domain name resolution duration of the domain name;
and if the domain name resolution time of the domain name is less than a preset time threshold, determining that the domain name is accessed by the target application.
The embodiment of the specification provides a device for tracking application access, which sends an access tracking request of a target application including a target application identifier to a server, receives a domain name identifier corresponding to the access tracking request returned by the server, combines the domain name identifiers returned by the server into a domain name according to a preset domain name combination rule, performs domain name resolution processing on the domain name, and determines whether the domain name is accessed by the target application according to the resolution condition of the domain name, so that, by setting corresponding domain name identifiers for different links or domain names in advance, when determining which links or domain names are opened or accessed by a user through the target application, the domain name identifiers can be obtained from the server, further the combined domain name is determined according to the preset domain name combination rule, and the resolution condition of the domain name in the domain name resolution processing process is used, whether the domain name is resolved before is judged, and therefore whether a user opens or accesses the domain name or a corresponding link through a target application is judged, system-level data such as equipment fingerprint information does not need to be acquired in the whole processing process, the limitation of anti-privacy tracking such as sandbox in an operating system is not easy to cause, the whole scheme is not influenced even if the operating system is replaced with a new operating system, and in addition, the domain name resolution information caching is considered to be a necessary step in a computer system, so the processing process of the scheme cannot be prevented by the system, and the effect of application access tracking is good and stable.
EXAMPLE thirteen
Based on the same idea, the embodiments of the present specification further provide an apparatus for tracking application access, as shown in fig. 11.
The device for tracking application access may be the server provided in the above embodiments.
Devices tracking application access may vary significantly depending on configuration or performance and may include one or more processors 1101 and memory 1102, where the memory 1102 may have one or more stored application programs or data stored therein. Wherein memory 1102 may be transient or persistent. The application program stored in memory 1102 may include one or more modules (not shown), each of which may include a series of computer-executable instructions in a device that tracks application access. Still further, the processor 1101 may be configured to communicate with the memory 1102 to execute a series of computer-executable instructions in the memory 1102 on a device that tracks access by applications. The apparatus to track application access may also include one or more power supplies 1103, one or more wired or wireless network interfaces 1104, one or more input-output interfaces 1105, one or more keyboards 1106.
In particular, in this embodiment, an apparatus to track application access includes a memory, and one or more programs, where the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer-executable instructions in the apparatus to track application access, and the one or more programs configured to be executed by one or more processors include computer-executable instructions to:
receiving an access tracking request of a target application sent by a terminal device, wherein the access tracking request comprises an identifier of the target application;
acquiring a domain name identifier corresponding to the access tracking request according to the identifier of the target application;
sending the obtained domain name identifier to the terminal device, so that the terminal device combines the obtained domain name identifiers into a domain name according to a preset domain name combination rule, performs domain name resolution processing on the combined domain name, and determines whether the domain name is accessed by the target application according to the resolution condition of the domain name.
In an embodiment of this specification, before receiving a domain name identifier acquisition request sent by a terminal device, the method further includes:
receiving a domain name identifier storage request sent by a first application in the terminal device, wherein the domain name identifier storage request comprises an identifier of the target application and the domain name identifier, and the first application is the same as or different from the target application;
correspondingly storing the identifier of the target application and the domain name identifier;
the receiving of the access tracking request of the target application sent by the terminal device includes:
and receiving an access tracking request of a target application sent by a second application in the terminal equipment.
In this embodiment of the present specification, the access tracking request further includes IP address information used by the terminal device for access,
the obtaining, according to the identifier of the target application, a domain name identifier corresponding to the access tracking request includes:
and acquiring a domain name identifier corresponding to the access tracking request according to the identifier of the target application and the IP address information.
In particular, in this embodiment, an apparatus to track application access includes a memory, and one or more programs, where the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer-executable instructions in the apparatus to track application access, and the one or more programs configured to be executed by one or more processors include computer-executable instructions to:
receiving an access tracking request of a target application sent by a terminal device, wherein the access tracking request comprises an identifier of the target application;
acquiring a domain name corresponding to the access tracking request according to the identifier of the target application;
and sending the acquired domain name to the terminal equipment so that the terminal equipment performs domain name resolution processing on the acquired domain name, and determining whether the domain name is accessed by the target application according to the resolution condition of the domain name.
In this embodiment of this specification, the obtaining, according to the identifier of the target application, a domain name corresponding to the access tracking request includes:
acquiring a domain name identifier corresponding to the identifier of the target application according to the identifier of the target application;
and acquiring the domain name corresponding to the domain name identifier.
In this embodiment, the domain name includes the domain name identifier.
In this embodiment of the present specification, the access tracking request further includes IP address information used by the terminal device for access,
acquiring a domain name identifier corresponding to the identifier of the target application according to the identifier of the target application, wherein the acquiring comprises the following steps:
and acquiring a domain name identifier corresponding to the identifier of the target application and the IP address information.
The embodiment of the specification provides a device for tracking application access, which sends an access tracking request of a target application including a target application identifier to a server, receives a domain name identifier corresponding to the access tracking request returned by the server, combines the domain name identifiers returned by the server into a domain name according to a preset domain name combination rule, performs domain name resolution processing on the domain name, and determines whether the domain name is accessed by the target application according to the resolution condition of the domain name, so that, by setting corresponding domain name identifiers for different links or domain names in advance, when determining which links or domain names are opened or accessed by a user through the target application, the domain name identifiers can be obtained from the server, further the combined domain name is determined according to the preset domain name combination rule, and the resolution condition of the domain name in the domain name resolution processing process is used, whether the domain name is resolved before is judged, and therefore whether a user opens or accesses the domain name or a corresponding link through a target application is judged, system-level data such as equipment fingerprint information does not need to be acquired in the whole processing process, the limitation of anti-privacy tracking such as sandbox in an operating system is not easy to cause, the whole scheme is not influenced even if the operating system is replaced with a new operating system, and in addition, the domain name resolution information caching is considered to be a necessary step in a computer system, so the processing process of the scheme cannot be prevented by the system, and the effect of application access tracking is good and stable.
Example fourteen
Based on the same idea, the embodiment of the present specification further provides a system for tracking application access, as shown in fig. 4 or 7.
The system terminal device and the server for tracking the application access, wherein:
the terminal device is used for sending an access tracking request of a target application to a server, wherein the access tracking request comprises an identifier of the target application;
the server is used for acquiring a domain name identifier corresponding to the access tracking request according to the identifier of the target application and sending the acquired domain name identifier to the terminal equipment;
the terminal device is further configured to combine the domain name identifiers returned by the server into a domain name according to a predetermined domain name combination rule, perform domain name resolution processing on the combined domain name, and determine whether the domain name is accessed by the target application according to a resolution condition of the domain name.
In an embodiment of this specification, the access tracking request further includes IP address information for accessing the server, and the terminal device is further configured to receive a domain name identifier returned by the server according to the identifier of the target application and the IP address information.
In this embodiment, the terminal device is further configured to monitor whether to initiate a UDP connection for analyzing the domain name during a domain name analysis process performed on the combined domain name; and if the UDP connection is not monitored to be initiated, determining that the domain name is accessed by the target application.
In this embodiment, the terminal device is further configured to perform domain name resolution processing on the combined domain name, and determine a domain name resolution duration of the domain name; and if the domain name resolution time of the domain name is less than a preset time threshold, determining that the domain name is accessed by the target application.
In an embodiment of this specification, the terminal device is further configured to send a domain name identifier storage request to the server, where the domain name identifier storage request includes an identifier of the target application and the domain name identifier, so that the server stores the identifier of the target application and the domain name identifier correspondingly;
wherein, the access tracking request and the domain name identification storage request are respectively sent by different applications.
In this embodiment, the terminal device is further configured to perform domain name resolution processing on the domain name, cache resolution information of the domain name, and send a domain name identifier storage request to the server.
In this embodiment, the domain name includes the domain name identifier.
In an embodiment of this specification, the server is further configured to receive a domain name identifier storage request sent by a first application in the terminal device, where the domain name identifier storage request includes an identifier of the target application and the domain name identifier, and the first application is an application that is the same as or different from the target application;
correspondingly storing the identifier of the target application and the domain name identifier;
and receiving an access tracking request of a target application sent by a second application in the terminal equipment.
In an embodiment of this specification, the access tracking request further includes IP address information used by the terminal device for accessing, and the server is further configured to obtain a domain name identifier corresponding to the access tracking request according to the identifier of the target application and the IP address information.
The embodiment of the specification provides a system for tracking application access, which sends an access tracking request of a target application including a target application identifier to a server, receives a domain name identifier corresponding to the access tracking request returned by the server, combines the domain name identifiers returned by the server into a domain name according to a preset domain name combination rule, performs domain name resolution processing on the domain name, and determines whether the domain name is accessed by the target application according to the resolution condition of the domain name, so that the domain name identifier can be obtained from the server by setting corresponding domain name identifiers for different links or domain names in advance when determining which links or domain names are opened or accessed by a user through the target application, further determines the combined domain name according to the preset domain name combination rule, and determines the resolution condition of the domain name in the domain name resolution processing process, whether the domain name is resolved before is judged, and therefore whether a user opens or accesses the domain name or a corresponding link through a target application is judged, system-level data such as equipment fingerprint information does not need to be acquired in the whole processing process, the limitation of anti-privacy tracking such as sandbox in an operating system is not easy to cause, the whole scheme is not influenced even if the operating system is replaced with a new operating system, and in addition, the domain name resolution information caching is considered to be a necessary step in a computer system, so the processing process of the scheme cannot be prevented by the system, and the effect of application access tracking is good and stable.
Example fifteen
Based on the same idea, the embodiment of the present specification further provides a system for tracking application access, as shown in fig. 4 or 7.
The system terminal device and the server for tracking the application access, wherein:
the terminal device is used for sending an access tracking request of a target application to a server, wherein the access tracking request comprises an identifier of the target application;
the server is used for acquiring a domain name corresponding to the access tracking request according to the identification of the target application and sending the acquired domain name to the terminal equipment;
the terminal device is further configured to perform domain name resolution processing on the domain name returned by the server, and determine whether the domain name is accessed by the target application according to a resolution condition of the domain name.
In an embodiment of this specification, the access tracking request further includes IP address information for accessing the server, and the terminal device is further configured to receive a domain name returned by the server according to the identifier of the target application and the IP address information.
In this embodiment of the present specification, the terminal device is further configured to monitor whether to initiate a UDP connection for resolving the domain name, in a process of performing domain name resolution processing on the domain name returned by the server;
and if the UDP connection is not monitored to be initiated, determining that the domain name is accessed by the target application.
In this embodiment, the terminal device is further configured to perform domain name resolution processing on the domain name returned by the server, and determine a domain name resolution duration of the domain name;
and if the domain name resolution time of the domain name is less than a preset time threshold, determining that the domain name is accessed by the target application.
In an embodiment of this specification, the server is further configured to obtain, according to the identifier of the target application, a domain name identifier corresponding to the identifier of the target application;
and acquiring the domain name corresponding to the domain name identifier.
In this embodiment, the domain name includes the domain name identifier.
In this embodiment of the present specification, the access tracking request further includes IP address information used by the terminal device for accessing, and the server is further configured to obtain a domain name identifier corresponding to the identifier of the target application and the IP address information.
The embodiment of the specification provides a system for tracking application access, which sends an access tracking request of a target application including an identifier of the target application to a server, receives a domain name corresponding to the access tracking request returned by the server, then performs domain name resolution processing on the domain name, and determines whether the domain name is accessed by the target application according to the resolution condition of the domain name, so that when determining which links or domain names are opened or accessed by a user through the target application, the domain name corresponding to the identifier of the target application can be obtained from the server, and whether the domain name is resolved before the domain name is determined according to the resolution condition of the domain name in the domain name resolution processing process, thereby determining whether the domain name or the corresponding links are opened or accessed by the user through the target application, and the whole processing process does not need to obtain system level data such as device fingerprint information, the method is not easily limited by anti-privacy tracking in an operating system such as a sandbox, the whole scheme is not influenced even if the operating system is replaced with a new operating system, and the caching of domain name resolution information is considered to be a necessary step in a computer system, so that the processing process of the scheme cannot be prevented by the system, and the application access tracking effect is good and stable.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an Integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Hardware Description Language), traffic, pl (core universal Programming Language), HDCal (jhdware Description Language), lang, Lola, HDL, laspam, hardward Description Language (vhr Description Language), vhal (Hardware Description Language), and vhigh-Language, which are currently used in most common. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the various elements may be implemented in the same one or more software and/or hardware implementations in implementing one or more embodiments of the present description.
As will be appreciated by one skilled in the art, embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, one or more embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, one or more embodiments of the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present description are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the description. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, one or more embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, one or more embodiments of the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
One or more embodiments of the present description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. One or more embodiments of the specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of the present specification, and is not intended to limit the present specification. Various modifications and alterations to this description will become apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present specification should be included in the scope of the claims of the present specification.

Claims (28)

1. A method of tracking application access, the method comprising:
sending an access tracking request of a target application to a server, wherein the access tracking request comprises an identifier of the target application;
receiving a domain name identifier returned by the server according to the access tracking request, wherein the domain name identifier is a domain name identifier which is obtained by the server according to the identifier of the target application and corresponds to the access tracking request;
combining the domain name identifications returned by the server into a domain name according to a preset domain name combination rule;
and performing domain name resolution processing on the combined domain name, and determining whether the domain name is accessed by the target application according to the resolution condition of the domain name.
2. The method of claim 1, further comprising IP address information for accessing the server in the access tracking request,
the receiving the domain name identifier returned by the server according to the access tracking request includes:
and receiving the domain name identifier returned by the server according to the identifier of the target application and the IP address information.
3. The method according to claim 1, wherein performing domain name resolution processing on the combined domain name, and determining whether the domain name is accessed by the target application according to resolution of the domain name comprises:
monitoring whether to initiate UDP connection for analyzing the domain name or not in the process of performing domain name analysis processing on the combined domain name;
and if the UDP connection is not monitored to be initiated, determining that the domain name is accessed by the target application.
4. The method according to claim 1, wherein performing domain name resolution processing on the combined domain name, and determining whether the domain name is accessed by the target application according to resolution of the domain name comprises:
performing domain name resolution processing on the combined domain name, and determining the domain name resolution duration of the domain name;
and if the domain name resolution time of the domain name is less than a preset time threshold, determining that the domain name is accessed by the target application.
5. The method of claim 1, further comprising:
sending a domain name identifier storage request to the server, wherein the domain name identifier storage request comprises the identifier of the target application and the domain name identifier, so that the server correspondingly stores the identifier of the target application and the domain name identifier;
wherein, the access tracking request and the domain name identification storage request are respectively sent by different applications.
6. The method of claim 5, the sending a domain name identity storage request to the server, comprising:
and performing domain name resolution processing on the domain name, caching resolution information of the domain name, and sending a domain name identifier storage request to the server.
7. The method of claim 1, the domain name including the domain name identification therein.
8. A method of tracking application access, the method comprising:
receiving an access tracking request of a target application sent by a terminal device, wherein the access tracking request comprises an identifier of the target application;
acquiring a domain name identifier corresponding to the access tracking request according to the identifier of the target application;
sending the obtained domain name identifier to the terminal device, so that the terminal device combines the obtained domain name identifiers into a domain name according to a preset domain name combination rule, performs domain name resolution processing on the combined domain name, and determines whether the domain name is accessed by the target application according to the resolution condition of the domain name.
9. The method according to claim 8, wherein before receiving the domain name identifier obtaining request sent by the terminal device, the method further comprises:
receiving a domain name identifier storage request sent by a first application in the terminal device, wherein the domain name identifier storage request comprises an identifier of the target application and the domain name identifier, and the first application is the same as or different from the target application;
correspondingly storing the identifier of the target application and the domain name identifier;
the receiving of the access tracking request of the target application sent by the terminal device includes:
and receiving an access tracking request of a target application sent by a second application in the terminal equipment.
10. The method of claim 8, the access tracking request further includes IP address information used by the terminal device for access,
the obtaining, according to the identifier of the target application, a domain name identifier corresponding to the access tracking request includes:
and acquiring a domain name identifier corresponding to the access tracking request according to the identifier of the target application and the IP address information.
11. A method of tracking application access, the method comprising:
sending an access tracking request of a target application to a server, wherein the access tracking request comprises an identifier of the target application;
receiving a domain name returned by the server according to the access tracking request, wherein the domain name is obtained by the server according to the identification of the target application and corresponds to the access tracking request;
and performing domain name resolution processing on the domain name returned by the server, and determining whether the domain name is accessed by the target application according to the resolution condition of the domain name.
12. The method of claim 11, further comprising IP address information for accessing the server in the access tracking request,
the receiving the domain name returned by the server according to the access tracking request includes:
and receiving the domain name returned by the server according to the identification of the target application and the IP address information.
13. The method according to claim 11, wherein performing domain name resolution processing on the domain name returned by the server, and determining whether the domain name is accessed by the target application according to resolution of the domain name includes:
monitoring whether to initiate UDP connection for analyzing the domain name or not in the process of performing domain name analysis processing on the domain name returned by the server;
and if the UDP connection is not monitored to be initiated, determining that the domain name is accessed by the target application.
14. The method according to claim 11, wherein performing domain name resolution processing on the domain name returned by the server, and determining whether the domain name is accessed by the target application according to resolution of the domain name includes:
performing domain name resolution processing on the domain name returned by the server, and determining the domain name resolution duration of the domain name;
and if the domain name resolution time of the domain name is less than a preset time threshold, determining that the domain name is accessed by the target application.
15. A method of tracking application access, the method comprising:
receiving an access tracking request of a target application sent by a terminal device, wherein the access tracking request comprises an identifier of the target application;
acquiring a domain name corresponding to the access tracking request according to the identifier of the target application;
and sending the acquired domain name to the terminal equipment so that the terminal equipment performs domain name resolution processing on the acquired domain name, and determining whether the domain name is accessed by the target application according to the resolution condition of the domain name.
16. The method of claim 15, wherein obtaining a domain name corresponding to the access tracking request according to the identifier of the target application comprises:
acquiring a domain name identifier corresponding to the identifier of the target application according to the identifier of the target application;
and acquiring the domain name corresponding to the domain name identifier.
17. The method of claim 16, wherein the domain name identifier is included in the domain name.
18. The method of claim 16, the access tracking request further includes IP address information used by the terminal device for access,
acquiring a domain name identifier corresponding to the identifier of the target application according to the identifier of the target application, wherein the acquiring comprises the following steps:
and acquiring a domain name identifier corresponding to the identifier of the target application and the IP address information.
19. An apparatus to track application access, the apparatus comprising:
the system comprises a first request sending module, a first tracking module and a second request sending module, wherein the first request sending module is used for sending an access tracking request of a target application to a server, and the access tracking request comprises an identifier of the target application;
the identification receiving module is used for receiving a domain name identification returned by the server according to the access tracking request, wherein the domain name identification is the domain name identification which is obtained by the server according to the identification of the target application and corresponds to the access tracking request;
a domain name obtaining module, configured to combine the domain name identifiers returned by the server into a domain name according to a predetermined domain name combination rule;
and the processing module is used for carrying out domain name resolution processing on the combined domain name and determining whether the domain name is accessed by the target application according to the resolution condition of the domain name.
20. An apparatus to track application access, the apparatus comprising:
the first request receiving module is used for receiving an access tracking request of a target application sent by a terminal device, wherein the access tracking request comprises an identifier of the target application;
the identification acquisition module is used for acquiring a domain name identification corresponding to the access tracking request according to the identification of the target application;
and the identifier sending module is used for sending the acquired domain name identifier to the terminal equipment so as to enable the terminal equipment to combine the acquired domain name identifier into a domain name according to a preset domain name combination rule, perform domain name resolution processing on the combined domain name, and determine whether the domain name is accessed by the target application according to the resolution condition of the domain name.
21. An apparatus to track application access, the apparatus comprising:
the system comprises a first request sending module, a first tracking module and a second request sending module, wherein the first request sending module is used for sending an access tracking request of a target application to a server, and the access tracking request comprises an identifier of the target application;
a domain name receiving module, configured to receive a domain name returned by the server according to the access tracking request, where the domain name is a domain name corresponding to the access tracking request and acquired by the server according to the identifier of the target application;
and the processing module is used for carrying out domain name resolution processing on the domain name returned by the server and determining whether the domain name is accessed by the target application or not according to the resolution condition of the domain name.
22. An apparatus to track application access, the apparatus comprising:
the first request receiving module is used for receiving an access tracking request of a target application sent by a terminal device, wherein the access tracking request comprises an identifier of the target application;
a domain name obtaining module, configured to obtain a domain name corresponding to the access tracking request according to the identifier of the target application;
and the domain name sending module is used for sending the acquired domain name to the terminal equipment so as to enable the terminal equipment to perform domain name resolution processing on the acquired domain name, and determining whether the domain name is accessed by the target application according to the resolution condition of the domain name.
23. An apparatus to track application access, the apparatus to track application access comprising:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
sending an access tracking request of a target application to a server, wherein the access tracking request comprises an identifier of the target application;
receiving a domain name identifier returned by the server according to the access tracking request, wherein the domain name identifier is a domain name identifier which is obtained by the server according to the identifier of the target application and corresponds to the access tracking request;
combining the domain name identifications returned by the server into a domain name according to a preset domain name combination rule;
and performing domain name resolution processing on the combined domain name, and determining whether the domain name is accessed by the target application according to the resolution condition of the domain name.
24. An apparatus to track application access, the apparatus to track application access comprising:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
receiving an access tracking request of a target application sent by a terminal device, wherein the access tracking request comprises an identifier of the target application;
acquiring a domain name identifier corresponding to the access tracking request according to the identifier of the target application;
sending the obtained domain name identifier to the terminal device, so that the terminal device combines the obtained domain name identifiers into a domain name according to a preset domain name combination rule, performs domain name resolution processing on the combined domain name, and determines whether the domain name is accessed by the target application according to the resolution condition of the domain name.
25. An apparatus to track application access, the apparatus to track application access comprising:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
sending an access tracking request of a target application to a server, wherein the access tracking request comprises an identifier of the target application;
receiving a domain name returned by the server according to the access tracking request, wherein the domain name is obtained by the server according to the identification of the target application and corresponds to the access tracking request;
and performing domain name resolution processing on the domain name returned by the server, and determining whether the domain name is accessed by the target application according to the resolution condition of the domain name.
26. An apparatus to track application access, the apparatus to track application access comprising:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
receiving an access tracking request of a target application sent by a terminal device, wherein the access tracking request comprises an identifier of the target application;
acquiring a domain name corresponding to the access tracking request according to the identifier of the target application;
and sending the acquired domain name to the terminal equipment so that the terminal equipment performs domain name resolution processing on the acquired domain name, and determining whether the domain name is accessed by the target application according to the resolution condition of the domain name.
27. A system for tracking application access, the system for tracking application access comprising a terminal device and a server, wherein:
the terminal device is used for sending an access tracking request of a target application to a server, wherein the access tracking request comprises an identifier of the target application;
the server is used for acquiring a domain name identifier corresponding to the access tracking request according to the identifier of the target application and sending the acquired domain name identifier to the terminal equipment;
the terminal device is further configured to combine the domain name identifiers returned by the server into a domain name according to a predetermined domain name combination rule, perform domain name resolution processing on the combined domain name, and determine whether the domain name is accessed by the target application according to a resolution condition of the domain name.
28. A system for tracking application access, the system for tracking application access comprising a terminal device and a server, wherein:
the terminal device is used for sending an access tracking request of a target application to a server, wherein the access tracking request comprises an identifier of the target application;
the server is used for acquiring a domain name corresponding to the access tracking request according to the identification of the target application and sending the acquired domain name to the terminal equipment;
the terminal device is further configured to perform domain name resolution processing on the domain name returned by the server, and determine whether the domain name is accessed by the target application according to a resolution condition of the domain name.
CN201811299601.1A 2018-11-02 2018-11-02 Method, device, equipment and system for tracking application access Active CN109600417B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811299601.1A CN109600417B (en) 2018-11-02 2018-11-02 Method, device, equipment and system for tracking application access

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811299601.1A CN109600417B (en) 2018-11-02 2018-11-02 Method, device, equipment and system for tracking application access

Publications (2)

Publication Number Publication Date
CN109600417A CN109600417A (en) 2019-04-09
CN109600417B true CN109600417B (en) 2021-08-27

Family

ID=65958425

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811299601.1A Active CN109600417B (en) 2018-11-02 2018-11-02 Method, device, equipment and system for tracking application access

Country Status (1)

Country Link
CN (1) CN109600417B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111641728A (en) * 2020-05-16 2020-09-08 中信银行股份有限公司 Calling method and device based on distributed system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7962597B2 (en) * 2008-03-31 2011-06-14 Amazon Technologies, Inc. Request routing based on class
CN101668050A (en) * 2008-09-07 2010-03-10 赵捷 Method and system for analyzing a domain name
CN103905574B (en) * 2012-12-27 2017-09-08 中国移动通信集团公司 A kind of DNS Operational Visits method, DNS data synchronous method and equipment
CN106506726A (en) * 2016-12-12 2017-03-15 北京云端智度科技有限公司 A kind of method of verification DNS real users
CN106533816B (en) * 2017-01-18 2019-05-14 中国联合网络通信集团有限公司 A kind of method and device of adjustment DNS configuration
CN108011826A (en) * 2017-12-01 2018-05-08 锐捷网络股份有限公司 Method for routing, routing device, communication system and storage medium

Also Published As

Publication number Publication date
CN109600417A (en) 2019-04-09

Similar Documents

Publication Publication Date Title
US11474926B2 (en) Method and system for measuring user engagement with content items
US9514469B2 (en) Identification of consumers based on a unique device ID
CN108173706B (en) Service marking method, device and equipment under multi-service system
CN106878108B (en) Network flow playback test method and device
CN109344061B (en) Method, device, equipment and system for detecting abnormity of interface
CN104978267A (en) Web page testing method, terminal and server
CN109600417B (en) Method, device, equipment and system for tracking application access
CN109615423B (en) Service processing method and device
CN111445258A (en) Risk prevention and control information processing method, device and equipment
CN112287376A (en) Method and device for processing private data
WO2022001819A1 (en) Application processing method and device
CN112258295A (en) Recording processing method, device and equipment
CN110990492B (en) Information processing method, device and equipment
US8751508B1 (en) Contextual indexing of applications
CN111597557A (en) Malicious application detection method, system, device, equipment and storage medium
CN110059476B (en) Application access method, device and equipment
CN108133123B (en) Application program identification method and system
CN109600418B (en) Method, device, equipment and system for tracking application access
CN111625721B (en) Content recommendation method and device
CN114710318A (en) Method, device, equipment and medium for limiting high-frequency access of crawler
CN114238119A (en) Automatic testing method and system for android application and storage medium
CN113254823A (en) Webpage data processing method and device
CN113176988A (en) Data recording method and device
CN111539768B (en) Investigation method and device based on behavior path
CN112199731A (en) Data processing method, device and equipment

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
TA01 Transfer of patent application right

Effective date of registration: 20200924

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman, British Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman, British Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200924

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman, British Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20240222

Address after: Guohao Times City # 20-01, 128 Meizhi Road, Singapore

Patentee after: Advanced Nova Technology (Singapore) Holdings Ltd.

Country or region after: Singapore

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman, British Islands

Patentee before: Innovative advanced technology Co.,Ltd.

Country or region before: Cayman Islands

TR01 Transfer of patent right