CN103701844B - The method and system of managing user information - Google Patents

The method and system of managing user information Download PDF

Info

Publication number
CN103701844B
CN103701844B CN201210435978.1A CN201210435978A CN103701844B CN 103701844 B CN103701844 B CN 103701844B CN 201210435978 A CN201210435978 A CN 201210435978A CN 103701844 B CN103701844 B CN 103701844B
Authority
CN
China
Prior art keywords
user
information
user profile
version
client
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.)
Expired - Fee Related
Application number
CN201210435978.1A
Other languages
Chinese (zh)
Other versions
CN103701844A (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
Qizhi Software Beijing 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 CN201210435978.1A priority Critical patent/CN103701844B/en
Publication of CN103701844A publication Critical patent/CN103701844A/en
Application granted granted Critical
Publication of CN103701844B publication Critical patent/CN103701844B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of method and system of managing user information, methods described includes the different editions user profile of each user of client-cache, wherein, each version user information includes the essential information of user and creates the creation time of the version user information;And, send the user profile of a certain version to user profile processing server;When the user profile processing server receives the user profile of a certain version that the client sends, the modification time of the user basic information is obtained from user profile buffer, comparative result based on the modification time with the creation time of the version user information, is updated using the user basic information cached from user profile buffer to the version user information.The cookie information synchronization of cross-domain browser-cross is can solve the problem that using the present invention.

Description

The method and system of managing user information
Technical field
The present invention relates to network safety filed, and in particular to the method and system of managing user information.
Background technology
With the fast development of internet, occur in that there is the catenet of millions of or even several hundred million users to answer for some With provider, these network application providers provide multiple network applications, and each network application is subject to a large number of users Widely use.These network applications are used for the ease of user, usual network application provider provides uniquely for each user ID, such user is when using network application, it is only necessary to use network user name.Some shared users The network application alliance of information is also adopted by such user's mechanism.Such network application may use different domain names.Example Such as, the customer center of concrete management user uses domain name xxx-user.com, domain name xxx-a.com is then used using A, with such Push away.
According to HTTP(Hyper Text Transport Protocol, HTTP)Related content, in order to Ensure cookie(A kind of caching mechanism in HTTP standards)Security, multiple domain names can not share a cookie information. Therefore, in currently existing scheme, user uses network application for convenience, and large-scale network application provider generally exists in user Logged in using certain concrete application when being network application, for the user generates all nets that the network application provider has The cookie information of network application, so as to facilitate other network applications of the User logs in network application provider.
In general, with certain using in addition to storing username information, be also stored with use in corresponding cookie Other essential informations at family.This is possible to cause such problem, i.e., when user have updated when using certain network application Its essential information, and the cookie corresponding to other network applications do not have it is corresponding change its essential information, so as to cause use Family can not obtain newest elemental user information when using other application, the situation for producing information inconsistent, and this can cause to use The puzzlement at family, and reduce attraction of the network application to user.
The content of the invention
In view of the above problems, it is proposed that the present invention so as to provide one kind overcome above mentioned problem or at least in part solve on State the method and system of the managing user information of problem.
According to one aspect of the present invention, there is provided a kind of system of managing user information, including user profile treatment clothes Business device and client, wherein,
The client, is configured to be cached for each user the different editions user profile of the user, and each version is used Family information includes the essential information of user and creates the creation time of the version user information;And send the use of a certain version Family information is to the user profile processing server;
The user profile processing server, is suitable to process being buffered in the user profile at client, wherein right In each user, the different editions user profile of the user is cached with client, each version user information includes user Essential information and create the creation time of the version user information, the user profile processing server includes:User profile Buffer, is configured to the modification time of the essential information of cache user and the essential information of modification user;And user mutual Processor, is configured to, when the user profile of a certain version is received, the user be obtained from user profile buffer and is believed substantially The modification time of breath, the comparative result based on the modification time Yu the creation time of version user information, using from user profile The user basic information cached in buffer is updated to version user information.
Optionally, user interaction process device be additionally configured to when comparative result be modification time earlier than creation time when, keep Version user Information invariability;And when modification time is later than creation time, with the user basic information for being cached more redaction User basic information in user profile, and accordingly change creation time.
Optionally, above-mentioned user profile processing server also includes:User information store, is configured to store the base of user This information;And, information modification processor is respectively coupled to user information store and user profile buffer, is configured to connect Receive from client user profile modification request, based on the request in user information store store user basic information Modify, the user basic information to being cached in user profile buffer is modified, and when updating corresponding modification simultaneously Between, and create the user profile that the corresponding version of request is changed with the user profile.
Optionally, the network application with different rhizospheres name has the user profile of different editions, and different types of Browser has the user profile of different editions.
According to another aspect of the present invention, there is provided a kind of system using above-mentioned managing user information carries out user's letter The method for ceasing management, including:The different editions user profile of client-cache each user, wherein, each version user information Essential information including user and create the creation time of the version user information;And, send user's letter of a certain version Cease to user profile processing server;User profile processing server receives the user profile of a certain version that client sends When, the modification time of the user basic information is obtained from user profile buffer, believed based on the modification time and version user The comparative result of the creation time of breath, using the user basic information cached from user profile buffer to version user information It is updated.
Technology according to the present invention scheme, user interaction process device compares two times, and one is version user information Creation time, another is the modification time of the user basic information obtained from user profile buffer.According to comparing As a result, user interaction process device can utilize the user basic information cached from user profile buffer to version user information It is updated.As can be seen here, when user have updated its essential information when using certain network application, and user is logging in other During network application, user interaction process device can be updated to the information in cookie, i.e. user is when using any application Newest elemental user information is obtained in that, without obtaining the elemental user information not being updated stored in client, Puzzlement is produced so as to avoid user, attraction of the network application to user is improved.
Described above is only the general introduction of technical solution of the present invention, in order to better understand technological means of the invention, And can be practiced according to the content of specification, and in order to allow the above and other objects of the present invention, feature and advantage can Become apparent, below especially exemplified by specific embodiment of the invention.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantages and benefit is common for this area Technical staff will be clear understanding.Accompanying drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention Limitation.And in whole accompanying drawing, identical part is denoted by the same reference numerals.In the accompanying drawings:
Fig. 1 shows the structural representation of the system of managing user information according to an embodiment of the invention;
Fig. 2 shows the process chart of user profile processing method according to an embodiment of the invention;And
Fig. 3 shows user profile processing procedure schematic diagram according to an embodiment of the invention.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in accompanying drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here Limited.Conversely, there is provided these embodiments are able to be best understood from the disclosure, and can be by the scope of the present disclosure Complete conveys to those skilled in the art.
According to an aspect of the present invention, HTTP and similar agreement are for example being based on(HTTPS)Network environment in, need There is provided one kind quickly and accurately can update in various different cookie user profile, even if so that user obtains more The cookie synchronous method and corresponding equipment of fresh information.
The purpose of the present invention is described with a specific embodiment.For example, in a Large-Scale Interconnected net application system In, the multiple applications with different domain names use same account number system, this can by User logs in certain using when simultaneously The corresponding multiple domains of multiple applications are given to set cookie to realize that synchronization of the account number in multiple domains is logged in.Stored in cookie The essential information of user.When user interacts with the other application in the system, worked as by obtaining obtaining from the anti-solutions of cookie The essential information of preceding login user.The embodiment needs to reach following purpose:
1. user have modified the essential information of account number under A domains, reset cookie;When user B domains, it is ensured that User is consistent with newest amended information under A domains in the user profile that the domain is seen.
2. the different browser of kernel(Such as IE browser and firefox browsers)The mode of middle cookie storages also differs Sample, user have modified account with A browser access, reset cookie;When user uses B browser access instead, If logged in B browsers before user and have selected next automated log on, also to ensure user profile that user sees with A The information seen under browser is consistent.
Browser herein is only to list two kinds of examples of IE browser and firefox browsers, in implementation process Can also there are other various browsers, such as QQ browsers, 360 browsers, SOGOU browsers etc..
Based on the inventive concept, a kind of system of managing user information, its structural representation are the embodiment of the invention provides As shown in figure 1, including multiple client 11i and user profile processing server 120.
Wherein, for client 11i, i herein takes natural number, represents different clients, and the value of i is any just whole Number, such as 1,2,3,5,8,20 etc..In order to illustrate in figure, two clients are only depicted, described for convenience, from left to right successively It is designated client 111, client 112.Structure and information of the embodiment description meeting hereinafter in Fig. 1 are moved towards to determine to work as The preceding selection for using which client, the client is only used for the different entity of difference, but not to client itself And its function causes to limit.
It should be noted that the client-cache in the embodiment of the present invention has user profile, for each user, in client The different editions user profile of the user is cached with end.Each version user information can include user essential information and Create the creation time of the version user information.
Referring to Fig. 1, client 11i is via such as network connection to user profile processing server 120.Client 11i will The user profile of a certain version is sent to user profile processing server.The version determined by user by client 11i, the time The different or difference that chooses the right moment, the version of selection is also different.For example, when user is logged in by the I E browsers at client 11i When, transmission is the user profile corresponding with I E browsers(Storage is in the cookie that I E browsers are managed).More enter One step, when user is interacted with certain by the IE browser at client 11i using A, transmission is that I E browsers are managed With the application corresponding user profile of A(The cookie corresponding with application A stored i.e. in IE browser).User profile The user profile of 120 pairs of versions of reception of processing server verifies whether the user profile for judging the version is newest User profile.
It should be noted that in network application, user together with other information by when being interacted with application, inciting somebody to action User profile is sent to netscape messaging server Netscape 120 and is processed.For example in the transmission means above based on cookie, browse Other data of cookie information and user can be sent jointly to netscape messaging server Netscape 120 and be done without user by device automatically Relate to.
Referring to Fig. 1, client 112 is sent to user the user profile of a certain version by user mutual interface 1121 to be believed Breath processing server 120.Referring to Fig. 1, user profile processing server 120 includes user profile buffer 121 and user mutual Processor 122.
User profile buffer 121 be capable of cache user essential information and modification user essential information modification when Between.User interaction process device 122 is couple to user profile buffer 122.When receiving client 11i(Such as client 111) During the user profile of a certain version for sending, user interaction process device 122 takes out ID from the user profile of the version, And the modification time of the user basic information corresponding with the ID is obtained from user profile buffer 121, by this Modification time is compared with the creation time of the version user information.Establishment based on the modification time Yu version user information The comparative result of time, user interaction process device 122 is using the user basic information pair cached from user profile buffer 122 Version user information is updated.
User interaction process device 122 can be basic according to the user cached in comparative result and user profile buffer 121 Information is updated to version user information.When comparative result is different, the operation of selection is also different.Optionally, when user believes The creation time of the modification time earlier than the user profile from client of the user basic information cached in breath buffer 121 When, since the user profile of client is created, user profile does not change, therefore user interaction process device for this explanation 121 can keep version user Information invariability.When the modification time of user basic information is later than creation time, this explanation is in wound Build after the user profile of client, the user basic information of caching there occurs change, it is therefore desirable to update and delay at client The user profile deposited, therefore user interaction process device 121 can update version user information with the user basic information for being cached In user basic information, and accordingly change creation time.
When user interaction process device 122 is updated to version user information, referring to Fig. 1, user interaction process device 122 Coupling sends to client 112 the version user information after renewal, to update the content in the cookie1112 at client, Realize the renewal of the user profile in client 112.As can be seen here, the embodiment of the present invention can be in the cookie of client User profile is synchronously updated, it is ensured that the reliability of the cookie of client.
As described above, user interaction process device 122 compares two times, and one when being the establishment of version user information Between, another is the modification time of the user basic information obtained from user profile buffer.According to comparative result, use Family interactive processor 122 can utilize the user basic information cached from user profile buffer 121 to version user information It is updated.As can be seen here, when user have updated its essential information when using certain network application, and user is logging in other During network application, the information in the cookie of the client that user interaction process device 121 can be used User logs in is carried out Update, i.e. user is obtained in that newest elemental user information when using any application, without being deposited in acquisition client The elemental user information not being updated of storage, so as to the situation for avoiding generation information inconsistent, solves the puzzlement of user, improves Attraction of the network application to user.
In addition, except heterogeneous networks application can cause the inconsistent situation of the information stored in client, can also exist Other situations.For example, in other situations, i.e. with the fast development of internet, also occur various with difference The browser of kernel is rendered, or even user can also use different browsers on a client terminal, it is every kind of to browse utensil There is the mode of its particular memory cookie.Therefore, to a kind of renewal of browser cookie information, another will not be automatically led to The renewal of cookie information, this also results in user when using different browsers to use network application, finds user's letter The inconsistent problem of breath.And user profile processing server provided in an embodiment of the present invention is used, accessing network in client should Used time can be updated to cookie information, therefore, equally can solve the problem that the technical problem.
To sum up, the user profile processing server for being provided using the present embodiment can realize the cookie of cross-domain browser-cross Synchronizing information.
In the present embodiment, it is uniqueness, the identification of guarantee user, the network application with different rhizospheres should have There is the user profile of different editions, similarly, different types of browser should also have the user profile of different editions.Use The version of family information is different, then the processing mode for providing according to embodiments of the present invention can also realize the renewal of user profile, so that The uniformity of user profile is ensure that, attraction of the network application to user is improve.Referring to Fig. 1, user profile treatment service Device also has user information store 123, can store the essential information of user.The essential information of user is not unalterable , for example, client can send user profile modification request, the essential information of user is modified according to the request, then example Such as, client device updates causes what the essential information of user was made an amendment, etc..If client sends user profile modification request When, referring to Fig. 1, information change request interface 1111 is provided with client 111, processed to user profile using the interface and serviced Device 120 sends user profile modification request.Now, corresponding, user profile processing server 120 is needed according to the use for receiving Family information change request is modified to the essential information of user.
Referring to Fig. 1, in user profile processing server provided in an embodiment of the present invention also there is information to change processor 124, it is respectively coupled to user information store 123 and user profile buffer 125.Information modification processor 124 is received and come from The user profile modification request of client, is entered based on the request to the user basic information stored in user information store 123 Row modification.In view of user basic information modification may caused by information it is inconsistent, information modification processor 124 can also to The user basic information cached in family message buffer 121 is modified, and updates corresponding modification time simultaneously.In addition, letter With user profile modification request phase in breath modification processor 124 and the cookie 1112 that can also update at client 111 The user profile of correspondence version.
Although it should be noted that both user information store 123 and user profile buffer 121 are all as storage Device, but both and differ.The essential information of user is stored in user information store 123, can not be at user profile Within reason server 120, its realization can be single data server, by network connection to user profile processing server 120.Therefore, user profile processing server 120 directly from user information store 123 obtain user basic information if, Processing speed is slower, and transmission needs to rely on the network bandwidth, if the network bandwidth is relatively low or the situation of network congestion occurs, can be serious The acquisition of user basic information is influenceed, or even can be because network congestion causes system crash.And user profile buffer 121 is general Constructed in the internal memory of user profile processing server 120, it is not necessary to network connection, if obtaining user profile from inside, place Reason speed is many soon from the outside meeting of acquisition relative to network is relied on.But as a caching part, user profile buffer 121 Finite capacity, be merely capable of holding part user basic information.
Further, whole implementation is only just related to database manipulation in user's modification information(That is user profile storage Device), query caching is only needed during Query Information(Cache, equivalent to user profile buffer in this example)Cookie information is solved with anti-, Database need not be inquired about, efficiency data query is higher.Further, since in most cases, using needing only to user's Essential information, therefore without the full detail of user is all cached into cache, it is only necessary to preserve some users necessary to application Information, also largely saves the expense of cache internal memories.
What deserves to be explained is, in Fig. 1, three information of user stored in user profile buffer 121, with user profile Number of users and relevant information in memory 123 is consistent.And in practical application, in each memory store number of users with And depending on relevant information can be according to actual conditions, however it is not limited to three four or even millions of to more than one hundred million users.
Optionally, user profile processing server 120 can also include user authenticator 125, user authenticator 125 and letter Breath modification processor 124 and/or user interaction process device 122 are coupled.So when user interaction process device 122 or information are changed Processor 124 receives client 11i(Such as client 111)Send a certain version user profile when, can first by with Validator 125 pairs of user profile in family are verified, it is to avoid mistake occurs in information, improve the reliability of information.
According to one embodiment of present invention, user profile processing server 120 is sent to by modes such as cookie Client-side information generally includes first information part and secondary information sector, and first information part includes the essential information of user, And secondary information sector is encrypted the first verification for generating afterwards using predetermined encryption rule to the essential information of user Character string.User authenticator 125 can verify whether the client-side information is not changed.Specifically, user authenticator 125 is first First information part is encrypted using the encryption rule identical encryption rule with generation secondary information sector, obtains second Check character string.Subsequent user authenticator 125 determines that generated second is checked character and goes here and there and the client-side information for receiving Whether the in secondary information sector first string of checking character matches, and is proved to be successful if matching, otherwise authentication failed, and will test Card result returns to user interaction process device 122 or information modification processor 124.
In embodiments of the present invention, client-side information includes two parts content, a part(That is first information part)It is to use The essential information at family itself, another part(That is secondary information sector)It is first to check character string.After User logs in, user tests Card device 125 can check character string according to the essential information of user generation second, if the string mismatch of checking character for generating twice, Checking is unsuccessful, and user cannot be signed in in the network application.I.e., in embodiments of the present invention, increased to client-side information The step of being verified, if malicious user is forged cookie and is interacted with user profile processing server 120, forgery Cookie generated with user authenticator 125 second check character string necessarily mismatch such that it is able to the security of safeguards system.
In addition, in embodiments of the present invention, can be realized as the checking to user profile using user authenticator 125, no Need to obtain corresponding user profile in database, reduce the data call operation to database, reduce database Load, so as to reduce the load of system, improves the security of system.
When authentication failed of the user authenticator 125 to client-side information, the user profile from client has been illustrated By unwarranted modification, the security of the user profile is worth querying, and now user interaction process device 122 or information are changed Processor 124 can not go on follow-up treatment.
In any embodiment of the invention, to ensure uniqueness, the identification of user, the network with different rhizospheres name Using the user profile should with different editions, similarly, different types of browser should also have the user of different editions Information.The version of user profile is different, then the processing mode for providing according to embodiments of the present invention must realize user profile Update, so as to ensure that the uniformity of user profile, improve attraction of the network application to user.
By the system architecture diagram of Fig. 1 it can also be seen that in application process, client 11i and user profile treatment take Business device 120 is less with interacting between user information store 123, it is not necessary to which each client arrives user information store when logging in (That is local data base)Middle reading data, improve search efficiency.
The client of above-mentioned offer and the framework of user profile processing server are only preferred embodiment, not to two The actual framework of person causes to limit.Can also there is multiple other devices or mould in client and user profile processing server Block or interface, as the case may be depending on.
The method that Fig. 2 shows user profile treatment according to an embodiment of the invention.The method is suitable to shown in Fig. 1 User profile processing server 120 at perform, and be suitable to process being buffered in the user profile at client, wherein right In each user, the different editions user profile of the user is cached with client, each version user information includes user Essential information and create the creation time of the version user information.Also, the user profile processor has user profile Buffer, wherein be cached with the user essential information and change the user essential information modification time, modification time Synchronous with the essential information of user to preserve, the essential information to user can play mark or discriminating effect.Method shown in Fig. 2 rises Start from step S202.In step S202, when the user profile of a certain version of client transmission is received, from user profile The modification time of the user basic information is obtained in buffer.Then, in step S204, from a certain version that step S202 is obtained The modification time of this user basic information, the creation time of the version user information that will be stored in the modification time and client It is compared.Then, step S206 can delay according to both comparative results in step S204 using from user profile buffer The user basic information deposited is updated to version user information.Specific update mode is for example, work as what is obtained from step S202 The modification time of the user profile of a certain version earlier than in client store the version user information creation time when, it was demonstrated that The version user information stored in client is newest, and now selection keeps the version user Information invariability.Again for example, working as The version user information that the modification time of the user profile of a certain version obtained from step S202 is stored in being later than client Creation time when, it was demonstrated that the version user information stored in client is out-of-date, it is necessary to when being changed, now using using The user basic information cached in the message buffer of family updates the user basic information in the version user information, and accordingly repaiies Change creation time.At the end of the renewal in step S206 is operated, then the flow terminates.
In this method embodiment, compare two times, one be version user information creation time, another is The modification time of the user basic information obtained from user profile buffer.According to comparative result, using from user profile The user basic information cached in buffer is updated to version user information.As can be seen here, when user is using certain net Have updated its essential information during network application, and user is when other network applications are logged in, can be to client logging in network application When the cookie that is used in information be updated, i.e. user is obtained in that newest basic when using any application User profile, without obtaining the elemental user information not being updated stored in client, so as to avoid generation information from differing The situation of cause, solves the puzzlement of user, improves attraction of the network application to user.
In addition, for the various browsers that kernel is rendered with difference, and user can also on a client terminal Using different browsers, every kind of browser has a case that the mode of its particular memory cookie, using the embodiment of the present invention The method of the user profile treatment of offer, can be updated to cookie information in time when accessing, therefore, can equally solve The certainly technical problem.That is, the present embodiment realizes the cookie information synchronization of cross-domain browser-cross.
The user profile piece method for realizing cross-domain browser-cross that the present invention is provided is carried out in detail with specific embodiment now Carefully illustrate and illustrate.
Referring to Fig. 3, client user accesses a.com using A browsers (being assumed to be ie browsers) first.Due to a.com Belong to same Internet application system with b.com, and the system realizes multiple domain and synchronously logs in, now the system can set simultaneously Put the cookie under a.com and b.com domains.
Then use user orientation server(That is user profile processing server, afterwards referred to as server)Send modification user name Request(That is user profile modification request).Server receives request, calls SDK to process, and SDK verifies the current field a.com first The cookie of lower user whether there is and it is legal effectively, if do not exist or it is invalid directly return miscue to client, if having Effect then performs the user name that database manipulation updates user, if updating unsuccessfully return miscue to client, if updating the data Kucheng's work(is then preserved to cache memory current operating temporal and new user name(cache)Module, while reseting cookie。
Client user accesses b.com, service using B browsers (being assumed to be firefox browsers, kernel is different from IE) Device calls the user cookie under the current b.com domains of SDK verifications to whether there is and effective.If cookie does not exist or invalid, It is sky to return to user profile, and user is in and is not logged in state.It is counter from cookie to solve currently if cookie is present and effective The essential information of user, SDK obtains the user name and modification time of the last modification of active user, and handle from cache simultaneously Modification time is compared with the generation time of cookie, if the former is more than the latter, is returned in the essential information of active user What user name took is the user name obtained in cache, while reseting cookie with new user name;The otherwise user of active user What name took is the user name obtained from the anti-solutions of cookie.
It should be noted that the SDK in this example is mainly used in determining the legitimacy of cookie and being updated it, its work( Can be equivalent to the user interaction process device 122 in Fig. 1 and information modification processor 124.And the cache in this example(Or claim It is cache modules)It is mainly used in the user profile and modification time of the modification of storage part, its function is equivalent to the user in Fig. 1 Message buffer 121.In addition, the database D B in this example stores the relevant information of all users, believe equivalent to the user in Fig. 1 Breath memory 123.
As can be seen from the above-described embodiment, the present embodiment can realize the cookie information synchronization of cross-domain browser-cross.It is real Shi Shi, each domain(Or different kernel browsers)The current user profile for logging in is obtained, is drawn by the anti-solution from cookie. Further, by cache store modification time and modification what be new after, only need to by the modification time in cache with The generation time of cookie compares can be known whether to need to be obtained with the anti-solution cookie of content replacement of the newest modifications of cache Corresponding contents, while resetting cookie, it becomes possible under realizing each domain(Or different kernel browsers)The synchronization of cookie information.
In addition, whole implementation is only just related to database manipulation in user's modification information, need to only be looked into during Query Information Cache and anti-solution cookie information are ask, without inquiring about database, efficiency data query is higher.Cause need not be by the whole of user Information is all preserved to cache, it is only necessary to preserve the partial information that user has modification to operate, and also largely saves cache services The expense of device internal memory.
In the present embodiment, it is uniqueness, the identification of guarantee user, the network application with different rhizospheres should have There is the user profile of different editions, similarly, different types of browser should also have the user profile of different editions.User believes The version of breath is different, then the processing mode for providing according to embodiments of the present invention must realize the renewal of user profile, so as to protect The uniformity of user profile has been demonstrate,proved, attraction of the network application to user has been improve.
It is mentioned above, the present embodiment can substantially be believed according to the user cached in comparative result and user profile buffer Breath is updated to version user information.When comparative result is different, the operation of selection is also different.Optionally, comparative result is worked as For user basic information modification time earlier than creation time when, keep version user Information invariability.Optional another behaviour Make, when the modification time of user basic information is later than creation time, version user is updated with the user basic information for being cached User basic information in information, and accordingly change creation time.
The modification of user basic information needs trigger condition, and in the present embodiment, the trigger condition comes from client, is receiving After user profile modification request from client, the user stored in user information store is believed substantially based on the request Breath is modified, and the user basic information to being cached in user profile buffer is modified, and updates corresponding modification simultaneously Time.After user basic information modification terminates, the user profile that the corresponding version of request is changed with the user profile is created.
For user profile processing method provided in an embodiment of the present invention becomes apparent from clearer with illustrating, now specific used with one The information process at family is illustrated.The present embodiment so that user jack changes user name in different network applications as an example, Different conditions are divided to be specifically described the method for the various embodiments described above.
One, original states
Assuming that user jack has been logged under a.com and b.com domains, cookie values be it is the same, it is as follows:
(1)Cookie values under a.com domains:
Userid=90071306&username=jack
&imageid=1030007&time=1346316097
(2)Cookie values under b.com domains:
Userid=90071306&username=jack
&imageid=1030007&time=1346316097
Remarks:Cookie description of contents
Userid (ID value in account number system is unique)
Username (user name)
Imageid (user head portrait picture ID)
time(Cookie generates the time)
Two, change state
Assuming that user name is revised as andy by user jack in a.com by jack, after database update success, by newest use Name in an account book andy and current operating temporal are stored to cache cachings, while the cookie under regenerating a.com.
Now cookie values under a.com:
Userid=90071306&username=andy&imageid=1030007&time=13463 17099(This When user name username and cookie generation time time value changed)
It is with the content that userid 90071306 is key storages in cache cachings now:
Newest user name value is:andy
Newest modification time value is:1346317199(This time generates the time with the cookie after above-mentioned modification user name It is roughly equal.Because before logging in, modification user name rear, so before newest modification time renames more than user certainly a.com and The generation time of cookie under b.com.)
Three, log on state
Assuming that user jack now visits again b.com
Currently the cookie values of b.com are still:
Userid=90071306&username=jack&imageid=1030007&time=13463 16097
Inquired about from cache according to userid 90071306 and obtain newest user name andy and newest modification time 1346317199, now find that newest modification time 1346317199 generates the time 1346316097 more than cookie;Then will knot Close the cookie that newest user name andy is planted under b.com again;
Now the cookie values under b.com are changed into:
Userid=90071306&username=andy&loginemail=jack@163.com&imageid= 1030007&time=1346317299
So far user name is obtained under b.com in cookie to be consistent with a.com.
To sum up, ensure that user is answered using any using method provided in an embodiment of the present invention, equipment and system Used time is obtained in that newest elemental user information during using any browser, realizes the cookie letters of cross-domain browser-cross Breath is synchronous, so as to the situation for avoiding generation information inconsistent, solves the puzzlement of user, improves attraction of the network application to user Power.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein. Various general-purpose systems can also be used together with based on teaching in this.As described above, construct required by this kind of system Structure be obvious.Additionally, the present invention is not also directed to any certain programmed language.It is understood that, it is possible to use it is various Programming language realizes the content of invention described herein, and the description done to language-specific above is to disclose this hair Bright preferred forms.
In specification mentioned herein, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be put into practice in the case of without these details.In some instances, known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify one or more that the disclosure and helping understands in each inventive aspect, exist Above to the description of exemplary embodiment of the invention in, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor The application claims of shield features more more than the feature being expressly recited in each claim.More precisely, such as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, and wherein each claim is in itself All as separate embodiments of the invention.
Those skilled in the art are appreciated that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment Unit or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or Sub-component.In addition at least some in such feature and/or process or unit exclude each other, can use any Combination is to this specification(Including adjoint claim, summary and accompanying drawing)Disclosed in all features and so disclosed appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification(Including adjoint power Profit requires, makes a summary and accompanying drawing)Disclosed in each feature can carry out generation by the alternative features for providing identical, equivalent or similar purpose Replace.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include other embodiments In included some features rather than further feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment required for protection is appointed One of meaning mode can be used in any combination.
All parts embodiment of the invention can be realized with hardware, or be run with one or more processor Software module realize, or with combinations thereof realize.It will be understood by those of skill in the art that can use in practice Microprocessor or digital signal processor(DSP)It is some or all in each equipment according to embodiments of the present invention to realize The some or all functions of part.The present invention be also implemented as a part for performing method as described herein or Whole equipment or program of device(For example, computer program and computer program product).It is such to realize journey of the invention Sequence can be stored on a computer-readable medium, or can have the form of one or more signal.Such signal can Obtained with being downloaded from internet website, or provided on carrier signal, or provided in any other form.
It should be noted that above-described embodiment the present invention will be described rather than limiting the invention, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol being located between bracket should not be configured to limitations on claims.Word "comprising" is not excluded the presence of not Element listed in the claims or step.Word "a" or "an" before element is not excluded the presence of as multiple Element.The present invention can come real by means of the hardware for including some different elements and by means of properly programmed computer It is existing.If in the unit claim for listing equipment for drying, several in these devices can be by same hardware branch To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame Claim.

Claims (6)

1. a kind of system of managing user information, including:User profile processing server and client,
The client, is configured to be cached for each user the different editions user profile of the user, each version user letter Breath includes the essential information of user and creates the creation time of the version user information;And send user's letter of a certain version Cease to the user profile processing server;Wherein, the network application with different rhizospheres name has different editions user profile, And different types of browser has different editions user profile;
The user profile processing server, is suitable to process being buffered in the user profile at client, wherein for every Individual user, is cached with the different editions user profile of the user at the client, and each version user information includes user Essential information and create the creation time of the version user information, the user profile processing server includes:
User profile buffer, is configured to the essential information of cache user, and caching changes processor to user's by information Essential information modify after user basic information, change the user essential information modification time;
User interaction process device, is configured to when the user profile of a certain version is received, from the user profile buffer The modification time of the user basic information is obtained, the comparing based on the modification time with the creation time of the version user information As a result, the version user information is entered using the amended user basic information cached from the user profile buffer Row updates;And
Information changes processor, is couple to the user profile buffer, is configured to user profile of the reception from client and repaiies Change request, the user basic information cached in the user profile buffer is modified based on the request, and update simultaneously Corresponding modification time.
2. the system of managing user information according to claim 1, it is characterised in that
The user interaction process device be additionally configured to when the comparative result be the modification time earlier than the creation time when, Keep the version user Information invariability;And
When the modification time is later than the creation time, updates the version user with the user basic information for being cached and believe User basic information in breath, and accordingly change creation time.
3. the system of managing user information according to claim 1 and 2, it is characterised in that the user profile treatment clothes Business device also includes:
User information store, is configured to store the essential information of user;And
Information changes processor, is couple to the user information store, is configured to user profile of the reception from client and repaiies Change request, based on the request in the user information store store user basic information modify, and create with The user profile of the user profile modification corresponding version of request.
4. the system of managing user information according to claim 1 and 2, it is characterised in that the client is additionally configured to Send user profile modification request to the user profile processing server.
5. a kind of system of managing user information using any one of claim 1 to 4 carries out subscriber information management Method, including:
The different editions user profile of client-cache each user, wherein, each version user information includes that user's is basic Information and create the creation time of the version user information;And, send at user profile to the user profile of a certain version Reason server;Wherein, the network application with different rhizospheres name has different editions user profile, and different types of browses Utensil has different editions user profile;
The essential information of the user profile buffer user in the user profile processing server, and cache the use Family netscape messaging server Netscape the essential information of user is modified after user basic information, change the basic letter of the user The modification time of breath;
When the user profile processing server receives the user profile of a certain version that the client sends, from user profile The modification time of the user basic information is obtained in buffer, during establishment based on the modification time and the version user information Between comparative result, using from user profile buffer cache amended user basic information the version user is believed Breath is updated;
The client sends user profile modification request to the user profile processing server;
The user profile processing server receives the user profile modification request, slow to the user profile based on the request The user basic information cached in storage is modified, and updates corresponding modification time simultaneously.
6. method according to claim 5, it is characterised in that also include:
The user profile processing server receives the user profile modification request, based on the request to user information store The user basic information of middle storage is modified, and creates the user's letter with the user profile modification corresponding version of request Breath.
CN201210435978.1A 2012-11-05 2012-11-05 The method and system of managing user information Expired - Fee Related CN103701844B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210435978.1A CN103701844B (en) 2012-11-05 2012-11-05 The method and system of managing user information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210435978.1A CN103701844B (en) 2012-11-05 2012-11-05 The method and system of managing user information

Publications (2)

Publication Number Publication Date
CN103701844A CN103701844A (en) 2014-04-02
CN103701844B true CN103701844B (en) 2017-06-23

Family

ID=50363240

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210435978.1A Expired - Fee Related CN103701844B (en) 2012-11-05 2012-11-05 The method and system of managing user information

Country Status (1)

Country Link
CN (1) CN103701844B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106209999B (en) * 2016-06-30 2020-01-03 武汉斗鱼网络科技有限公司 Information updating notification method and system based on internet website
CN109840087B (en) * 2018-12-29 2020-12-25 北京三快在线科技有限公司 Interface design system and method, computer readable storage medium
CN110764847B (en) * 2019-10-09 2023-06-27 北京达佳互联信息技术有限公司 User information processing method, device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1020804A2 (en) * 1999-01-13 2000-07-19 Pitney Bowes Inc. A system for managing user-characterizing network protocol headers
CN101482882A (en) * 2009-02-17 2009-07-15 阿里巴巴集团控股有限公司 Method and system for cross-domain treatment of COOKIE
CN102638581A (en) * 2012-03-31 2012-08-15 奇智软件(北京)有限公司 Cookie information storage method and cookie information storage system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1020804A2 (en) * 1999-01-13 2000-07-19 Pitney Bowes Inc. A system for managing user-characterizing network protocol headers
CN101482882A (en) * 2009-02-17 2009-07-15 阿里巴巴集团控股有限公司 Method and system for cross-domain treatment of COOKIE
CN102638581A (en) * 2012-03-31 2012-08-15 奇智软件(北京)有限公司 Cookie information storage method and cookie information storage system

Also Published As

Publication number Publication date
CN103701844A (en) 2014-04-02

Similar Documents

Publication Publication Date Title
CN105119973B (en) User information processing method and server
JP7222036B2 (en) Model training system and method and storage medium
US11783024B2 (en) Systems, methods, and apparatuses for protecting consumer data privacy using solid, blockchain and IPFS integration
US11803537B2 (en) Systems, methods, and apparatuses for implementing an SQL query and filter mechanism for blockchain stored data using distributed ledger technology (DLT)
EP3522088B1 (en) Securing blockchain access through a gateway
CN107196951B (en) A kind of implementation method and firewall system of HDFS system firewall
US9197487B2 (en) High performance DNS traffic management
CN100384128C (en) Data downloading system and method for controlling downloading business effectiveness
US20110145786A1 (en) Remote commands in a shell environment
US20080215675A1 (en) Method and system for secured syndication of applications and applications' data
US9485244B2 (en) Executing an operation over file repositories located in different authentication domains using a representational state transfer (REST)-compliant client
CN101771676B (en) Setting and authentication method for cross-domain authorization and relevant device and system
CN107251528A (en) It is used as the network identity of service
US9258377B2 (en) Publish information on website
CN110519240A (en) A kind of single-point logging method, apparatus and system
CN102946384A (en) User authentication method and device
CN105471665A (en) Website function testing method, website function testing system and website server
CN103001770A (en) User verification method, user verification server and user verification system
CN103701844B (en) The method and system of managing user information
CN105592083A (en) Method and device for terminal to have access to server by using token
CN108683651B (en) Single sign-on method, server and system
GB2595405A (en) Platform for generation of passwords and/or email addresses
CN104580429A (en) Method for loading communication information, server and cloud disk client
CN111818162A (en) Travel business processing method and device based on block chain
CN112311716A (en) Data access control method and device based on openstack and server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170623

Termination date: 20211105