CN102769625A - Client-side Cookie information acquisition method and device - Google Patents

Client-side Cookie information acquisition method and device Download PDF

Info

Publication number
CN102769625A
CN102769625A CN2012102606159A CN201210260615A CN102769625A CN 102769625 A CN102769625 A CN 102769625A CN 2012102606159 A CN2012102606159 A CN 2012102606159A CN 201210260615 A CN201210260615 A CN 201210260615A CN 102769625 A CN102769625 A CN 102769625A
Authority
CN
China
Prior art keywords
cookie
cookie information
client
information
informations
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.)
Pending
Application number
CN2012102606159A
Other languages
Chinese (zh)
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.)
IZP (BEIJING) TECHNOLOGIES Co Ltd
Original Assignee
IZP (BEIJING) TECHNOLOGIES Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by IZP (BEIJING) TECHNOLOGIES Co Ltd filed Critical IZP (BEIJING) TECHNOLOGIES Co Ltd
Priority to CN2012102606159A priority Critical patent/CN102769625A/en
Publication of CN102769625A publication Critical patent/CN102769625A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a client-side Cookie information acquisition method and a client-side Cookie information acquisition device. The method comprises the following steps of obtaining a plurality of Cookie information stored in a client side and obtaining optimized Cookie information by choosing and processing the plurality of Cookie information according to a preset rule, wherein the preset rule comprises choosing and processing the plurality of Cookie information according to Cookie information update time and/or a Cookie key which is used for matching and provided by a server so as to obtain the optimized Cookie information. The client-side Cookie information acquisition method and the client-side Cookie information acquisition device can be applied to any task of storing data in the client side on the internet, and meanwhile, the accuracy of data access at the client side can be improved.

Description

Client cookie information acquisition methods and device
Technical field
The present invention relates to the internet information process field, particularly a kind of client cookie information acquisition methods and device.
Background technology
In Internet technology; Cookie or Cookies technology are to be sent out with in a bit of information of client stores (cookie information) by the webserver; When thereby this webserver was visited once more, the Web interactive program can be from the read back technology of cookie information of this client browser.In the practical application, each cookie information all is that a key/value is right, for example can give document.cookie a character string assignment, as: document.cookie=" userId=828 ".
The Cookie technology can be used to discern the customizing messages from this client-access person, like the position of visit last time, the time or the User Preferences (like CSS) of cost.The Cookie technology is widely used in internet media, ecommerce, SNS (Social Networking Services at present; Social networking service), industries such as amusement, the network information security, available its provides that media services optimization, Information Statistics, user behavior are followed the trail of, WEB safety verification functions such as (the anti-abduction).
HTTP cookie is called as Web Cookie or browser Cookie; Send to a segment information of client terminal web page browser when it typically is the user and browsing web sites by the website; It is defined in the RFC that requests for comments (Request For Comments) 2109 (discarded), and up-to-date substituted standard is RFC2965.
Flash Cookie is the client shared storage technique of Flash Player control.Because local shared object (the Local Shared Object) technology of the function that has of common Cookie can realize fully easily and in some aspects (such as: disguise) better effect is arranged, usually this client shared data storage means based on Flash Player is called Flash Cookie.
That Flash Cookie technology has is workable, bigger memory space is arranged, have advantages such as better disguise than common HTTP Cookie.And Flash Player has become one of Internet user's standard configuration now, does not have compatible problem, so it is fit to be used for protecting client data, collect user behavior etc. very much.
Under the situation of HTTP Cookie and Flash Cookie coexistence, when carrying out the cookie information access, prior art basically all is to adopt the mode of independent access to obtain cookie information.There is a tangible problem in the mode of access cookie information separately, and that is exactly because the different accuracys that cause guaranteeing fetched data with Flash Cookie memory location of HTTP Cookie.For example; When certain website adopts when guaranteeing the data persistence in client stores Flash Cookie and HTTP Cookie to store the scheme of data simultaneously; Only obtain Flash Cookie or HTTP Cookie in the time of cookie information need being obtained independently, when when some (being preset as preferential) position obtains less than cookie information, just obtaining from another position at every turn; If difference (or problem) appears in the storage on both sides, so no matter earlier which side obtains cookie information from, all be inaccurate.And, because aforesaid operations can strengthen the burden of client repeatedly with client communication.
Simultaneously, under above-mentioned not mentioned other Cookie technology co-existence situation,, also can there be similar problem as long as the memory location of cookie information is different.
Thus, need badly and a kind ofly under the cookie information concurrent conditions of multiple Cookie technology, can accurately carry out the method and apparatus that the client cookie information obtains.
Summary of the invention
Technical problem to be solved by this invention provides a kind ofly can accurately carry out the method and apparatus that the client cookie information obtains under the cookie information concurrent conditions of multiple Cookie technology.
The invention discloses a kind of client cookie information acquisition methods, comprising:
Obtain a plurality of cookie informations that are stored in client;
Thereby said a plurality of cookie informations are selected to handle the cookie information that obtains optimization according to pre-defined rule.
Preferably, the said a plurality of cookie informations that are stored in client that obtain comprise:
Receive the Web request that client is submitted to;
After receiving said Web request, send the solicited message of obtaining of obtaining a plurality of cookie informations of being stored in client to client.
Preferably, thus saidly select to handle the cookie information that said a plurality of cookie informations obtain optimization according to pre-defined rule and comprise:
Update time said a plurality of cookie informations are selected to handle to obtain the cookie information of optimization according to cookie information; Perhaps
According to the Cookie key that is used to mate said a plurality of cookie informations are selected to handle to obtain the cookie information of optimization; Perhaps
Select handle said a plurality of cookie informations to obtain the cookie information of optimization with the Cookie key that is used to mate the update time according to cookie information; Perhaps
Getting the ensemble of communication or the information of a plurality of cookie informations occurs simultaneously as the cookie information of optimizing.
Preferably, comprise with the cookie information that the said a plurality of cookie informations of Cookie key selection processing that are used to mate obtain optimization said update time according to cookie information:
According to choosing nearest cookie information update time the update time of cookie information, if said update time, nearest cookie information was unique, then should update time nearest cookie information is as the cookie information of optimizing;
Otherwise, according to the Cookie key that is used for mating from said update time cookie information that nearest cookie information is chosen coupling as the cookie information of optimizing.
Preferably, comprise with the cookie information that the said a plurality of cookie informations of Cookie key selection processing that are used to mate obtain optimization said update time according to cookie information:
Choose the cookie information that matees with said Cookie key according to the Cookie key that is used to mate, if the cookie information of said coupling is unique, the cookie information that then will mate is as the cookie information of said optimization;
Otherwise, according to choosing update time nearest cookie information the update time of the cookie information of each said coupling as the cookie information of said optimization.
Preferably, if also exist a plurality ofly according to the cookie information of the optimization after selecting Cookie key and update time to handle, then from the result, choose the high cookie information of priority as the cookie information of optimizing according to preset cookie information priority.
Preferably, if also exist a plurality ofly according to the cookie information of the optimization after selecting Cookie key or update time to handle, then from the result, choose the high cookie information of priority as the cookie information of optimizing according to preset cookie information priority.
Preferably, said a plurality of cookie information comprises Flash cookie information and/or HTTP cookie information.
Preferably, said a plurality of cookie information is chosen Flash cookie information and the HTTP cookie information that is stored in the client diverse location.
Preferably, said method also comprises: the cookie information according to said optimization carries out data manipulation, and the cookie information of after data manipulation is accomplished, storing in to client upgrades.
The invention also discloses a kind of client cookie information deriving means, comprising:
The cookie information receiving element is used to obtain a plurality of cookie informations that are stored in client;
Cookie information is optimized the unit, thereby is used for according to pre-defined rule said a plurality of cookie informations being selected to handle the cookie information that obtains optimization.
Preferably, said cookie information receiving element comprises:
The Web request receives subelement, is used to receive the Web request that client is submitted to;
Cookie information request subelement, be used to receive said Web request after, send the request of obtaining of obtaining a plurality of cookie informations that are stored in client to client, said obtaining carried different scripts to extract corresponding C ookie information in the request.
Preferably, said cookie information is optimized the unit and is further used for according to occuring simultaneously to obtain the cookie information of optimization with ensemble of communication or information that the Cookie key that is used to mate is selected to handle said a plurality of cookie informations or get a plurality of cookie informations the update time of cookie information.
The present invention has taked after the such scheme; Through obtaining a plurality of cookie informations of client stores; And a plurality of cookie informations that obtain are optimized choose processing to get access to optimum cookie information, overcome prior art thus and under cookie information concurrent conditions, can't carry out the shortcoming that the client cookie information obtains exactly based on multiple Cookie technology.The present invention can be applied in any the Internet the task in the client stores data; Simultaneously can improve the accuracy of client data access, user's accurate location, raising data mining are worth, improve more excellent user experience, reduce the redundant data amount of service end to client data.
Description of drawings
Fig. 1 is the system block diagram that the client cookie information of the embodiment of the invention obtains system;
Fig. 2 is the flow chart of the client cookie information acquisition methods of the embodiment of the invention;
Fig. 3 is the flow chart of the client cookie information acquisition methods of another embodiment of the present invention;
Fig. 4 is the block diagram of the client cookie information deriving means of the embodiment of the invention;
Fig. 5 is the block diagram of cookie information receiving element in the client cookie information deriving means of the embodiment of the invention;
Fig. 6 is the block diagram that cookie information is optimized the unit in the client cookie information deriving means of one embodiment of the invention;
Fig. 7 is the block diagram that cookie information is optimized the unit in the client cookie information deriving means of another embodiment of the present invention;
Fig. 8 is the block diagram of the processing service unit in the client cookie information deriving means of the embodiment of the invention.
Embodiment
Further specify technical scheme of the present invention below in conjunction with accompanying drawing and through embodiment.
This part is that example specifies technical scheme of the present invention with HTTP Cookie and Flash Cookie technology.But; To those skilled in the art; Scheme of the present invention is not limited in the instantiation environment of Flash Cookie and HTTP Cookie, during any other different Cookie technology co-existence, all can use the accuracy of technical scheme of the present invention to guarantee that cookie information obtains.
Fig. 1 is the system block diagram that the client cookie information of the embodiment of the invention obtains system.As shown in Figure 1, described network system comprises client and server end two parts.In said client, store Flash Cookie and HTTP Cookie, it is stored in different memory locations usually respectively.And said different memory location is meant to be stored in different files path, subregion or the disk and perhaps is stored in the identical file path with the different files name.The Flash Cookie and the HTTP Cookie that are stored in diverse location can send to server end according to the Cookie request of obtaining.
Said server end comprises client cookie information deriving means, and it comprises cookie information receiving element, cookie information optimization unit and handles service unit.Said cookie information receiving element; Be used for obtaining simultaneously a plurality of cookie informations of the diverse location that is stored in client; Said cookie information is optimized the unit, obtains the cookie information of optimization thereby be used for selecting to handle said a plurality of cookie informations according to pre-defined rule.Said processing service unit comprises data manipulation unit and cookie information updating block.Said data manipulation unit is used for carrying out data manipulation according to the cookie information of said optimization.The cookie information that said cookie information updating block is used for after data manipulation is accomplished, client being stored upgrades.
Wherein, said cookie information is optimized the unit and is used for cookie information being selected or handled the cookie information that obtains through optimizing to comprise according to pre-defined rule:
According to choosing nearest cookie information update time the update time of cookie information; Perhaps
The Cookie key that provides according to server carries out data decimation, selects the cookie information with Cookie key coupling; Perhaps
Cookie key according to server provides is selected the cookie information that matees most, if a plurality of, then nearest according to each cookie information nearest cookie informations update time access time update time is arranged; Perhaps
Choose the update time according to cookie information, if having a plurality ofly, the Cookie key that then provides according to server is selected the cookie information of coupling.
If the result according to after Cookie key and the time screening also exists a plurality of; Then choose cookie information according to predetermined priority; For example, the data that define in advance among the Flash Cookie are higher than the data priority of HTTP Cookie, so finally just choose the data of storing among the Flash Cookie.
In one embodiment of the invention, the common factor of cookie information set or information that can also choose Flash Cookie and HTTP Cookie is as the cookie information of optimizing.
Described processing service unit is used for carrying out corresponding data manipulation according to above-mentioned through the cookie information of optimizing; Said data manipulation comprises automatic login, media services optimization, Information Statistics, user behavior tracking, WEB safety verification (the anti-abduction) etc., and the present invention does not limit this.
Said cookie information receiving element and cookie information are optimized the unit can be installed in the same server that is arranged in server end with the processing service unit, also can be installed in respectively in the different server of server end with the network interconnection.
Fig. 2 is the flow chart of the client cookie information acquisition methods of the embodiment of the invention.As shown in Figure 2, said method comprises the steps:
Step 100, obtain a plurality of cookie informations that are stored in client.
In this step, at first require to obtain said a plurality of cookie information simultaneously to client.
Comprise: server receives the Web request that client is submitted to; After server is received above-mentioned Web request; Send the solicited message of obtaining of obtaining corresponding a plurality of cookie informations to client, for example, in one embodiment of the invention; Different shell script that can be through in obtaining solicited message, carrying server end is to obtain different cookie informations; For example, through AS (Action script), JS (Java script) shell script, obtain Flash cookie information and HTTP cookie information to customer requirement respectively.Require in the time of here to obtain and refer to server end and send the cookie information that carries different shell scripts simultaneously and obtain solicited message to obtain a plurality of cookie informations from client.Client is checked its storage inside after receiving above-mentioned information, if do not have corresponding Cookie file or only comprise Flash Cookie file or HTTP Cookie file, then handle according to common mode.If judge in client, to have Flash Cookie file and HTTP Cookie file in the diverse location simultaneously, then above-mentioned Flash cookie information and HTTP cookie information be sent to server end.
Be that present embodiment passes through a plurality of cookie informations that service end is extracted client stores simultaneously, save operation between service end and the client repeatedly with client communication and strengthen the shortcoming of the burden of client with this.
Step 200, basis are selected to handle to get access to the cookie information of optimization to said a plurality of cookie informations.
Wherein, according to various embodiment, saidly according to pre-defined rule cookie information is handled the cookie information that obtains through optimizing and comprises:
Update time said a plurality of cookie informations are selected to handle to obtain the cookie information of optimization according to cookie information; Perhaps
According to the Cookie key that is used to mate said a plurality of cookie informations are selected to handle to obtain the cookie information of optimization; Perhaps
Select handle said a plurality of cookie informations to obtain the cookie information of optimization with the Cookie key that is used to mate the update time according to cookie information;
Perhaps occur simultaneously to obtain the cookie information of optimization according to the ensemble of communication or the information of a plurality of cookie informations.
In one embodiment of the invention; If after cookie information update time said a plurality of cookie informations being selected to handle; Said update time, nearest cookie information was not unique, then further from the result, chose the high cookie information of priority as the cookie information of optimizing according to preset cookie information priority.
In another embodiment of the present invention; If after according to the Cookie key that is used to mate said a plurality of cookie informations being selected to handle; Not unique with the cookie information of said Cookie key coupling, then further from the result, choose the high cookie information of priority as the cookie information of optimizing according to preset cookie information priority.
In yet another embodiment of the present invention, comprise with the cookie information that the said a plurality of cookie informations of Cookie key selection processing that are used to mate obtain optimization said update time according to cookie information:
According to choosing nearest cookie information update time the update time of cookie information, if said update time, nearest cookie information was unique, then should update time nearest cookie information is as the cookie information of optimizing;
Otherwise, according to the Cookie key that is used for mating from said update time cookie information that nearest cookie information is chosen coupling as the cookie information of optimizing.
In yet another embodiment of the present invention, comprise with the cookie information that the said a plurality of cookie informations of Cookie key selection processing that are used to mate obtain optimization said update time according to cookie information:
Choose the cookie information that matees with said Cookie key according to the Cookie key that is used to mate, if the cookie information of said coupling is unique, the cookie information that then will mate is as the cookie information of said optimization;
Otherwise, according to choosing update time nearest cookie information the update time of the cookie information of each said coupling as the cookie information of said optimization.
After the optimization process of the technical scheme of above-mentioned each embodiment of process; If also exist a plurality ofly according to the cookie information of the optimization after selecting Cookie key and update time to handle, then from the result, choose the high cookie information of priority as the cookie information of optimizing according to preset cookie information priority.
In one embodiment of the invention, the common factor of cookie information set or information that can also choose Flash Cookie and HTTP Cookie is as the cookie information of optimizing.
Through above-mentioned system of selection; Can from a plurality of cookie informations of multiple technologies, select to obtain cookie information the most accurately, for example, be visit the latest or with the Cookie value perhaps the highest information of priority of coupling; Therefore; This method can be carried out obtaining of client cookie information exactly under the cookie information concurrent conditions of multiple Cookie technology, when having solved Flash Cookie and HTTP Cookie and storing data simultaneously, owing to difference (or problem) appears in storage; And cause no matter earlier which side obtains cookie information from, all be inaccurate shortcoming.
Fig. 3 is the flow chart of the client cookie information acquisition methods of another embodiment of the present invention.As shown in Figure 3, said method comprises the steps:
Step 301, invoke script PROGRAMMED REQUESTS client cookie information.Said shell script can be AS (Action script), JS (Java script) program.
Step 302, judge whether client has corresponding cookie information to exist; If for being; Change step 303 after then taking out the cookie information of diverse location simultaneously,, explain that then client do not visit this website or shell script or original Cookie and deleted if for not; Then be regarded as for the first time visiting this website, directly change step 305 over to and carry out data manipulation according to no cookie information and get final product.
Step 303, carry out preferred to cookie information or handle by rule same with the above-mentioned embodiment.
Step 304, will be preferred or handle after cookie information be sent to the processing service unit.
Step 305, processing service unit carry out the corresponding data operation or carry out data manipulation by no cookie information according to cookie information.
After step 306, the data manipulation of processing service unit are accomplished, the cookie information that upgrades is responded to client, new data can upgraded or store to client after receiving data synchronously in HTTP and/or Flash Cookie.
Fig. 4 is the block diagram of the client cookie information deriving means of the embodiment of the invention.Of Fig. 4, said client cookie information deriving means is located at service end.Said device comprises:
The cookie information receiving element is used for obtaining simultaneously a plurality of cookie informations of the diverse location that is stored in client;
Cookie information is optimized the unit, obtains the cookie information of optimization thereby be used for selecting to handle said a plurality of cookie informations according to pre-defined rule.
Wherein, said cookie information is optimized the unit and update time said a plurality of cookie informations is selected to handle to obtain the cookie information of optimization according to cookie information; Perhaps said a plurality of cookie informations are selected to handle to obtain the cookie information of optimization according to the Cookie key that is used to mate; Perhaps obtain the cookie information of optimization and be sent to service processing device according to selecting to handle said a plurality of cookie informations with the Cookie key that is used to mate the update time of cookie information; Perhaps getting the ensemble of communication or the information of a plurality of cookie informations occurs simultaneously as the cookie information of optimizing.
Fig. 5 is the block diagram of cookie information receiving element in the client cookie information deriving means of the embodiment of the invention, and as shown in Figure 5, said cookie information receiving element comprises:
The Web request receives subelement, is used to receive the Web request that client is submitted to;
Cookie information request subelement, be used to receive said Web request after, send the request of obtaining of obtaining a plurality of cookie informations that are stored in client to client, said obtaining carried different scripts to extract corresponding C ookie information in the request.
Fig. 6 is the block diagram that cookie information is optimized the unit in the client cookie information deriving means of one embodiment of the invention.As shown in Figure 6, in one embodiment of the invention, said cookie information is optimized the unit and is comprised:
The very first time is optimized subelement; Be used for according to choosing nearest cookie information update time the update time of cookie information; If said update time, nearest cookie information was unique, then should update time nearest cookie information is as the cookie information of said optimization;
The first key matching optimization subelement; When being used for optimizing subelement and can not obtaining unique cookie information in said very first time, according to the Cookie key that is used for mating from said update time nearest cookie information choose the cookie information of the cookie information of coupling as said optimization.
Fig. 7 is the block diagram that cookie information is optimized the unit in the client cookie information deriving means of another embodiment of the present invention.As shown in Figure 7, in another embodiment of the present invention, said cookie information is optimized the unit and is comprised:
The second key matching optimization subelement; Be used for choosing the cookie information that matees with said Cookie key according to the Cookie key that is used to mate; If the cookie information of said coupling is unique, the cookie information that then will mate is as the cookie information of said optimization;
The second time-optimized subelement; Be used for when the said second key matching optimization subelement can not obtain unique cookie information, according to choosing update time nearest cookie information the update time of the cookie information of each said coupling as the cookie information of said optimization.
In above-mentioned two embodiment, said cookie information is optimized unit further and is comprised:
Priority is optimized subelement; Be used for result after selecting to handle and also exist when a plurality of, from the result, choose the high cookie information of priority as the cookie information of optimizing according to the predetermined priority of variety classes cookie information according to Cookie key and update time.
Fig. 8 is the block diagram of the processing service unit in the client cookie information deriving means of the embodiment of the invention.As shown in Figure 8, in the above-described embodiments, the processing service unit of said cookie information deriving means comprises:
The data manipulation unit is used for carrying out data manipulation according to the cookie information of said optimization;
The cookie information updating block, the cookie information that is used for after data manipulation is accomplished, client being stored upgrades.
The present invention is through obtaining the cookie information of client stores in diverse location simultaneously, and the cookie information that obtains simultaneously is optimized chooses, thereby can both accurately get access to optimum cookie information can guarantee to obtain cookie information the time at every turn.Technical scheme of the present invention can be applied in any the Internet the task in the client stores data; Simultaneously can improve the accuracy of client data access, user's accurate location, raising data mining are worth, improve more excellent user experience, reduce the redundant data amount of service end to client data.
Obviously; It will be understood by those skilled in the art that above-mentioned each module of the present invention or each step can realize that they can concentrate on the single calculation element with the general calculation device; Perhaps be distributed on the network that a plurality of calculation element forms; Alternatively, they can realize with the executable program code of computer installation, carried out by calculation element thereby can they be stored in the storage device; Perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to the combination of any specific hardware and software.
The above is merely the preferred embodiments of the present invention, is not limited to the present invention, and to those skilled in the art, the present invention can have various changes and variation.All any modifications of within spirit of the present invention and principle, being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (13)

1. client cookie information acquisition methods comprises:
Obtain a plurality of cookie informations that are stored in client;
Thereby said a plurality of cookie informations are selected to handle the cookie information that obtains optimization according to pre-defined rule.
2. client cookie information acquisition methods as claimed in claim 1 is characterized in that, the said a plurality of cookie informations that are stored in client that obtain comprise:
Receive the Web request that client is submitted to;
After receiving said Web request, send the solicited message of obtaining of obtaining a plurality of cookie informations of being stored in client to client.
3. client cookie information acquisition methods as claimed in claim 1 is characterized in that, thereby saidly according to pre-defined rule said a plurality of cookie informations is selected to handle the cookie information that obtains optimization and comprise:
Update time said a plurality of cookie informations are selected to handle to obtain the cookie information of optimization according to cookie information; Perhaps
According to the Cookie key that is used to mate said a plurality of cookie informations are selected to handle to obtain the cookie information of optimization; Perhaps
Select handle to obtain the cookie information of optimization to said a plurality of cookie informations with the Cookie key that is used to mate the update time according to cookie information; Perhaps
Getting the ensemble of communication or the information of a plurality of cookie informations occurs simultaneously as the cookie information of optimizing.
4. client cookie information acquisition methods as claimed in claim 3; It is characterized in that, comprise thereby with the Cookie key that is used to mate said a plurality of cookie informations are selected to handle the cookie information that obtains optimization said update time according to cookie information:
According to choosing nearest cookie information update time the update time of cookie information, if said update time, nearest cookie information was unique, then should update time nearest cookie information is as the cookie information of optimizing;
Otherwise, according to the Cookie key that is used for mating from said update time cookie information that nearest cookie information is chosen coupling as the cookie information of optimizing.
5. client cookie information acquisition methods as claimed in claim 3; It is characterized in that, said according to the update time of cookie information and/or the Cookie key that is used to mate selecting processing to comprise with the cookie information that obtains optimization to said a plurality of cookie informations:
Choose the cookie information that matees with said Cookie key according to the Cookie key that is used to mate, if the cookie information of said coupling is unique, the cookie information that then will mate is as the cookie information of said optimization;
Otherwise, according to choosing update time nearest cookie information the update time of the cookie information of each said coupling as the cookie information of said optimization.
6. like claim 4 or 5 described client cookie information acquisition methods; It is characterized in that; If also exist a plurality ofly according to the cookie information of the optimization after selecting Cookie key and update time to handle, then from the result, choose the high cookie information of priority as the cookie information of optimizing according to preset cookie information priority.
7. client cookie information acquisition methods as claimed in claim 3; It is characterized in that; If also exist a plurality ofly according to the cookie information of the optimization after selecting Cookie key or update time to handle, then from the result, choose the high cookie information of priority as the cookie information of optimizing according to preset cookie information priority.
8. client cookie information acquisition methods as claimed in claim 1 is characterized in that said a plurality of cookie informations comprise Flash cookie information and/or HTTP cookie information.
9. according to claim 1 or 8 described client cookie information acquisition methods, it is characterized in that said a plurality of cookie informations are chosen Flash cookie information and the HTTPCookie information that is stored in the client diverse location.
10. client cookie information acquisition methods as claimed in claim 1 is characterized in that, also comprises: the cookie information according to said optimization carries out data manipulation, and the cookie information of after data manipulation is accomplished, storing in to client upgrades.
11. a client cookie information deriving means comprises:
The cookie information receiving element is used to obtain a plurality of cookie informations that are stored in client;
Cookie information is optimized the unit, thereby is used for according to pre-defined rule said a plurality of cookie informations being selected to handle the cookie information that obtains optimization.
12. client cookie information deriving means as claimed in claim 11 is characterized in that, said cookie information receiving element comprises:
The Web request receives subelement, is used to receive the Web request that client is submitted to;
Cookie information request subelement, be used to receive said Web request after, send the solicited message of obtaining of obtaining a plurality of cookie informations of being stored in client to client.
13. client cookie information deriving means as claimed in claim 11 is characterized in that: said cookie information is optimized the unit and is further used for carrying out following operation:
Update time said a plurality of cookie informations are selected to handle to obtain the cookie information of optimization according to cookie information; Perhaps
According to the Cookie key that is used to mate said a plurality of cookie informations are selected to handle to obtain the cookie information of optimization; Perhaps
Thereby select to handle the cookie information that obtains optimization with the Cookie key that is used to mate to said a plurality of cookie informations the update time according to cookie information; Perhaps
Getting the ensemble of communication or the information of a plurality of cookie informations occurs simultaneously as the cookie information of optimizing.
CN2012102606159A 2012-07-25 2012-07-25 Client-side Cookie information acquisition method and device Pending CN102769625A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012102606159A CN102769625A (en) 2012-07-25 2012-07-25 Client-side Cookie information acquisition method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012102606159A CN102769625A (en) 2012-07-25 2012-07-25 Client-side Cookie information acquisition method and device

Publications (1)

Publication Number Publication Date
CN102769625A true CN102769625A (en) 2012-11-07

Family

ID=47096875

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012102606159A Pending CN102769625A (en) 2012-07-25 2012-07-25 Client-side Cookie information acquisition method and device

Country Status (1)

Country Link
CN (1) CN102769625A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103617193A (en) * 2013-11-07 2014-03-05 北京奇虎科技有限公司 Cookie information processing method and cookie information processing browser
CN103812914A (en) * 2012-11-14 2014-05-21 阿里巴巴集团控股有限公司 Method and device for tracking spreader
CN106611026A (en) * 2015-10-27 2017-05-03 北京国双科技有限公司 Cookie planting and processing methods and devices
CN106790635A (en) * 2017-01-06 2017-05-31 聚好看科技股份有限公司 Cookie information management method and server
CN108076037A (en) * 2016-11-11 2018-05-25 瞻博网络公司 For disposable COOKIE to be used to carry out the devices, systems, and methods of defending against denial-of-service attacks
CN108255843A (en) * 2016-12-28 2018-07-06 北京奇虎科技有限公司 A kind of cookie mappings script loading method, device and equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1478348A (en) * 2000-11-30 2004-02-25 �Ҵ���˾ Secure session management and authentication for WEB sites
CN101217547A (en) * 2008-01-18 2008-07-09 南京邮电大学 A flood request attaching filtering method based on the stateless of open source core
CN101482882A (en) * 2009-02-17 2009-07-15 阿里巴巴集团控股有限公司 Method and system for cross-domain treatment of COOKIE

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1478348A (en) * 2000-11-30 2004-02-25 �Ҵ���˾ Secure session management and authentication for WEB sites
CN101217547A (en) * 2008-01-18 2008-07-09 南京邮电大学 A flood request attaching filtering method based on the stateless of open source core
CN101482882A (en) * 2009-02-17 2009-07-15 阿里巴巴集团控股有限公司 Method and system for cross-domain treatment of COOKIE

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103812914A (en) * 2012-11-14 2014-05-21 阿里巴巴集团控股有限公司 Method and device for tracking spreader
CN103812914B (en) * 2012-11-14 2017-10-24 阿里巴巴集团控股有限公司 A kind of method and device for following the trail of promoter
CN103617193A (en) * 2013-11-07 2014-03-05 北京奇虎科技有限公司 Cookie information processing method and cookie information processing browser
CN106611026A (en) * 2015-10-27 2017-05-03 北京国双科技有限公司 Cookie planting and processing methods and devices
CN106611026B (en) * 2015-10-27 2020-03-03 北京国双科技有限公司 Cookie planting and processing method and device
CN108076037A (en) * 2016-11-11 2018-05-25 瞻博网络公司 For disposable COOKIE to be used to carry out the devices, systems, and methods of defending against denial-of-service attacks
CN108076037B (en) * 2016-11-11 2021-08-24 瞻博网络公司 Apparatus, system, and method for defending against denial of service attacks using disposable COOKIE
CN108255843A (en) * 2016-12-28 2018-07-06 北京奇虎科技有限公司 A kind of cookie mappings script loading method, device and equipment
CN108255843B (en) * 2016-12-28 2024-01-30 三六零科技集团有限公司 Method, device and equipment for loading cookie mapping script
CN106790635A (en) * 2017-01-06 2017-05-31 聚好看科技股份有限公司 Cookie information management method and server
CN106790635B (en) * 2017-01-06 2020-11-24 聚好看科技股份有限公司 Cookie information management method and server

Similar Documents

Publication Publication Date Title
CN107003877B (en) Contextual deep links for applications
CN108683679B (en) Multi-account login method, device, equipment and storage medium of Web APP
US20140317176A1 (en) Enhancement of upload and/or download performance based on client and/or server feedback information
CN107809383B (en) MVC-based path mapping method and device
EP2989543B1 (en) Method and device for updating client
CN110771126B (en) System for matching and attributing user equipment events
EP2682863A1 (en) Installing applications remotely
CN105812435B (en) Application upgrading data packet processing method and device, electronic equipment and system
CN102769625A (en) Client-side Cookie information acquisition method and device
CN109586969A (en) Content distributing network disaster recovery method, device, computer equipment and storage medium
EP3584669B1 (en) Webpage loading method, webpage loading system, and server
CN110765208B (en) Data synchronization method and device, electronic equipment and storage medium
US20140215008A1 (en) Network method and apparatus
CN113590974B (en) Recommendation page configuration method and device, electronic equipment and computer readable medium
US9876776B2 (en) Methods for generating and publishing a web site based on selected items and devices thereof
CN108701130A (en) Hints model is updated using auto-browsing cluster
CN102684925A (en) Method and device for acquiring internet access source information
CN109213782B (en) Search interface configuration and display method and device and communication equipment
CN107608722B (en) Application program downloading method and device
CN103699630B (en) Method and device for recommending information in browser
CN113590985B (en) Page jump configuration method and device, electronic equipment and computer readable medium
CN108108381B (en) Page monitoring method and device
CN115086194A (en) Data transmission method for cloud application, computing equipment and computer storage medium
JP6787845B2 (en) Suspected location estimation device and suspected location estimation method
US8645262B1 (en) System and method for displaying security information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20121107