Summary of the invention
Technical problems to be solved in this application are to provide a kind of cookie information storage means and system, solve because same user changes client end, or when deleting the cookie information in same client, the operating result to webpage before cannot continuing to use.
In order to solve the problem, this application discloses a kind of cookie information storage means, comprising:
First client sends the first connection request to cloud server, obtains cloud server storing authorization; Described first connection request comprises user ID;
For the cookie information that the first Client browse page generates, described cookie information is uploaded in cloud server, and stores according to described user ID;
When the first client or the second client transmission company second connect request to cloud server, described second connection request comprises described user ID, if cloud server exists the cookie information of corresponding described user ID, then described cookie information is supplied to described first client or the second client downloads.
Preferably, comprise when described cookie information being uploaded:
According to the operation of the first client to the page or browser, judge the opportunity of uploading cookie information in the first client, when opportunity is uploaded in arrival, described cookie information is uploaded automatically.
Preferably, comprise when described cookie information being uploaded:
Monitor in the first client the order that specific browser window is closed; When monitoring described shutdown command, each cookie information being uploaded to cloud server and storing according to user ID.
Preferably, described specific browser window comprises is the window that current browser is only deposited.
Preferably, comprise when described cookie information being uploaded:
For each page that the first client is opened, analyze the non-operating time of described first client to the described page, when the described non-operating time is more than or equal to threshold value, then according to the first client cookie information store path, cookie information corresponding for the described page is uploaded to cloud server and stores according to user ID.
Preferably, comprise when described cookie information being uploaded:
For the page that the first client is opened, judge whether the described page closes or redirect, if closed or redirect, then according to the first client cookie information store path, cookie information corresponding for the described page is uploaded to cloud server and stores according to user ID.
Preferably, comprised before described cookie information is uploaded:
Described cookie information is compressed.
Preferably, comprised before described cookie information is uploaded:
By key, described cookie information is encrypted.
Preferably, comprise after described cookie information is uploaded to cloud server:
The mode of the safety encipher cookie information corresponding to described user ID is adopted to store.
Preferably, comprise when described cookie information is uploaded to cloud server:
Call the correlation function of process cookie information;
The information of write cookie is obtained by the described correlation function called;
According to the domain name in described cookie information, build in-process cookie list;
According to described list, upload for the cookie content under list described in each domain Name acquisition.
Preferably, also comprise:
By each cookie information downloaded from cloud server, compared with each cookie information stored with the first client or the second client self, cookie information newer in corresponding cookie information is retained in described first client or the second client.
Preferably, comprise when cookie information newer in corresponding cookie information being retained in described first client or the second client:
Obtain the corresponding cookie information that domain name is identical and/or cookie name is identical for comparing, the cookie information that timestamp is wherein newer is retained in described first client or the second client as newer cookie information.
Preferably, when using same user ID to upload cookie information to high in the clouds by least two clients, for domain name and/or the identical cookie information of cookie name, retain the cookie information that its timestamp is newer.
Accordingly, disclosed herein as well is a kind of cookie information storage system, comprising:
First client and cloud server, and/or the second client;
Described first client comprises:
First connection request sending module, for sending the first connection request to cloud server, obtains cloud server storing authorization; Described connection request comprises user ID;
Transmission module in cookie information, for the cookie information that module generates for the first Client browse page, is uploaded to described cookie information in cloud server, and stores according to described user ID;
First download request sending module, downloads cookie information second connection request for sending;
Described cloud server comprises:
User ID memory module, for storing the cookie information respective user of the first client upload mark;
Request receiving module, for receiving the first connection request of the first client, receives the second connection request of the first client and/or the second client;
Information is downloaded and is provided module, for cookie information is supplied to client downloads;
Described second client comprises the second download request sending module, downloads cookie information second connection request for sending.
Preferably, described first client comprises judge module further, described judge module, for according to the operation of the first client to the page or browser, judge the opportunity of uploading cookie information in the first client, when opportunity is uploaded in arrival, described cookie information is uploaded automatically.
Preferably, described judge module comprises:
First opportunity judge module, for monitoring in the first client the order that specific browser window is closed; When monitoring described shutdown command, each cookie information being uploaded to cloud server and storing according to user ID.
Preferably, described specific browser window comprises is the window that current browser is only deposited.
Preferably, described disconnected module comprise further second opportunity judge module, described second opportunity judge module, for each page opened for the first client, analyze the non-operating time of described first client to described each page, when the described non-operating time is more than or equal to threshold value, then according to the first client cookie information store path, cookie information corresponding for the described page is uploaded to cloud server and stores according to user ID.
Preferably, described judge module comprise further the 3rd opportunity judge module, described 3rd opportunity judge module, for the page opened for the first client, judge whether the described page closes or redirect, if closed or redirect, then according to the first client cookie information store path, cookie information corresponding for the described page is uploaded to cloud server and stores according to user ID.
Preferably, in described first client, comprised before described cookie information is uploaded:
Compression module, for compressing described cookie information.
Preferably, it is characterized in that, in described first client, comprised before described cookie information is uploaded:
Encrypting module, for being encrypted described cookie information by key.
Preferably, in described cloud server, comprise after described cookie information is uploaded to cloud server:
Secure storage module, stores for the cookie information adopting the mode of safety encipher corresponding to described user ID.
Preferably, in described first client, comprising:
Function call module, for calling the correlation function of process cookie information;
Data obtaining module, the correlation function for calling described in passing through obtains the information of write cookie;
Process cookie list builder module, for according to the domain name in described cookie information, builds in-process cookie list;
Transmission module in first cookie information, for according to described list, uploads for the cookie content under list described in each domain Name acquisition.
Preferably, described first client or the second client also comprise:
Synchronization module, for each cookie information will downloaded from cloud server, compared with each cookie information stored with the first client or the second client self, cookie information newer in corresponding cookie information is retained in described first client or the second client.
Preferably, described synchronization module is further used for:
Obtain the corresponding cookie information that domain name is identical and/or cookie name is identical for comparing, the cookie information that timestamp is wherein newer is retained in described first client or the second client as newer cookie information.
Preferably, when using same user ID to upload cookie information to high in the clouds by least two clients, for domain name and/or the identical cookie information of cookie name, retain the cookie information that its timestamp is newer.
Compared with prior art, the application comprises following advantage:
The webpage that the application utilizes cloud server to browse same user and the cookie information obtained web page operation store with user ID, when user changes client, or when deleting the cookie information in former client, user is only needed to send the connection request with its user ID at active client, its history cookie information can be downloaded from cloud server, thus webpage browsed before user side can be browsed easily, and improve the efficiency of server.
Embodiment
For enabling above-mentioned purpose, the feature and advantage of the application more become apparent, below in conjunction with the drawings and specific embodiments, the application is described in further detail.
One of core concept of the application is: utilize cloud server, carry out corresponding according to user ID (such as the Accounting system such as user account and password) with the memory block of cloud server, then user is uploaded to cloud server at the cookie that the operation behaviors such as Client browse webpage produce and store; When user is more in other clients, or when user deletes the cookie of used client, the cookie information of history can be downloaded from cloud server according to user ID.
With reference to Fig. 1, show the schematic flow sheet of a kind of cookie information storage means of the application, specifically can comprise:
Step 110, the first client sends the first connection request to cloud server, obtains cloud server storing authorization; Described first connection request comprises user ID.
In this application, generally need account system, namely user's login account is needed, then the first connection request comprising user account and password is sent to cloud server by client, whether cloud server exists the account according to the user account received and cipher inquiry high in the clouds, if existed, then allow user place client that cookie is uploaded to cloud server and store.
Step 120, for the cookie information that the first Client browse page generates, is uploaded to described cookie information in cloud server, and stores according to described user ID.
Cookie is generally made up of variable name and value, and its form is as follows:
Cookie:NAME=VALUE;Expires=DATE;Path=PATH;Domain=DOMAIN_NAME;SECURE
Wherein, NAME=VALUE:
This is the part that each Cookie all must have.NAME is the title of this Cookie, and VALUE is the value of this Cookie.In character string " NAME=VALUE ", not containing characters such as branch, comma and spaces.
Expires=DATE:Expires variable is one and only writes variable, which provide a determination Cookie effective date of expiry.This property value DATE must write in a particular format: what day, DD-MM-YYHH:MM:SSGMT, GMT represent that this is the GMT.Otherwise do not write with such form, system is by None-identified.This variable can be economized, if default time, then the property value of Cookie can not be kept in the hard disk of user, and is only kept in the middle of internal memory, and the closedown along with browser disappears by Cookie file automatically.
This variable of Domain=DOMAIN-NAME:Domain is one and only writes variable, and the Web server which provide a determination in which Internet territory can read the Cookie that browser accesses, and namely only just can use the information in Cookie from the page in this territory.This setting is optional, if default time, the property value arranging Cookie is the domain name of this Web server.
The page on Path=PATH:Path attribute definition Web server under which path can to obtain the Cookie of Servers installed.If the path sections in the URL of general user's input comprises the character string that Path attribute defines from first character, browser is just thought by checking.If the value of Path attribute is "/", then all on Web server WWW resources all can read this Cookie.This setting same is optional, if default time, then the property value of Path is the pathname that the resource of browser passed to by Web server.
Can find out by the setting to Domain and Path Two Variables, can control Cookie file is accessed effectively scope.
Secure: mark this variable in Cookie, when showing to only have the communication protocol between browser and WebServer to be encrypting and authenticating agreement, browser just submits corresponding Cookie to server.Current this agreement only has one, is HTTPS.
The content that Cookies follows the tracks of with the mode recording conversation of key assignments. server by utilizing web response header Web Set-Cookie sends COOKIE information. and the form of the SET-COOKIE web response header Web defined in RFC2109 is:
Cookie:Name=Value;Comment=value;Domain=value;Max-Age=value;Path=Value;Secure;Version=1*DIGIT;
Name is the name of Cookie, Value be its value .Name=Value property value to must first occur, attribute-value is after this to occurring with any order.In Servlet specification, the name for the cookie of session tracking must be JSESSIONID, Comment attribute is optional, because Cookie may comprise the privately owned information of other associated subscriber.This attribute allows server that the use of this Cookie is described, user can check this message, right words determine that it is also optional for whether adding or continuing session .Domain attribute, it is effective in which territory that it is used to specify Cookie. and it is optional that specified territory must start .Max-Age attribute with period (.), for defining the life span of Cookie, in seconds.If exceeded this time, client just should abandon this cookie.If the number of seconds of specifying is 0, represent that this cookie should be dropped immediately.Path attribute is optional, is used to specify this cookie effective under which URL subset.Secure attribute is required, and its value is a decimal number, mark cookie according to the version of condition managing specification.Such as:
set-cookie:uid=zhangsan;Max-Age=3600;Domain=.sun.org;Path=/bbs;Version=1
It represents a uid by name, is worth the cookie for zhangsan.Life span is 3600 seconds, under the bbs path in sunxin.org territory effectively.After 3600 seconds, client will abandon this cookie.When after this web response header Web above IE receives, if can select to accept or refuse this cookie. ID to receive this cookie, when browser transmit a request to the resource under http://www.sunxin.org/bbs path next time, also can send following request header simultaneously:
cookie:uid=zhangsan。
So for above-mentioned cookie, when after the storing authorization being obtained high in the clouds by step 110, the cookie that user can produce by the application under Client browse webpage or the shopping cart in webpage add the situations such as content, is uploaded to cloud server according to user ID (account name of such as user and password) and stores.
Preferably, comprise when described cookie information being uploaded:
Step S120, according to the operation of the first client to the page or browser, judges the opportunity of uploading cookie information in the first client, when opportunity is uploaded in arrival, described cookie information is automatically uploaded.
At the Client browse page or in the operating process of browser, the application can intelligent decision upload cookie information upload opportunity, the cookie information of client is uploaded to high in the clouds.When uploading, also can upload in conjunction with user ID, ensureing that high in the clouds can store according to described user ID.
When carrying out cookie information storage beyond the clouds, can unify to store, then mark with user ID; Also can user ID storage area be divided to store.
Preferably, comprise when described cookie information being uploaded:
Step S121, monitors in the first client the order that specific browser window is closed; When monitoring described shutdown command, each cookie information being uploaded to cloud server and storing according to user ID.It is the window that current browser is only deposited that described specific browser window comprises.
Generally, can there is multiple window in browser, also can be the window of multiple browser, when browser in use, some cookie information are also in use, and when browser cuts out, browser just stops using cookie information.So now namely according to the first client cookie information store path, each cookie information is uploaded to cloud server and stores according to user ID.
Generally, the precondition of this step is that browser does not forbid cookie, i.e. in the timestamp Expires=DATE of cookie, DATE is not 0.
In this application, a mouse can be added and intercept event, and window number decision event.
When client opens a browser window, then window number is added 1; Occurring pressing action when listening to the pass closed region of mouse at browser window, namely occurring closing browser window action, then window number being subtracted 1; When window number record from non-zero become 0 time, namely judge that all browser windows are closed.Now, the cookie information in the storage file of client can be uploaded to cloud server, and store according to described user ID.
Or, preferably, comprise when described cookie information is uploaded:
Step S122, for each page that the first client is opened, analyze the non-operating time of described first client to described each page, when the described non-operating time is more than or equal to threshold value, then according to the first client cookie information store path, cookie information corresponding for the described page is uploaded to cloud server and stores according to user ID.
When the page that user opens, and when this page not being operated for a long time, also cookie information corresponding for the page can be uploaded to cloud server and store according to user ID.
Preferably, comprise when described cookie information is uploaded:
Or, step S123, for the page that the first client is opened, judge whether the described page closes or redirect, if closed or redirect, then according to the first client cookie information store path, cookie information corresponding for the described page is uploaded to cloud server and stores according to user ID.
After user opens a page, if carry out closing or skip operation for this page, so show that cookie information corresponding for the described page temporarily in access, now may can not can be uploaded to cloud server and store according to user ID by the cookie that this page is corresponding.
Further, described step S123 comprises:
Steps A 1, when there is new URL(uniform resource locator) in browser, counter counts described URL(uniform resource locator) by reference;
The application can arrange reference counter, when there is new URL (Uniform/UniversalResourceLocator, URL(uniform resource locator)) in browser, when namely user opens new web page, then and counter+1; For same URL, it occurs that several times then reference counter record several times in a browser, and namely user may open repeatedly by same webpage.
In this application, for the different URL that browser occurs simultaneously, correspondence arranges corresponding reference counter respectively, counts respectively to different URL.
Such as when certain page jump is to www.taobao.com, and browser is current there is not the page that URL is www.taobao.com, then the reference counter of corresponding www.taobao.com adds 1, and when certain page jump is to other pages or when closing, described reference count subtracts 1.
Steps A 2, when described URL(uniform resource locator) be recorded as 0 time, be 0 carry out timing by timer to the reference counter of described URL(uniform resource locator);
When the webpage for same URL, when user closes the webpage of this URL, the record of the reference counter of this URL subtracts 1.The application also can arrange timer, when described record becomes 0, then carries out timing for this URL distributes corresponding timer.
Steps A 3, threshold value is exceeded when the time that the counter of described URL(uniform resource locator) is 0, then determine that the page corresponding to described URL(uniform resource locator) has been closed or redirect, according to the first client cookie information store path, cookie information corresponding for the described page is uploaded to cloud server and stores according to user ID.
For the timing of timer corresponding to above-mentioned URL, threshold value is exceeded when the time that described URL does not occur again, then determine that the page corresponding to described URL(uniform resource locator) has been closed or redirect, according to the first client cookie information store path, cookie information corresponding for the described page is uploaded to cloud server and stores according to user ID.Such as, if after 30 seconds, the reference counter of www.taobao.com adds is also 0, namely can judge that user finishes the operation to www.taobao.com, the cookie information corresponding to this URL can be uploaded to cloud server, and store according to user ID.
Preferably, comprise when described cookie information being uploaded to cloud server:
Step B1, calls the correlation function of process cookie information;
Further, by processing the function of cookie information in hook program pickup system api function.
In reality, the hook program by system hooks up in (hook) API calls and processes the function such as cookie information InternetSetCookie, InternetSetCookieEx, InternetSetCallback.
Step B2, obtains the information of write cookie by the described correlation function called;
For the correlation function of each process cookie information of aforementioned acquisition, by the described information being obtained each cookie of write by each function hooked up.
The domain name, content and the additional information that write cookie can be obtained by the function of above-mentioned hook.
Step B3, according to the domain name in described cookie information, builds in-process cookie list;
Further, comprise in this step:
Step C1, judges whether comprise timestamp in the information of each cookie; If do not comprised, then with the domain name in described cookie information for keyword, build in-process cookie list.
Generally, for in-process cookie, life period is not stabbed, and namely Expires=DATE is default; When spanned file, just by system function, timestamp can be added in the file of cookie information.
So for by the described information being obtained each cookie of write by each function hooked up, analyze in its additional information whether comprise timestamp, the cookie whether cookie belongs to in-process can be confirmed.
If do not comprised, then with the domain name in described cookie information for keyword, build in-process cookie list.
Step B4, according to described list, uploads for the cookie content under list described in each domain Name acquisition.
In reality, can according to described list, for each domain name, call the cookie content that InternetGetCookie obtains under this list one by one and upload.
When needs are preserved and uploaded cookie, the list using step B3 to generate, to each domain name, calls InternetGetCookie one by one to obtain content, and is stored to cloud server according to user ID by these content uploadings.
Preferably, comprised before described cookie information is uploaded:
Step C1, compresses described cookie information.Compress as by 128 zip being.
Preferably, comprised before described cookie information is uploaded:
Step C2, is encrypted described cookie information by key.
Generally, compression can be carried out with encryption simultaneously, such as uses the secret key encryption of zip+128 position.Then the transmission of data can use standard http to upload.
Preferably, comprise after described cookie information is uploaded to cloud server:
Step C3, adopts the mode of the safety encipher cookie information corresponding to described user ID to store.
Step 130, when the first client or the second client transmission company second connect request to cloud server, described second connection request comprises described user ID, if cloud server exists the cookie information of corresponding described user ID, then described cookie information is supplied to described first client or the second client downloads.
When user changes client, or the used client of user deletes the situations such as cookie information, when user send comprise user represent that the second connection request for downloading is to cloud server time, whether high in the clouds then exists cookie information corresponding to this user ID according in user ID inquiry cloud server, if existed, then the client that user uses then can download described cookie information.When such as user is logged in by the form of account and password, cloud server, according to searching cookie information corresponding to the account in account and password beyond the clouds server, if existed, is then supplied to the client that user uses and downloads.
Preferably, then comprise when described cookie information being supplied to described first client or the second client downloads:
Step H1, by each cookie information downloaded from cloud server, compared with each cookie information stored with the first client or the second client self, cookie information newer in corresponding cookie information is retained in described first client or the second client.
Further, comprise when cookie information newer in corresponding cookie information being retained in described first client or the second client:
Step H11, obtain the corresponding cookie information that domain name is identical and/or cookie name is identical for comparing, the cookie information that timestamp is wherein newer is retained in described first client or the second client as newer cookie information.
Preferably, step H1 comprises: step S130, for each cookie information downloaded from cloud server, according to the domain name in cookie information and/or cookie name, in each cookie information that the first client or the second client self exist, search whether there is the cookie information identical with each cookie information that cloud server is downloaded;
In this step, when there is cookie information in the client that user uses, if user is sent by the form such as user account and password and downloads request to cloud server, after the cookie information of this user of cloud server downloaded stored, using the domain name in cookie information and cookie name as keyword, each cookie information that each cookie information downloaded from high in the clouds and client this locality exist is carried out inquiry compare, confirm each cookie information downloaded from high in the clouds, whether to there is the cookie information identical with each cookie information that client this locality exists.
Step S131, if existed, then the distance of current time in the timestamp judging each cookie that domain name is identical with cookie name;
Each cookie information that each cookie information downloaded from high in the clouds and client this locality exist is carried out inquiry and is compared, confirm each cookie information downloaded from high in the clouds, to there is each cookie information domain name that exist local with the client cookie information identical with cookie name, so for the cookie information that described above-mentioned two aspects are identical, then corresponding according to its timestamp point writing time, compares with current time.In more described identical cookie information be from high in the clouds download close to current time, or this locality close to current time.
Step S132, when the timestamp of a cookie information of described cloud server self to exist the update of time stamp of described cookie information than described first client or the second client, then cover described first client by system api function InternetSetCookie or the second client self exists described cookie information;
When in the cookie information that domain name is identical with cookie name, from high in the clouds download certain cookie information more local than client correspondence cookie information from current time more close to, so calling system api function InternetSetCookie, covers described first client or the second client self exists described cookie information.
Step S133, self there is the update of time stamp of described cookie information when the timestamp of a cookie information of described cloud server in step, then retains described first client or the second client self exists described cookie information unlike described first client or the second client.
When in the cookie information that domain name is identical with cookie name, certain cookie information downloaded from high in the clouds corresponding cookie information more local than client is farther from current time, so retain described first client or the second client self exists described cookie information, delete the corresponding cookie information downloaded from high in the clouds.
In addition, when user is by two clients or more multi-client, use same user ID (such as same username and password) to send a request to high in the clouds simultaneously, after the cookie of each client is uploaded to high in the clouds, for the cookie information of same domain name and cookie name, the newer cookie information of its timestamp can be retained beyond the clouds.In this application, if same user uses same mark (when same account and code entry cloud server) in multiple client, such as user is simultaneously when customer end A and customer end B use same account 123 to log in cloud server, the cookie information then uploaded in customer end A for 123, so 123 can the cookie information uploaded of real-time update 123 customer end A in customer end B, its renewal process by step step S130 to step step S133.
With reference to Fig. 2, it illustrates the structural representation of a kind of cookie information storage system of the application, comprising:
First client 210 and cloud server 220, and/or the second client;
Described first client 210 comprises:
First connection request sending module 211, for sending the first connection request to cloud server, obtains cloud server storing authorization; Described connection request comprises user ID;
Transmission module 212 in cookie information, for the cookie information that module generates for the first Client browse page, is uploaded to described cookie information in cloud server, and stores according to described user ID;
First download request sending module 213, downloads cookie information second connection request for sending;
Described cloud server 220 comprises:
User ID memory module 221, for storing the cookie information respective user of the first client upload mark;
Request receiving module 222, for receiving the first connection request of the first client, receives the second connection request of the first client and/or the second client;
Information is downloaded and is provided module 223, for cookie information is supplied to client downloads;
Described second client comprises the second download request sending module, downloads cookie information second connection request for sending.
Wherein, described permissions module specifically can be used for license first client upload cookie information and is stored in cloud server, also can permit when the first client or the second client transmission company second connect request to cloud server, described second connection request comprises described user ID, if cloud server exists the cookie information of corresponding described user ID, then described cookie information is supplied to described first client or the second client downloads.
In the application, the cookie information of the first client upload can carry out download cookie information at least one second client according to user ID.
Preferably, described first client comprises judge module further, described judge module, for according to the operation of the first client to the page or browser, judge the opportunity of uploading cookie information in the first client, when opportunity is uploaded in arrival, described cookie information is uploaded automatically.
Preferably, upload opportunity judge module described in comprise:
First opportunity judge module, for monitoring in the first client the order that specific browser window is closed; When monitoring described shutdown command, each cookie information being uploaded to cloud server and storing according to user ID.
Preferably, described specific browser window comprises is the window that current browser is only deposited.
Preferably, described upload opportunity judge module comprise further second opportunity judge module, described second opportunity judge module, for each page opened for the first client, analyze the non-operating time of described first client to described each page, when the described non-operating time is more than or equal to threshold value, then according to the first client cookie information store path, cookie information corresponding for the described page is uploaded to cloud server and stores according to user ID.
Preferably, described upload opportunity judge module comprise further the 3rd opportunity judge module, described 3rd opportunity judge module, for the page opened for the first client, judge whether the described page closes or redirect, if closed or redirect, then according to the first client cookie information store path, cookie information corresponding for the described page is uploaded to cloud server and stores according to user ID.
Preferably, in described client, comprised before described cookie information is uploaded:
Compression module, for compressing described cookie information.
Preferably, in described client, comprised before described cookie information is uploaded:
Encrypting module, for being encrypted described cookie information by key.
Preferably, in described cloud server, comprise after described cookie information is uploaded to cloud server:
Secure storage module, stores for the cookie information adopting the mode of safety encipher corresponding to described user ID.
Preferably, in described first client, comprising:
Function call module, for calling the correlation function of process cookie information;
Data obtaining module, the correlation function for calling described in passing through obtains the information of write cookie;
Process cookie list builder module, for according to the domain name in described cookie information, builds in-process cookie list;
Transmission module in first cookie information, for according to described list, uploads for the cookie content under list described in each domain Name acquisition.
Preferably, also comprise:
Synchronization module, for each cookie information will downloaded from cloud server, compared with each cookie information stored with the first client or the second client self, cookie information newer in corresponding cookie information is retained in described first client or the second client.
Preferably, described synchronization module is further used for:
Obtain the corresponding cookie information that domain name is identical and/or cookie name is identical for comparing, the cookie information that timestamp is wherein newer is retained in described first client or the second client as newer cookie information.
Preferably, when using same user ID to upload cookie information to high in the clouds by least two clients, for domain name and/or the identical cookie information of cookie name, retain the cookie information that its timestamp is newer.
For system embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.
Finally, also it should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.
Those skilled in the art should understand, the embodiment of the application can be provided as method, system or computer program.Therefore, the application can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the application can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code.
The application describes with reference to according to the flow chart of the method for the embodiment of the present application, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Although described the preferred embodiment of the application, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the application's scope.
A kind of cookie information storage means above the application provided and system, be described in detail, apply specific case herein to set forth the principle of the application and execution mode, the explanation of above embodiment is just for helping method and the core concept thereof of understanding the application; Meanwhile, for one of ordinary skill in the art, according to the thought of the application, all will change in specific embodiments and applications, in sum, this description should not be construed as the restriction to the application.