[go: nahoru, domu]

CN103428179B - A kind of log in the method for many domain names website, system and device - Google Patents

A kind of log in the method for many domain names website, system and device Download PDF

Info

Publication number
CN103428179B
CN103428179B CN201210157447.0A CN201210157447A CN103428179B CN 103428179 B CN103428179 B CN 103428179B CN 201210157447 A CN201210157447 A CN 201210157447A CN 103428179 B CN103428179 B CN 103428179B
Authority
CN
China
Prior art keywords
domain name
website
request
client
server
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
CN201210157447.0A
Other languages
Chinese (zh)
Other versions
CN103428179A (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201210157447.0A priority Critical patent/CN103428179B/en
Publication of CN103428179A publication Critical patent/CN103428179A/en
Application granted granted Critical
Publication of CN103428179B publication Critical patent/CN103428179B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

This application discloses a kind of method logging in many domain names website, system and device, including: server receives the first logging request of the request Website login that client sends, first logging request is carried the first domain name that website is corresponding, at the login banner that according to the first logging request, client validation is used for by rear generation Website login, and the instruction information of login banner and the second domain name is included to client transmission, then the second logging request of the request Website login that client sends is received, second logging request is carried the second domain name, after carrying the login banner that instruction information includes in determining the second logging request, determine and client validation is passed through.When client logs in many domain names website in this programme, during the logging request that server process client is submitted to, it is to avoid the information between different server is mutual, decrease the duration processing logging request, thus improve client and carry out the efficiency of website log.

Description

A kind of log in the method for many domain names website, system and device
Technical field
The application relates to networking technology area, particularly relate to a kind of log in the method for many domain names website, system with And device.
Background technology
Along with the fast development of network technology and sharply increasing of quantity of information, increasing information is stored The webserver is shared for user.In actual application, based on quantity of information sharply increase, respectively The accessed amount of individual website may be affected, for this situation, and can be by multiple for website registration The mode of domain name improves the accessed amount of website, generally the website that have registered multiple domain name is referred to as many domain names net Stand.
In actual application, when user shares the information on website by client, it usually needs carry out account note Volume, and then use the log-on message that succeeds in registration to sign in this website to carry out sharing of information.Specifically, use Family is by submitting log-on message in the log-on webpage that client shows, and the login letter will submitted to by client Breath sends to for verifying that the server of this log-on message is verified.Wherein, client submits log-on message to Log-on webpage generally client determine user after the operation of the website that conducts interviews, jump to this net The log-on webpage of correspondence of standing, it can be that user accesses domain name corresponding to this website that user accesses the operation of website Operation.Such as, user is by inputting this domain name or to domain name unifying money in the address field of webpage Source location symbol (Uniform Resource Locator, URL) is to access corresponding website.
For there is the website of multiple domain name, access phase can be processed in the way of redirecting to use domain name or redirect Close the operation of domain name.Wherein, domain name redirects and refers mainly to the client operation according to user by current domain name correspondence Webpage jump to the webpage that domain name that user specifies is corresponding, but before still display redirects in the address field of webpage Domain name;For redirecting, refer generally to the client operation according to user, by webpage corresponding for current domain name Jump to the webpage that domain name that user specifies is corresponding, and the domain name after display redirects in the address field of webpage (domain name that i.e. user specifies).Further, for multiple domain names of a website, a territory can be set out Name is as Main Domain, such as, if a website have registered three domain names, respectively domainA.com, DomainB.com and domainC.com, then can arrange any one domain name in these three domain name and make For Main Domain, it is Main Domain as arranged domainA.com, additionally, the most corresponding territory of these three domain names Name application, domain name application corresponding for domainB.com and domainC.com can be with domainA.com It is mutual that corresponding domain name application carries out information, and these three domain name application are typically respectively allocated and take three domain names In business device, for ease of describing, herein, the server at domain name application place corresponding for domainA.com is claimed For master server, the server at domain name application place corresponding for domainB.com is referred to as first server, The server at domain name application place corresponding for domainC.com is referred to as second server.
User is when logging in the website with multiple domain name, and the application of each domain name (can be understood as each domain name The server that application is corresponding) can operate accordingly according to the logging request of user, step on user below As a example by the process of the website that record is provided with above three domain name, it is specifically described, as it is shown in figure 1, use Family logs in the process of the website of many domain names, mainly comprises the steps that
User name and login password that step 101, client are submitted to when user accesses Main Domain are (following It is called for short log-on message) send to master server.
In this step 101, prompting user can be triggered when user is by client-access Main Domain and input login letter The log-on webpage of breath, after user submits log-on message to according to information, user can be submitted to by client Log-on message be sent to master server, additionally it is possible to by this log-on message correspondence domain name domainA.com preserve In this locality.(this temporary file is commonly referred to as typically the data that corresponding domain name preserves to be referred to as temporary file Cookie).Generally, user submit to log-on message time, in webpage also can display reminding user whether rear The information of direct Website login during continuous this domain name of access, if directly logging in this net during this domain name of user's grant access Stand, then log-on message correspondence domainA.com is saved in this locality by client, and accesses this domain name user Time directly log in this website.
The log-on message that step 102, master server are submitted to when registration according to user, determines that client sends Log-on message whether accurate, if it is not, perform step 103;If so, step 104 is performed.
Step 103, master server send the instruction information of log-on message mistake to client, and pass through client End instruction user resubmits log-on message, returns step 101.
Step 104, master server generate identity identification information, send to client, to notify that client is led to Cross checking, and indicate client by the web displaying corresponding with domainA.com to user.
In this step 104, after user accesses webpage corresponding to domainA.com, if user selects into one Step accesses domain name domainB.com, and client sends the access request accessing this domain name to first server. Further, the identity identification information of reception can be saved in the cookie corresponding with domainA.com by client In.
Step 105, receive the first server of access request and search identity identification information in client, Send the request obtaining log-on message to master server when not finding identity identification information.
In this step 105, first server, typically after receiving access request, can search correspondence The Cookie that domainB.com preserves, without finding this Cookie, then sends to master server and obtains Taking the request of identity identification information, if finding this Cookie, searching from this Cookie the most further The identity identification information of user, if not finding this identity identification information, then sends to master server and obtains body Part identifies the request of information.
Identity identification information is carried in unified resource location by step 106, master server according to the request received Symbol (Uniform Resource Locator, URL) sends to first server.
In this step 106, when identity identification information is sent to first server by master server, typically by body Part identification information is carried as URL parameter information and is sent to first server in URL.This carries identity The mode of identification information is easy to be intercepted also by rogue program (such as, for stealing the rogue program of data) Obtain, consequently, it is possible to threaten the safety of the personal information of user.
The identity identification information received is sent to client, by client by step 107, first server This identity identification information correspondence domainB.com is saved in this locality, and by page corresponding for domainB.com Face is shown to user.
So far, the flow process of the website that user logs in many domain names terminates.
In actual application, terminal can use user in flow process shown in Fig. 1 to access the webpage of domainB.com Operation, perform user and access the operation of webpage of domainC.com, here is omitted.
The process of the website of many domain names is logged in, when client is by many domain names website according to the user shown in Fig. 1 During domain logon website outside corresponding Main Domain, domain name application place server corresponding to this domain name needs Client is searched the cookie corresponding with this domain name, is not finding the cookie of this domain name, or search When not finding the identity identification information of user after the cookie of this domain name in this cookie, in addition it is also necessary to The request of the identity identification information obtaining user is sent to obtain the identification letter of user in master server Breath, to determine that user signs in website.
The process of the logging request of above-mentioned process client, the domain name application place server that non-Main Domain is corresponding Need to carry out information alternately with master server, the identity identification information of user can be got with to client The logging request submitted to is verified, the process of this process logging request is owing to relating between different server Alternately, the duration processing logging request can be increased, thus reduce client and carry out the efficiency of website log.
In sum, prior art logs in the process of many domain names website, there is the inefficient problem of login.
Summary of the invention
In view of this, the embodiment of the present application provides a kind of and logs in the method for many domain names website, system and device, Prior art logs in the inefficient problem in many domain names website for solving.
The embodiment of the present application is achieved through the following technical solutions:
An aspect according to the embodiment of the present application, this application provides a kind of side logging in many domain names website Method, including:
Server receives the first logging request of the request Website login that client sends, and described first login please The first domain name that described website is corresponding is carried in asking;
After described client validation being passed through according to described first logging request, generate and be used for logging in described net The login banner stood;And
Send to described client and include the instruction information of described login banner and the second domain name, described second Domain name is the domain name in addition to described first domain name that described website is corresponding;
Receiving the second logging request of the described website of request login that described client sends, described second logs in Request is carried described second domain name;
The described login banner that described instruction information includes is carried in determining described second logging request After, determine and described client validation is passed through.
An aspect according to the embodiment of the present application, provides again a kind of method logging in many domain names website, bag Include:
User end to server sends the first logging request of request Website login, in described first logging request Carry the first domain name that described website is corresponding;And
Receiving the instruction information that described server sends, described instruction information includes login banner and the second territory Name, wherein, described login banner is that described client is tested by described server according to described first logging request Demonstrate,proving the login banner for logging in described website by rear generation, described second domain name is that described website is corresponding The domain name in addition to described first domain name;
Send request to described server and log in the second logging request of described website, described second logging request In carry described login banner and described second domain name.
According to another aspect of the embodiment of the present application, additionally provide a kind of system logging in many domain names website, Including client and server, wherein:
Described client, for sending the first of request Website login to the described server processing logging request Logging request, carries the first domain name that described website is corresponding, and receives server in described first logging request The instruction information including login banner and the second domain name sent, described second domain name is that described website is corresponding The domain name in addition to described first domain name, to described server send request log in described website second login Request, carries described login banner and described second domain name in described second logging request;
Described server, for receiving described first logging request that described client sends, according to described After described client validation is passed through by the first logging request, generate the login banner for logging in described website, And send to described client and to include the instruction information of described login banner and the second domain name, and receive institute State the second logging request of the described website of request login that client sends, and determining that described second login please Ask after carrying the described login banner that described instruction information includes, determine and described client validation is led to Cross.
According to another aspect of the embodiment of the present application, additionally provide a kind of device logging in many domain names website, Including:
First logging request receives unit, for receiving the first login of the request Website login that client sends Request, carries the first domain name that described website is corresponding in described first logging request;
Login banner signal generating unit, for receive that unit receives according to described first logging request described the After described client validation is passed through by one logging request, generate the login banner for logging in described website;And
For sending to described client, instruction information transmitting unit, includes that described login banner signal generating unit is raw Become login banner and the instruction information of the second domain name, described second domain name be described website corresponding except institute State the domain name outside the first domain name;
Second logging request receives unit, for sending described instruction information in described instruction information transmitting unit The request that the described client of rear reception sends logs in the second logging request of described website, and described second login please Described second domain name is carried in asking;
Login banner determines unit, for determining that described second logging request receives the second of unit reception and steps on After record request carries the described login banner that described instruction information includes, determine and described client is tested Card passes through.
According to another aspect of the embodiment of the present application, provide again a kind of device logging in many domain names website, Including:
First logging request transmitting element, for the server transmission request login for processing logging request First logging request of website, carries the first domain name that described website is corresponding in described first logging request;
Instruction information receiving unit, logs in for sending described first at described first logging request transmitting element Receiving the instruction information that described server sends after request, described instruction information includes login banner and second Domain name, wherein, described login banner be described server according to described first logging request to described client The login banner for logging in described website generated after being verified, described second domain name is described website pair The domain name in addition to described first domain name answered;
Second logging request transmitting element, logs in the second of described website for sending request to described server Logging request, carries the instruction information bag that described instruction information receiving unit receives in described second logging request The described login banner included and described second domain name.
At least one technical scheme above-mentioned provided by the embodiment of the present application, server receives client and sends Request Website login the first logging request, this first logging request is carried the first territory that website is corresponding Name, after passing through client validation according to the first logging request, generates the login banner for Website login, And send to client and to include the instruction information of login banner and the second domain name, this second domain name is website pair The domain name in addition to the first domain name answered, the second login then receiving the request Website login that client sends please Ask, the second logging request is carried the second domain name, and in determining the second logging request, carries instruction information After the login banner included, determine and client validation is passed through.The technical program and prior art phase Relatively, the client submitting logging request to can be carried out by server according to the login banner that logging request is carried Checking, it is to avoid the domain name application place server that in prior art, non-Main Domain is corresponding is to client and master Server obtains the identity identification information operation with checking client, and, server can be to client The logging request that each domain name of the most corresponding many domain names website sends processes, it is to avoid non-Main Domain is corresponding Domain name application place server and master server between carry out information alternately with process logging request operation, Obviously, when in this programme, client logs in many domain names website, the logging request that server process client is submitted to Time, it is to avoid mutual between different server, decrease the duration processing logging request, thus improve Client carries out the efficiency of website log.
Other features and advantage will illustrate in the following description, and, partly from explanation Book becomes apparent, or understands by implementing the application.The purpose of the application and other advantages can Realize by structure specifically noted in the description write, claims and accompanying drawing and obtain ?.
Accompanying drawing explanation
Accompanying drawing is for providing further understanding of the present application, and constitutes a part for description, with this Shen Embodiment please be used for together explaining the application, be not intended that the restriction to the application.In the accompanying drawings:
Fig. 1 logs in the schematic flow sheet of the website of many domain names for a kind of user that background technology provides;
A kind of schematic flow sheet logging in many domain names website that Fig. 2 provides for the embodiment of the present application one;
A kind of client that Fig. 3 provides for the embodiment of the present application one sends the second logging request according to instruction information Schematic flow sheet;
The schematic flow sheet of the server process logging request that Fig. 4 provides for the embodiment of the present application one;
The structural representation of a kind of device logging in many domain names website that Fig. 5 provides for the embodiment of the present application three;
The structural representation of the device of another login many domain names website that Fig. 6 provides for the embodiment of the present application three Figure;
The structural representation of the device of another login many domain names website that Fig. 7 provides for the embodiment of the present application three Figure.
Detailed description of the invention
In order to provide the implementation improving the efficiency that client carries out website log, the embodiment of the present application provides A kind of log in the method for many domain names website, system and device, below in conjunction with Figure of description to the application Preferred embodiment illustrate, it will be appreciated that preferred embodiment described herein is merely to illustrate reconciliation Release the application, be not used to limit the application.And the embodiment in the case of not conflicting, in the application And the feature in embodiment can be mutually combined.
In the embodiment that the application provides, the website related to is many domain names website, and this many domain names website is corresponding Each domain name potentially includes multiple top-level domain and the second level domain the most corresponding with each top-level domain, even more Multistage domain name, such as, there are three top-level domains domainA.com, domainB.com in many domain names website And domainC.com, additionally, domain name corresponding to this website also includes the most corresponding with above-mentioned top-level domain Second level domain login.domainA.com, login.domainB.com and login.domainC.com. Each domain name corresponding to many domain names website that the application relates to includes the domain names at different levels arranged for this website, below unites It is referred to as the domain name that many domain names website is corresponding.
In the embodiment that the application provides, each domain name by many domain names website is corresponding can be set and carry out website During login, client is the server for processing logging request for the path of each domain name submission logging request Path, this server can be set to individually according to the quantity of data processed and its own processing capabilities Server, or be set to the server zone being made up of multiple equipment, specifically, can be according to real data The needs processed are arranged accordingly.
The each domain name corresponding in corresponding many domain names website carries out the path of server when arranging, can be as required Arrange flexibly.Such as, by the way of increasing designated identification in the suffix of each domain name, characterize the road of server Footpath, specifically, arranging designated identification is /jump.sso, then client is being entered by login.domainB.com During row website log, the path that can arrange submission logging request is login.domainB.com/jump.sso, So that the transmission of the logging request of client is processed to server corresponding with this path.
Embodiment one
This embodiment one provides a kind of method logging in many domain names website, and the method can be applied in network system In system, by applying the technical program in network system, it is possible to avoid many domain names when processing logging request The domain name application of each domain name of website correspondence respectively carries out the operation that information is mutual between servers, thus Decrease the duration processing logging request, improve client and carry out the efficiency of website log.
The present embodiment one carries out, by client and the server being used for processing logging request, the side that information is mutual Formula, the method that the application offer logs in many domain names is described.Specifically, this Shen as shown in Figure 2 Please embodiment one provide a kind of schematic flow sheet logging in many domain names website, the mistake of this login many domain names website Journey, mainly comprises the steps that
Step 201, client are to first of the server transmission request Website login for processing logging request Logging request.
In this step 201, the first logging request that client sends is carried the website that client request logs in The first corresponding domain name, this first domain name is the domain name that client triggers logging request.Specifically, client Determine user conducted interviews by the first domain name website operation after, can jump to point out user submit to The login page of log-on message, and the first logging request carrying the first domain name is sent to server, or send out Send the first logging request of the log-on message including the first domain name and user's submission.In this programme, by client The domain name of end triggering logging request is as the first domain name, in actual application, it is also possible to pass through website in client After the corresponding arbitrary domain name in domain name triggers logging request, jump to the access to Main Domain, by this main territory Name is as the first domain name.In this programme, it is preferred that to trigger the domain name of logging request as the first domain name. Additionally, the first logging request is with can also carrying the procotol (Internet Protocol, IP) of client Location, this IP address can be arranged in log-on message according to specified protocol.
First logging request of the request Website login that step 202, server reception client sends, and After client validation being passed through according to the first logging request, generate the login banner for Website login.
In this step 202, if the first logging request includes log-on message, server can be stepped on according to first The log-on message that record request includes, is determining that the log-on message that the first logging request includes is being entered with client After the log-on message of registration is consistent during row login information registration, generate the login banner for Website login.Real In the application of border, the login banner for Website login can be carried out according to actual applied environment or demand accordingly Setting.Such as, this login banner can be that server carries out many domain names with client based on processing client Carrying out the dialogue identifier that information is mutual during website log, this dialogue identifier has uniqueness, at server Reason client logs in the operation of current many domain names website, if server process client logs in other many domain names nets During the operation stood, the dialogue identifier needed when processing other many domain names websites can be generated respectively.Additionally, log in Mark can uniquely identification server and client can also be carried out at domain name website log more than for other The mark of reason.Such as, website logo or prescribed coding etc., here is omitted particular content.Further, clothes Business device is when generating for the login banner of Website login, it is also possible to generate for identifying the use using client The mark of family identity information, i.e. user identification information.
Step 203, server send the login banner and the instruction of the second domain name including generating to client Information.
In this step 203, the second domain name be client request log in website corresponding in addition to the first domain name Domain name.In actual application, server is able to record that each domain name that each many domain names website is corresponding, is processing During the logging request that client is submitted to, this website is stepped on by domain name and this locality that can include according to logging request The process record of record request, determines the most requested logged domain name from the domain name of many domain names website, enters And the most requested logged domain name is selected a domain name and sends to client as the second domain name, with Instruction client jumps to the access to the second domain name to the access of the first domain name.Additionally, server sends Instruction information could be included for notify client-server by the information to client validation, example As, the log-on message that the first logging request includes is carried in instruction information by server, to inform client The end server checking by client.Corresponding step 202, it is raw that this instruction information can also carry server The user identification information become, further, it is possible to carry after being encrypted by this identification data at instruction letter Breath.
Step 204, client receive the instruction information that server sends, and send request login to server Second logging request of website.
In this step 204, after client receives instruction information, the second domain name that can include according to instruction information, Jumping to access the operation of the second domain name by the operation of current accessed the first domain name, the mode performing this operation can Carry out with the stipulated form according to client with server.Such as, server can be by sending to client The mode of instruction, makes the client receiving instruction conduct interviews corresponding domain name according to instruction, this instruction Domain name including instruction client-access;Or, server is only to need the designated domain name of client-access Sending to client, client situation about processing according to its data and needs, conduct interviews specified domain The operation of name.Such as, if the currently processed data of client are more, major part is caused to process resource occupied, The operation of the designated domain name that then can conduct interviews in the case of processing resource abundance.Additionally, corresponding step 203, if instruction information includes log-on message, this log-on message can be saved in the first domain name by client To characterize server permission this domain name of client-access in corresponding cookie.
Second logging request of the request Website login that step 205, server reception client sends, and Determine after the second logging request carries the login banner that instruction information includes, determine client validation Pass through.
In this step 205, the second logging request that server receives can carry the IP address of client, Server, can be true after confirming that this IP address is consistent with the IP address that the first logging request of reception is carried Recognizing the sender of this second logging request is the client sending the first logging request, and then second steps on according to this Record request carries out subsequent treatment.Additionally, this second logging request can also be carried corresponding to the first logging request Agreement mark or agreement key, for server to logging request and the sender that sends logging request Checking.
So far, the flow process logging in many domain names website terminates.
In the flow process that Fig. 2 is corresponding, for processing the server of logging request in the login sent according to client After first logging request of website generates login banner, it is possible to determining that the request that subsequent client sends logs in After the logging request of above-mentioned website includes the login banner generated, determine that client passes through checking, this server During processing the logging request of client, server can process client and be respectively directed to many domain names website The logging request that corresponding each domain name is submitted to, it is to avoid when processing logging request in prior art, each domain name is corresponding Domain name application carry out the process that information is mutual between servers, decrease process logging request duration Further, in this programme, client can be verified by server according to the login banner that logging request is carried, Hinge structure each domain name application place server obtains the operation of identity identification information checking client, enters One step decreases the duration processing logging request, thus improves client and carry out the efficiency of website log.
In the step 204 that the flow process that Fig. 2 is corresponding includes, i.e. receive, in client, the instruction that server sends Information, and send in the second logging request of request Website login to server, client is receiving instruction letter After breath, the login banner that instruction information includes can be saved in the cookie that the first domain name is corresponding, actual In application, in order to be uniformly controlled the login of domain name at different levels and publish, can be corresponding in each domain name of preservation During cookie, arrange cookie accepting the path (Path) of domain name access is the one-level territory corresponding to each domain name Name.Specifically, if the first domain name is second level domain, when login banner is saved in cookie, arrange It is the top-level domain corresponding to the first domain name that this cookie accepts the path of domain name access, so that cookie energy Enough accept the access of domain names at different levels under this top-level domain.Such as, the first domain name is login.domainA.com, When preserving login banner (i.e. cookie), the Path arranging this cookie is domainA.com, so, This cookie can be conducted interviews and obtain needs by the domain name of arbitrary number of level based on this domainA.com Cookie.
Further, when client is after the cookie that local first domain name is corresponding preserves login banner, Ke Yi After client completes the login of many domain names website, when the domain name that this website of client-access is corresponding, obtaining should Login banner in the cookie that domain name is corresponding is submitted to server, carries out domain name after server authentication is passed through Access.Concrete, this application provides client after the login completing many domain names website, access the second territory The process of name, Fig. 3 shows that a kind of client-access many domain names website that the embodiment of the present application one provides is corresponding The schematic flow sheet of the second domain name, mainly comprise the steps that
Second logging request of the request Website login that step 301, server reception client sends, and Determine after the second logging request carries the login banner that instruction information includes, determine client validation Pass through.
Step 302, client for each domain name corresponding to many domain names website to server send logging request, And after completing the login of many domain names website, the access sending access the second domain name correspondence webpage to server please Ask.
In this step 302, the flow process shown in corresponding diagram 2, after client executing step 204 and service After device performs step 205, on the premise of client completes the login of many domain names website, if client determines User, when the second domain name correspondence webpage that this many domain names website of access is corresponding, can arrive this second domain name corresponding Cookie obtains login banner, and login banner is carried sends to server in access request, or, The login banner in the cookie that this domain name is corresponding can be obtained and identity identification information carries and asks in access Ask middle transmission to server.
Step 303, server receive access request, and carry server process in determining access request After the login banner that first logging request generates, access request is processed.
In this step 303, server receives the mode of access request, can be according to net in actual application environment The facilities of network determines, such as, server can receive through domain name corresponding to the domain name of client-access The access request that application place server forwards, or, having the server reception access of domain name application place please After asking, send the information verifying this access request to the server processing logging request, by processing logging request Server verify access request to determine whether the corresponding domain name of client-access;Or, Server directly receives access request and verifies.If additionally, server is not deposited in determining access request After login banner, can be further according to the identity identification information carried in access request, to access request Verify.
So far, the flow process of the second domain name that client-access many domain names website is corresponding terminates.
In the flow process that Fig. 3 is corresponding, client is after the login completing many domain names website, if in access triggers After the webpage that the domain name of logging request is corresponding, accessing the webpage that the second domain name is corresponding further, client can be from The cookie that this second domain name is corresponding obtains login banner, and sends to server and confirm, thus really Protect the safety of client-access operation.
In the flow process that Fig. 3 is corresponding, client can be according to the cookie corresponding to domain name corresponding to website In login banner and/or identity identification information, the domain name logging in successful website corresponding is conducted interviews.When After client terminates website log state, i.e. publish website, the cookie corresponding to each domain name that website is corresponding In login banner and/or identity identification information can be deleted, with characterize terminate website logging status, publish Website.
In the step 204 that the flow process that Fig. 2 is corresponding includes, i.e. receive, in client, the instruction that server sends Information, and send in the second logging request of request Website login to server, the second logging request is except including Outside second domain name and login banner, it is also possible to include the first domain-name information, this first domain-name information can be The URL corresponding with the first domain name or the first domain name, or for characterizing the mark etc. of this first domain name, specifically Ground, can be arranged the most accordingly.According to this first domain-name information, in step 205, The server receiving the second logging request can be in each domain name to many domain names website that client request logs in After carrying out respective handling, client is indicated accordingly.Specifically, the embodiment of the present application one provides The preferred implementation of a kind of server process logging request, as shown in Figure 4, this preferred implementation is corresponding The process of server process logging request, mainly comprise the steps that
Step 401, server receive the second logging request including the first domain-name information that client sends, And determine the second logging request carries the login banner that instruction information includes.
In this step 401, if the first domain-name information is the URL that the first domain name is corresponding, then can will log in mark Know to carry and sent to server by client in this URL, or, if the second logging request carry the Two domain names are to use the domain-name information of corresponding URL format, it is also possible to carry log-on message at this URL In.
After step 402, server determine and carry above-mentioned login banner in the second logging request, determine client End asks whether there is the most requested logged domain name in the domain name that the website accessed is corresponding, if it is not, perform Step 403;If it is not, perform step 404.
Step 403, server send instruction client to client, and page jump is corresponding to the first domain name The instruction information of the page.
In this step 403, server can notify visitor by the way of carrying log-on message in instruction information Family end is by checking, and accordingly, log-on message can be saved in the second territory by the client receiving this notice Under one's name, and by the page corresponding for page jump to the first domain name.
Step 404, server send to client and include login banner and the instruction information of the 3rd domain name, 3rd domain name is a domain name in the most requested logged domain name.
So far, the flow process of server process logging request terminates.
Embodiment two
The embodiment of the present application two additionally provides a kind of system logging in many domain names website, and this system can be applied In network system, by applying the technical program in network system, it is possible to avoid each territory of many domain names website The domain name application of name correspondence respectively carries out the operation that information is mutual between servers, decreases process and logs in The duration of request, thus improve client and carry out the efficiency of website log.
A kind of system logging in many domain names website that the embodiment of the present application two provides, including client and service Device, wherein:
Client, please for sending the first login of request Website login to the server processing logging request Ask, the first logging request carries the first domain name that website is corresponding, and including of receiving that server sends logs in Mark and the instruction information of the second domain name, the second domain name is the domain name in addition to the first domain name that website is corresponding, To server send request Website login the second logging request, the second logging request is carried login banner with And second domain name;
Server, for receive client send the first logging request, according to the first logging request to visitor After family end is verified, generates the login banner for Website login, and include logging in mark to client transmission Know and the instruction information of the second domain name, and receive the second login of the request Website login that client sends Request, and after carrying the login banner that instruction information includes in determining the second logging request, it is right to determine Client validation is passed through.
This system can also include each unit that the device logging in many domain names website that embodiment three provides includes, And it is capable of the corresponding function of each unit.
Embodiment three
The method logging in many domain names website that the corresponding embodiment one of the embodiment of the present application three provides, it is provided that a kind of Logging in the device of many domain names website, the device that this embodiment three provides can be applied in network system, passes through The technical program is applied, it is possible to avoid the domain name that each domain name of many domain names website is the most corresponding in network system Application carries out the operation that information is mutual between servers, decreases the duration processing logging request, thus Improve client and carry out the efficiency of website log.
Specifically, Fig. 5 shows the structural representation of a kind of device logging in many domain names website that the application provides Figure, as it is shown in figure 5, this device includes:
First logging request receives unit 501, login banner signal generating unit 502, instruction information transmitting unit 503, the second logging request receives unit 504 and login banner determines unit 505, wherein:
First logging request receives unit 501, for receiving the first of the request Website login that client sends Logging request, carries the first domain name that website is corresponding in the first logging request;
Login banner signal generating unit 502, for receive that unit 501 receives according to the first logging request the After client validation is passed through by one logging request, generate the login banner for Website login;And
For sending to client, instruction information transmitting unit 503, includes that login banner signal generating unit 502 is raw Become login banner and the instruction information of the second domain name, the second domain name be website corresponding in addition to the first domain name Domain name;
Second logging request receives unit 504, for sending instruction information in instruction information transmitting unit 503 Second logging request of the request Website login that rear reception client sends, carries second in the second logging request Domain name;
Login banner determines unit 505, for determining that the second logging request receives that unit 504 receives After two logging request carry the login banner that instruction information includes, determine and client validation is passed through.
In the preferred implementation that the present embodiment three provides, the login banner that Fig. 5 shown device includes generates single Unit 502, specifically for the log-on message included according to the first logging request, determines log-on message and client The log-on message of end registration is consistent.
In the preferred implementation that the present embodiment three provides, the login banner that Fig. 5 shown device includes determines list Unit 505, is additionally operable to carry in determining described second logging request described in described instruction information includes After login banner, determine after described client validation is passed through, receive the request access second that client sends The access request of domain name correspondence webpage;After carrying login banner in determining access request, to access request Process.
In the preferred implementation that the present embodiment three provides, the instruction information that Fig. 5 shown device includes sends single Unit 503, if the second logging request being additionally operable to the second logging request reception unit 504 reception also includes first Domain-name information, when there is not the most requested logged domain name in determining the domain name that website is corresponding, to client End sends instruction client by the instruction information of the page corresponding for page jump to the first domain name.
In the preferred implementation that the present embodiment three provides, the instruction information that Fig. 5 shown device includes sends single Unit 503, when being additionally operable to exist the most requested logged domain name in determining the domain name that website is corresponding, to visitor Family end sends and includes login banner and the instruction information of the 3rd domain name, and the 3rd domain name is the most requested logged Domain name in a domain name.
The present embodiment three, additionally provides a kind of device logging in many domain names website, specifically, as shown in Figure 6, This device includes:
First logging request transmitting element 601, instruction information receiving unit 602 and the second logging request are sent out Send unit 603, wherein:
First logging request transmitting element 601, for the server transmission request for processing logging request First logging request of Website login, carries the first domain name that website is corresponding in the first logging request;
Instruction information receiving unit 602, logs in for sending first at the first logging request transmitting element 601 Request is followed by receiving the instruction information that server sends, and instruction information includes login banner and the second domain name, its In, login banner be server according to the first logging request to client validation by rear generation for logging in The login banner of website, the second domain name is the domain name in addition to the first domain name that website is corresponding;
Second logging request transmitting element 603, for sending the second login of request Website login to server Request, carries the login that the instruction information of instruction information receiving unit 602 reception includes in the second logging request Mark and the second domain name.
In the preferred implementation that the present embodiment three provides, the instruction information that Fig. 6 shown device includes receives single Unit 602, is additionally operable to after receiving the instruction information that server sends, login banner instruction information included Being saved in the temporary file that the first domain name is corresponding, it is the first domain name that temporary file accepts the path of domain name access Corresponding top-level domain.
As it is shown in fig. 7, in the preferred implementation of the present embodiment three offer, Fig. 6 shown device is further also Including access request transmitting element 604, for sending to server at the second logging request transmitting element 603 After second logging request of request Website login, the access sending request access the second domain name to server please Asking, access request includes login banner.
In the preferred implementation that the present embodiment three provides, the instruction information that Fig. 6 shown device includes receives single Unit 602, is additionally operable to the second logging request the second logging request transmitting element 603 sends and also includes first Domain-name information, and after server sends the second logging request of request Website login, receive server and send out The instruction information that accession page jumps to the page corresponding to the first domain name for instruction sent, instruction information is Server sends after there is not the most requested logged domain name in determining the domain name that website is corresponding.
In the preferred implementation that the present embodiment three provides, the instruction information that Fig. 6 shown device includes receives single Unit 602, be additionally operable to reception server transmission includes login banner and the instruction information of the 3rd domain name, refers to Show that information is to send after server exists the most requested logged domain name in determining the domain name that website is corresponding , the 3rd domain name is a domain name in the most requested logged domain name.
Should be appreciated that the logic that the function that according to unit that apparatus above includes is only, this device realizes is carried out is drawn Point, in actual application, superposition or the fractionation of said units can be carried out.And the device that this embodiment provides The method flow one_to_one corresponding logging in many domain names website that the function realized and above-described embodiment provide, for The more detailed handling process that this device is realized, is described in detail in said method embodiment, this Place is not described in detail.
Further, in the present embodiment three log in many domain names website device also have be capable of embodiment one with And the functional module of embodiment two scheme, here is omitted.
It will be understood by those skilled in the art that embodiments herein can be provided as method, device (equipment), Or computer program.Therefore, the application can use complete hardware embodiment, complete software implementation, Or combine the form of embodiment in terms of software and hardware.And, the application can use one or more its In include the computer-usable storage medium of computer usable program code and (include but not limited to disk storage Device, CD-ROM, optical memory etc.) form of the upper computer program implemented.
The application is with reference to method, device (equipment) and the computer program according to the embodiment of the present application Flow chart and/or block diagram describe.It should be understood that can by computer program instructions flowchart and/or Flow process in each flow process in block diagram and/or square frame and flow chart and/or block diagram and/or square frame In conjunction with.These computer program instructions can be provided to general purpose computer, special-purpose computer, Embedded Processor Or the processor of other programmable data processing device is to produce a machine so that by computer or other The instruction that the processor of programmable data processing device performs produce for realizing in one flow process of flow chart or The device of the function specified in multiple flow processs and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and computer or the process of other programmable datas can be guided to set In the standby computer-readable memory worked in a specific way so that be stored in this computer-readable memory Instruction produce and include the manufacture of command device, this command device realizes in one flow process or multiple of flow chart The function specified in flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makes Sequence of operations step must be performed to produce computer implemented place on computer or other programmable devices Reason, thus the instruction performed on computer or other programmable devices provides for realizing flow chart one The step of the function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
Although having been described for the preferred embodiment of the application, but those skilled in the art once knowing base This creativeness concept, then can make other change and amendment to these embodiments.So, appended right is wanted Ask and be intended to be construed to include preferred embodiment and fall into all changes and the amendment of the application scope.Obviously, Those skilled in the art can carry out various change and modification without deviating from spirit herein to the application And scope.So, if these amendments of the application and modification belong to the application claim and equivalent skill thereof Within the scope of art, then the application is also intended to comprise these change and modification.

Claims (13)

1. the method logging in many domain names website, it is characterised in that including:
Server receives the first logging request of the request Website login that client sends, and described first login please The first domain name that described website is corresponding is carried in asking;
After described client validation being passed through according to described first logging request, generate and be used for logging in described net The login banner stood;Described login banner is that unique identification server carries out domain name website more than with client The mark of login process;And
Send to described client and include the instruction information of described login banner and the second domain name, described second Domain name is the domain name in addition to described first domain name that described website is corresponding;
Receiving the second logging request of the described website of request login that described client sends, described second logs in Request is carried described second domain name;
The described login banner that described instruction information includes is carried in determining described second logging request After, determine and described client validation is passed through.
2. the method for claim 1, it is characterised in that described server is stepped on according to described first Described client validation is passed through by record request, including:
The log-on message that described server includes according to described first logging request, determines described log-on message Consistent with the log-on message of described client registers.
3. method as claimed in claim 1 or 2, it is characterised in that described determining that described second steps on After record request carries the described login banner that described instruction information includes, determine and described client is tested Card, by afterwards, also includes:
Described server receives the visit of the request described second domain name correspondence page of access that described client sends Ask request;
After carrying described login banner in determining described access request, at described access request Reason.
4. the method for claim 1, it is characterised in that also include in described second logging request Described first domain-name information;
Described server carries the institute that described instruction information includes in determining described second logging request After stating login banner, also include:
Described server determines when there is not the most requested logged domain name in the domain name that described website is corresponding, Sending to described client indicates described client by the page corresponding for page jump to described first domain name Instruction information.
5. method as claimed in claim 4, it is characterised in that described server determines described website pair When the domain name answered exists the most requested logged domain name, also include:
Described server sends the instruction letter including described login banner and the 3rd domain name to described client Breath, described 3rd domain name be described in a domain name in the most requested logged domain name.
6. the method logging in many domain names website, it is characterised in that including:
User end to server sends the first logging request of request Website login, in described first logging request Carry the first domain name that described website is corresponding;And
Receiving the instruction information that described server sends, described instruction information includes login banner and the second territory Name, wherein, described login banner is that described client is tested by described server according to described first logging request Demonstrate,proving the login banner for logging in described website by rear generation, this login banner is unique identification server The mark that domain name website log more than processes is carried out with client;Described second domain name is that described website is corresponding The domain name in addition to described first domain name;
Send request to described server and log in the second logging request of described website, described second logging request In carry described login banner and described second domain name.
7. method as claimed in claim 6, it is characterised in that described client receives described server After the instruction information sent, also include:
It is corresponding that the login banner that described instruction information includes is saved in described first domain name by described client In temporary file, it is the one-level corresponding to described first domain name that described temporary file accepts the path of domain name access Domain name.
Method the most as claimed in claims 6 or 7, it is characterised in that described client is to described service After device sends the second logging request that request logs in described website, also include:
The access that described client sends the request described second domain name correspondence page of access to described server is asked Asking, described access request includes described login banner.
9. method as claimed in claim 6, it is characterised in that also include in described second logging request Described first domain-name information;
Described client is after described server sends the second logging request that request logs in described website, also Including:
What the described client described server of reception sent is used for instruction by page jump to described first domain name The instruction information of the corresponding page, described instruction information is that described server is in the territory determining that described website is corresponding Send after there is not the most requested logged domain name in Ming.
10. method as claimed in claim 9, it is characterised in that also include:
What the described client described server of reception sent includes described login banner and the finger of the 3rd domain name Show that information, described instruction information are that described server exists in determining the domain name that described website is corresponding and do not asked Send after seeking logged domain name, described 3rd domain name be described in the most requested logged domain name one Individual domain name.
11. 1 kinds of systems logging in many domain names website, it is characterised in that including:
Client and server, wherein:
Described client, for sending the first of request Website login to the described server processing logging request Logging request, carries the first domain name that described website is corresponding, and receives server in described first logging request The instruction information including login banner and the second domain name sent, described second domain name is that described website is corresponding The domain name in addition to described first domain name, to described server send request log in described website second login Request, carries described login banner and described second domain name in described second logging request;Described login is marked Know and carry out, for unique identification server and client, the mark that domain name website log more than processes;
Described server, for receiving described first logging request that described client sends, according to described After described client validation is passed through by the first logging request, generate the login banner for logging in described website, And send to described client and to include the instruction information of described login banner and the second domain name, and receive institute State the second logging request of the described website of request login that client sends, and determining that described second login please Ask after carrying the described login banner that described instruction information includes, determine and described client validation is led to Cross.
12. 1 kinds of devices logging in many domain names website, it is characterised in that including:
First logging request receives unit, for receiving the first login of the request Website login that client sends Request, carries the first domain name that described website is corresponding in described first logging request;
Login banner signal generating unit, for receive that unit receives according to described first logging request described the After described client validation is passed through by one logging request, generate the login banner for logging in described website, institute Stating login banner is that unique identification server carries out, with client, the mark that domain name website log more than processes; And
For sending to described client, instruction information transmitting unit, includes that described login banner signal generating unit is raw Become login banner and the instruction information of the second domain name, described second domain name be described website corresponding except institute State the domain name outside the first domain name;
Second logging request receives unit, for sending described instruction information in described instruction information transmitting unit The request that the described client of rear reception sends logs in the second logging request of described website, and described second login please Described second domain name is carried in asking;
Login banner determines unit, for determining that described second logging request receives the second of unit reception and steps on After record request carries the described login banner that described instruction information includes, determine and described client is tested Card passes through.
13. 1 kinds of devices logging in many domain names website, it is characterised in that including:
First logging request transmitting element, for the server transmission request login for processing logging request First logging request of website, carries the first domain name that described website is corresponding in described first logging request;
Instruction information receiving unit, logs in for sending described first at described first logging request transmitting element Receiving the instruction information that described server sends after request, described instruction information includes login banner and second Domain name, wherein, described login banner be described server according to described first logging request to client validation By rear generation for logging in the login banner of described website, this login banner be unique identification server with Client carries out the mark that domain name website log more than processes;Described second domain name is that described website is corresponding Domain name in addition to described first domain name;
Second logging request transmitting element, logs in the second of described website for sending request to described server Logging request, carries the instruction information bag that described instruction information receiving unit receives in described second logging request The described login banner included and described second domain name.
CN201210157447.0A 2012-05-18 2012-05-18 A kind of log in the method for many domain names website, system and device Active CN103428179B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210157447.0A CN103428179B (en) 2012-05-18 2012-05-18 A kind of log in the method for many domain names website, system and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210157447.0A CN103428179B (en) 2012-05-18 2012-05-18 A kind of log in the method for many domain names website, system and device

Publications (2)

Publication Number Publication Date
CN103428179A CN103428179A (en) 2013-12-04
CN103428179B true CN103428179B (en) 2016-09-28

Family

ID=49652360

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210157447.0A Active CN103428179B (en) 2012-05-18 2012-05-18 A kind of log in the method for many domain names website, system and device

Country Status (1)

Country Link
CN (1) CN103428179B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104038474A (en) * 2014-05-09 2014-09-10 深信服网络科技(深圳)有限公司 Internet access detection method and device
CN104038503B (en) * 2014-06-24 2018-01-02 北京奇虎科技有限公司 Across the method for website log, device and system
CN106330841A (en) * 2015-07-02 2017-01-11 天脉聚源(北京)科技有限公司 Method and system for supporting multiple domain names
CN105187457A (en) * 2015-10-27 2015-12-23 上海斐讯数据通信技术有限公司 Client-based account automatic registration method, system and server
CN107359996B (en) * 2016-05-09 2020-05-05 阿里巴巴集团控股有限公司 Automatic login method and device among multiple network stations
CN108021593B (en) * 2016-11-03 2020-05-08 北京金山云网络技术有限公司 Information transfer method and device and browser
CN108881501B (en) * 2017-05-12 2021-07-06 阿里巴巴集团控股有限公司 Method and device for realizing webpage application domain name skip
CN107908440A (en) * 2017-11-17 2018-04-13 深圳泉眼体育运营管理有限公司 Wake up method, apparatus, mobile terminal and the storage medium of APP
CN109787951B (en) * 2018-11-22 2022-09-02 北京奇艺世纪科技有限公司 Network data access method and device and electronic equipment
CN109547472B (en) * 2018-12-24 2021-07-27 中国科学院数据与通信保护研究教育中心 Single sign-on method capable of hiding user sign-on track
CN110572417B (en) * 2019-10-22 2021-11-09 腾讯科技(深圳)有限公司 Method, apparatus, server and storage medium for providing login ticket
CN111935327B (en) * 2020-02-24 2023-07-25 北京豆萌信息技术有限公司 Domain name assignment method, device, equipment and computer readable storage medium
CN114760139A (en) * 2022-04-21 2022-07-15 北京金堤科技有限公司 Login state synchronization method and device, electronic equipment and computer storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101355527A (en) * 2008-08-15 2009-01-28 深圳市中兴移动通信有限公司 Method for implementing single-point LOG striding domain name
CN101662464A (en) * 2008-08-26 2010-03-03 阿里巴巴集团控股有限公司 System for realizing HTTP request service and method thereof
CN102098158A (en) * 2009-12-10 2011-06-15 北大方正集团有限公司 Cross-domain name single sign on and off method and system as well as corresponding equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101771694B (en) * 2010-01-12 2012-12-26 深圳市五巨科技有限公司 Method for ensuring successful webpage browsing at client side and device therefor
US20110289138A1 (en) * 2010-05-20 2011-11-24 Bhavin Turakhia Method, machine and computer program product for sharing an application session across a plurality of domain names

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101355527A (en) * 2008-08-15 2009-01-28 深圳市中兴移动通信有限公司 Method for implementing single-point LOG striding domain name
CN101662464A (en) * 2008-08-26 2010-03-03 阿里巴巴集团控股有限公司 System for realizing HTTP request service and method thereof
CN102098158A (en) * 2009-12-10 2011-06-15 北大方正集团有限公司 Cross-domain name single sign on and off method and system as well as corresponding equipment

Also Published As

Publication number Publication date
CN103428179A (en) 2013-12-04

Similar Documents

Publication Publication Date Title
CN103428179B (en) A kind of log in the method for many domain names website, system and device
CN105007280B (en) A kind of application login method and device
CN104735066B (en) A kind of single-point logging method of object web page application, device and system
CN102171984B (en) Service provider access
JP6533871B2 (en) System and method for controlling sign-on to web applications
CN105337949B (en) A kind of SSO authentication method, web server, authentication center and token verify center
CN103139172B (en) A kind of service implementation method and device
CN104158818B (en) A kind of single-point logging method and system
US9934310B2 (en) Determining repeat website users via browser uniqueness tracking
CN102238007A (en) Method, device and system for acquiring session token of user by third-party application
CN105430102B (en) The integrated approach of the websites SaaS and third party system, system and its apparatus
CN103634399B (en) Method and device for realizing cross-domain data transmission
CN111062023B (en) Method and device for realizing single sign-on of multi-application system
CN103069742B (en) For by the method and apparatus of key bindings to name space
CN108259457B (en) WEB authentication method and device
CN109726545B (en) Information display method, equipment, computer readable storage medium and device
CN114385995B (en) Method for accessing micro-service to industrial Internet through identification analysis based on Handle and identification service system
CN102316080A (en) Function for supporting anonymous verification of central authentication service in same master domain
WO2018112878A1 (en) Token mechanism-based system and method for detecting and defending against cc attack
CN106101134A (en) User's multiple domain is under one's name across the method for station roaming checking logging status
CN111241523B (en) Authentication processing method, device, equipment and storage medium
CN110022350A (en) The treating method and apparatus of client registers and registration information
CN105791249A (en) Third-party application processing method, device and system
CN109450890A (en) The method and apparatus of single-sign-on
CA2844888A1 (en) System and method of extending a host website

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1188877

Country of ref document: HK

C14 Grant of patent or utility model
GR01 Patent grant
REG Reference to a national code

Ref country code: HK

Ref legal event code: GR

Ref document number: 1188877

Country of ref document: HK