CN105162805B - User account login method and device - Google Patents

User account login method and device Download PDF

Info

Publication number
CN105162805B
CN105162805B CN201510641519.2A CN201510641519A CN105162805B CN 105162805 B CN105162805 B CN 105162805B CN 201510641519 A CN201510641519 A CN 201510641519A CN 105162805 B CN105162805 B CN 105162805B
Authority
CN
China
Prior art keywords
user account
browser
request
set time
post
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.)
Active
Application number
CN201510641519.2A
Other languages
Chinese (zh)
Other versions
CN105162805A (en
Inventor
王霏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510641519.2A priority Critical patent/CN105162805B/en
Publication of CN105162805A publication Critical patent/CN105162805A/en
Application granted granted Critical
Publication of CN105162805B publication Critical patent/CN105162805B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities

Landscapes

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

Abstract

The invention discloses a kind of user account login method and device, wherein method includes:The logging request for receiving the same user account that multiple browsers are sent, the cookie information of each browser is generated according to logging request, cookie information is returned to each browser respectively respectively;When in multiple browsers any of which browser send user account log off request when, the more new user account post-set time in the state table of user account;When any of which browser sends page furbishing request in multiple browsers, the state table of user account is inquired, response page refresh requests are determined whether according to user account post-set time.This programme logs in while not only realizing same user account in multiple browsers; and help that the owner of user account is made to find whether the user account is illegally usurped in time; to protect the safety of user account, reduces user account and lost caused by due to illegally being usurped.

Description

User account login method and device
Technical field
The present invention relates to Internet technical fields, and in particular to a kind of user account login method and device.
Background technology
Web game is also known as web game, is the online multi-person interactive game of network based on browser, and user is not necessarily to lower carrying Family end, game can be played by being logged in directly in the webpage of browser.Web game platform be one can with administration web page play and The plateform system of player, Major Systems function include:Game, user, supplements management with money at news;Auxiliary system function includes:Product Point store, extension system, data analysis, official website be self-built, integrated forum and system administration etc..Web game platform is with stable object for appreciation Family's channel, advanced Operational idea, perfect customer service system, the data analysis of system and individual character the advantages such as platform experience by Gradually attract and carry out more and more users, and constantly improves dependence of the user to platform.
In the prior art, it after user logs in platform by browser, is only capable of playing a game, same account is not allowed to repeat It logs in.This mode limits same user and wants while playing multiple game, alternatively, the good friend or relatives of user use it is identical Account logs in play game.
Invention content
In view of the above problems, it is proposed that the present invention overcoming the above problem in order to provide one kind or solves at least partly State the user account login method and device of problem.
According to an aspect of the invention, there is provided a kind of user account login method, this method include:
The logging request for receiving the same user account that multiple browsers are sent, generates each clear respectively according to logging request It lookes at the cookie information of device, cookie information is returned to each browser respectively;
When in multiple browsers any of which browser send user account log off request when, in user account State table in more new user account post-set time;
When any of which browser sends page furbishing request in multiple browsers, the state of user account is inquired Table determines whether response page refresh requests according to user account post-set time.
According to another aspect of the present invention, a kind of user account entering device is provided, which includes:
Generation module is suitable for receiving the logging request for the same user account that multiple browsers are sent, according to logging request Cookie information is returned to each browser by the cookie information for generating each browser respectively respectively;
Update module, suitable for the request of logging off when any of which browser transmission user account in multiple browsers When, the more new user account post-set time in the state table of user account;
Processing module is suitable for when any of which browser sends page furbishing request in multiple browsers, and inquiry is used The state table of family account determines whether response page refresh requests according to user account post-set time.
According to technical solution provided by the invention, the logging request for the same user account that multiple browsers are sent is received, Cookie information, is returned to each browser by the cookie information for generating each browser respectively according to logging request respectively, When in multiple browsers any of which browser send user account log off request when, in the state table of user account In more new user account post-set time, and when in multiple browsers any of which browser send page furbishing request when, then The state table for inquiring user account, determines whether response page refresh requests according to user account post-set time.The present invention provides Technical solution log in while not only can realize same user account in multiple browsers, but also according to user account The user account post-set time of state table record determines whether response page refresh requests, contributes to the owner for making user account It finds whether the user account is illegally usurped in time, to protect the safety of user account, reduces user account because of quilt Illegal usurp and caused by lose.
Above description is only the general introduction of technical solution of the present invention, in order to better understand the technical means of the present invention, And can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, below the special specific implementation mode for lifting the present invention.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantages and benefit are common for this field Technical staff will become clear.Attached drawing only for the purpose of illustrating preferred embodiments, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows the flow diagram of user account login method according to an embodiment of the invention;
Fig. 2 shows the flow diagrams of user account login method in accordance with another embodiment of the present invention;
Fig. 3 shows the illustrative view of functional configuration of user account entering device according to an embodiment of the invention;
Fig. 4 shows the illustrative view of functional configuration of user account entering device in accordance with another embodiment of the present invention.
Specific implementation mode
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure Completely it is communicated to those skilled in the art.
Fig. 1 shows the flow diagram of user account login method according to an embodiment of the invention, such as Fig. 1 institutes Show, this method comprises the following steps:
Step S100 receives the logging request for the same user account that multiple browsers are sent, is distinguished according to logging request Cookie information is returned to each browser by the cookie information for generating each browser respectively.
When same user wants to play multiple web games simultaneously, alternatively, to want use identical by the good friend or relatives of user Account logs in that when playing web game, the login of user account can be carried out by multiple browsers.In the step s 100, it receives more The logging request for the same user account that a browser is sent, then generates each browser respectively according to logging request Cookie information is returned to each browser by cookie information respectively, to make each browser all with corresponding Cookie information.
Step S101, when in multiple browsers any of which browser send user account log off request when, The more new user account post-set time in the state table of user account.
There are one state tables for one user account tool, and user's account of record in need is recorded in the state table of user account Family relevant information.For example, the state table record of user account has user account post-set time, user account can also be recorded The modification time of disabled status information and user password.When any of which browser sends user account in multiple browsers Log off request when, need the more new user account post-set time in the state table of user account.
Step S102 inquires user's account when any of which browser sends page furbishing request in multiple browsers The state table at family determines whether response page refresh requests according to user account post-set time.
When any of which browser sends page furbishing request in multiple browsers, the shape for inquiring user account is needed State table determines whether response page refresh requests according to the user account post-set time recorded in the state table of user account.
The execution sequence of step S101 and step S102 are can be changed, and specific execution sequence can be according to multiple In browser any of which browser send log off request and page furbishing request sequencing depending on.For example, working as Any of which browser first sends page furbishing request in multiple browsers, another browser retransmits request of logging off When, then in this case, first carrying out step S102, the state table of user account is inquired, according to user account post-set time Determine whether response page refresh requests, then execute step S101, more new user account exits in the state table of user account Time.
According to user account login method provided in this embodiment, the same user account that multiple browsers are sent is received Logging request generates the cookie information of each browser according to logging request respectively, cookie information is returned to respectively each A browser, when in multiple browsers any of which browser send user account log off request when, in user's account More new user account post-set time in the state table at family, and when any of which browser transmission page furbishing in multiple browsers When request, then the state table of user account is inquired, response page refresh requests are determined whether according to user account post-set time.This The technical solution that invention provides logs in while not only can realize same user account in multiple browsers, and according to The user account post-set time of the state table record of family account determines whether response page refresh requests, helps to make user account Owner find whether the user account is illegally usurped in time, to protect the safety of user account, reduce user Account is lost caused by due to illegally being usurped.
Fig. 2 shows the flow diagrams of user account login method in accordance with another embodiment of the present invention, such as Fig. 2 institutes Show, this method comprises the following steps:
Step S200 receives the logging request for the same user account that multiple browsers are sent in different login times, Cookie, is returned to each browser by the cookie for generating each browser respectively according to login time respectively.
When same user wants to play multiple web games simultaneously, alternatively, to want use identical by the good friend or relatives of user Account logs in that when playing web game, the login of user account can be carried out by multiple browsers, and its login time has area Not, then the cookie of each browser can respectively be generated according to login time, then cookie is returned to respectively Each browser, to make each browser that all there is corresponding cookie information.
Step S201, when in multiple browsers any of which browser send user account log off request when, The more new user account post-set time in the state table of user account.
The user account relevant information of record in need is recorded in the state table of user account.For example, user account State table record has user account post-set time, can also record the disabled status information and user password of user account Modification time.When in multiple browsers any of which browser send user account log off request when, need with More new user account post-set time in the state table of family account.The step not necessarily executes before step S202, it is also possible to Executed after step S202, only when in multiple browsers any of which browser send logging off for user account ask When asking, this step is just executed.
Step S202 records page brush when any of which browser sends page furbishing request in multiple browsers The sending time newly asked.
In step S202, when any of which browser sends page furbishing request in multiple browsers, in order to just In administration page refresh requests, convenient for judging whether to need to respond page furbishing request, needed also in subsequent step Record the sending time of page refresh requests.
Step S203 inquires the state table of user account, obtains user account post-set time.
After executing the step S202, the state table of user account can be inquired in step S203, obtain user's account Family post-set time.
Wherein, the page furbishing request that any of which browser is sent in multiple browsers carries browser Cookie information, then can also include before step S203:The cookie information of browser is verified.
For example, in user is by multiple browsers after any of which browser success login user account, then Page furbishing request is sent by the browser, since page furbishing request carries the cookie information of browser, is needed The cookie information of browser is verified, after verifying successfully, just inquire the state table of user account.
Step S204 judges whether user account post-set time is empty;If so, thening follow the steps S206;If it is not, then executing Step S205.
Because only that when in multiple browsers any of which browser send user account log off request when, The more new user account post-set time in the state table of user account, therefore, any of which browser in multiple browsers Before transmission page furbishing request, it is also possible to which there is no send user account for any of which browser in multiple browsers It logs off request, in this case, user account post-set time is sky.Therefore, it in step S204, needs to judge user Whether account post-set time is empty;If so, S206 is thened follow the steps, response page refresh requests;If it is not, thening follow the steps S205, to sending whether the login time of browser of page furbishing request judges earlier than user account post-set time.
Step S205, when judging whether the login time for sending the browser of page furbishing request exits earlier than user account Between, and whether the sending time of page furbishing request is later than user account post-set time;If so, thening follow the steps S207;If it is not, Then follow the steps S206.
It is assumed that user A is 10:00 has sent the logging request of user account C by browser 1, and user B is 11:00 is logical The logging request that browser 2 also sends user account C is crossed, browser 1 is generated respectively according to the two login times The cookie of browser 1 is returned to browser 1 by the cookie of cookie and browser 2, and the cookie of browser 2 is returned To browser 2.After user B has played the web game of a period of time using user account C, 11:30 send use by browser 2 The request of logging off of family account C, and user A is 11:45 send page furbishing request by browser 1, then sending the page The login time of the browser 1 of face refresh requests is 10:00, the user account post-set time recorded in the state table of user account It is 11:30, the sending time of page furbishing request is 11:45, it sends page furbishing then judging to obtain through step S205 and asks The login time for the browser asked is earlier than user account post-set time, and the sending time of page furbishing request is later than user account Post-set time, then executing step S207.If the owner of user account C is user A, user B does not obtain user A's Agreement has used user account C, that is to say, that user B has illegally usurped the user account C of user A, passes through this scheme, user A Page furbishing request is sent by browser 1, the notification message that user account has dropped out login is but had received, then user A is just It can judge that the user account C of oneself is illegally usurped in time, so as to time update password, protect the peace of user account Entirely, user account is reduced to lose caused by due to illegally being usurped.
Step S206, response page refresh requests.
Through step S204 judge to obtain user account post-set time be empty when and judge through step S205 to send the page The login time of the browser of refresh requests is later than user account post-set time, thens follow the steps S206, and response page refreshing is asked It asks.
Step S207 sends the notification message that user account has dropped out login to the browser that page furbishing is asked is sent.
If judging to obtain the login time for sending the browser that page furbishing is asked earlier than user account through step S205 Post-set time, and the sending time of page furbishing request is later than user account post-set time, then step S207 is executed, to transmission The browser of page furbishing request sends the notification message that user account has dropped out login.
According to user account login method provided in this embodiment, each browser is generated respectively according to login time Cookie is returned to each browser by cookie respectively, and the login time of the browser by sending page furbishing request is used The sending time of family account post-set time and page furbishing request is to determine whether response page refresh requests.It is provided by the invention Technical solution logs in while not only can realizing same user account in multiple browsers, but also according to the shape of user account State table record user account post-set time determine whether response page refresh requests, contribute to the owner for making user account and Whether the Shi Faxian user accounts are illegally usurped, and to protect the safety of user account, reduce user account because non- Method usurp and caused by lose.
Fig. 3 shows the illustrative view of functional configuration of user account entering device according to an embodiment of the invention, such as Fig. 3 Shown, which includes:Generation module 310, update module 320 and processing module 330.
Generation module 310 is suitable for receiving the logging request for the same user account that multiple browsers are sent, is asked according to login The cookie information for generating each browser respectively is sought, cookie information is returned to each browser respectively.
The logging request for the same user account that multiple browsers are sent is received by generation module 310, then basis is stepped on Record request generates the cookie information of each browser respectively, cookie information is returned to each browser respectively, to make Each browser all has corresponding cookie information.
Update module 320, suitable for when in multiple browsers any of which browser send user account and log off When request, the more new user account post-set time in the state table of user account.
There are one state tables for one user account tool, and user's account of record in need is recorded in the state table of user account Family relevant information.For example, the state table record of user account has user account post-set time, user account can also be recorded The modification time of disabled status information and user password.When any of which browser sends user account in multiple browsers Log off request when, update module 320 need in the state table of user account more new user account post-set time.
Processing module 330 is suitable for when any of which browser sends page furbishing request in multiple browsers, inquiry The state table of user account determines whether response page refresh requests according to user account post-set time.
When any of which browser sends page furbishing request in multiple browsers, processing module 330 needs to inquire The state table of user account determines whether to respond page according to the user account post-set time recorded in the state table of user account Face refresh requests.
According to user account entering device provided in this embodiment, the same of multiple browsers transmissions is received by generation module The logging request of one user account generates the cookie information of each browser according to logging request respectively, by cookie information Each browser is returned to respectively, when any of which browser sends the request of logging off of user account in multiple browsers When, by update module in the state table of user account more new user account post-set time, and in multiple browsers wherein When any one browser sends page furbishing request, then the state table of user account is inquired by processing module, according to user's account Family post-set time determines whether response page refresh requests.Technical solution provided by the invention not only can be in multiple browsers It logs in while realizing same user account, and is determined according to the user account post-set time of the state table of user account record Whether response page refresh requests, help that the owner of user account is made to find whether the user account is illegally stolen in time With to protect the safety of user account, reducing user account and lost caused by due to illegally being usurped.
Fig. 4 shows the illustrative view of functional configuration of user account entering device in accordance with another embodiment of the present invention, such as Shown in Fig. 4, which includes:Generation module 410, update module 420 and processing module 430.
Generation module 410, the same user account sent in different login times suitable for receiving multiple browsers are stepped on Record request, the cookie of each browser is generated according to login time, cookie is returned to each browser respectively respectively.
When same user wants to play multiple web games simultaneously, alternatively, to want use identical by the good friend or relatives of user Account logs in that when playing web game, the login of user account can be carried out by multiple browsers, and its login time has area Not, then generation module 410 can generate the cookie of each browser respectively according to login time, then by cookie Each browser is returned to respectively, to make each browser that all there is corresponding cookie information.
Update module 420, suitable for when in multiple browsers any of which browser send user account and log off When request, the more new user account post-set time in the state table of user account.
The user account relevant information of record in need is recorded in the state table of user account.For example, user account State table record has user account post-set time, can also record the disabled status information and user password of user account Modification time.When in multiple browsers any of which browser send user account log off request when, need to update The more new user account post-set time in the state table of user account of module 420.Update module 420 is not necessarily in processing module Be triggered before 430, it is also possible to be triggered after processing module 430, only when in multiple browsers any of which it is clear Device of looking at send user account log off request when, just triggering update module 420.
Processing module 430 is suitable for when any of which browser sends page furbishing request in multiple browsers, inquiry The state table of user account determines whether response page refresh requests according to user account post-set time.
Specifically, processing module 430 includes:Recording unit 431, query unit 432, first processing units 433 and second Processing unit 434.
Recording unit 431 is suitable for when any of which browser sends page furbishing request in multiple browsers, record The sending time of page furbishing request.
When any of which browser sends page furbishing request in multiple browsers, refresh for the ease of administration page Request, also for follow-up convenient for judging whether to need to respond page furbishing request, recording unit 431 needs to record page furbishing The sending time of request.
Query unit 432 is suitable for inquiring the state table of user account, obtains user account post-set time.
First processing units 433, be suitable for judge send page furbishing ask browser login time whether earlier than with Family account post-set time, and whether the sending time of page furbishing request is later than user account post-set time;If so, to transmission The browser of page furbishing request sends the notification message that user account has dropped out login.
First processing units 433 are further adapted for:If judging the login time of the browser of transmission page furbishing request It is later than user account post-set time, then response page refresh requests.
It is assumed that user A is 10:00 has sent the logging request of user account C by browser 1, and user B is 11:00 is logical The logging request that browser 2 also sends user account C is crossed, browser 1 is generated respectively according to the two login times The cookie of browser 1 is returned to browser 1 by the cookie of cookie and browser 2, and the cookie of browser 2 is returned To browser 2.After user B has played the web game of a period of time using user account C, 11:30 send use by browser 2 The request of logging off of family account C, and user A is 11:45 send page furbishing request by browser 1, then sending the page The login time of the browser 1 of face refresh requests is 10:00, the user account post-set time recorded in the state table of user account It is 11:30, the sending time of page furbishing request is 11:45, then obtaining sending the page through the judgement of first processing units 433 The login time of the browser of refresh requests is earlier than user account post-set time, and the sending time of page furbishing request is later than use Family account post-set time then sends the notification message that user account has dropped out login to the browser for sending page furbishing request.
Processing module 430 may also include second processing unit 434, suitable for judging whether user account post-set time is sky, If so, response page refresh requests;If it is not, then triggering first processing units 433.
Because only that when in multiple browsers any of which browser send user account log off request when, The more new user account post-set time in the state table of user account, therefore, any of which browser in multiple browsers Before transmission page furbishing request, it is also possible to which there is no send user account for any of which browser in multiple browsers It logs off request, in this case, user account post-set time is sky.Therefore, second processing unit 434 needs to judge to use Whether family account post-set time is empty;If so, response page refresh requests;If it is not, first processing units 433 are then triggered, it is right Whether the login time for sending the browser of page furbishing request is judged earlier than user account post-set time.
If the page furbishing request that any of which browser is sent in multiple browsers carries browser Cookie information verifies the cookie information of browser then processing module 430 further comprises verification unit 435. Verification unit 435 may be provided at before query unit 432.
According to user account entering device provided in this embodiment, generation module generates each clear respectively according to login time It lookes at the cookie of device, cookie is returned to each browser respectively, passes through the login for the browser for sending page furbishing request The sending time of time, user account post-set time and page furbishing request are to determine whether response page refresh requests.This hair The technical solution of bright offer logs in while not only can realizing same user account in multiple browsers, but also according to user The user account post-set time of the state table record of account determines whether response page refresh requests, helps to make user account Owner has found whether the user account is illegally usurped in time, to protect the safety of user account, reduces user's account It is lost caused by due to illegally being usurped at family.
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 teaching based on this.As described above, it constructs required by this kind of system Structure be obvious.In addition, the present invention is not also directed to any certain programmed language.It should be understood that can utilize various Programming language realizes the content of invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention Example can be put into practice without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of each inventive aspect, Above in the description of exemplary embodiment of the present invention, 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:It is i.e. required to protect Shield the present invention claims the more features of feature than being expressly recited in each claim.More precisely, as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific implementation mode are expressly incorporated in the specific implementation mode, wherein each claim itself All as a separate embodiment of the present invention.
Those skilled in the art, which are appreciated that, to carry out adaptively the module in the equipment in embodiment Change and they are arranged in the one or more equipment different from the embodiment.It can be the module or list in embodiment Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it may be used any Combination is disclosed to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so to appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power Profit requires, abstract and attached drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other 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 claimed is appointed One of meaning mode can use in any combination.
The all parts embodiment of the present invention can be with hardware realization, or to run on one or more processors Software module realize, or realized with combination thereof.It will be understood by those of skill in the art that can use in practice Microprocessor or digital signal processor (DSP) are come one of some or all components in realizing according to embodiments of the present invention A little or repertoire.The present invention is also implemented as setting for executing some or all of method as described herein Standby or program of device (for example, computer program and computer program product).It is such to realize that the program of the present invention deposit Storage on a computer-readable medium, or can have the form of one or more signal.Such signal can be from because of spy It downloads and obtains on net website, either provide on carrier signal or provide in any other forms.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference mark between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be by the same hardware branch To embody.The use of word first, second, and third does not indicate that any sequence.These words can be explained and be run after fame Claim.
The invention discloses:
A1, a kind of user account login method, including:
The logging request for receiving the same user account that multiple browsers are sent, generates each clear respectively according to logging request It lookes at the cookie information of device, cookie information is returned to each browser respectively;
When in the multiple browser any of which browser send the user account log off request when, More new user account post-set time in the state table of the user account;
When any of which browser sends page furbishing request in the multiple browser, the user account is inquired State table, determine whether to respond the page furbishing according to the user account post-set time and ask.
A2, the method according to A1, the logging request for receiving the same user account that multiple browsers are sent, root Cookie is returned to each browser and further comprised by the cookie for generating each browser respectively according to logging request respectively:
The logging request for receiving the same user account that multiple browsers are sent in different login times, when according to logging in Between generate the cookie of each browser respectively, cookie is returned to each browser respectively.
A3, the method according to A2, it is described when any of which browser transmission page brush in the multiple browser When new request, the state table of user account is inquired, is determined whether to respond the page brush according to the user account post-set time New request further comprises:
When any of which browser sends page furbishing request in the multiple browser, page refresh requests are recorded Sending time;
The state table for inquiring user account, obtains the user account post-set time;
Whether the login time for sending the browser of page furbishing request is judged earlier than the user account post-set time, and Whether the sending time of the page furbishing request is later than the user account post-set time;If so, to page furbishing is sent The browser of request sends the notification message that user account has dropped out login.
A4, the method according to A3, judge send page furbishing request browser login time whether earlier than Further include before the user account post-set time:Judge whether the user account post-set time is empty, if so, response institute State page furbishing request;
If it is not, whether then executing the login time for the browser for judging to send page furbishing request earlier than the user account The step of post-set time.
A5, the method according to A3 or A4, if judging, the login time for sending the browser of page furbishing request is late In the user account post-set time, then the page furbishing request is responded.
A6, according to A1-A5 any one of them methods, any of which browser is sent in the multiple browser page Face refresh requests carry the cookie information of the browser;
It is described to further include before the state table of inquiry user account:School is carried out to the cookie information of the browser It tests.
A7, according to A1-A6 any one of them methods, the state table of the user account, which also records, to be had:User account The modification time of disabled status information and user password.
B8, a kind of user account entering device, including:
Generation module is suitable for receiving the logging request for the same user account that multiple browsers are sent, according to logging request Cookie information is returned to each browser by the cookie information for generating each browser respectively respectively;
Update module, suitable for when in the multiple browser any of which browser send exiting for the user account When logging request, the more new user account post-set time in the state table of the user account;
Processing module is suitable for, when any of which browser sends page furbishing request in the multiple browser, looking into The state table for asking the user account determines whether that responding the page furbishing asks according to the user account post-set time.
B9, the device according to B8, the generation module are further adapted for:
The logging request for receiving the same user account that multiple browsers are sent in different login times, when according to logging in Between generate the cookie of each browser respectively, cookie is returned to each browser respectively.
B10, the device according to B9, the processing module include:Recording unit, query unit and the first processing are single Member;
The recording unit is suitable for when any of which browser sends page furbishing request in the multiple browser When, record the sending time of page refresh requests;
The query unit is suitable for inquiring the state table of user account, obtains the user account post-set time;
Whether the first processing units are suitable for judging the login time for sending the browser of page furbishing request earlier than institute User account post-set time is stated, and whether the sending time of page furbishing request is later than the user account post-set time; If so, sending the notification message that user account has dropped out login to the browser that page furbishing is asked is sent.
B11, the device according to B10, the processing module further include:Second processing unit is suitable for judging the use Whether family account post-set time is empty, if so, responding the page furbishing request;If it is not, it is single then to trigger first processing Member.
B12, the device according to B10 or B11, the first processing units are further adapted for:If judging to send page The login time of the browser of face refresh requests is later than the user account post-set time, then responds the page furbishing request.
B13, according to B8-B12 any one of them devices, any of which browser is sent in the multiple browser Page furbishing asks to carry the cookie information of the browser;
The processing module further comprises:Verification unit is verified suitable for the cookie information to browser.
B14, according to B8-B13 any one of them devices, the state table of the user account, which also records, to be had:User account Disabled status information and user password modification time.

Claims (8)

1. a kind of user account login method, including:
The logging request for receiving the same user account that multiple browsers are sent in different login times, according to logging request point Cookie information is returned to each browser by the cookie information for not generating each browser respectively;
When in the multiple browser any of which browser send the user account log off request when, described More new user account post-set time in the state table of user account;
When any of which browser sends page furbishing request in the multiple browser, the hair of page refresh requests is recorded Send the time;
The state table for inquiring user account, obtains the user account post-set time;
Judge whether the user account post-set time is empty;If the user account post-set time is sky, the page is responded Face refresh requests;
If the user account post-set time not be sky, judge send page furbishing request browser login time whether Earlier than the user account post-set time, and whether the sending time of page furbishing request is later than the user account and exits Time;If so, sending the notification message that user account has dropped out login to the browser that page furbishing is asked is sent.
2. if according to the method described in claim 1, judge that the login time for sending the browser of page furbishing request is later than The user account post-set time then responds the page furbishing request.
3. according to the method described in claim 1, the page furbishing that any of which browser is sent in the multiple browser Request carries the cookie information of the browser;
It is described to further include before the state table of inquiry user account:The cookie information of the browser is verified.
4. according to claim 1-3 any one of them methods, the state table of the user account, which also records, to be had:User account The modification time of disabled status information and user password.
5. a kind of user account entering device, including:
Generation module is suitable for receiving the logging request for the same user account that multiple browsers are sent in different login times, Cookie information, is returned to each browser by the cookie information for generating each browser respectively according to logging request respectively;
Update module, suitable for when in the multiple browser any of which browser send logging off for the user account When request, the more new user account post-set time in the state table of the user account;
Processing module includes:Recording unit, query unit, second processing unit and first processing units;
The recording unit is suitable for when any of which browser sends page furbishing request in the multiple browser, note Record the sending time of page furbishing request;
The query unit is suitable for inquiring the state table of user account, obtains the user account post-set time;
Second processing unit, suitable for judging whether the user account post-set time is empty, if so, responding the page furbishing Request;If it is not, then triggering the first processing units;
Whether the first processing units are suitable for judging the login time for sending the browser of page furbishing request earlier than the use Family account post-set time, and whether the sending time of page furbishing request is later than the user account post-set time;If so, Then the notification message that user account has dropped out login is sent to the browser for sending page furbishing request.
6. device according to claim 5, the first processing units are further adapted for:If judging to send page furbishing The login time of the browser of request is later than the user account post-set time, then responds the page furbishing request.
7. device according to claim 5, any of which browser is sent in the multiple browser page furbishing Request carries the cookie information of the browser;
The processing module further comprises:Verification unit is verified suitable for the cookie information to browser.
8. according to claim 5-7 any one of them devices, the state table of the user account, which also records, to be had:User account The modification time of disabled status information and user password.
CN201510641519.2A 2015-09-30 2015-09-30 User account login method and device Active CN105162805B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510641519.2A CN105162805B (en) 2015-09-30 2015-09-30 User account login method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510641519.2A CN105162805B (en) 2015-09-30 2015-09-30 User account login method and device

Publications (2)

Publication Number Publication Date
CN105162805A CN105162805A (en) 2015-12-16
CN105162805B true CN105162805B (en) 2018-10-30

Family

ID=54803559

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510641519.2A Active CN105162805B (en) 2015-09-30 2015-09-30 User account login method and device

Country Status (1)

Country Link
CN (1) CN105162805B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106982226B (en) * 2017-04-27 2020-08-14 成都安易迅科技有限公司 Automatic login method and device
CN108279970B (en) * 2017-12-28 2019-07-02 北京海泰方圆科技股份有限公司 The switching method and apparatus of browser kernel
CN111199003B (en) * 2019-12-25 2023-11-10 深圳市科漫达智能管理科技有限公司 Multi-webpage window management method, management device and terminal equipment
CN112163201A (en) * 2020-09-29 2021-01-01 江西江铃集团新能源汽车有限公司 User login management method and system, readable storage medium and electronic device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009104829A1 (en) * 2008-02-22 2009-08-27 Logicplant Web browsing environment provider system for multiple users and control method thereof
CN102984222A (en) * 2012-11-13 2013-03-20 北京奇虎科技有限公司 Method controlling browser user login and client-side controlling the browser user login
CN102984231A (en) * 2012-11-20 2013-03-20 四川长虹电器股份有限公司 Interactive method based on browser
CN103002019A (en) * 2012-11-14 2013-03-27 北京奇虎科技有限公司 Browser and method for sending webpage game message for browser
CN103024062A (en) * 2012-12-24 2013-04-03 腾讯科技(深圳)有限公司 Data sharing method, clients and data sharing system
CN103066701A (en) * 2012-12-19 2013-04-24 云南电力调度控制中心 Power grid dispatching real-time operation command method and system
CN103797751A (en) * 2012-07-27 2014-05-14 华为技术有限公司 Method and device for querying for user online state

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101552780B (en) * 2009-04-30 2012-11-14 用友软件股份有限公司 Verification method and verification device
CN102025648B (en) * 2009-09-16 2014-12-03 腾讯科技(深圳)有限公司 Instant messaging method and server
CN102194062B (en) * 2010-03-05 2015-08-19 新奥特(北京)视频技术有限公司 The control method of different-place login and device in a kind of manuscript system
CN102368764B (en) * 2011-09-10 2016-08-31 上海量明科技发展有限公司 A kind of method, system and client communicated by multi-point login
CN103095658A (en) * 2011-11-03 2013-05-08 北京神州泰岳软件股份有限公司 Account login method and system
CN102882769B (en) * 2012-09-21 2015-07-29 腾讯科技(深圳)有限公司 A kind of instant communication method, terminal, server and system
CN102970360B (en) * 2012-11-13 2016-06-22 北京奇虎科技有限公司 Browser client is logged in the system being controlled
CN104009905A (en) * 2013-02-21 2014-08-27 中国移动通信集团公司 Instant message forwarding method and instant message forwarding apparatus

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009104829A1 (en) * 2008-02-22 2009-08-27 Logicplant Web browsing environment provider system for multiple users and control method thereof
CN103797751A (en) * 2012-07-27 2014-05-14 华为技术有限公司 Method and device for querying for user online state
CN102984222A (en) * 2012-11-13 2013-03-20 北京奇虎科技有限公司 Method controlling browser user login and client-side controlling the browser user login
CN103002019A (en) * 2012-11-14 2013-03-27 北京奇虎科技有限公司 Browser and method for sending webpage game message for browser
CN102984231A (en) * 2012-11-20 2013-03-20 四川长虹电器股份有限公司 Interactive method based on browser
CN103066701A (en) * 2012-12-19 2013-04-24 云南电力调度控制中心 Power grid dispatching real-time operation command method and system
CN103024062A (en) * 2012-12-24 2013-04-03 腾讯科技(深圳)有限公司 Data sharing method, clients and data sharing system

Also Published As

Publication number Publication date
CN105162805A (en) 2015-12-16

Similar Documents

Publication Publication Date Title
CN106096343B (en) Message access control method and equipment
CN105337990B (en) The method of calibration and device of user identity
US11250717B2 (en) Electronic document presentation management system
CN102419795B (en) Challenge search query game
CN105162805B (en) User account login method and device
US11185781B2 (en) Cognitive user experience optimization
CN105100242B (en) A kind of data processing method and system
EP2125126A1 (en) Method and apparatus for collecting user game play data and crediting users in an online gaming environment
US10275026B2 (en) Real-time gameplay analysis and adjustment based on information from wearable biometric sensors
CN105939362A (en) User account management method and device
CN104580364A (en) Resource sharing method and device
US11042622B2 (en) Authenticating users and improving virtual reality experiences via ocular scans and pupillometry
CN104270391B (en) A kind of processing method and processing device of access request
US11090565B2 (en) User-specific recap for computer-generated interactive environments
US20080220872A1 (en) Method and apparatus for issuing a challenge prompt in a gaming environment
CN108322427A (en) A kind of method and apparatus carrying out air control to access request
US9028310B1 (en) System and method using game condition reminders
US8549604B2 (en) User authentication method and system
CN104468794A (en) Login simulating method and device for website
KR20210106859A (en) Progressive human user detection challenges with rewards
CN106101083A (en) A kind of user behavior control method and system and a kind of safety desktop
Pawlikowski Chaos Engineering: Site reliability through controlled disruption
CN106161429B (en) The automatic logging method and device at micro- end
CN106130964B (en) The automatic logging method and device at micro- end
CN104834854B (en) A kind of data processing method and device

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220715

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

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

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

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

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