CN106817404A - The method for tracing and system of a kind of web appliance - Google Patents

The method for tracing and system of a kind of web appliance Download PDF

Info

Publication number
CN106817404A
CN106817404A CN201611122952.6A CN201611122952A CN106817404A CN 106817404 A CN106817404 A CN 106817404A CN 201611122952 A CN201611122952 A CN 201611122952A CN 106817404 A CN106817404 A CN 106817404A
Authority
CN
China
Prior art keywords
equipment
information
identifier
web appliance
device identifier
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201611122952.6A
Other languages
Chinese (zh)
Other versions
CN106817404B (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
With Shield Technology 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 With Shield Technology Co Ltd filed Critical With Shield Technology 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

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; CALCULATING OR 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

Abstract

The embodiment of the invention provides the method for tracing and system of a kind of web appliance, it is applied to the server of website, the method for tracing and system are specially to disposing default information gathering script on Web page, information gathering script is used to obtain the facility information of web appliance when user browses Web page using web appliance and upload onto the server;Facility information is processed using preset algorithm, obtains the device identifier of web appliance;Matching operation is carried out from default equipment library according to device identifier, the equipment id matched with device identifier is returned.Because this scheme does not rely on the cookie information that can be cleared by the user, even if therefore user periodically remove cookie and web appliance can be also identified so that realize to web appliance realize stabilization tracking.

Description

The method for tracing and system of a kind of web appliance
Technical field
The present invention relates to network technique field, the method for tracing and system of more particularly to a kind of web appliance.
Background technology
With the complication that Web is applied, operating process of the user on website is increasingly complicated.Web sites function variation and The user that rises to of interactivity provides various possible browse paths.For a website for complexity, to user in net The analysis of the behavior pattern and operating habit that are operated on standing, provides basic data can to the optimization of website and support, certainly above-mentioned The basis of analysis is that web appliance effectively can be followed the trail of, behavior that then could be according to the result for tracking to its user Pattern and operating habit are analyzed.
For at present, when the different websites of the access that user passes through browser, traditional way is by setting third party The mode of cookie, each page includes same third party's link, and when so opening the page, third party can pass through Cookie being write to browser and being uploaded in request every time, the purpose of user behavior is followed the trail of so as to reach.But as user is hidden The enhancing of private protective awareness, user can periodically delete third party cookie or disabling third party cookie, now just cannot be after Continuous tracking user behavior.
The content of the invention
In view of this, the invention provides the method for tracing and system of a kind of web appliance, for identifying access respective wire The web appliance stood, to realize the tracking to the web appliance.
In order to solve the above problems, the invention discloses a kind of method for tracing of web appliance, the service of website is applied to Device, the method for tracing specifically includes step:
To default information gathering script is disposed on Web page, described information collection script is used to utilize web appliance in user When browsing the Web page, obtain the facility information of the web appliance and upload to the server;
The facility information is processed using preset algorithm, obtains the device identifier of the web appliance;
Matching operation is carried out from default equipment library according to the device identifier, is returned and the device identifier phase The equipment id of matching.
Optionally, the facility information includes environmental information and software information.
Optionally, the facility information also includes the cookie information that the server is uploaded.
Optionally, it is described the facility information is processed using preset algorithm, including:
Various information in the facility information is ranked up by default rule, information group is obtained;
Information group is processed by default hash algorithm, corresponding variate-value is obtained, variate-value is set as described Standby identifier.
Optionally, it is described that matching operation is carried out from default equipment library according to the device identifier, return with it is described The equipment id that device identifier matches, including:
Inquiry operation is carried out from the equipment library according to the device identifier;
After the equipment id matched with the device identifier is inquired, the equipment id is returned;
It is the web appliance distribution as the equipment id not matched with the device identifier in the equipment library One new id, and returned the new id as the equipment id.
Optionally, the method for tracing also includes step:
The equipment id is encapsulated, new cookie information of the generation comprising the equipment id;
The new cookie information is written in the default browser of the web appliance.
Accordingly, in order to realize method provided above, present invention also offers a kind of tracing system of web appliance, should For the server of website, the tracing system is specifically included:
Script preset module, for default information gathering script is disposed on Web page, described information collection script to be used for When user browses the Web page using web appliance, obtain the facility information of the web appliance and upload to the server;
Identifier calculation module, for being processed the facility information using preset algorithm, obtains the web appliance Device identifier;
Equipment matching module, for carrying out matching operation from default equipment library according to the device identifier, returns The equipment id matched with the device identifier.
Optionally, the facility information includes environmental information and software information.
Optionally, the facility information also includes the cookie information that the server is uploaded.
Optionally, the identifier calculation module includes:
Information sorting unit, for the various information in the facility information to be ranked up by default rule, obtains letter Breath group;
Variate-value computing unit, for information group to be processed by default hash algorithm, obtains corresponding variate-value, Using variate-value as the device identifier.
Optionally, the equipment matching module includes:
Equipment query unit, for carrying out inquiry operation from the equipment library according to the device identifier;
First returning unit, for after the equipment id matched with the device identifier is inquired, being set described in return Standby id;
Second returning unit, for as the equipment id not matched with the device identifier in the equipment library, For the web appliance distributes a new id, and returned the new id as the equipment id.
Optionally, the tracing system also includes:
Information encapsulation module, for the equipment id to be encapsulated, new cookie of the generation comprising the equipment id believes Breath;
Information writing module, for the new cookie information to be written in the default browser of the web appliance.
From above-mentioned technical proposal as can be seen that the invention provides the method for tracing and system of a kind of web appliance, being applied to The server of website, the method for tracing and system are specially to disposing default information gathering script, information gathering pin on Web page This is used to obtain the facility information of web appliance when user browses Web page using web appliance and upload onto the server;Using pre- Imputation method is processed facility information, obtains the device identifier of web appliance;According to device identifier from default equipment library In carry out matching operation, return to the equipment id matched with device identifier.Due to this scheme is not relied on can be by user The cookie information of removing, even if therefore user periodically remove cookie and web appliance can be also identified, it is right so as to realize Web appliance realizes the tracking of stabilization.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 for the present invention provide a kind of web appliance method for tracing embodiment the step of flow chart;
Fig. 2 for the present invention provide another web appliance method for tracing embodiment the step of flow chart;
A kind of structured flowchart of the tracing system embodiment of web appliance that Fig. 3 is provided for the present invention;
The structured flowchart of the tracing system embodiment of another web appliance that Fig. 4 is provided for the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
Embodiment one
Fig. 1 for the present invention provide a kind of web appliance method for tracing embodiment the step of flow chart.
Shown in reference picture 1, the method for tracing of the web appliance that the present embodiment is provided is applied to the server of website, for leading to Tracking of the method realization that equipment portrait is carried out to web appliance to it is crossed, specific method for tracing comprises the following steps:
S101:To disposing default information gathering script on Web page.
Preprocessing is carried out to the Web page stored on server, for example, can be that the homepage of website obtains other entrances The page, processing method is that executable information gathering script is disposed on the Web page, such as executable javascript scripts Language.Information gathering script user performs automatically when corresponding Web page is browsed using web appliance, by performing the information Collection script obtains the facility information of the web appliance and is uploaded to the server by way of encryption.
Facility information specifically includes the environmental information and software information of the web appliance.If in the browser to web appliance In be stored with the server if the preceding cookie information for once uploading, also believe including the cookie in the facility information of acquisition Breath.
S102:The device identifier of web appliance is calculated according to facility information.
After the above-mentioned facility information including environmental information and user profile etc. is obtained, using preset algorithm to the said equipment Information is processed, and obtains can be identified for that the device identifier of the web appliance.
For example, above-mentioned device identifier can include the first identifier of the application layer message of reflection web appliance, also wrap The second identifier of the client layer information for reflecting the web appliance is included, also including the 3rd identifier, the 3rd identifier is uploaded for user Cookie information.
When computationally stating device identifier, the facility information that will specially receive first, such as environmental information and ring Environment information, is ranked up according to certain default rule, obtains an information group;Then, the information group that will be obtained is by default Hash algorithm is processed, and obtains corresponding variate-value, due to variate-value uniqueness in itself, using the variate-value as the web The device identifier of equipment.
S103:Web appliance is realized to follow the trail of according to device identifier and default equipment library.
After the said equipment identifier is obtained, matching inquiry is carried out from default equipment library using the device identifier, And the equipment id matched with the device identifier is returned from the equipment library according to matching result, so as to realize to web appliance Tracking.It is corresponding with respectively at relevant device identifier with the tabular form multiple equipment identifier that is stored with the equipment library Equipment id.
In device identifier matching process is carried out, looked into from the said equipment storehouse according to the device identifier first Ask;When the equipment id corresponding with the device identifier is inquired, then equipment id is returned;If inquiry is corresponding less than its Equipment id, then for the web appliance distributes a new id, the random code that can specifically utilize random algorithm to generate 32, and Stored the random code as the equipment id corresponding with the device identifier, while equipment id is returned.
It is excellent by said sequence so that device identifier includes the first identifier, the second identifier and the 3rd identifier as an example First level carries out matching inquiry, in specific matching:
Dimension according to the identifier of search priority first, the second identifier, the 3rd identifier carries out the association of equipment id. If matching result is sky, illustrate it is a new equipment, generate 32 random codes that will not be collided to it at random, as Equipment id, and preserve its relation with this above-mentioned 3 dimension to equipment library.
If all matching results are not sky, illustrate to be that old equipment and facility information did not changed, directly return With result.
If the first identifier, the matching result of the 3rd identifier is not sky, and the matching result of the second identifier is sky, is said Bright is that old equipment and facility information change, and updates the second identifier and returns to the matching result of the first identifier.
If the matching result of the first identifier and the second identifier is not sky, the matching result of the 3rd identifier is sky, Illustrate that user removes cookie, update the cookie and return to the matching result of the first identifier.
If the matching result of the first identifier is not sky, the matching result of the second identifier and the 3rd identifier is sky, Illustrate that user removes cookie information, update the second identifier and the 3rd identifier and return to the matching knot of the first identifier Really.
If the matching result of the second identifier and the 3rd identifier is not sky, the matching result of the first identifier is sky, Then update the first identifier and return to the matching result of the second identifier.
If the matching result of the 3rd identifier is not sky, the matching result of the first identifier and the second identifier is sky, The first identifier and the second identifier are then updated, and returns to the matching result of the 3rd identifier.
From above-mentioned technical proposal as can be seen that present embodiments providing a kind of method for tracing of web appliance, website is applied to Server, the method for tracing is specially to disposing default information gathering script on Web page, information gathering script be used for When family browses Web page using web appliance, obtain the facility information of web appliance and upload onto the server;Set using preset algorithm pair Standby information is processed, and obtains the device identifier of web appliance;Matched from default equipment library according to device identifier Operation, returns to the equipment id matched with device identifier.Because this scheme does not rely on what can be cleared by the user Cookie information, even if therefore user periodically remove cookie and web appliance can be also identified, so as to realize setting web The standby tracking for realizing stabilization.
Embodiment two
Fig. 2 for the present invention provide another web appliance method for tracing embodiment the step of flow chart.
Shown in reference picture 2, the method for tracing of the web appliance that the present embodiment is provided is applied to the server of website, for leading to Tracking of the method realization that equipment portrait is carried out to web appliance to it is crossed, specific method for tracing comprises the following steps:
S201:To disposing default information gathering script on Web page.
Preprocessing is carried out to the Web page stored on server, for example, can be that the homepage of website obtains other entrances The page, processing method is that executable information gathering script is disposed on the Web page, such as executable javascript scripts Language.Information gathering script user performs automatically when corresponding Web page is browsed using web appliance, by performing the information Collection script obtains the facility information of the web appliance and is uploaded to the server by way of encryption.
Facility information specifically includes the environmental information and software information of the web appliance.If in the browser to web appliance In be stored with the server if the preceding cookie information for once uploading, also believe including the cookie in the facility information of acquisition Breath.
S202:The device identifier of web appliance is calculated according to facility information.
After the above-mentioned facility information including environmental information and user profile etc. is obtained, using preset algorithm to the said equipment Information is processed, and obtains can be identified for that the device identifier of the web appliance.
For example, above-mentioned device identifier can include the first identifier of the application layer message of reflection web appliance, also wrap The second identifier of the client layer information for reflecting the web appliance is included, also including the 3rd identifier, the 3rd identifier is uploaded for user Cookie information.
When computationally stating device identifier, the facility information that will specially receive first, such as environmental information and ring Environment information, is ranked up according to certain default rule, obtains an information group;Then, the information group that will be obtained is by default Hash algorithm is processed, and obtains corresponding variate-value, due to variate-value uniqueness in itself, using the variate-value as the web The device identifier of equipment.
S203:Web appliance is realized to follow the trail of according to device identifier and default equipment library.
After the said equipment identifier is obtained, matching inquiry is carried out from default equipment library using the device identifier, And the equipment id matched with the device identifier is returned from the equipment library according to matching result, so as to realize to web appliance Tracking.It is corresponding with respectively at relevant device identifier with the tabular form multiple equipment identifier that is stored with the equipment library Equipment id.
In device identifier matching process is carried out, looked into from the said equipment storehouse according to the device identifier first Ask;When the equipment id corresponding with the device identifier is inquired, then equipment id is returned;If inquiry is corresponding less than its Equipment id, then for the web appliance distributes a new id, the random code that can specifically utilize random algorithm to generate 32, and Stored the random code as the equipment id corresponding with the device identifier, while equipment id is returned.
It is excellent by said sequence so that device identifier includes the first identifier, the second identifier and the 3rd identifier as an example First level carries out matching inquiry, in specific matching:
Dimension according to the identifier of search priority first, the second identifier, the 3rd identifier carries out the association of equipment id. If matching result is sky, illustrate it is a new equipment, generate 32 random codes that will not be collided to it at random, as Equipment id, and preserve its relation with this above-mentioned 3 dimension to equipment library.
If all matching results are not sky, illustrate to be that old equipment and facility information did not changed, directly return With result.
If the first identifier, the matching result of the 3rd identifier is not sky, and the matching result of the second identifier is sky, is said Bright is that old equipment and facility information change, and updates the second identifier and returns to the matching result of the first identifier.
If the matching result of the first identifier and the second identifier is not sky, the matching result of the 3rd identifier is sky, Illustrate that user removes cookie, update the cookie and return to the matching result of the first identifier.
If the matching result of the first identifier is not sky, the matching result of the second identifier and the 3rd identifier is sky, Illustrate that user removes cookie information, update the second identifier and the 3rd identifier and return to the matching knot of the first identifier Really.
If the matching result of the second identifier and the 3rd identifier is not sky, the matching result of the first identifier is sky, Then update the first identifier and return to the matching result of the second identifier.
If the matching result of the 3rd identifier is not sky, the matching result of the first identifier and the second identifier is sky, The first identifier and the second identifier are then updated, and returns to the matching result of the 3rd identifier.
S204:The equipment id that will be obtained is encapsulated as new cookie information.
After the said equipment id is obtained, for the ease of tracking later to the web appliance, equipment id is packaged, So as to obtain a new cookie information comprising equipment id.
S205:New cookie information is write into web appliance.
After new cookie information is obtained, the new cookie information is uploaded into the web appliance, and write the web appliance In browser, the browser is the browser that web appliance calls the implantation information gathering script by it.
From above-mentioned technical proposal as can be seen that present embodiments providing the method for tracing of another web appliance, net is applied to The server stood, the method for tracing is specially to default information gathering script is disposed on Web page, and information gathering script is used for When user browses Web page using web appliance, obtain the facility information of web appliance and upload onto the server;Using preset algorithm pair Facility information is processed, and obtains the device identifier of web appliance;Carried out from default equipment library according to device identifier With operation, the equipment id matched with device identifier is returned.Because this scheme does not rely on what can be cleared by the user Cookie information, even if therefore user periodically remove cookie and web appliance can be also identified, so as to realize setting web The standby tracking for realizing stabilization.And new cookie information is write by generation and to web appliance, subsequently to be carried out to web appliance The new cookie information is directly read during tracking and can reach corresponding purpose.
It should be noted that for embodiment of the method, in order to be briefly described, therefore it to be all expressed as a series of action group Close, but those skilled in the art should know, and the embodiment of the present invention is not limited by described sequence of movement, because according to According to the embodiment of the present invention, some steps can sequentially or simultaneously be carried out using other.Secondly, those skilled in the art also should Know, embodiment described in this description belongs to preferred embodiment, the involved action not necessarily present invention is implemented Necessary to example.
Embodiment three
A kind of structured flowchart of the tracing system embodiment of web appliance that Fig. 3 is provided for the present invention.
Shown in reference picture 3, the tracing system of the web appliance that the present embodiment is provided is applied to the server of website, for leading to Crossing carries out the method for equipment portrait to web appliance and realizes tracking to it, specific tracing system include script preset module 10, Identifier calculation module 20 and equipment matching module 30.
Script preset module 10 is used for disposing default information gathering script on Web page.
Preprocessing is carried out to the Web page stored on server, for example, can be that the homepage of website obtains other entrances The page, processing method is that executable information gathering script is disposed on the Web page, such as executable javascript scripts Language.Information gathering script user performs automatically when corresponding Web page is browsed using web appliance, by performing the information Collection script obtains the facility information of the web appliance and is uploaded to the server by way of encryption.
Facility information specifically includes the environmental information and software information of the web appliance.If in the browser to web appliance In be stored with the server if the preceding cookie information for once uploading, also believe including the cookie in the facility information of acquisition Breath.
Identifier calculation module 20 is used to be calculated according to facility information the device identifier of web appliance.
Obtaining above-mentioned including environmental information and user profile using the preset information gathering script of script preset module 10 Deng facility information after, identifier calculation module 20 is processed the said equipment information using preset algorithm, obtains marking Know the device identifier of the web appliance.
For example, above-mentioned device identifier can include the first identifier of the application layer message of reflection web appliance, also wrap The second identifier of the client layer information for reflecting the web appliance is included, also including the 3rd identifier, the 3rd identifier is uploaded for user Cookie information.
The identifier calculation module 20 specifically includes information sorting unit 21 and variate-value computing unit 22, computationally states During device identifier, information sorting unit 21 is used for the facility information for uploading information gathering script, such as environmental information and ring Environment information, is ranked up according to certain default rule, obtains an information group;Variate-value computing unit 22 is then used to obtain Information group processed by default hash algorithm, corresponding variate-value is obtained, due to variate-value uniqueness in itself, by this Variate-value as the web appliance device identifier.
Equipment matching module 30 is used to that web appliance to be realized to follow the trail of according to device identifier and default equipment library.
After identifier calculation module 20 obtains the said equipment identifier, equipment matching module 30 then utilizes the device identification Symbol carries out matching inquiry from default equipment library, and is returned and the device identifier phase from the equipment library according to matching result The equipment id of matching, so as to realize the tracking to web appliance.It is stored with multiple equipment identifier with tabular form in the equipment library With respectively at the corresponding equipment id of relevant device identifier.
The equipment matching module 30 includes equipment query unit 31, the first returning unit 32 and the second returning unit.Entering In row device identifier matching process, equipment query unit 31 is used to be looked into from the said equipment storehouse according to the device identifier Ask;First returning unit 32 is then used for when equipment query unit 31 inquires the equipment id corresponding with the device identifier, Return to equipment id;Second returning unit 33 is then the web when equipment query unit 31 inquires about equipment id corresponding less than its Equipment distributes a new id, can specifically utilize the random algorithm generation random code of 32, and using the random code as with The corresponding equipment id of the device identifier is stored, while equipment id is returned.
It is excellent by said sequence so that device identifier includes the first identifier, the second identifier and the 3rd identifier as an example First level carries out matching inquiry, in specific matching:
Dimension according to the identifier of search priority first, the second identifier, the 3rd identifier carries out the association of equipment id. If matching result is sky, illustrate it is a new equipment, generate 32 random codes that will not be collided to it at random, as Equipment id, and preserve its relation with this above-mentioned 3 dimension to equipment library.
If all matching results are not sky, illustrate to be that old equipment and facility information did not changed, directly return With result.
If the first identifier, the matching result of the 3rd identifier is not sky, and the matching result of the second identifier is sky, is said Bright is that old equipment and facility information change, and updates the second identifier and returns to the matching result of the first identifier.
If the matching result of the first identifier and the second identifier is not sky, the matching result of the 3rd identifier is sky, Illustrate that user removes cookie, update the cookie and return to the matching result of the first identifier.
If the matching result of the first identifier is not sky, the matching result of the second identifier and the 3rd identifier is sky, Illustrate that user removes cookie information, update the second identifier and the 3rd identifier and return to the matching knot of the first identifier Really.
If the matching result of the second identifier and the 3rd identifier is not sky, the matching result of the first identifier is sky, Then update the first identifier and return to the matching result of the second identifier.
If the matching result of the 3rd identifier is not sky, the matching result of the first identifier and the second identifier is sky, The first identifier and the second identifier are then updated, and returns to the matching result of the 3rd identifier.
From above-mentioned technical proposal as can be seen that present embodiments providing a kind of method for tracing of web appliance, website is applied to Server, the method for tracing is specially to disposing default information gathering script on Web page, information gathering script be used for When family browses Web page using web appliance, obtain the facility information of web appliance and upload onto the server;Set using preset algorithm pair Standby information is processed, and obtains the device identifier of web appliance;Matched from default equipment library according to device identifier Operation, returns to the equipment id matched with device identifier.Because this scheme does not rely on what can be cleared by the user Cookie information, even if therefore user periodically remove cookie and web appliance can be also identified, so as to realize setting web The standby tracking for realizing stabilization.
Example IV
The structured flowchart of the tracing system embodiment of another web appliance that Fig. 4 is provided for the present invention.
Shown in reference picture 4, the tracing system of the web appliance that the present embodiment is provided is set up on the basis of a upper embodiment Information encapsulation module 40 and information writing module 50.
Information encapsulation module 40 is used for after the equipment id that equipment matching module 30 obtains above-mentioned web appliance, for the ease of The tracking to the web appliance, equipment id is packaged later, so as to obtain a new cookie letter comprising equipment id Breath.
Information writing module 50 then after Information encapsulation module 40 obtains new cookie information, by the new cookie information The web appliance is passed, and is write in the browser of the web appliance, the browser calls the implantation information to adopt for web appliance by it Collect the browser of script.
For a upper embodiment, the present embodiment to web appliance realize follow the trail of on the basis of, by generation and to Web appliance writes new cookie information, and the new cookie information is directly read during to be subsequently tracked to web appliance Reach corresponding purpose.
For device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, it is related Part is illustrated referring to the part of embodiment of the method.
Each embodiment in this specification is described by the way of progressive, what each embodiment was stressed be with The difference of other embodiment, between each embodiment identical similar part mutually referring to.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can be provided as method, device or calculate Machine program product.Therefore, the embodiment of the present invention can using complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.And, the embodiment of the present invention can using wherein include computer at one or more can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
The embodiment of the present invention is with reference to method according to embodiments of the present invention, terminal device (system) and computer program The flow chart and/or block diagram of product is described.It should be understood that flow chart and/or block diagram can be realized by computer program instructions In each flow and/or flow and/or square frame in square frame and flow chart and/or block diagram combination.These can be provided Computer program instructions set to all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is producing a machine so that held by the processor of computer or other programmable data processing terminal equipments Capable instruction is produced for realizing in one flow of flow chart or multiple one square frame of flow and/or block diagram or multiple square frames The device of the function of specifying.
These computer program instructions may be alternatively stored in can guide computer or other programmable data processing terminal equipments In the computer-readable memory for working in a specific way so that instruction of the storage in the computer-readable memory produces bag The manufacture of command device is included, the command device is realized in one flow of flow chart or multiple one side of flow and/or block diagram The function of being specified in frame or multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing terminal equipments so that Series of operation steps is performed on computer or other programmable terminal equipments to produce computer implemented treatment, so that The instruction performed on computer or other programmable terminal equipments is provided for realizing in one flow of flow chart or multiple flows And/or specified in one square frame of block diagram or multiple square frame function the step of.
Although having been described for the preferred embodiment of the embodiment of the present invention, those skilled in the art once know base This creative concept, then can make other change and modification to these embodiments.So, appended claims are intended to be construed to Including preferred embodiment and fall into having altered and changing for range of embodiment of the invention.
Finally, in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to by One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation Between there is any this actual relation or order.And, term " including ", "comprising" or its any other variant meaning Covering including for nonexcludability, so that process, method, article or terminal device including a series of key elements are not only wrapped Those key elements, but also other key elements including being not expressly set out are included, or also includes being this process, method, article Or the intrinsic key element of terminal device.In the absence of more restrictions, by wanting that sentence "including a ..." is limited Element, it is not excluded that also there is other identical element in the process including the key element, method, article or terminal device.
Technical scheme provided by the present invention is described in detail above, specific case used herein is to this hair Bright principle and implementation method is set forth, the explanation of above example be only intended to help understand the method for the present invention and its Core concept;Simultaneously for those of ordinary skill in the art, according to thought of the invention, in specific embodiment and application Be will change in scope, in sum, this specification content should not be construed as limiting the invention.

Claims (12)

1. a kind of method for tracing of web appliance, is applied to the server of website, it is characterised in that the method for tracing is specifically wrapped Include step:
To default information gathering script is disposed on Web page, described information collection script is used to be browsed using web appliance in user During the Web page, obtain the facility information of the web appliance and upload to the server;
The facility information is processed using preset algorithm, obtains the device identifier of the web appliance;
Matching operation is carried out from default equipment library according to the device identifier, return matches with the device identifier Equipment id.
2. method for tracing as claimed in claim 1, it is characterised in that the facility information includes that environmental information and software are believed Breath.
3. method for tracing as claimed in claim 2, it is characterised in that the facility information also includes what the server was uploaded Cookie information.
4. method for tracing as claimed in claim 1, it is characterised in that described to be carried out to the facility information using preset algorithm Treatment, including:
Various information in the facility information is ranked up by default rule, information group is obtained;
Information group is processed by default hash algorithm, corresponding variate-value is obtained, using variate-value as the equipment mark Know symbol.
5. method for tracing as claimed in claim 1, it is characterised in that described according to the device identifier from default equipment Matching operation is carried out in storehouse, the equipment id matched with the device identifier is returned, including:
Inquiry operation is carried out from the equipment library according to the device identifier;
After the equipment id matched with the device identifier is inquired, the equipment id is returned;
It is that the web appliance distributes one as the equipment id not matched with the device identifier in the equipment library New id, and returned the new id as the equipment id.
6. the method for tracing as described in Claims 1 to 5, it is characterised in that also including step:
The equipment id is encapsulated, new cookie information of the generation comprising the equipment id;
The new cookie information is written in the default browser of the web appliance.
7. a kind of tracing system of web appliance, is applied to the server of website, it is characterised in that the tracing system is specifically wrapped Include:
Script preset module, for disposing default information gathering script on Web page, described information collection script be used for When family browses the Web page using web appliance, obtain the facility information of the web appliance and upload to the server;
Identifier calculation module, for being processed the facility information using preset algorithm, obtains setting for the web appliance Standby identifier;
Equipment matching module, for carrying out matching operation from default equipment library according to the device identifier, returns and institute State the equipment id that device identifier matches.
8. tracing system as claimed in claim 7, it is characterised in that the facility information includes that environmental information and software are believed Breath.
9. tracing system as claimed in claim 8, it is characterised in that the facility information also includes what the server was uploaded Cookie information.
10. tracing system as claimed in claim 7, it is characterised in that the identifier calculation module includes:
Information sorting unit, for the various information in the facility information to be ranked up by default rule, obtains information group;
Variate-value computing unit, for information group to be processed by default hash algorithm, obtains corresponding variate-value, will become Value is used as the device identifier.
11. tracing systems as claimed in claim 7, it is characterised in that the equipment matching module includes:
Equipment query unit, for carrying out inquiry operation from the equipment library according to the device identifier;
First returning unit, for after the equipment id matched with the device identifier is inquired, returning to the equipment id;
Second returning unit, for being institute as the equipment id not matched with the device identifier in the equipment library State web appliance and distribute a new id, and returned the new id as the equipment id.
12. tracing system as described in claim 7~11, it is characterised in that also include:
Information encapsulation module, for the equipment id to be encapsulated, new cookie information of the generation comprising the equipment id;
Information writing module, for the new cookie information to be written in the default browser of the web appliance.
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 true CN106817404A (en) 2017-06-09
CN106817404B 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 (4)

* 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
CN104639387A (en) * 2014-12-09 2015-05-20 北京京东尚科信息技术有限公司 Users' network behavior tracking method and equipment
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

Patent Citations (4)

* 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
CN104639387A (en) * 2014-12-09 2015-05-20 北京京东尚科信息技术有限公司 Users' network behavior tracking method and equipment

Also Published As

Publication number Publication date
CN106817404B (en) 2021-03-02

Similar Documents

Publication Publication Date Title
US20160283096A1 (en) Method of generating a link by utilizing a picture and system thereof
US9734149B2 (en) Clustering repetitive structure of asynchronous web application content
CN110245470A (en) Intelligent data desensitization method, device, computer equipment and storage medium
CN107341160A (en) A kind of method and device for intercepting reptile
CN106294379A (en) The loading method of a kind of page, device and system
CN106407371A (en) User comment data displaying method and system, server and client
CN104135507A (en) A method and a device for hotlink protection
CN106598972A (en) Information display method and device as well as intelligent terminal
CN105224554A (en) Search word is recommended to carry out method, system, server and the intelligent terminal searched for
CN104346345B (en) The storage method and device of data
CN106156244A (en) A kind of information search air navigation aid and device
CN102831218A (en) Method and device for determining data in thermodynamic chart
CN104391953B (en) Detect the method and device of webpage renewal
CN108429785A (en) A kind of generation method, reptile recognition methods and the device of reptile identification encryption string
CN104765746A (en) Data processing method and device for mobile communication terminal browser
CN110209909A (en) Data crawling method, device, computer equipment and storage medium
CN108334619A (en) A kind of collecting method, device, computing device and storage medium
CN107316231A (en) Hotel's pricing information method for pushing, system and storage medium
CN104283865A (en) Download processing method and device, server and client device
CN104899217B (en) A kind of implementation method and device of custom feature
CN105740417A (en) Webpage based target data search method and module, browser and terminal
CN111090797A (en) Data acquisition method and device, computer equipment and storage medium
CN104462390B (en) A kind of method and system for improving webpage self-adaptive layout efficiency
CN110020297A (en) A kind of loading method of web page contents, apparatus and system
CN107229653A (en) Pseudo- static Web page generation 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.