CN107743134A - Log-on message processing method, client, server and storage medium - Google Patents

Log-on message processing method, client, server and storage medium Download PDF

Info

Publication number
CN107743134A
CN107743134A CN201711236716.1A CN201711236716A CN107743134A CN 107743134 A CN107743134 A CN 107743134A CN 201711236716 A CN201711236716 A CN 201711236716A CN 107743134 A CN107743134 A CN 107743134A
Authority
CN
China
Prior art keywords
key
log
logon information
history
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.)
Pending
Application number
CN201711236716.1A
Other languages
Chinese (zh)
Inventor
胥凡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hubei Sunshine Culture And Media Co Ltd
Original Assignee
Hubei Sunshine Culture And Media 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 Hubei Sunshine Culture And Media Co Ltd filed Critical Hubei Sunshine Culture And Media Co Ltd
Priority to CN201711236716.1A priority Critical patent/CN107743134A/en
Publication of CN107743134A publication Critical patent/CN107743134A/en
Pending legal-status Critical Current

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
    • H04L63/0815Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations

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 log-on message processing method, client, server and storage medium, methods described includes:Client obtains the access request of user;Extract the default domain-name information of target pages in the access request, searched from the default domain-name information and log in key, and log in key to described in server transmission, so that the server logged according to key searched in predeterminable area corresponding to history logon information, and feed back the history logon information;The history logon information is received, is logged according to the history logon information.User of the present invention is when identical platform conducts interviews different business, key can be logged in by being got in the domain-name information of target pages, and logon information is got by the key that logs in, logging in for different business is realized by the logon information, so as to which user only needs to log in once, so that it may the business that other needs in access platform log in.

Description

Log-on message processing method, client, server and storage medium
Technical field
The present invention relates to field of computer technology, more particularly to a kind of log-on message processing method, client, server and Storage medium.
Background technology
With the continuous extension of platform service, user needs to handle associated multiple business works in a period of time Make, if application program corresponding to each business has itself independent a set of user supervisor, user often enters one Business application is required for carrying out corresponding register, also implies that everyone is required for remembeing multiple user names and close Code, could access corresponding to business application, this is very bad experience for a user, also to the system of platform user One management causes huge obstruction.
The content of the invention
It is a primary object of the present invention to propose that a kind of log-on message processing method, client, server and storage are situated between Matter, it is intended to solve the technical problem that multiple business in identical platform in the prior art need repeatedly to be logged in.
To achieve the above object, a kind of log-on message processing method provided by the invention, the described method comprises the following steps:
Client obtains the access request of user;
The default domain-name information of target pages in the access request is extracted, searches and logs in from the default domain-name information Key, and key is logged in described in server transmission, so that the server logs in key according to and looked into predeterminable area History logon information corresponding to looking for, and feed back the history logon information;
The history logon information is received, is logged according to the history logon information.
Preferably, in the extraction access request before the default domain-name information of target pages, methods described is also wrapped Include:
The history logon information of user is obtained, the history logon information is sent to server, so that the server The history logon information is received, key is logged according to history logon information generation, and key is logged in described in feedback;
Key is logged in described in reception, the key that logs in is added in the top-level domain information of history page, will be added Top-level domain information afterwards is as the default domain-name information.
Preferably, the default domain-name information for extracting target pages in the access request, believe from the default domain name Searched in breath and log in key, and key is logged in described in server transmission, so that the server logs in key according to and existed History logon information corresponding to being searched in predeterminable area, and the history logon information is fed back, specifically include:
Key is logged in described in being searched from the top-level domain information of target web, calls preset interface, by described default Key is logged in described in interface to server transmission, so that the server logs in key according to and looked into predeterminable area History logon information corresponding to looking for, and feed back the history logon information.
In addition, to achieve the above object, the present invention also provides a kind of client, and the client includes:Memory, processing Device and the log-on message processing routine that can be run on the memory and on the processor is stored in, at the log-on message The step of reason program is arranged for carrying out log-on message processing method as described above.
In addition, to achieve the above object, the present invention also proposes a kind of storage medium, and login is stored with the storage medium Message handling program, log-on message processing side as described above is realized when the log-on message processing routine is executed by processor The step of method.
In addition, to achieve the above object, the present invention also provides a kind of log-on message processing method, and methods described includes:
What server acquisition client was sent logs in key;
History logon information is searched from predeterminable area according to the key that logs in, and the history logon information is sent To the client, so that the client is logged according to the history logon information.
Preferably, before what the server acquisition client was sent logs in key, methods described also includes:
The history logon information of user is obtained, key is logged according to history logon information generation, and by described in Log in key and be sent to the client.
Preferably, the history logon information for obtaining user, logged according to history logon information generation close Key, and logged in described after key is sent to the client, methods described also includes:
The history logon information is issued into preset buffer memory server, so as to be gone through described in preset buffer memory server preservation History logon information;
Correspondingly, history logon information is searched from predeterminable area according to the key that logs in, and the history is logged in Information is sent to the client, so that the client is logged according to the history logon information, specifically includes:
The history logon information is searched from the preset buffer memory server according to the key that logs in, and gone through described History logon information is sent to the client, so that the client is logged according to the history logon information.
In addition, to achieve the above object, the present invention also provides a kind of server, and the server includes:Memory, processing Device and the log-on message processing routine that can be run on the memory and on the processor is stored in, at the log-on message The step of reason program is arranged for carrying out log-on message processing method as described above.
In addition, to achieve the above object, the present invention also proposes a kind of storage medium, and login is stored with the storage medium Message handling program, log-on message processing side as described above is realized when the log-on message processing routine is executed by processor The step of method.
User of the present invention, can be by obtaining when identical platform conducts interviews different business in the domain-name information of target pages Get and log in key, and logon information is got by the key that logs in, different business is realized by the logon information Log in, so as to which user only needs to log in once, so that it may other business in access platform.
Brief description of the drawings
Fig. 1 is the client terminal structure schematic diagram for the hardware running environment that scheme of the embodiment of the present invention is related to;
Fig. 2 is the schematic flow sheet of log-on message processing method first embodiment of the present invention;
Fig. 3 realizes cross-domain key handling schematic flow sheet for the present invention;
Fig. 4 is the schematic flow sheet of log-on message processing method second embodiment of the present invention;
Fig. 5 is the schematic flow sheet of log-on message processing method 3rd embodiment of the present invention;
Fig. 6 is the server architecture schematic diagram for the hardware running environment that scheme of the embodiment of the present invention is related to;
Fig. 7 is the schematic flow sheet of log-on message processing method fourth embodiment of the present invention;
Fig. 8 is the schematic flow sheet of the embodiment of log-on message processing method the 5th of the present invention.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Reference picture 1, Fig. 1 are the client terminal structure schematic diagram for the hardware running environment that scheme of the embodiment of the present invention is related to.
As shown in figure 1, the client can include:Processor 1001, such as CPU, communication bus 1002, user interface 1003, network interface 1004, memory 1005.Wherein, communication bus 1002 is used to realize the connection communication between these components. User interface 1003 can include display screen (Display), input block such as keyboard (Keyboard), optional user interface 1003 can also include wireline interface, the wave point of standard.Network interface 1004 can optionally connect including the wired of standard Mouth, wave point (such as WIFI interface).Memory 1005 can be high-speed RAM memory or stable memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor 1001 storage device.
It will be understood by those skilled in the art that the client terminal structure shown in Fig. 1 does not form the restriction to client, can With including than illustrating more or less parts, either combining some parts or different parts arrangement.
As shown in figure 1, as in a kind of memory 1005 of storage medium can include operating system, network service mould Block, Subscriber Interface Module SIM and log-on message processing routine.
In the client shown in Fig. 1, network interface 1004 is mainly used in connection server, and carrying out data with server leads to Letter;User interface 1003 is mainly used in connecting storage device, enters row data communication with terminal;Client of the present invention passes through processor The log-on message processing routine stored in 1001 calling memories 1005, and perform following operate:
Client obtains the access request of user;
The default domain-name information of target pages in the access request is extracted, searches and logs in from the default domain-name information Key, and key is logged in described in server transmission, so that the server logs in key according to and looked into predeterminable area History logon information corresponding to looking for, and feed back the history logon information;
The history logon information is received, is logged according to the history logon information.
Further, processor 1001 can call the log-on message processing routine stored in memory 1005, also perform Operate below:
The history logon information of user is obtained, the history logon information is sent to server, so that the server The history logon information is received, key is logged according to history logon information generation, and key is logged in described in feedback;
Key is logged in described in reception, the key that logs in is added in the top-level domain information of history page, will be added Top-level domain information afterwards is as the default domain-name information.
Further, processor 1001 can call the log-on message processing routine stored in memory 1005, also perform Operate below:
Key is logged in described in being searched from the top-level domain information of target web, calls preset interface, by described default Key is logged in described in interface to server transmission, so that the server logs in key according to and looked into predeterminable area History logon information corresponding to looking for, and feed back the history logon information.
The present embodiment user by client when identical platform conducts interviews different business, can be by target pages Got in domain-name information and log in key, and logon information is got by the key that logs in, it is real by the logon information Existing different business logs in, so as to which user only needs to log in once, so that it may other business in access platform.
Based on Fig. 1 hardware configurations, log-on message processing method embodiment of the present invention is proposed.
Reference picture 2, Fig. 2 are the schematic flow sheet of log-on message processing method first embodiment of the present invention.
In the first embodiment, the log-on message processing method comprises the following steps:
Step S10, client obtain the access request of user;
It should be noted that the executive agent in the present embodiment is client or is user terminal, refer to and server phase It is corresponding, the program of local service is provided for client, in addition to some the only application program in local runtime, is typically mounted at general , it is necessary to be worked in coordination operation with service end in logical client computer.After development of Internet, more common user terminal includes such as ten thousand The web browser that dimension net uses, receive email client when posting Email, and the client software of instant messaging Deng.For this kind of application program, it is necessary to there is corresponding server and service routine to provide corresponding service in network, in full Serviced according to storehouse, E-mail service etc., so at client-server end, it is necessary to specific communication connection be established, to protect The normal operation of application program is demonstrate,proved, the client can establish corresponding communication connection with server.
Illustrated it is understood that carrying out page browsing by web browser with user, user is passing through Baidu When carrying out page browsing, generally hundred can be being browsed by the interface of multiple other applications, such as user in target pages region When spending webpage, there is the website interface for logging in Sohu on Baidu's webpage, in this case, if user needs to browse to search During fox website, it can be logged in by clicking on Sohu.com's interface.The access request can be that user passes through on www.baidu.com Sohu's interface conducts interviews request.
Step S20, the default domain-name information of target pages in the access request is extracted, from the default domain-name information Lookup logs in key, and logs in key to described in server transmission, so that the server logs in key default according to History logon information corresponding to being searched in region, and feed back the history logon information;
It should be noted that the default domain-name information can be top-level domain information corresponding to target pages, from described pre- Found in meter domain-name information and log in key, history logon information is got by the key that logs in, stepped on by the history Land information is logged in.
It is understood that generally, it is not present in top-level domain information and logs in key, by webpage Have in top-level domain information and log in key, so as to realize without the account information that input user logs in again, realize once Log in, you can log in different application under identical platform.
In the specific implementation, the client can also get the page info of target, and extract in target pages information Domain name addresses, according to the top-level domain belonging to domain name address extraction domain name address, in the top-level domain information In get and log in key, because the login page address that multiple application programs in identical platform access is different, but pin Top-level domain to identical platform is identical, and key is logged in so as to be prestored in top-level domain, so as to not change platform In the case of, it can be achieved to log in different application in identical platform.
In order to further realize the Operational Visit to different domain names, can also in each operation system corresponding top-level domain In prestore and log in key, when the business to different domain names conducts interviews, extract logging in for top-level domain corresponding to different business Key, cross-domain log in is carried out by the key that logs in.
As shown in Figure 3 realizes cross-domain key handling schematic flow sheet, and user sends the access request of different domain names, bag It is a.xxx.com, b.xxx.com, c.xxx.com and d.xxx.com to include domain name, and in the present embodiment, user, which will access, to be believed Breath is sent to server, and server generates key according to the access information, and access information is sent into caching server and entered Row caching, the key that client the reception server is sent, key is added in the information of top-level domain, visited by the key Caching server is asked, so as to get logon information, and completes to log in by the logon information, can be by using hypertext mark Script tag is cross-domain writes cookie for note language (Hyper Text Markup Language, HTML), that is, is stored in client sheet The data on ground realize cross-domain information transmission by interface requests.
In order to further realize single-sign-on, the top-level domain information of target pages in the access request is extracted, from institute State the key that logs in searched in top-level domain information by writing the top-level domain in cookies, i.e. token Token, and Send the Token to server so that the server searched according to the Token in predeterminable area corresponding to history step on Land information, and feed back the history logon information.
It should be noted that the predeterminable area can be pre-assigned region in server, or in buffer service Data preservation is carried out in device, the caching server carries out data interaction with the server, and key hair will be logged in client When giving server, server logs in key by described, by access cache server, is searched in the caching server Related logon information, and by server, the logon information is sent to client, so that the client is automatically complete Into logging in.
Step S30, the history logon information is received, logged according to the history logon information.
It should be noted that the history logon information can be the logon information that server preserves in predeterminable area, Can be server by calling caching server, the logon information of the caching in the caching server, client is by obtaining The Token of server transmission is got, and is found by the Token in server or caching server and logs in letter accordingly Breath, and the logon information is fed back into the client, so that described complete to log in by logon information.
In the present embodiment user by client when identical platform conducts interviews different business, can be by target pages Domain-name information in get and log in key, and logon information is got by the key that logs in, passes through the logon information Logging in for different business is realized, so as to which user only needs to log in once, so that it may other business in access platform.
Further, as shown in figure 4, proposing that log-on message processing method second of the present invention is implemented based on first embodiment Example, in the present embodiment, before the step S20, methods described also includes:
Step S201, the history logon information of user is obtained, the history logon information is sent to server, so that institute State server and receive the history logon information, key is logged according to history logon information generation, and described in feedback Log in key;
It should be noted that logging in for other business applications is carried out for the first time for user in the present embodiment, first , it is necessary to be configured logon information when being logged in, after being preserved to the logon information, afterwards again with identical side The situation system that formula logs in, without resetting logon information.
After in the specific implementation, client gets the history logon information of user, the history logon information is sent out Server is given, server receives the history logon information of client transmission, the history logon information is encrypted into life Into unique token, i.e. Token, in the present embodiment, in order to realize the security of data, pass through Message Digest Algorithm 5 The mode of (Message Digest Algorithm 5, MD5) is encrypted, and can also be encrypted in other way, this Embodiment is not restricted to this.
The history logon information includes username and password, and the letter of matching corresponding user and corresponding user Data are ceased, the history logon information of reception is encrypted the unique Token tokens of generation, passes through Connection Cache service by server Device, using Token as key, user profile data carry out data storage as numerical value, and the Token is returned as return value Back to the client.
Step S202, key is logged in described in reception, by the top-level domain information for logging in key and being added to history page In, using the top-level domain information after addition as the default domain-name information.
It should be noted that described log in the Token data that key can be server generation, the Token data are added In the cookies information for the top-level domain being added in target pages, and the top-level domain information after addition is logged in as after Key.
In the specific implementation, after the Token data that client acquisition log on request returns, literal translated in JavaScript one kind Formula script aspect is added in the cookies of the affiliated top-level domain write-in of target domain name.
For the present embodiment by the key for generating server in client, the key is corresponding with logon information, will obtain To logon information be added in the information of top-level domain, so as to by it is described log in key and get log in letter accordingly Breath.
Further, as shown in figure 5, proposing that log-on message processing method the 3rd of the present invention is implemented based on first embodiment Example, in the present embodiment, the step S20, is specifically included:
Step S203, key is logged in described in lookup from the top-level domain information of target web, call preset interface, pass through Key is logged in described in the preset interface to server transmission, so that the server logs in key default according to History logon information corresponding to being searched in region, and feed back the history logon information.
It should be noted that target pages top-level domain be added token domain name information, from domain name The token is found in information, using the token as the key for obtaining logon information, and the token is passed through and preset Interface is sent to the server, and corresponding with the token letter is logged in so as to make server be found by the token Breath, and the logon information is sent to the client, so as to which client can carry out automated log on by the logon information.
In the specific implementation, in order to avoid logging in the loss of key, the key that logs in is sent to by preset interface The server, the preset interface and the data that other interfaces transmit independently distinguish, so as to high negative in system In the case of load, it is not easy to occur to log in key go out active during transmission the problem of.
It is understood that server in predeterminable area by the corresponding logon information for logging in cipher key lookup, and The logon information is fed back into the client, so as to complete the data interaction between client and server, beneficial to client Hold the more efficient log-on message that gets to complete to log in, the problem of landfall process caused by being delayed is slow is reduced, so as to improve use Experience at family.
The key that logs in is sent to the server by the present embodiment by client by preset interface, so as to logical Cross the key that logs in and get corresponding logon information, carried out data transmission in client with server by preset interface, So as in the case of system high capacity, be not easy to occur to log in key go out active during transmission the problem of.
Reference picture 6, Fig. 6 are the server architecture schematic diagram for the hardware running environment that scheme of the embodiment of the present invention is related to.
As shown in fig. 6, the server can include:Processor 2001, such as CPU, communication bus 2002, user interface 2003, network interface 2004, memory 2005.Wherein, communication bus 2002 is used to realize the connection communication between these components. User interface 2003 can include display screen (Display), input block such as keyboard (Keyboard), optional user interface 1003 can also include wireline interface, the wave point of standard.Network interface 2004 can optionally connect including the wired of standard Mouth, wave point (such as WI-FI interfaces).Memory 2005 can be high-speed RAM memory or stable memory (non-volatile memory), such as magnetic disk storage.Memory 2005 optionally can also be independently of aforementioned processor 1001 storage device.
It will be understood by those skilled in the art that the server architecture shown in Fig. 6 does not form the restriction to server, can With including than illustrating more or less parts, either combining some parts or different parts arrangement.
As shown in fig. 6, as in a kind of memory 2005 of storage medium can include operating system, network service mould Block, Subscriber Interface Module SIM and log-on message processing routine.
In the server shown in Fig. 6, network interface 2004 is mainly used in connecting client, and carrying out data with client leads to Letter;User interface 2003 is mainly used in connecting terminal, enters row data communication with terminal;Server of the present invention passes through processor 2001 The log-on message processing routine stored in memory 2005 is called, and performs following operate:
What server acquisition client was sent logs in key;
History logon information is searched from predeterminable area according to the key that logs in, and the history logon information is sent To the client, so that the client is logged according to the history logon information.
Further, processor 2001 can call the log-on message processing routine stored in memory 2005, also perform Operate below:
The history logon information of user is obtained, key is logged according to history logon information generation, and by described in Log in key and be sent to the client.
Further, processor 2001 can call the log-on message processing routine stored in memory 2005, also perform Operate below:
The history logon information is issued into preset buffer memory server, so as to be gone through described in preset buffer memory server preservation History logon information.
Further, processor 2001 can call the log-on message processing routine stored in memory 2005, also perform Operate below:
The history logon information is searched from the preset buffer memory server according to the key that logs in, and gone through described History logon information is sent to the client, so that the client is logged according to the history logon information.
The present embodiment in server by predeterminable area backup logon information, it is and the logon information is close by logging in The form of key is obtained, so as to receive when logging in key of client, by the key that logs in predeterminable area Corresponding logon information is got, and the logon information is fed back into the client, so that user passes through the client End completion logs in.
Based on above-mentioned Fig. 6 hardware configurations, log-on message processing method embodiment of the present invention is proposed.
Reference picture 7, Fig. 7 are the schematic flow sheet of log-on message processing method fourth embodiment of the present invention.
In the present embodiment, methods described includes step:
Step S10', what server acquisition client was sent logs in key;
It should be noted that executive agent in the present embodiment is server, user is sent to log in by client and asked When asking, client obtains the top-level domain information in target pages, i.e. cookies information, extracts in the cookies information Token。
It is understood that the Token is the historical information that server logs according to client user, by the history Generation Token is encrypted in account information in information, and the Token is sent into the client and handled, described After client receives the Token, in the cookies information for the top-level domain that the Token is added to target pages For using later.
In the specific implementation, the Token is server generates and sends to the client, and Token is preserved with stepping on The corresponding relation of land information, i.e., can find corresponding logon information by Token, and server can preserve the logon information Predeterminable area in the server, the logon information can be also sent in caching server and be preserved, in the present embodiment In, preferably it is sent in caching server and is preserved, so as to alleviates the operating pressure of server.
In order to realize the management to logging in key, timeliness setting, i.e., in preset time, institute are carried out to the key that logs in State and log in pot-life of key and be one month or be other, this is not restricted in this city embodiment, so as to the head of a household Phase without using it is described log in key when, the key that logs in is purged, consequently facilitating the management of info web.
Prescriptive jurisdiction is carried out to the key that logs in, may can also be pacified in user during long-term use for account Entirely, repeatedly account information can be managed, is probably to have lost for a long time for the key that logs in preserved in this case Effect log in key, can not complete to log in for the key to have failed, so as to for a long time without using log in key carry out Cleaning.
Step S20', history logon information is searched from predeterminable area according to the key that logs in, and the history is stepped on Land information is sent to the client, so that the client is logged according to the history logon information.
It should be noted that according to described in logging in key before predeterminable area is searched, can to it is described log in it is close Key is verified that, because the key that logs in is server generation, server can be tested the key that logs in accordingly Card, after being proved to be successful, history logon information is being searched from predeterminable area.
The present embodiment server is by predeterminable area backup logon information, and by the logon information by logging in key Form obtained, so as to receiving when logging in key of client, log in key by described in predeterminable area and obtain Corresponding logon information is got, and the logon information is fed back into the client, so that user passes through the client Completion logs in.
Further, as shown in figure 8, proposing that log-on message processing method the 5th of the present invention is implemented based on fourth embodiment Example, in the present embodiment, before the step S10', methods described also includes:
Step S101', the history logon information of user is obtained, logged according to history logon information generation close Key, and the key that logs in is sent to the client.
It should be noted that logging in for other business applications is carried out for the first time for user in the present embodiment, first , it is necessary to be configured logon information when being logged in, after being preserved to the logon information, afterwards again with identical side The situation system that formula logs in, without resetting logon information.
After in the specific implementation, client gets the history logon information of user, the history logon information is sent out Server is given, server receives the history logon information of client transmission, the history logon information is encrypted into life Into unique token, i.e. Token, in the present embodiment, in order to realize the security of data, it is encrypted by way of MD5, It can also be encrypted in other way, the present embodiment is not restricted to this.
The history logon information can also be issued preset buffer memory server by the server, so that the preset buffer memory takes Business device preserves the history logon information;
Correspondingly, history logon information is searched from predeterminable area according to the key that logs in, and the history is logged in Information is sent to the client, so that the client is logged according to the history logon information, specifically includes:
The history logon information is searched from the preset buffer memory server according to the key that logs in, and gone through described History logon information is sent to the client, so that the client is logged according to the history logon information.
The history logon information includes username and password, and the letter of matching corresponding user and corresponding user Data are ceased, the history logon information of reception is encrypted the unique Token tokens of generation, passes through Connection Cache service by server Device, using Token as key, user profile data carry out data storage as numerical value, and the Token is returned as return value Back to the client.
The logon information of user is encrypted generation by server and logs in key by the present embodiment, and by it is described log in it is close Key is sent to the client, so as to make the client be logged in by the key that logs in.
In addition, the embodiment of the present invention also proposes a kind of storage medium, log-on message processing is stored with the storage medium Program, following operation is realized when the log-on message processing routine is performed by first processor:
Client obtains the access request of user;
The default domain-name information of target pages in the access request is extracted, searches and logs in from the default domain-name information Key, and key is logged in described in server transmission, so that the server logs in key according to and looked into predeterminable area History logon information corresponding to looking for, and feed back the history logon information;
The history logon information is received, is logged according to the history logon information.
Further, following operation is also realized when the log-on message processing routine is performed by first processor:
The history logon information of user is obtained, the history logon information is sent to server, so that the server The history logon information is received, key is logged according to history logon information generation, and key is logged in described in feedback;
Key is logged in described in reception, the key that logs in is added in the top-level domain information of history page, will be added Top-level domain information afterwards is as the default domain-name information.
Further, following operation is also realized when the log-on message processing routine is performed by first processor:
Key is logged in described in being searched from the top-level domain information of target web, calls preset interface, by described default Key is logged in described in interface to server transmission, so that the server logs in key according to and looked into predeterminable area History logon information corresponding to looking for, and feed back the history logon information.
In the present embodiment user by client when identical platform conducts interviews different business, can be by target pages Domain-name information in get and log in key, and logon information is got by the key that logs in, passes through the logon information Logging in for different business is realized, so as to which user only needs to log in once, so that it may other business in access platform.
In addition, the embodiment of the present invention also proposes a kind of storage medium, log-on message processing is stored with the storage medium Program, following operation is realized when the log-on message processing routine is performed by second processor:
What server acquisition client was sent logs in key;
History logon information is searched from predeterminable area according to the key that logs in, and the history logon information is sent To the client, so that the client is logged according to the history logon information.
Further, following operation is also realized when the log-on message processing routine is performed by second processor:
The history logon information of user is obtained, key is logged according to history logon information generation, and by described in Log in key and be sent to the client.
Further, following operation is also realized when the log-on message processing routine is performed by second processor:
The history logon information is issued into preset buffer memory server, so as to be gone through described in preset buffer memory server preservation History logon information.
Further, following operation is also realized when the log-on message processing routine is performed by second processor:
The history logon information is searched from the preset buffer memory server according to the key that logs in, and gone through described History logon information is sent to the client, so that the client is logged according to the history logon information.
The present embodiment server is by predeterminable area backup logon information, and by the logon information by logging in key Form obtained, so as to receiving when logging in key of client, log in key by described in predeterminable area and obtain Corresponding logon information is got, and the logon information is fed back into the client, so that user passes through the client Completion logs in.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or system including a series of elements not only include those key elements, and And also include the other element being not expressly set out, or also include for this process, method, article or system institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Other identical element also be present in the process of key element, method, article or system.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
In if the unit claim of equipment for drying is listed, several in these devices can be by same hard Part item embodies.The use of word first, second, and third does not indicate that any order.These words can be explained For title.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in one as described above In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone, Computer, server, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair The equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.
The equivalent structure or equivalent flow conversion that specification and accompanying drawing content are made, or directly or indirectly it is used in other phases The technical field of pass, is included within the scope of the present invention.

Claims (10)

1. a kind of log-on message processing method, it is characterised in that the log-on message processing method comprises the following steps:
Client obtains the access request of user;
Extract the default domain-name information of target pages in the access request, from the default domain-name information search log in it is close Key, and key is logged in described in server transmission, so that the server logs in key according to and searched in predeterminable area Corresponding history logon information, and feed back the history logon information;
The history logon information is received, is logged according to the history logon information.
2. log-on message processing method as claimed in claim 1, it is characterised in that target in the extraction access request Before the default domain-name information of the page, methods described also includes:
The history logon information of user is obtained, the history logon information is sent to server, so that the server receives The history logon information, key is logged according to history logon information generation, and key is logged in described in feedback;
Key is logged in described in reception, the key that logs in is added in the top-level domain information of history page, after addition Top-level domain information is as the default domain-name information.
3. log-on message processing method as claimed in claim 1, it is characterised in that target in the extraction access request The default domain-name information of the page, searched from the default domain-name information and log in key, and it is close to being logged in described in server transmission Key so that the server logged according to key searched in predeterminable area corresponding to history logon information, and feed back institute History logon information is stated, is specifically included:
Key is logged in described in being searched from the top-level domain information of target web, preset interface is called, passes through the preset interface To the server send described in log in key so that the server logs in key according to and searched in predeterminable area pair The history logon information answered, and feed back the history logon information.
4. a kind of client, it is characterised in that the client includes:Memory, processor and it is stored on the memory And the log-on message processing routine that can be run on the processor, the log-on message processing routine are arranged for carrying out such as right It is required that the step of log-on message processing method any one of 1 to 3.
A kind of 5. storage medium, it is characterised in that log-on message processing routine is stored with the storage medium, it is described to log in letter Breath processing routine realizes the step of log-on message processing method as claimed any one in claims 1 to 3 when being executed by processor Suddenly.
6. a kind of log-on message processing method, it is characterised in that the log-on message processing method comprises the following steps:
What server acquisition client was sent logs in key;
History logon information is searched from predeterminable area according to the key that logs in, and the history logon information is sent to institute Client is stated, so that the client is logged according to the history logon information.
7. log-on message processing method as claimed in claim 6, it is characterised in that the server obtains what client was sent Before logging in key, methods described also includes:
The history logon information of user is obtained, logs in key according to history logon information generation, and log in described Key is sent to the client.
8. log-on message processing method as claimed in claim 7, it is characterised in that the history for obtaining user logs in letter Breath, key is logged according to history logon information generation, and is logged in described after key is sent to the client, Methods described also includes:
The history logon information is issued into preset buffer memory server, so that the preset buffer memory server preserves the history and stepped on Land information;
Correspondingly, history logon information is searched from predeterminable area according to the key that logs in, and by the history logon information The client is sent to, so that the client is logged according to the history logon information, is specifically included:
The history logon information is searched from the preset buffer memory server according to the key that logs in, and the history is stepped on Land information is sent to the client, so that the client is logged according to the history logon information.
9. a kind of server, it is characterised in that the server includes:Memory, processor and it is stored on the memory And the log-on message processing routine that can be run on the processor, the log-on message processing routine are arranged for carrying out such as right It is required that the step of log-on message processing method any one of 6 to 8.
10. a kind of storage medium, it is characterised in that log-on message processing routine, the login are stored with the storage medium The log-on message processing method as any one of claim 6 to 8 is realized when message handling program is executed by processor Step.
CN201711236716.1A 2017-11-28 2017-11-28 Log-on message processing method, client, server and storage medium Pending CN107743134A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711236716.1A CN107743134A (en) 2017-11-28 2017-11-28 Log-on message processing method, client, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711236716.1A CN107743134A (en) 2017-11-28 2017-11-28 Log-on message processing method, client, server and storage medium

Publications (1)

Publication Number Publication Date
CN107743134A true CN107743134A (en) 2018-02-27

Family

ID=61239831

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711236716.1A Pending CN107743134A (en) 2017-11-28 2017-11-28 Log-on message processing method, client, server and storage medium

Country Status (1)

Country Link
CN (1) CN107743134A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112214699A (en) * 2019-07-10 2021-01-12 腾讯科技(深圳)有限公司 Page processing method and related device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103795721A (en) * 2010-12-31 2014-05-14 北京奇虎科技有限公司 Network login method for client terminal
CN104426862A (en) * 2013-08-27 2015-03-18 腾讯科技(深圳)有限公司 Method, system, and browser realizing cross-domain request login
CN105472052A (en) * 2014-09-03 2016-04-06 阿里巴巴集团控股有限公司 Login method and system of cross-domain server
CN107359996A (en) * 2016-05-09 2017-11-17 阿里巴巴集团控股有限公司 Automatic logging method and device between more websites

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103795721A (en) * 2010-12-31 2014-05-14 北京奇虎科技有限公司 Network login method for client terminal
CN104426862A (en) * 2013-08-27 2015-03-18 腾讯科技(深圳)有限公司 Method, system, and browser realizing cross-domain request login
CN105472052A (en) * 2014-09-03 2016-04-06 阿里巴巴集团控股有限公司 Login method and system of cross-domain server
CN107359996A (en) * 2016-05-09 2017-11-17 阿里巴巴集团控股有限公司 Automatic logging method and device between more websites

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112214699A (en) * 2019-07-10 2021-01-12 腾讯科技(深圳)有限公司 Page processing method and related device
CN112214699B (en) * 2019-07-10 2023-11-07 腾讯科技(深圳)有限公司 Page processing method and related device

Similar Documents

Publication Publication Date Title
US9760909B2 (en) Systems and methods for generating lead intelligence
US8601591B2 (en) Method and apparatus for providing web privacy
US8180376B1 (en) Mobile analytics tracking and reporting
US8898272B1 (en) Identifying information in resource locators
US10447633B2 (en) Method and system for optimizing and preventing failure of sender policy framework (SPF) lookups
US20100064234A1 (en) System and Method for Browser within a Web Site and Proxy Server
CN104410546B (en) The method of testing and device of real time processing system
KR102504075B1 (en) Matching and attributes of user device events
CN103617267B (en) Socialized extension search method, device and system
CN105991398A (en) Instant message IM chatting records storage method and apparatus
EP3018884A1 (en) Mobile terminal cross-browser login method and device
CN102868719A (en) Network access method and server based on cache
JP2012520502A (en) System and method for integrating and operating a plurality of access statistics servers
CN102843357A (en) Network accessing method, application server and system
CN104426862A (en) Method, system, and browser realizing cross-domain request login
CN102783119A (en) Access control method and system, and access terminal
CN106897336A (en) Web page files sending method, webpage rendering intent and device, webpage rendering system
KR20180105653A (en) Method, apparatus and computer program for data processing and hierarchical domain name system zone files
CN108334569A (en) Insuring method, system, equipment and the storage medium connect based on short chain
CN102904765A (en) Method and equipment for data reporting
US20200336551A1 (en) Cross-site semi-anonymous tracking
US20070055775A1 (en) Method and system for controlling information access from a website via Web or WAP access
US20230205826A1 (en) Systems and Method for Domain Mapping
US10193988B2 (en) Setting a first-party user ID cookie on a web servers domain
US10587561B2 (en) Method and system for optimizing and preventing failure of Sender Policy Framework (SPF) lookups by dynamically generating and returning flattened SPF records

Legal Events

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

Application publication date: 20180227

RJ01 Rejection of invention patent application after publication