CN104468790A - Method for processing cookie data and client side - Google Patents

Method for processing cookie data and client side Download PDF

Info

Publication number
CN104468790A
CN104468790A CN201410748942.8A CN201410748942A CN104468790A CN 104468790 A CN104468790 A CN 104468790A CN 201410748942 A CN201410748942 A CN 201410748942A CN 104468790 A CN104468790 A CN 104468790A
Authority
CN
China
Prior art keywords
cookie
associated stations
data
targeted sites
user
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
CN201410748942.8A
Other languages
Chinese (zh)
Other versions
CN104468790B (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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201410748942.8A priority Critical patent/CN104468790B/en
Publication of CN104468790A publication Critical patent/CN104468790A/en
Application granted granted Critical
Publication of CN104468790B publication Critical patent/CN104468790B/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/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0815Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method for processing cookie data and a client side. The method for processing cookie data comprises the steps of acquiring a http responding message from a target station; extracting cookie setting data of the target station from the responding message; searching for relevant stations of the target station; writing the cookie data of the relevant stations in cookie files according to the cookie setting data so as to add the cookie data of the relevant stations in a http request message when a http request is sent to the relevant stations. By means of the scheme of the method for processing cookie data, cookies are extracted from the responding message returned from the target station, and the cookie files of a series of relevant stations of the target station are generated locally and automatically according to the extracted cookies, so that when access to the relevant stations is had, the corresponding cookie data are attached to identify the relevant stations, it is unnecessary to execute the repeated log-in process, operation of a user is reduced, and the use experience is improved.

Description

The processing method of cookie data and client
Technical field
The present invention relates to Internet technical field, particularly relate to processing method and the client of cookie data.
Background technology
How http protocol defines browser to server request document, and how server sends browser to document, from the angle of level, HTTP is towards affairs (transaction oriented) application layer protocol, and it is can the important foundation of reliable exchange file (comprising the various multimedia files such as text, sound, image) on network.
HTTP is stateless, thus simplifies the design of server, but in practical application, website needs to identify user and recording user, and user-friendly or restricting user access, realizes this function, can use Cookie data in HTTP.Be defined Cookie data in RFC2109, regulation website can use Cookie data to follow the tracks of user.Cookie original meaning is " cooky ", there is no standard Chinese translated name at present, indicates the state information transmitted between HTTP service and client (such as browser) at internet arena Cookie.
The operation principle of Cookie data is: when certain user browses the website of certain use Cookie data, the server of this website is just for this user generates a unique identification code, and in the back-end data base of server, produce a project in this, as index, and add to in the stem row head in the response message of the HTTP of user, the content of herein adding is exactly " set-cookie ", and its assignment is exactly " identification code " of giving this user.After the client of user receives this response message, client just adds a line in the Cookie file of its management, comprising the identification code that host name and the set-cookie of this server provide below, when client continues this website of access, often send a HTTP request message, client will be taken out the identification code of this website and be put in the head of the Cookie data of HTTP request message from its Cookie file, so the activity of user in this website just can be followed the tracks of in this website.
It is mutual that the application of Cookie data facilitates between user and service end, but the cookie data of prior art in use, issued by some websites, wherein " identification code " only works for this website, but along with the development of the Internet, the business that some Large-Scale Interconnected net companies relate to gets more and more, and its website of setting up is more than one, although the content covered is different, all use an Account Logon.In the prior art, the user of these websites, when accessing each website, all needs to carry out register, complicated operation.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of processing method overcoming the problems referred to above or the client solved the problem at least in part and corresponding cookie data.
The present invention's further object to reduce the register of user when using client.
Another further object of the present invention is the fail safe improving cookie use.
According to one aspect of the present invention, provide a kind of processing method of cookie data.The processing method of these cookie data comprises: obtain the HTML (Hypertext Markup Language) http response message coming from targeted sites; The cookie setting data of targeted sites is extracted in response message; Search the associated stations of targeted sites; In cookie file, the cookie data of associated stations are write, when sending http request to associated stations, to add the cookie data of associated stations in http request message according to cookie setting data.
Alternatively, the associated stations of searching targeted sites comprises: the host name extracting the targeted sites in cookie data; In the association website correspondence table preset, search the associated stations of the correspondence of targeted sites according to the host name of targeted sites, and extract the host name of associated stations.
Alternatively, also comprise after the host name extracting associated stations: call preset security component and security sweep is carried out to the host name of associated stations, and delete the associated stations that there is potential safety hazard.
Alternatively, also comprised before searching the associated stations of targeted sites: the incidence relation between the multiple websites utilizing the browser interface acquisition user preset to arrange; Generate association website correspondence according to incidence relation show and preserve.
Alternatively, the incidence relation between the multiple websites utilizing the browser interface acquisition user preset to arrange comprises: the multinomial user's logon data obtaining login management interface record in browser; The site information that user ID is identical is extracted from user's logon data; Generate association website correspondence according to the site information relation extracted show and preserve.
Alternatively, also comprised before searching the associated stations of targeted sites: download associated stations dot information from high in the clouds, the incidence relation between multiple website is preserved in high in the clouds in advance; Browser mark in associated stations dot information is rewritten as the browser mated with the client downloading associated stations dot information from high in the clouds identify; Show according to the associated stations dot information generation association website correspondence after rewriting browser mark and preserve.
Alternatively, also comprise after the cookie data writing associated stations according to cookie setting data in cookie file: cookie file and user login information being packed is uploaded to high in the clouds, use for other client downloads using user login information to log in.
Alternatively, the cookie data writing associated stations according to cookie setting data in cookie file comprise: extract the user identification code in cookie data; The host name coupling of user identification code and associated stations is write in cookie file.
According to another aspect of the present invention, a kind of client is additionally provided.This client comprises: Receive message module, is configured to obtain the HTML (Hypertext Markup Language) http response message coming from targeted sites; Cookie data extraction module, is configured to the cookie setting data extracting targeted sites in response message; Website searches module, is configured to the associated stations of searching targeted sites; Cookie file configuration module, is configured to the cookie data writing associated stations according to cookie setting data in cookie file, when sending http request to associated stations, to add the cookie data of associated stations in http request message.
Alternatively, website is searched module and is also configured to: the host name extracting the targeted sites in cookie data; In the association website correspondence table preset, search the associated stations of the correspondence of targeted sites according to the host name of targeted sites, and extract the host name of associated stations.
Alternatively, above client also comprises: security sweep module, is configured to call preset security component and carries out security sweep to the host name of associated stations, and deletes the associated stations that there is potential safety hazard.
Alternatively, above client also comprises: the first corresponding table generation module, is configured to: the incidence relation between the multiple websites utilizing the browser interface acquisition user preset to arrange, and generates association website correspondence show and preserve according to incidence relation.
Alternatively, the first corresponding table generation module is also configured to: the multinomial user's logon data obtaining login management interface record in browser; The site information that user ID is identical is extracted from user's logon data; Generate association website correspondence according to the site information relation extracted show and preserve.
Alternatively, above client also comprises: the second corresponding table generation module, be configured to download associated stations dot information from high in the clouds, the incidence relation between multiple website is preserved in high in the clouds in advance, browser mark in associated stations dot information is rewritten as the browser mated with the client downloading associated stations dot information from high in the clouds identify, shows according to the associated stations dot information generation association website correspondence after rewriting browser mark and preserve.
Alternatively, above client also comprises: transmission module on cookie file, and being configured to packs cookie file and user login information is uploaded to high in the clouds, uses for other client downloads using user login information to log in.
Alternatively, Cookie file configuration module is also configured to: extract the user identification code in cookie data; The host name coupling of user identification code and associated stations is write in cookie file.
The processing method of client of the present invention and cookie data, cookie is extracted from the response message that targeted sites returns, and automatically generate the cookie file of a series of associated stations of targeted sites in this locality according to the cookie extracted, so that when accessing these associated stations, incidentally go up corresponding cookie data, so that associated stations identification, and the login process of repetition need not be performed, decrease the operation of user, improve experience.
Further, the processing method of client of the present invention and cookie data, can by analyzing the incidence relation between website, and completing once login for the website be relative to each other can when accessing a series of website, and automatically attach identifying information, reliability is high.
Further, the processing method of client of the present invention and cookie data can also carry out security sweep to targeted sites, and only when targeted sites and associated stations thereof meet safety requirements, just carry out searching associated stations and the operation of extracting cookie setting data, ensure that fail safe.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of specification, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
According to hereafter by reference to the accompanying drawings to the detailed description of the specific embodiment of the invention, those skilled in the art will understand above-mentioned and other objects, advantage and feature of the present invention more.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 is that client carries out the link composition of site access according to an embodiment of the invention;
Fig. 2 is the schematic diagram of client according to an embodiment of the invention;
Fig. 3 is the schematic diagram of client in accordance with another embodiment of the present invention; And
Fig. 4 is the schematic diagram of the processing method of cookie data according to an embodiment of the invention.
Embodiment
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
Present embodiments provide a kind of client.Fig. 1 is that client carries out the link composition of site access according to an embodiment of the invention, and after user uses client to conduct interviews to targeted sites (being introduced for www.abc.com below), its subsequent flows journey can comprise:
Step S102, client initiates the access request to targeted sites www.abc.com, this sentences the associated stations that this targeted sites comprises mail.abc.com and bbs.abc.com, in fact the associated stations of a website may comprise multiple associated stations, also may not comprise associated stations, the rhizosphere name possibility of associated stations is identical also may be different;
Step S104, targeted sites returns http response message, and response message comprises the stem row of set-cookie and the assignment to set-cookie, this assignment i.e. this website to the identification code of this user, such as " set-cookie:12346578 "; Client processes above cookie data, generates the serial cookie data of associated stations;
Step S106, client is when accessing associated stations 1:mail.abc.com, and request message adds the cookie data of " cookie:12345678 " automatically in the cookie stem row of its HTTP request message;
Step S108, associated stations 1mail.abc.com, the identification code in the cookie data of identify customer end, and correspondingly return response message, repeat certification without the need to user and log in;
Step S110, client is when accessing associated stations 2:bbs.abc.com, and request message adds the cookie data of " cookie:12345678 " automatically in the cookie stem row of its HTTP request message;
Step S112, associated stations 2:bbs.abc.com, the identification code in the cookie data of identify customer end, and correspondingly return response message, repeat certification without the need to user and log in.
This shows that utilizing embodiments of the invention to repeat certification without the need to user logs in, after a series of related web site being carried out to once certification login, namely when conducting interviews to arbitrary in the website of this series, corresponding cookie data are added in request message, for station recognition, simplify the operation of user.
Fig. 2 is the schematic diagram of client 200 according to an embodiment of the invention, and this client 200 can comprise in general manner: Receive message module 210, Cookie data extraction module 220, website search module 230, Cookie file configuration module 240.
With in upper-part, Receive message module 210 can be configured to: obtain the HTML (Hypertext Markup Language) http response message coming from targeted sites.As mentioned above, can comprise the stem row of set-cookie and the assignment (namely this website is to the identification code of this user) to set-cookie in http response message, such as above " set-cookie:12346578 ", identification code is designated as 12345678.
Cookie data extraction module 220 can be configured to the cookie setting data extracting targeted sites in response message, namely extracts the identification code for this user " 12345678 " that this targeted sites generates.
Website is searched module 230 and be can be configured to the associated stations of searching targeted sites, and its a kind of optional flow process is: the host name extracting the targeted sites in cookie data; In the association website correspondence table preset, search the associated stations of the correspondence of targeted sites according to the host name of targeted sites, and extract the host name of associated stations.For above citing, main frame is called to the website of www.abc.com, website is searched module 230 and can be found out in the association website correspondence table preset: mail.abc.com and bbs.abc.com is associated stations.
Cookie file configuration module 240 can be configured to the cookie data writing associated stations according to cookie setting data in cookie file, when sending http request to associated stations, to add the cookie data of associated stations in http request message.Cookie file configuration module 240 can extract the user identification code in cookie data; The host name coupling of user identification code and associated stations is write in cookie file.
Fig. 3 is the schematic diagram of client 200 in accordance with another embodiment of the present invention, on the basis of above-described embodiment, client 200 also can increase setting flexibly: transmission module 270 on security sweep module 240, first correspondence table generation module 250, second correspondence table generation module 260, cookie file.These modules can be configured according to the actual flexible function possessed of client, in some embodiment, can configure whole module simultaneously.
Security sweep module 240 is configured to call preset security component and carries out security sweep to the host name of associated stations, and deletes the associated stations that there is potential safety hazard.The security sweep storehouse that security sweep can call security component preset is carried out, such as, confirm whether the host name of associated stations exists malice record, ensure that the fail safe of cookie data by deleting the associated stations that there is potential safety hazard.
The corresponding relation of above targeted sites and associated stations can be determined in several ways, such as determined by history access record or website identical for rhizosphere name is designated as associated stations, such as go up in example, www.abc.com, mail.abc.com, bbs.abc.com both can determine relevant incidence relation by identical rhizosphere name.In some embodiment, the incidence relation that client of the present invention can be determined between website by the first corresponding table generation module 250 and the second corresponding table generation module 260.
Incidence relation between multiple websites that first corresponding table generation module 250 can utilize default browser interface acquisition user to arrange, generates association website correspondence according to incidence relation and shows and preserve.A kind of optional flow process is: the multinomial user's logon data obtaining login management interface record in browser; The site information that user ID is identical is extracted from user's logon data; Generate association website correspondence according to the site information relation extracted show and preserve.
Second corresponding table generation module 260 can download associated stations dot information from high in the clouds, the incidence relation between multiple website is preserved in high in the clouds in advance, browser mark in associated stations dot information is rewritten as the browser mated with the client downloading associated stations dot information from high in the clouds identify, shows according to the associated stations dot information generation association website correspondence after rewriting browser mark and preserve.The incidence relation of high in the clouds record can by administrative staff's rule of thumb data interpolation, and generation is summed up in the data analysis also can collecting multiple client upload.
In order to save the operation of user further, on cookie file, cookie file and user login information can also be packed and be uploaded to high in the clouds by transmission module 270, use for other client downloads using user login information to log in.After user uses other clients to use login, automatically obtaining corresponding cookie file from high in the clouds, to continue use when accessing associated stations, saving the operation of user further.Such as user is when using browser, and after logging in browser account, browser server high in the clouds can by corresponding for this browser account cookie file.Further, if when the terminal of user's use is different, can also rewrite above cookie file, to meet the cookie form of present terminal.
In addition, the associated stations that client of the present invention is suitable for, using identical identification code, is generally the website of the dissimilar content that consolidated network service provider provides.Such as, 360 security guards under in the of 360,360 browsers, 360 virus killings, 360 cloud dishes all after user once logs in, can need not repeat certification and log in.
The embodiment of the present invention additionally provides a kind of processing method of cookie data, the processing method of these cookie data can use any one client 200 introduced in above embodiment to perform, to reduce the certification register of user, Fig. 4 is the schematic diagram of the processing method of cookie data according to an embodiment of the invention, and the processing method of these cookie data at least can comprise:
Step S402, obtains the HTML (Hypertext Markup Language) http response message coming from targeted sites;
Step S404, extracts the cookie setting data of targeted sites in response message;
Step S406, searches the associated stations of targeted sites;
Step S408, writes the cookie data of associated stations in cookie file according to cookie setting data.
After completion of the above steps, when subsequent access associated stations, namely can add the cookie data of associated stations in http request message, avoid user to repeat login authentication.Such as, after the certification completed targeted sites www.abc.com user, after sending access request to associated stations such as mail.abc.com and bbs.abc.com, directly can attach and by the identification code of the associated stations identifications such as mail.abc.com and bbs.abc.com, and can need not re-start certification.
A kind of optional flow process of step S404 is extract the user identification code in cookie data; The host name coupling of user identification code and associated stations is write in cookie file.Such as can extract identification code for the cookie setting data of " set-cookie:12346578 " is 12345678, in conjunction with the host name of associated stations, according to the cookie form write cookie file of associated stations.Generally speaking the cookie file form of associated stations is same or similar, therefore generates the cookie file of associated stations according to the cookie form of targeted sites.
The optional flow process of one that step S406 searches associated stations is: the host name extracting the targeted sites in cookie data; In the association website correspondence table preset, search the associated stations of the correspondence of targeted sites according to the host name of targeted sites, and extract the host name of associated stations.
In order to improve fail safe, also comprise after the host name extracting associated stations: call preset security component and security sweep is carried out to the host name of associated stations, and delete the associated stations that there is potential safety hazard.The loss avoiding user to access malicious site causing.Preset security component directly can call the feature database of security sweep client.
The association website correspondence table preset can generate in several ways: such as determined by history access record or website identical for rhizosphere name is designated as associated stations, such as go up in example, www.abc.com, mail.abc.com, bbs.abc.com can determine dependency relation by rhizosphere name.In some embodiment, the incidence relation between multiple websites that default browser interface acquisition user can be utilized to arrange, generates association website correspondence according to incidence relation and shows and preserve.Such as, multinomial user's logon data of login management interface record in browser is obtained; The site information that user ID is identical is extracted from user's logon data; Generate association website correspondence according to the site information relation extracted show and preserve.Such as 360 browsers, the logon data logged in house keeper can be analyzed, determine possible associated web site, then carry out the write operation of above cookie file.
The association website correspondence table preset can also obtain from high in the clouds, and such as download associated stations dot information from high in the clouds, the incidence relation between multiple website is preserved in high in the clouds in advance; Browser mark in associated stations dot information is rewritten as the browser mated with the client downloading associated stations dot information from high in the clouds identify; Show according to the associated stations dot information generation association website correspondence after rewriting browser mark and preserve.The incidence relation of high in the clouds record can by administrative staff's rule of thumb data interpolation, and the Data Summary also can collecting multiple client upload generates.Be such as the situation of browser for client, after user logs in browser account, browser server high in the clouds can by corresponding for this browser account cookie file.Further, if when the terminal of user's use is different, can also rewrite above cookie file, to meet the cookie form of present terminal.
In addition, after step S408, cookie file and user login information can also be packed and be uploaded to high in the clouds, use for other client downloads using user login information to log in.For browser, the user data of cookie file as browser can be carried out being issued in the browser of the different terminal using same Account Logon at browser client server, when cookie file being written to different terminals, UA (User-Agent) mark can also be revised, to use this write above cookie file in the browser in other equipment (browser of such as mobile phone), so that user uses the information of above cookie file in the terminal that mobile phone etc. is different.
The processing method of client of the present invention and cookie data, cookie is extracted from the response message that targeted sites returns, and automatically generate the cookie file of a series of associated stations of targeted sites in this locality according to the cookie extracted, so that when accessing these associated stations, incidentally go up corresponding cookie data, so that associated stations identification, and the login process of repetition need not be performed, decrease the operation of user, improve experience.
Further, the incidence relation between website can be determined to draw by the relation analyzing website, and completing once login for the website be relative to each other can when accessing a series of website, and automatically attach identifying information, reliability is high.
Further, client of the present invention and cookie can also carry out security sweep to targeted sites, and only when targeted sites and associated stations thereof meet safety requirements, just carry out searching associated stations and the operation of extracting cookie setting data, ensure that fail safe.
In specification provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in detail in the claims, the one of any of embodiment required for protection can use with arbitrary compound mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize the some or all parts of the client according to the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computer of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
So far, those skilled in the art will recognize that, although multiple exemplary embodiment of the present invention is illustrate and described herein detailed, but, without departing from the spirit and scope of the present invention, still can directly determine or derive other modification many or amendment of meeting the principle of the invention according to content disclosed by the invention.Therefore, scope of the present invention should be understood and regard as and cover all these other modification or amendments.
The embodiment of the present invention additionally provides the processing method of A1. cookie data, comprising:
Obtain the HTML (Hypertext Markup Language) http response message coming from targeted sites;
The cookie setting data of described targeted sites is extracted in described response message;
Search the associated stations of described targeted sites;
In cookie file, the cookie data of described associated stations are write, when sending http request to described associated stations, to add the cookie data of described associated stations in described http request message according to described cookie setting data.
A2. the method according to A1, wherein, the associated stations of searching described targeted sites comprises:
Extract the host name of the described targeted sites in described cookie data;
In the association website correspondence table preset, search the associated stations of the correspondence of described targeted sites according to the host name of targeted sites, and extract the host name of described associated stations.
A3. the method according to A2, wherein, also comprises after the host name extracting described associated stations:
Call preset security component and security sweep is carried out to the host name of described associated stations, and delete the described associated stations that there is potential safety hazard.
A4. the method according to any one of A1 to A3, wherein, also comprised before the associated stations of searching described targeted sites:
Incidence relation between the multiple websites utilizing the browser interface acquisition user preset to arrange;
Generate described association website correspondence according to described incidence relation show and preserve.
A5. the method according to A4, wherein, the incidence relation between the multiple websites utilizing the browser interface acquisition user preset to arrange comprises:
Obtain multinomial user's logon data of login management interface record in browser;
The identical site information of user ID is extracted from described user's logon data;
Generate described association website correspondence according to the site information relation extracted show and preserve.
A6. the method according to any one of A1 to A3, wherein, also comprised before the associated stations of searching described targeted sites:
Download associated stations dot information from high in the clouds, the incidence relation between multiple website is preserved in described high in the clouds in advance;
Browser mark in described associated stations dot information is rewritten as the browser mated with the client downloading associated stations dot information from high in the clouds identify;
Generate described association website correspondence according to the associated stations dot information after rewriting browser mark show and preserve.
A7. the method according to any one of A1 to A6, wherein, also comprises after the cookie data writing described associated stations according to described cookie setting data in cookie file:
Described cookie file and user login information are packed and is uploaded to high in the clouds, use for other client downloads using described user login information to log in.
A8. the method according to any one of A1 to A7, wherein, the cookie data writing described associated stations according to described cookie setting data in cookie file comprise:
Extract the user identification code in described cookie data;
The host name coupling of described user identification code and described associated stations is write in described cookie file.
In addition, the embodiment of the present invention additionally provides B9. client, comprising:
Receive message module, is configured to obtain the HTML (Hypertext Markup Language) http response message coming from targeted sites;
Cookie data extraction module, is configured to the cookie setting data extracting described targeted sites in described response message;
Website searches module, is configured to the associated stations of searching described targeted sites;
Cookie file configuration module, be configured to the cookie data writing described associated stations according to described cookie setting data in cookie file, when sending http request to described associated stations, to add the cookie data of described associated stations in described http request message.
B10. client according to claim 9, wherein said website is searched module and is also configured to:
Extract the host name of the described targeted sites in described cookie data;
In the association website correspondence table preset, search the associated stations of the correspondence of described targeted sites according to the host name of targeted sites, and extract the host name of described associated stations.
B11. the client according to B10, also comprises:
Security sweep module, is configured to call preset security component and carries out security sweep to the host name of described associated stations, and deletes the described associated stations that there is potential safety hazard.
B12. the client according to any one of B9 to B11, also comprises:
First corresponding table generation module, is configured to: the incidence relation between the multiple websites utilizing the browser interface acquisition user preset to arrange, generates described association website correspondence according to described incidence relation and show and preserve.
B13. the client according to B12, the wherein said first corresponding table generation module is also configured to:
Obtain multinomial user's logon data of login management interface record in browser;
The identical site information of user ID is extracted from described user's logon data;
Generate described association website correspondence according to the site information relation extracted show and preserve.
B14. the client according to any one of B9 to B11, also comprises:
Second corresponding table generation module, be configured to download associated stations dot information from high in the clouds, the incidence relation between multiple website is preserved in described high in the clouds in advance, browser mark in described associated stations dot information is rewritten as the browser mated with the client downloading associated stations dot information from high in the clouds identify, generates described association website correspondence according to the associated stations dot information after rewriting browser mark and show and preserve.
B15. the client according to any one of B9 to B14, also comprises:
Transmission module on cookie file, being configured to packs described cookie file and user login information is uploaded to high in the clouds, uses for other client downloads using described user login information to log in.
B16. the client according to any one of B9 to B15, wherein said Cookie file configuration module is also configured to:
Extract the user identification code in described cookie data;
The host name coupling of described user identification code and described associated stations is write in described cookie file.

Claims (10)

1. a processing method for cookie data, comprising:
Obtain the HTML (Hypertext Markup Language) http response message coming from targeted sites;
The cookie setting data of described targeted sites is extracted in described response message;
Search the associated stations of described targeted sites;
In cookie file, the cookie data of described associated stations are write, when sending http request to described associated stations, to add the cookie data of described associated stations in described http request message according to described cookie setting data.
2. method according to claim 1, wherein, the associated stations of searching described targeted sites comprises:
Extract the host name of the described targeted sites in described cookie data;
In the association website correspondence table preset, search the associated stations of the correspondence of described targeted sites according to the host name of targeted sites, and extract the host name of described associated stations.
3. method according to claim 2, wherein, also comprises after the host name extracting described associated stations:
Call preset security component and security sweep is carried out to the host name of described associated stations, and delete the described associated stations that there is potential safety hazard.
4. according to the method in any one of claims 1 to 3, wherein, also comprised before the associated stations of searching described targeted sites:
Incidence relation between the multiple websites utilizing the browser interface acquisition user preset to arrange;
Generate described association website correspondence according to described incidence relation show and preserve.
5. method according to claim 4, wherein, the incidence relation between the multiple websites utilizing the browser interface acquisition user preset to arrange comprises:
Obtain multinomial user's logon data of login management interface record in browser;
The identical site information of user ID is extracted from described user's logon data;
Generate described association website correspondence according to the site information relation extracted show and preserve.
6. according to the method in any one of claims 1 to 3, wherein, also comprised before the associated stations of searching described targeted sites:
Download associated stations dot information from high in the clouds, the incidence relation between multiple website is preserved in described high in the clouds in advance;
Browser mark in described associated stations dot information is rewritten as the browser mated with the client downloading associated stations dot information from high in the clouds identify;
Generate described association website correspondence according to the associated stations dot information after rewriting browser mark show and preserve.
7. method according to any one of claim 1 to 6, wherein, also comprises after the cookie data writing described associated stations according to described cookie setting data in cookie file:
Described cookie file and user login information are packed and is uploaded to high in the clouds, use for other client downloads using described user login information to log in.
8. method according to any one of claim 1 to 7, wherein, the cookie data writing described associated stations according to described cookie setting data in cookie file comprise:
Extract the user identification code in described cookie data;
The host name coupling of described user identification code and described associated stations is write in described cookie file.
9. a client, comprising:
Receive message module, is configured to obtain the HTML (Hypertext Markup Language) http response message coming from targeted sites;
Cookie data extraction module, is configured to the cookie setting data extracting described targeted sites in described response message;
Website searches module, is configured to the associated stations of searching described targeted sites;
Cookie file configuration module, be configured to the cookie data writing described associated stations according to described cookie setting data in cookie file, when sending http request to described associated stations, to add the cookie data of described associated stations in described http request message.
10. client according to claim 9, wherein said website is searched module and is also configured to:
Extract the host name of the described targeted sites in described cookie data;
In the association website correspondence table preset, search the associated stations of the correspondence of described targeted sites according to the host name of targeted sites, and extract the host name of described associated stations.
CN201410748942.8A 2014-12-09 2014-12-09 The processing method and client of cookie data Active CN104468790B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410748942.8A CN104468790B (en) 2014-12-09 2014-12-09 The processing method and client of cookie data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410748942.8A CN104468790B (en) 2014-12-09 2014-12-09 The processing method and client of cookie data

Publications (2)

Publication Number Publication Date
CN104468790A true CN104468790A (en) 2015-03-25
CN104468790B CN104468790B (en) 2018-09-11

Family

ID=52914142

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410748942.8A Active CN104468790B (en) 2014-12-09 2014-12-09 The processing method and client of cookie data

Country Status (1)

Country Link
CN (1) CN104468790B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105430012A (en) * 2015-12-25 2016-03-23 无锡天脉聚源传媒科技有限公司 Method and device for synchronously logging in multiple sites
CN108512835A (en) * 2018-03-15 2018-09-07 链家网(北京)科技有限公司 A kind of business unique identification code verification method and system
CN109246076A (en) * 2018-08-01 2019-01-18 北京奇虎科技有限公司 A kind of method and apparatus of single-sign-on multisystem
CN110516143A (en) * 2018-05-31 2019-11-29 北京数聚鑫云信息技术有限公司 A kind of business datum extracting method and device based on browser
CN110912903A (en) * 2019-11-27 2020-03-24 支付宝实验室(新加坡)有限公司 Cross-domain access method and device
CN111371868A (en) * 2020-02-26 2020-07-03 北京奇艺世纪科技有限公司 Method, device, equipment, system and storage medium for associating web application and client
CN112104621A (en) * 2020-08-31 2020-12-18 新华三信息安全技术有限公司 Traffic management method and equipment
CN112104703A (en) * 2020-08-18 2020-12-18 厦门网宿有限公司 Cookie management method, intermediate node and webvpn system
CN112804347A (en) * 2021-02-05 2021-05-14 厦门市美亚柏科信息股份有限公司 Multi-source information publishing method, terminal equipment and storage medium
CN113381979A (en) * 2021-05-12 2021-09-10 网宿科技股份有限公司 Access request proxy method and proxy server

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030037131A1 (en) * 2001-08-17 2003-02-20 International Business Machines Corporation User information coordination across multiple domains
US20060031494A1 (en) * 2004-06-28 2006-02-09 Marcus Jane B Method and system for providing single sign-on user names for Web cookies in a multiple user information directory environment
CN102325183A (en) * 2011-09-09 2012-01-18 深圳市络道科技有限公司 WEB terminal login method based on single site login mode and system thereof
US20120096068A1 (en) * 2010-10-13 2012-04-19 International Business Machines Corporation Method and apparatus for selectively processing cookies in a proxy
CN102638581A (en) * 2012-03-31 2012-08-15 奇智软件(北京)有限公司 Cookie information storage method and cookie information storage system
CN103179134A (en) * 2013-04-19 2013-06-26 中国建设银行股份有限公司 Single sign on method and system based on Cookie and application server thereof
CN103618696A (en) * 2013-11-07 2014-03-05 北京奇虎科技有限公司 Method and server for processing cookie information
CN103618761A (en) * 2013-11-07 2014-03-05 北京奇虎科技有限公司 Method and browser for processing cookie information

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030037131A1 (en) * 2001-08-17 2003-02-20 International Business Machines Corporation User information coordination across multiple domains
US20060031494A1 (en) * 2004-06-28 2006-02-09 Marcus Jane B Method and system for providing single sign-on user names for Web cookies in a multiple user information directory environment
US20120096068A1 (en) * 2010-10-13 2012-04-19 International Business Machines Corporation Method and apparatus for selectively processing cookies in a proxy
CN102325183A (en) * 2011-09-09 2012-01-18 深圳市络道科技有限公司 WEB terminal login method based on single site login mode and system thereof
CN102638581A (en) * 2012-03-31 2012-08-15 奇智软件(北京)有限公司 Cookie information storage method and cookie information storage system
CN103179134A (en) * 2013-04-19 2013-06-26 中国建设银行股份有限公司 Single sign on method and system based on Cookie and application server thereof
CN103618696A (en) * 2013-11-07 2014-03-05 北京奇虎科技有限公司 Method and server for processing cookie information
CN103618761A (en) * 2013-11-07 2014-03-05 北京奇虎科技有限公司 Method and browser for processing cookie information

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105430012B (en) * 2015-12-25 2018-07-24 无锡天脉聚源传媒科技有限公司 A kind of multi-site synchronizes the method and device of login
CN105430012A (en) * 2015-12-25 2016-03-23 无锡天脉聚源传媒科技有限公司 Method and device for synchronously logging in multiple sites
CN108512835A (en) * 2018-03-15 2018-09-07 链家网(北京)科技有限公司 A kind of business unique identification code verification method and system
CN110516143A (en) * 2018-05-31 2019-11-29 北京数聚鑫云信息技术有限公司 A kind of business datum extracting method and device based on browser
CN109246076A (en) * 2018-08-01 2019-01-18 北京奇虎科技有限公司 A kind of method and apparatus of single-sign-on multisystem
CN109246076B (en) * 2018-08-01 2022-11-04 北京奇虎科技有限公司 Method and device for single sign-on to multiple systems
CN110912903B (en) * 2019-11-27 2022-01-04 支付宝实验室(新加坡)有限公司 Cross-domain access method and device
CN110912903A (en) * 2019-11-27 2020-03-24 支付宝实验室(新加坡)有限公司 Cross-domain access method and device
CN111371868A (en) * 2020-02-26 2020-07-03 北京奇艺世纪科技有限公司 Method, device, equipment, system and storage medium for associating web application and client
CN112104703A (en) * 2020-08-18 2020-12-18 厦门网宿有限公司 Cookie management method, intermediate node and webvpn system
CN112104621B (en) * 2020-08-31 2022-04-01 新华三信息安全技术有限公司 Traffic management method and equipment
CN112104621A (en) * 2020-08-31 2020-12-18 新华三信息安全技术有限公司 Traffic management method and equipment
CN112804347A (en) * 2021-02-05 2021-05-14 厦门市美亚柏科信息股份有限公司 Multi-source information publishing method, terminal equipment and storage medium
CN113381979A (en) * 2021-05-12 2021-09-10 网宿科技股份有限公司 Access request proxy method and proxy server
CN113381979B (en) * 2021-05-12 2023-05-23 网宿科技股份有限公司 Access request proxy method and proxy server

Also Published As

Publication number Publication date
CN104468790B (en) 2018-09-11

Similar Documents

Publication Publication Date Title
CN104468790A (en) Method for processing cookie data and client side
US20210314354A1 (en) Techniques for determining threat intelligence for network infrastructure analysis
US10698960B2 (en) Content validation and coding for search engine optimization
US11196839B1 (en) System and method for classifying API requests in API processing systems using a tree configuration
CN103023710B (en) A kind of safety test system and method
US8666996B2 (en) Methods and systems for detecting broken links within a file
CN102130933B (en) Recommending method, system and equipment based on mobile Internet
KR102504075B1 (en) Matching and attributes of user device events
US10943063B1 (en) Apparatus and method to automate website user interface navigation
CN102833258A (en) Website access method and system
CN103618696B (en) Method and server for processing cookie information
US8671108B2 (en) Methods and systems for detecting website orphan content
CN110266661A (en) A kind of authorization method, device and equipment
US20160012074A1 (en) System and method for providing contextual analytics data
CN108667770A (en) A kind of loophole test method, server and the system of website
CN110555146A (en) method and system for generating network crawler camouflage data
CN106980501A (en) A kind of software package management method, device and system
Gheorghe et al. Modern techniques of web scraping for data scientists
CN104361007B (en) The processing method of browser and its collection
CN102739776A (en) Method, device and system for revealing information
CN104361004A (en) Browser favorite data processing method and browser
Fletcher et al. Practical web traffic analysis: standards, privacy, techniques, and results
CN104811418A (en) Virus detection method and apparatus
US9424552B2 (en) Managing website registrations
CN104866533B (en) A kind of method and apparatus for the data search under semiclosed data environment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220729

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.