[go: up one dir, main page]

CN106817404B - Method and system for tracking web equipment - Google Patents

Method and system for tracking web equipment Download PDF

Info

Publication number
CN106817404B
CN106817404B CN201611122952.6A CN201611122952A CN106817404B CN 106817404 B CN106817404 B CN 106817404B CN 201611122952 A CN201611122952 A CN 201611122952A CN 106817404 B CN106817404 B CN 106817404B
Authority
CN
China
Prior art keywords
identifier
equipment
information
web
preset
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
CN201611122952.6A
Other languages
Chinese (zh)
Other versions
CN106817404A (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.)
Tongdun Network Technology Co.,Ltd.
Original Assignee
Tongdun Holdings 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 Tongdun Holdings Co Ltd filed Critical Tongdun Holdings Co Ltd
Priority to CN201611122952.6A priority Critical patent/CN106817404B/en
Publication of CN106817404A publication Critical patent/CN106817404A/en
Application granted granted Critical
Publication of CN106817404B publication Critical patent/CN106817404B/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/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/242Query formulation
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Mathematical Physics (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a tracking method and a tracking system of web equipment, which are applied to a server of a website, wherein the tracking method and the tracking system are specifically characterized in that a preset information acquisition script is deployed on a web page, and the information acquisition script is used for acquiring equipment information of the web equipment and uploading the equipment information to the server when a user browses the web page by using the web equipment; processing the equipment information by using a preset algorithm to obtain an equipment identifier of the web equipment; and performing matching operation from a preset equipment library according to the equipment identifier, and returning the equipment id matched with the equipment identifier. Since the scheme does not depend on cookie information which can be cleared by the user, the web device can be identified even if the user regularly clears cookies, so that stable tracking of the web device is realized.

Description

Method and system for tracking web equipment
Technical Field
The present invention relates to the field of network technologies, and in particular, to a method and a system for tracking a web device.
Background
With the complication of Web applications, the operation process of users on websites becomes increasingly complex. The diversification of the functions and the improvement of the interactivity of the website provide a plurality of possible browsing paths for users. For a complex site, the analysis of the behavior pattern and the operation habit of the user operating on the website provides basic data support for the optimization of the website, and certainly, the analysis is based on the effective tracking of the web equipment and then the behavior pattern and the operation habit of the user can be analyzed according to the tracked result.
At present, when a user accesses different websites through a browser, a traditional method is that a third-party cookie is set, and each page contains the same third-party link, so that when the page is opened, the third party can write the cookie into the browser and upload the cookie at each request, and the purpose of tracking the user behavior is achieved. However, as the awareness of privacy protection of the user increases, the user may delete the third-party cookie or disable the third-party cookie periodically, and the user behavior cannot be tracked continuously.
Disclosure of Invention
In view of the above, the present invention provides a method and a system for tracking a web device, which are used to identify a web device accessing a corresponding website, so as to track the web device.
In order to solve the above problems, the present invention discloses a tracking method for web devices, which is applied to a server of a website, and the tracking method specifically comprises the following steps:
deploying a preset information acquisition script on a web page, wherein the information acquisition script is used for acquiring equipment information of web equipment and uploading the equipment information to the server when a user browses the web page by using the web equipment;
processing the equipment information by using a preset algorithm to obtain an equipment identifier of the web equipment;
and performing matching operation from a preset equipment library according to the equipment identifier, and returning the equipment id matched with the equipment identifier.
Optionally, the device information includes environment information and software information.
Optionally, the device information further includes cookie information uploaded by the server.
Optionally, the processing the device information by using a preset algorithm includes:
sorting various types of information in the equipment information according to a preset rule to obtain an information group;
and processing the information group according to a preset hash algorithm to obtain a corresponding variable value, and taking the variable value as the equipment identifier.
Optionally, the performing matching operation from a preset device library according to the device identifier and returning a device id matched with the device identifier includes:
performing query operation from the equipment library according to the equipment identifier;
when the device id matched with the device identifier is inquired, returning the device id;
and when the device id matched with the device identifier does not exist in the device library, allocating a new id to the web device, and returning the new id as the device id.
Optionally, the tracking method further includes the steps of:
packaging the device id to generate new cookie information containing the device id;
and writing the new cookie information into a preset browser of the web device.
Correspondingly, in order to implement the method provided above, the present invention further provides a tracking system for web devices, which is applied to a server of a website, and the tracking system specifically includes:
the system comprises a script presetting module, a server and a script display module, wherein the script presetting module is used for deploying a preset information acquisition script on a web page, and the information acquisition script is used for acquiring equipment information of web equipment and uploading the equipment information to the server when a user browses the web page by using the web equipment;
the identifier calculation module is used for processing the equipment information by using a preset algorithm to obtain an equipment identifier of the web equipment;
and the equipment matching module is used for performing matching operation from a preset equipment library according to the equipment identifier and returning the equipment id matched with the equipment identifier.
Optionally, the device information includes environment information and software information.
Optionally, the device information further includes cookie information uploaded by the server.
Optionally, the identifier calculation module includes:
the information sorting unit is used for sorting various types of information in the equipment information according to a preset rule to obtain an information group;
and the variable value calculating unit is used for processing the information group according to a preset hash algorithm to obtain a corresponding variable value, and the variable value is used as the equipment identifier.
Optionally, the device matching module includes:
the equipment query unit is used for performing query operation from the equipment library according to the equipment identifier;
the first returning unit is used for returning the equipment id after inquiring the equipment id matched with the equipment identifier;
and the second returning unit is used for distributing a new id to the web device when the device id matched with the device identifier does not exist in the device library, and returning the new id as the device id.
Optionally, the tracking system further includes:
the information packaging module is used for packaging the equipment id and generating new cookie information containing the equipment id;
and the information writing module is used for writing the new cookie information into a preset browser of the web equipment.
The technical scheme can be seen that the invention provides a tracking method and a system of web equipment, which are applied to a server of a website, and the tracking method and the system are specifically characterized in that a preset information acquisition script is deployed on a web page, and the information acquisition script is used for acquiring equipment information of the web equipment and uploading the equipment information to the server when a user browses the web page by using the web equipment; processing the equipment information by using a preset algorithm to obtain an equipment identifier of the web equipment; and performing matching operation from a preset equipment library according to the equipment identifier, and returning the equipment id matched with the equipment identifier. Since the scheme does not depend on cookie information which can be cleared by the user, the web device can be identified even if the user regularly clears cookies, so that stable tracking of the web device is realized.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flowchart illustrating steps of an embodiment of a method for tracking a web device according to the present invention;
FIG. 2 is a flowchart illustrating steps of another embodiment of a method for tracking a web device;
FIG. 3 is a block diagram of a tracking system of a web device according to an embodiment of the present invention;
fig. 4 is a block diagram of a tracking system of another web device according to another embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
Fig. 1 is a flowchart illustrating steps of a method for tracking a web device according to an embodiment of the present invention.
Referring to fig. 1, the tracking method for web devices provided in this embodiment is applied to a server of a website, and is used for tracking the web devices by using a device representation method, where the specific tracking method includes the following steps:
s101: and deploying a preset information acquisition script on the web page.
That is, a web page stored on the server is preprocessed, for example, the web page of a website is used to obtain other portal pages, and the preprocessing method is to deploy an executable information collection script, such as an executable javascript script language, on the web page. The information acquisition script is automatically executed when a user browses a corresponding web page by using the web device, acquires the device information of the web device by executing the information acquisition script and uploads the device information to the server in an encryption mode.
The device information specifically includes environment information and software information of the web device. If cookie information uploaded by the server at the previous time is stored in the browser of the web device, the obtained device information further includes the cookie information.
S102: a device identifier of the web device is calculated from the device information.
After the device information including the environment information, the user information and the like is obtained, the device information is processed by using a preset algorithm, and a device identifier capable of identifying the web device is obtained.
For example, the device identifier may include a first identifier reflecting application layer information of the web device, a second identifier reflecting user layer information of the web device, and a third identifier, which is cookie information uploaded by the user.
When the device identifier is calculated, the received device information, such as environment information and environment information, is sorted according to a certain preset rule to obtain an information group; and then, processing the obtained information group according to a preset hash algorithm to obtain a corresponding variable value, wherein the variable value is used as the equipment identifier of the web equipment due to the uniqueness of the variable value.
S103: and tracking the web device according to the device identifier and a preset device library.
After the device identifier is obtained, matching query is carried out from a preset device library by using the device identifier, and a device id matched with the device identifier is returned from the device library according to a matching result, so that the tracking of the web device is realized. The device library stores a plurality of device identifiers and device ids corresponding to the respective device identifiers in a list format.
In the process of matching the equipment identifier, firstly, inquiring from the equipment library according to the equipment identifier; when the device id corresponding to the device identifier is inquired, returning the device id; if the device id corresponding to the device id is not queried, a new id is allocated to the web device, specifically, a random code of 32 bits is generated by using a random algorithm, and the random code is stored as the device id corresponding to the device identifier, and the device id is returned at the same time.
Taking the example that the device identifier includes the first identifier, the second identifier and the third identifier, performing matching query according to the above sequence as priority, and when the device identifier is specifically matched:
and associating the device ids according to the dimension of the first identifier, the second identifier and the third identifier of the search priority. If the matching result is null, the device is a new device, a 32-bit random code which cannot be collided is randomly generated for the new device, the device id is used, and the relationship between the new device and the 3 dimensions is stored in a device library.
If all the matching results are not null, the device is indicated as old equipment and the equipment information is not changed, and the matching results are directly returned.
And if the matching result of the first identifier and the third identifier is not null, the matching result of the second identifier is null, which indicates that the equipment is old equipment and the equipment information is changed, updating the second identifier and returning the matching result of the first identifier.
And if the matching result of the first identifier and the second identifier is not null, and the matching result of the third identifier is null, the cookie is cleared by the user, is updated, and the matching result of the first identifier is returned.
And if the matching result of the first identifier is not null and the matching result of the second identifier and the third identifier is null, indicating that the user clears the cookie information, updating the second identifier and the third identifier and returning the matching result of the first identifier.
And if the matching result of the second identifier and the third identifier is not null and the matching result of the first identifier is null, updating the first identifier and returning the matching result of the second identifier.
And if the matching result of the third identifier is not null and the matching result of the first identifier and the second identifier is null, updating the first identifier and the second identifier and returning the matching result of the third identifier.
It can be seen from the foregoing technical solutions that, the present embodiment provides a tracking method for a web device, which is applied to a server of a website, and the tracking method specifically includes deploying a preset information acquisition script to a web page, where the information acquisition script is used to acquire device information of the web device and upload the device information to the server when a user browses the web page by using the web device; processing the equipment information by using a preset algorithm to obtain an equipment identifier of the web equipment; and performing matching operation from a preset equipment library according to the equipment identifier, and returning the equipment id matched with the equipment identifier. Since the scheme does not depend on cookie information which can be cleared by the user, the web device can be identified even if the user regularly clears cookies, so that stable tracking of the web device is realized.
Example two
Fig. 2 is a flowchart illustrating steps of another embodiment of a method for tracking a web device according to the present invention.
Referring to fig. 2, the tracking method for web devices provided in this embodiment is applied to a server of a website, and is used for tracking the web devices by using a device representation method, where the specific tracking method includes the following steps:
s201: and deploying a preset information acquisition script on the web page.
That is, a web page stored on the server is preprocessed, for example, the web page of a website is used to obtain other portal pages, and the preprocessing method is to deploy an executable information collection script, such as an executable javascript script language, on the web page. The information acquisition script is automatically executed when a user browses a corresponding web page by using the web device, acquires the device information of the web device by executing the information acquisition script and uploads the device information to the server in an encryption mode.
The device information specifically includes environment information and software information of the web device. If cookie information uploaded by the server at the previous time is stored in the browser of the web device, the obtained device information further includes the cookie information.
S202: a device identifier of the web device is calculated from the device information.
After the device information including the environment information, the user information and the like is obtained, the device information is processed by using a preset algorithm, and a device identifier capable of identifying the web device is obtained.
For example, the device identifier may include a first identifier reflecting application layer information of the web device, a second identifier reflecting user layer information of the web device, and a third identifier, which is cookie information uploaded by the user.
When the device identifier is calculated, the received device information, such as environment information and environment information, is sorted according to a certain preset rule to obtain an information group; and then, processing the obtained information group according to a preset hash algorithm to obtain a corresponding variable value, wherein the variable value is used as the equipment identifier of the web equipment due to the uniqueness of the variable value.
S203: and tracking the web device according to the device identifier and a preset device library.
After the device identifier is obtained, matching query is carried out from a preset device library by using the device identifier, and a device id matched with the device identifier is returned from the device library according to a matching result, so that the tracking of the web device is realized. The device library stores a plurality of device identifiers and device ids corresponding to the respective device identifiers in a list format.
In the process of matching the equipment identifier, firstly, inquiring from the equipment library according to the equipment identifier; when the device id corresponding to the device identifier is inquired, returning the device id; if the device id corresponding to the device id is not queried, a new id is allocated to the web device, specifically, a random code of 32 bits is generated by using a random algorithm, and the random code is stored as the device id corresponding to the device identifier, and the device id is returned at the same time.
Taking the example that the device identifier includes the first identifier, the second identifier and the third identifier, performing matching query according to the above sequence as priority, and when the device identifier is specifically matched:
and associating the device ids according to the dimension of the first identifier, the second identifier and the third identifier of the search priority. If the matching result is null, the device is a new device, a 32-bit random code which cannot be collided is randomly generated for the new device, the device id is used, and the relationship between the new device and the 3 dimensions is stored in a device library.
If all the matching results are not null, the device is indicated as old equipment and the equipment information is not changed, and the matching results are directly returned.
And if the matching result of the first identifier and the third identifier is not null, the matching result of the second identifier is null, which indicates that the equipment is old equipment and the equipment information is changed, updating the second identifier and returning the matching result of the first identifier.
And if the matching result of the first identifier and the second identifier is not null, and the matching result of the third identifier is null, the cookie is cleared by the user, is updated, and the matching result of the first identifier is returned.
And if the matching result of the first identifier is not null and the matching result of the second identifier and the third identifier is null, indicating that the user clears the cookie information, updating the second identifier and the third identifier and returning the matching result of the first identifier.
And if the matching result of the second identifier and the third identifier is not null and the matching result of the first identifier is null, updating the first identifier and returning the matching result of the second identifier.
And if the matching result of the third identifier is not null and the matching result of the first identifier and the second identifier is null, updating the first identifier and the second identifier and returning the matching result of the third identifier.
S204: and packaging the obtained device id into new cookie information.
After obtaining the device id, the device id is encapsulated to facilitate the following tracking of the web device, so as to obtain a new cookie information containing the device id.
S205: the new cookie information is written to the web device.
After obtaining the new cookie information, uploading the new cookie information to the web device, and writing the new cookie information into a browser of the web device, wherein the browser calls the browser implanted with the information acquisition script through the browser.
It can be seen from the foregoing technical solutions that, the present embodiment provides another tracking method for web devices, which is applied to a server of a website, where the tracking method specifically includes deploying a preset information acquisition script to a web page, where the information acquisition script is used to acquire device information of the web device and upload the device information to the server when a user browses the web page by using the web device; processing the equipment information by using a preset algorithm to obtain an equipment identifier of the web equipment; and performing matching operation from a preset equipment library according to the equipment identifier, and returning the equipment id matched with the equipment identifier. Since the scheme does not depend on cookie information which can be cleared by the user, the web device can be identified even if the user regularly clears cookies, so that stable tracking of the web device is realized. And by generating and writing the new cookie information into the web device, the corresponding purpose can be achieved by directly reading the new cookie information when the web device is tracked subsequently.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
EXAMPLE III
Fig. 3 is a block diagram of a tracking system of a web device according to an embodiment of the present invention.
Referring to fig. 3, the tracking system for web devices provided in this embodiment is applied to a server of a website, and is used for tracking a web device by a device profiling method, and the tracking system includes a script presetting module 10, an identifier calculating module 20, and a device matching module 30.
The script presetting module 10 is used for deploying preset information acquisition scripts on the web page.
That is, a web page stored on the server is preprocessed, for example, the web page of a website is used to obtain other portal pages, and the preprocessing method is to deploy an executable information collection script, such as an executable javascript script language, on the web page. The information acquisition script is automatically executed when a user browses a corresponding web page by using the web device, acquires the device information of the web device by executing the information acquisition script and uploads the device information to the server in an encryption mode.
The device information specifically includes environment information and software information of the web device. If cookie information uploaded by the server at the previous time is stored in the browser of the web device, the obtained device information further includes the cookie information.
The identifier calculation module 20 is configured to calculate a device identifier of the web device based on the device information.
After the device information including the environment information, the user information, and the like is obtained by using the information acquisition script preset by the script presetting module 10, the identifier calculating module 20 processes the device information by using a preset algorithm to obtain a device identifier capable of identifying the web device.
For example, the device identifier may include a first identifier reflecting application layer information of the web device, a second identifier reflecting user layer information of the web device, and a third identifier, which is cookie information uploaded by the user.
The identifier calculation module 20 specifically includes an information sorting unit 21 and a variable value calculation unit 22, where when the device identifier is calculated, the information sorting unit 21 is configured to sort device information, such as environment information and environment information, uploaded by an information acquisition script according to a certain preset rule to obtain an information group; the variable value calculating unit 22 is configured to process the obtained information group according to a preset hash algorithm to obtain a corresponding variable value, and use the variable value as the device identifier of the web device due to uniqueness of the variable value.
The device matching module 30 is configured to track the web device according to the device identifier and a preset device library.
After the identifier calculation module 20 obtains the device identifier, the device matching module 30 performs matching query from a preset device library by using the device identifier, and returns a device id matched with the device identifier from the device library according to a matching result, thereby tracking the web device. The device library stores a plurality of device identifiers and device ids corresponding to the respective device identifiers in a list format.
The device matching module 30 includes a device querying unit 31, a first returning unit 32, and a second returning unit. In the process of matching the device identifier, the device query unit 31 is configured to query the device library according to the device identifier; the first returning unit 32 is configured to return the device id when the device id corresponding to the device identifier is queried by the device querying unit 31; the second returning unit 33 allocates a new id to the web device when the device id corresponding to the new id is not queried by the device querying unit 31, specifically, a 32-bit random code may be generated by using a random algorithm, and the random code is stored as the device id corresponding to the device identifier, and the device id is returned at the same time.
Taking the example that the device identifier includes the first identifier, the second identifier and the third identifier, performing matching query according to the above sequence as priority, and when the device identifier is specifically matched:
and associating the device ids according to the dimension of the first identifier, the second identifier and the third identifier of the search priority. If the matching result is null, the device is a new device, a 32-bit random code which cannot be collided is randomly generated for the new device, the device id is used, and the relationship between the new device and the 3 dimensions is stored in a device library.
If all the matching results are not null, the device is indicated as old equipment and the equipment information is not changed, and the matching results are directly returned.
And if the matching result of the first identifier and the third identifier is not null, the matching result of the second identifier is null, which indicates that the equipment is old equipment and the equipment information is changed, updating the second identifier and returning the matching result of the first identifier.
And if the matching result of the first identifier and the second identifier is not null, and the matching result of the third identifier is null, the cookie is cleared by the user, is updated, and the matching result of the first identifier is returned.
And if the matching result of the first identifier is not null and the matching result of the second identifier and the third identifier is null, indicating that the user clears the cookie information, updating the second identifier and the third identifier and returning the matching result of the first identifier.
And if the matching result of the second identifier and the third identifier is not null and the matching result of the first identifier is null, updating the first identifier and returning the matching result of the second identifier.
And if the matching result of the third identifier is not null and the matching result of the first identifier and the second identifier is null, updating the first identifier and the second identifier and returning the matching result of the third identifier.
It can be seen from the foregoing technical solutions that, the present embodiment provides a tracking method for a web device, which is applied to a server of a website, and the tracking method specifically includes deploying a preset information acquisition script to a web page, where the information acquisition script is used to acquire device information of the web device and upload the device information to the server when a user browses the web page by using the web device; processing the equipment information by using a preset algorithm to obtain an equipment identifier of the web equipment; and performing matching operation from a preset equipment library according to the equipment identifier, and returning the equipment id matched with the equipment identifier. Since the scheme does not depend on cookie information which can be cleared by the user, the web device can be identified even if the user regularly clears cookies, so that stable tracking of the web device is realized.
Example four
Fig. 4 is a block diagram of a tracking system of another web device according to another embodiment of the present invention.
Referring to fig. 4, the tracking system for web devices provided in this embodiment is added with an information encapsulation module 40 and an information writing module 50 on the basis of the previous embodiment.
The information encapsulating module 40 is configured to encapsulate the device id of the web device after the device matching module 30 obtains the device id, so as to facilitate subsequent tracking of the web device, thereby obtaining new cookie information containing the device id.
The information writing module 50 uploads the new cookie information to the web device after the information encapsulating module 40 obtains the new cookie information, and writes the new cookie information into the browser of the web device, where the browser is a browser through which the web device calls the embedded information collecting script.
Compared with the previous embodiment, on the basis of tracking the web device, the embodiment generates and writes the new cookie information into the web device, so that the new cookie information can be directly read when the web device is tracked subsequently, and the corresponding purpose can be achieved.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention 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 invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. 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 terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, 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 terminal 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 terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal 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 terminal. 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 terminal that comprises the element.
The technical solutions provided by the present invention are described in detail above, and the principle and the implementation of the present invention are explained in this document by applying specific examples, and the descriptions of the above examples are only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A tracking method of web equipment is applied to a server of a website, and is characterized by specifically comprising the following steps:
deploying a preset information acquisition script on a web page, wherein the information acquisition script is used for acquiring equipment information of web equipment and uploading the equipment information to the server when a user browses the web page by using the web equipment; processing the equipment information by using a preset algorithm to obtain an equipment identifier of the web equipment; the device identifiers comprise a first identifier, a second identifier and a third identifier, and respectively reflect the following three-dimensional device information: the method comprises the steps of obtaining application layer information of the equipment, user layer information of the equipment and cookie information uploaded by a user;
matching operation is carried out from a preset device library according to the device identifier, association of device ids is carried out according to the dimensionality of the first identifier, the second identifier and the third identifier of the search priority, and the device id matched with the device identifier is returned, so that tracking of the web device is achieved; wherein the device id is a 32-bit random code that does not collide, and the device identifier and the corresponding device id are stored in the preset device library.
2. The tracking method of claim 1, wherein the device information includes environmental information and software information.
3. The tracking method as claimed in claim 1, wherein said processing said device information using a preset algorithm comprises:
sorting various types of information in the equipment information according to a preset rule to obtain an information group;
and processing the information group according to a preset hash algorithm to obtain a corresponding variable value, and taking the variable value as the equipment identifier.
4. The tracking method according to claim 1, wherein said matching operation from a preset device library according to the device identifier and returning the device id matching with the device identifier comprises:
performing query operation from the equipment library according to the equipment identifier;
when the device id matched with the device identifier is inquired, returning the device id;
and when the device id matched with the device identifier does not exist in the device library, allocating a new id to the web device, and returning the new id as the device id.
5. The tracking method according to any one of claims 1 to 4, further comprising the steps of:
packaging the device id to generate new cookie information containing the device id;
and writing the new cookie information into a preset browser of the web device.
6. A tracking system of web equipment is applied to a server of a website, and is characterized by specifically comprising:
the system comprises a script presetting module, a server and a script display module, wherein the script presetting module is used for deploying a preset information acquisition script on a web page, and the information acquisition script is used for acquiring equipment information of web equipment and uploading the equipment information to the server when a user browses the web page by using the web equipment;
the identifier calculation module is used for processing the equipment information by using a preset algorithm to obtain an equipment identifier of the web equipment; the device identifiers comprise a first identifier, a second identifier and a third identifier, and respectively reflect the following three-dimensional device information: the method comprises the steps of obtaining application layer information of the equipment, user layer information of the equipment and cookie information uploaded by a user;
the device matching module is used for performing matching operation from a preset device library according to the device identifier, performing association of device ids according to the dimensionality of the first identifier, the dimensionality of the second identifier and the dimensionality of the third identifier of the search priority, and returning the device id matched with the device identifier, so that the tracking of the web device is realized; wherein the device id is a 32-bit random code that does not collide, and the device identifier and the corresponding device id are stored in the preset device library.
7. The tracking system of claim 6, wherein said device information includes environmental information and software information.
8. The tracking system of claim 6, wherein said identifier calculation module comprises:
the information sorting unit is used for sorting various types of information in the equipment information according to a preset rule to obtain an information group;
and the variable value calculating unit is used for processing the information group according to a preset hash algorithm to obtain a corresponding variable value, and the variable value is used as the equipment identifier.
9. The tracking system of claim 6, wherein the device matching module comprises:
the equipment query unit is used for performing query operation from the equipment library according to the equipment identifier;
the first returning unit is used for returning the equipment id after inquiring the equipment id matched with the equipment identifier;
and the second returning unit is used for distributing a new id to the web device when the device id matched with the device identifier does not exist in the device library, and returning the new id as the device id.
10. The tracking system of any one of claims 6 to 9, further comprising:
the information packaging module is used for packaging the equipment id and generating new cookie information containing the equipment id;
and the information writing module is used for writing the new cookie information into a preset browser of the web equipment.
CN201611122952.6A 2016-12-08 2016-12-08 Method and system for tracking web equipment Active CN106817404B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611122952.6A CN106817404B (en) 2016-12-08 2016-12-08 Method and system for tracking web equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611122952.6A CN106817404B (en) 2016-12-08 2016-12-08 Method and system for tracking web equipment

Publications (2)

Publication Number Publication Date
CN106817404A CN106817404A (en) 2017-06-09
CN106817404B true CN106817404B (en) 2021-03-02

Family

ID=59106995

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611122952.6A Active CN106817404B (en) 2016-12-08 2016-12-08 Method and system for tracking web equipment

Country Status (1)

Country Link
CN (1) CN106817404B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102710770A (en) * 2012-06-01 2012-10-03 汪德嘉 Identification method for network access equipment and implementation system for identification method
WO2015179242A1 (en) * 2014-05-19 2015-11-26 Parrable Inc. Methods and apparatus for identifying browser use on a mobile device
CN105577735A (en) * 2014-11-07 2016-05-11 阿里巴巴集团控股有限公司 Browser-based user behavior tracking method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104639387B (en) * 2014-12-09 2019-03-01 北京京东尚科信息技术有限公司 A kind of user network behavior tracking method and apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102710770A (en) * 2012-06-01 2012-10-03 汪德嘉 Identification method for network access equipment and implementation system for identification method
WO2015179242A1 (en) * 2014-05-19 2015-11-26 Parrable Inc. Methods and apparatus for identifying browser use on a mobile device
CN105577735A (en) * 2014-11-07 2016-05-11 阿里巴巴集团控股有限公司 Browser-based user behavior tracking method and device

Also Published As

Publication number Publication date
CN106817404A (en) 2017-06-09

Similar Documents

Publication Publication Date Title
CN110688598B (en) Service parameter acquisition method and device, computer equipment and storage medium
CN112149032B (en) Advertisement interception method and device
CN108256888B (en) Landing page acquisition method, website server and network advertisement monitoring system
CN111163072B (en) Method and device for determining characteristic value in machine learning model and electronic equipment
CN105183873A (en) Malicious clicking behavior detection method and device
US11093565B2 (en) Methods and systems for identifying multiple devices belonging to a single user by merging deterministic and probabilistic data to generate a cross device data structure
CN102855309A (en) Information recommendation method and device based on user behavior associated analysis
CN108874379B (en) Page processing method and device
CN113220657B (en) Data processing method and device and computer equipment
CN109598526B (en) Method and device for analyzing media contribution
US20210165911A1 (en) System and method for improving security of personally identifiable information
CN106909567B (en) Data processing method and device
CN109145194A (en) The acquisition method and device of user behavior data
CN106682044B (en) Data processing method and device
CN106817404B (en) Method and system for tracking web equipment
CN104021143A (en) Method and device for recording webpage access behavior
CN110321133B (en) H5 application deployment method and device
CN106649374B (en) Navigation tag sequencing method and device
CN110969469B (en) Data acquisition method and device
CN106897297B (en) Method and device for determining access path between website columns
CN110717036B (en) Method and device for removing duplication of uniform resource locator and electronic equipment
CN109313657A (en) Method and system for providing additional information related to primary information
CN110069486B (en) Method and device for storing user-defined parameters
CN105956050A (en) Data collection method, device and equipment
CN106815247B (en) Uniform resource locator obtaining method and device

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

Effective date of registration: 20180523

Address after: 310000 704, room 18, 998 West Wen Yi Road, Wuchang Street, Yuhang District, Hangzhou, Zhejiang.

Applicant after: Tong shield Holdings Limited

Address before: 311100 18 Yuhang 207, Wen Yi Xi Road, Yuhang District, Hangzhou, Zhejiang.

Applicant before: With Shield Technology Co., Ltd.

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

Effective date of registration: 20210906

Address after: 311121 room 607-609, building 18, No. 998, Wenyi West Road, Wuchang Street, Yuhang District, Hangzhou City, Zhejiang Province

Patentee after: Tongdun Network Technology Co.,Ltd.

Address before: 310000 704, room 18, 998 West Wen Yi Road, Wuchang Street, Yuhang District, Hangzhou, Zhejiang.

Patentee before: TONGDUN HOLDINGS Co.,Ltd.