CN110298162A - Application client login method, device, computer equipment and storage medium - Google Patents
Application client login method, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN110298162A CN110298162A CN201910428918.9A CN201910428918A CN110298162A CN 110298162 A CN110298162 A CN 110298162A CN 201910428918 A CN201910428918 A CN 201910428918A CN 110298162 A CN110298162 A CN 110298162A
- Authority
- CN
- China
- Prior art keywords
- account
- authentication
- logging
- client
- application client
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 82
- 238000003860 storage Methods 0.000 title claims abstract description 36
- 230000014759 maintenance of location Effects 0.000 claims abstract description 122
- 230000000717 retained effect Effects 0.000 claims abstract description 5
- 238000004590 computer program Methods 0.000 claims description 18
- 238000004364 calculation method Methods 0.000 claims description 4
- 230000008569 process Effects 0.000 abstract description 21
- 230000002452 interceptive effect Effects 0.000 abstract description 6
- 238000011161 development Methods 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 14
- 230000005540 biological transmission Effects 0.000 description 11
- 230000006870 function Effects 0.000 description 10
- 238000004422 calculation algorithm Methods 0.000 description 7
- 238000001514 detection method Methods 0.000 description 5
- 238000012790 confirmation Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 238000012795 verification Methods 0.000 description 4
- 238000013459 approach Methods 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000005457 optimization Methods 0.000 description 2
- 238000004904 shortening Methods 0.000 description 2
- 241000208340 Araliaceae Species 0.000 description 1
- 241000196324 Embryophyta Species 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 108010001267 Protein Subunits Proteins 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000009897 systematic effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/33—User authentication using certificates
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the present application provides a kind of application client login method, device, computer equipment and computer readable storage medium.The embodiment of the present application belongs to application client development technique field, when realizing application client login service device, if client using account and password success login service device is retained, is that the client generates a logging on authentication by server, which is sent to client.In client login service next time device, judge whether client allows directly logged in from the background by logging on authentication by the first predetermined manner, if client judgement can directly logged in from the background by logging on authentication, it sends and retains account and logging on authentication to server, if server is verified retention account and logging on authentication, allow accessing server by customer end, the interactive process that the pop-up in accessing server by customer end logs in forms and user progress account and password confirming is avoided, the efficiency of accessing server by customer end is improved.
Description
Technical field
This application involves application client development technique field more particularly to a kind of application client login sides
Method, device, computer equipment and computer readable storage medium.
Background technique
In the conventional technology, Windows systematic difference programmatic client is generally logged in using account and password, if
Server passes through account and password authentification, which logins successfully, should if server does not pass through the account and password authentification
Account login failure.Client logs in every time, and client will be logged in forms by pop-up and carry out receiving the defeated of account and password
Enter or receive the confirmation to account and password, server is again verified the account and password to determine whether the account
Number success login service device.Even same account, when client carries out login service device, it is also desirable to which pop-up logs in window every time
Body carries out the input or confirmation of account and corresponding password, to extend account login time, reduces the effect of account login
Rate.
Summary of the invention
The embodiment of the present application provides a kind of application client login method, device, computer equipment and computer
Readable storage medium storing program for executing is able to solve application client in traditional technology and logs in inefficient problem.
In a first aspect, the embodiment of the present application provides a kind of application client login method, which comprises sentence
The disconnected instruction for whether receiving starting application client;If receiving described instruction, it is by the judgement of the first predetermined manner
It is no that there are the retention accounts of the application client and the corresponding logging on authentication of the retention account to determine whether to allow
The application client uses the logging on authentication login service device, wherein the retention account is the application program
Client uses the account retained after account and the corresponding password success login service device of the account;The retention account if it exists
Number and the logging on authentication, the retention account and the logging on authentication are obtained in file from prestoring, and send the retention account
Number and the logging on authentication to the server so that the application client logs in the server;It is described if it does not exist
Retain account and the logging on authentication, pop-up logs in forms to receive the account and the corresponding password of the account of user's input,
And the account and the password are sent to the server so that the application program logs in client and logs in the server.
Second aspect, the embodiment of the present application provide a kind of application client login method, which comprises connect
Receive the account and the corresponding logging on authentication of the account that application client is sent;According to preset condition judge the account and
Whether the logging on authentication is verified;If the account and the logging on authentication are verified, allow the application program visitor
Family end login service device;If the account and logging on authentication verifying do not pass through, the return of Xiang Suoshu application client is stepped on
Record the notice of failure.
The third aspect, the embodiment of the present application also provides a kind of application client entering devices, including for executing
The unit of application client login method described in any of the above-described.
Fourth aspect, the embodiment of the present application also provides a kind of computer equipments comprising memory and processor, it is described
It is stored with computer program on memory, realizes when the processor executes the computer program and is applied described in any of the above-described
Programmatic client login method.
5th aspect, it is described computer-readable to deposit the embodiment of the present application also provides a kind of computer readable storage medium
Storage media is stored with computer program, and the computer program makes the processor execute any of the above-described when being executed by processor
The application client login method.
The embodiment of the present application provides a kind of application client login method, device, computer equipment and computer
Readable storage medium storing program for executing.When the embodiment of the present application realizes the optimization of application client login process, if application client makes
With account and account corresponding password success login service device, by server be the application client generate one log in
Card, and the logging on authentication is sent to application client, application client stores the logging on authentication, in application program
When client login service next time device, if judging, application client starts login service device, is sentenced by the first predetermined manner
Disconnected retention account and the corresponding logging on authentication of the retention account with the presence or absence of the application client, to determine to be
It is no that the application client is allowed to use the logging on authentication login service device, wherein the retention account is described answers
The account retained after account and the corresponding password success login service device of the account is used with programmatic client.If judgement exists
The retention account of the application client and the corresponding logging on authentication of the retention account determine to allow the application program
Client uses the logging on authentication login service device, if it is determined that can by logging on authentication in backstage directly login service device,
From the retention account for obtaining the application client in file and the corresponding logging on authentication of the retention account is prestored, concurrently
Send the retention account and the logging on authentication to server, server receives the retention account and the retention account pair
After the logging on authentication answered, the retention account and logging on authentication are verified, if being verified to the retention account and logging on authentication, is permitted
Perhaps the direct login service device of application client logs in so as to avoid popping up in application client login service device
Forms and user carry out the interactive process of account and password confirming, exist since client passes through logging on authentication in a short period of time
Backstage directly carries out the verification process of application client login service device, to realize by shortening application client
Hold the process of login service device to improve the efficiency of application client login service device, while for users, due to not having
There is login interface and realize noninductive login, improves the login efficiency that user uses client, save using client
Cost.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to needed in embodiment description
Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is some embodiments of the present application, general for this field
For logical technical staff, without creative efforts, it can also be obtained according to these attached drawings other attached drawings.
Fig. 1 is the application scenarios schematic diagram of application client login method provided by the embodiments of the present application;
Fig. 2 is the client exemplary flow schematic diagram of application client login method provided by the embodiments of the present application;
Fig. 3 is that the server end exemplary flow of application client login method provided by the embodiments of the present application is illustrated
Figure;
Fig. 4 is a client and server interaction in application client login method provided by the embodiments of the present application
Flow diagram;
Fig. 5 is the schematic frame of the application client entering device provided by the embodiments of the present application applied to client
Figure;
Fig. 6 shows for another of the application client entering device provided by the embodiments of the present application applied to client
Meaning property block diagram;
Fig. 7 is the schematic of the application client entering device provided by the embodiments of the present application applied to server end
Block diagram;
Fig. 8 is another of the application client entering device provided by the embodiments of the present application applied to server end
Schematic block diagram;And
Fig. 9 is the schematic block diagram of computer equipment provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation description, it is clear that described embodiment is some embodiments of the present application, instead of all the embodiments.Based on this Shen
Please in embodiment, all other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall in the protection scope of this application.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " and "comprising" instruction
Described feature, entirety, step, operation, the presence of element and/or component, but one or more of the other feature, whole is not precluded
Body, step, operation, the presence or addition of element, component and/or its set.
It is also understood that mesh of the term used in this present specification merely for the sake of description specific embodiment
And be not intended to limit the application.As present specification and it is used in the attached claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singular, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in present specification and the appended claims is
Refer to any combination and all possible combinations of one or more of associated item listed, and including these combinations.
Referring to Fig. 1, the application scenarios that Fig. 1 is application client login method provided by the embodiments of the present application are illustrated
Figure.The application scenarios include:
(1) terminal.Application client is installed in terminal, after the application client starting in terminal, is needed
Login service device and server establish connection, and the terminal can be the electricity such as laptop, tablet computer or desktop computer
Sub- equipment, the terminal in Fig. 1 are connect with server.
(2) server.Server provides background service, the service for the application client application program in terminal
Device can be server cluster, distributed server or Cloud Server etc., and the server in Fig. 1 is connect with terminal.
Each body of work process in Fig. 1 is as follows: the application client in terminal judges whether to receive application
The instruction of programmatic client starting is sentenced if receiving the instruction of the application client starting by the first predetermined manner
Disconnected retention account and the corresponding logging on authentication of the retention account with the presence or absence of the application client is to determine whether
Allow the application client using the logging on authentication login service device, if there are the application clients for judgement
Retention account and the corresponding logging on authentication of the retention account, determine that the application client is allowed to use the login
Voucher login service device, if it is determined that the application client logs in the server using the logging on authentication, from prestoring
The retention account and the corresponding logging on authentication of the retention account are obtained in file, and are sent the retention account and described stepped on
Voucher is recorded to the server so that the application client logs in the server, if judgement applies journey there is no described
The retention account of sequence client and the corresponding logging on authentication of the retention account, judgement do not allow the application client to make
With the logging on authentication login service device, if it is determined that the application client is not allowed to log in institute using the logging on authentication
Server is stated, pop-up logs in forms to receive the account and the corresponding password of the account of user's input, and sends the account
With the password to the server so that the application client logs in the server, server receives application program
Client send account and the corresponding logging on authentication of the account, according to preset condition judge the account and it is described login with
Whether card is verified, if the account and the logging on authentication are verified, the application client is allowed to log in clothes
Business device, if the account and logging on authentication verifying do not pass through, Xiang Suoshu application client returns to the logical of login failure
Know, if application client is that this applies journey by server using account and the corresponding password success login service device of account
Sequence client generates a logging on authentication, and the logging on authentication is sent to application client, the application program in terminal
Client stores the logging on authentication, in application client subsequent login server, is by the judgement of the first predetermined manner
It is no that the application client is allowed to use the logging on authentication login service device for retaining account.
It should be noted that only illustrating desktop computer as terminal, in the actual operation process, terminal in Fig. 1
Type is not limited to shown in Fig. 1, and the terminal can also be the electronic equipments such as mobile phone, laptop or tablet computer, on
The application scenarios for stating application client login method are merely illustrative technical scheme, are not used to limit this Shen
Please technical solution, above-mentioned connection relationship can also have other forms.
Fig. 2 is the client schematic flow chart of application client login method provided by the embodiments of the present application.It should
Application client login method is applied in the client application in the terminal in Fig. 1, to complete application program visitor
The all or part of function of family end login method.As shown in Fig. 2, this approach includes the following steps S210-S290:
S210, judge whether to receive the instruction of starting application client.
Specifically, the application program of accounts multiple for retention, that is, there are the application programs that a machine is opened more, for example,
The case where application program is opened more there are a PC machine, may can also have multiple accounts, log in and take in application client
When business device, even if saving the corresponding password of account and account of successfully login service device, still once to be interacted with user,
Allowing user's selection, which account currently to be logged in be.But the application program for not allowing to retain multiple accounts, that is,
One client only binds the application program of an account, for application program, client user it is logged it is primary after,
Only retain the unique account of last time success login service device, client it is subsequent using the account login service device when can not
Display logs in forms, is implicitly logged in, and after success login service device, is directly entered main interface, steps on to realize without what is discovered
Record, for users, that is, realizes noninductive login, can shorten the login time of application program, improve stepping on for application program
Record efficiency.
When client terminal start-up login service device, either user's operation client logs in clothes to start application client
Business device or application client are construed as user's starting and answer with computer equipment starting up's login service device
With the operation of programmatic client login service device.If user launches application accessing server by customer end, user can be generated pair
The trigger action answered, for example, passing through the opening operation of double click client, opening operation triggers the meter of application client
Corresponding event in calculation machine program, operating system can sense the event triggered by user, and this event is converted to one
Specific message is sent in the message queue of application program, to realize that system passes through event notice corresponding in application program
Application client, the event that application client receives the trigger action that double click opens client corresponding disappear
Breath passes through the command detection for receiving client terminal start-up to client terminal start-up to realize.
If S220, receiving described instruction, the application client is judged whether there is by the first predetermined manner
Retention account and the corresponding logging on authentication of the retention account to determine whether to allow the application client using institute
State logging on authentication login service device;
If S230, judgement there are the retention account of the application client and the retentions account it is corresponding login with
Card determines that the application client is allowed to use the logging on authentication login service device.
Wherein, first predetermined manner includes in such a way that judgement logs in mark and by judging whether to be logged in
The mode of voucher.Wherein, log in mark be after application client success login service device be arranged one mark to show
There are logging on authentication, logging on authentication is after using account and password success login service device by application client by server
Application client is returned to so that application client is subsequent to can be used the card of logging on authentication success login service device
It is bright.
Retain account refer to can only bind an account application client retain unique account, that is, for
Do not allow to retain the application client of multiple accounts, an application client can only bind an account, described to stay
Depositing account is the application client using retaining after account and the corresponding password success login service device of the account
Account.
Specifically, if application client receives the instruction of the application client starting, application program visitor
Family end judges whether there is the retention account and the retention account pair of the application client by the first predetermined manner
The logging on authentication answered, and then according to whether there are the retention account of the application client and the retention account are corresponding
Logging on authentication is to determine whether to allow the application client to use the logging on authentication login service device.Described first is pre-
If mode includes that application client directly goes to prestore and searches whether that there are application program visitors in file such as database
The retention account at family end and the corresponding logging on authentication of the retention account, if application client is found from prestoring in file
The retention account and the logging on authentication, prestore described in judgement be stored in file the retention account and it is described log in
Card, and then determine that the application client is allowed to use the logging on authentication login service device or application client
End, which is gone in local file to search whether to exist, logs in mark, if prestoring described in judgement there are login mark in local file
It is stored with the retention account and the logging on authentication in file, and then determines to allow described in the application client use
Logging on authentication login service device.
It should be noted that judging whether described prestore is stored with described stay in file by searching for the mode for logging in mark
Account and the logging on authentication are deposited, and then determines whether that the application client is allowed to log in clothes using the logging on authentication
It is engaged in device, directly goes to prestore compared to client and search whether that there are the retention accounts of the client and the retention account in file
Corresponding logging on authentication is stored in local file and smaller than the data volume in database due to logging in mark, can sentence faster
It is disconnected that the direct login service device of logging on authentication whether can be used.
S240, if it is determined that allow the application client using the logging on authentication login service device, from prestoring text
The retention account and the corresponding logging on authentication of the retention account are obtained in part;
S250, the retention account and the logging on authentication are sent to the server so that the application client
Log in the server;
Specifically, the retention account and the login are stored in file if prestoring described in application client judgement
Voucher, and then determine that the application client is allowed to use the logging on authentication login service device, application client
From prestoring the retention account for obtaining the application client in file such as database and the retention account is corresponding steps on
Voucher is recorded, implicit login interface is called to send the retention account and the logging on authentication to server so that the application program
The direct login service device of client, server receive after the retention account and the logging on authentication to the retention account and
The logging on authentication is verified to determine whether application client success login service device.
If the retention account and the corresponding login of the retention account of the application client is not present in S260, judgement
Voucher, judgement do not allow the application client to use the logging on authentication login service device;
S270, if it is determined that the application client is not allowed to log in the server, bullet using the logging on authentication
Forms are logged in out;
S280, the account and the corresponding password of the account that user inputs are received from the login forms;
S290, the account and the password are sent to server so that the application client login service device.
Specifically, pre- by first if application client receives the instruction of the application client starting
If mode judge it is described prestore it is not stored in file have the retentions account and the logging on authentication, determine not allowing the application
Programmatic client uses the logging on authentication login service device, that is, determines that application client cannot directly log in clothes
Business device, pop-up log in forms to prompt user to input account and the corresponding password of account, log in forms i.e. the interface UI.Due to
Application client login service device is usually to be interacted to realize with user by the interface UI, confirms user's body by interaction
Part, to carry out the verifying of client user's identity.The interface UI usually provides two inputs, it is desirable that user inputs account and close
Code receives the account and the corresponding password of the account of user's input, then sends the account and the password to server
The application client login service device is carried out in a manner of through account and password.
In the embodiment of the present application, in order to realize noninductive login when application client subsequent login server,
After application client gets user account and password, by calling the login of account and password of login service device to connect
Mouthful, server background is sent data to, server background is after getting account and password, to the account that gets and close
Code is verified, if unique login credential is generated for active user, after server to the account got and password authentification success
Account and logging on authentication are sent to application client by platform, application client while success login service device,
User account and logging on authentication that server is sent are stored to local data base, and the data such as logging on authentication are carried out at encryption
Reason, thus after user is using account and password success login service device, in the subsequent each login clothes of application client
When business device, logged in by going local data base to read account and logging on authentication with completing application client using logging on authentication
Server avoids user when application client logs in every time, and all pop-up logs in forms and user interacts to confirm
Account and password improve to save login time and log in efficiency, meanwhile, user account is only recorded, user password is not carried out
Record, can preferably protect user information.
Fig. 3 is the server end schematic flow chart of application client login method provided by the embodiments of the present application.
The application client login method is applied in the server in Fig. 1, to complete application client login method
All or part of function.As shown in figure 3, this approach includes the following steps S310-S340:
S310, account and the corresponding logging on authentication of the account that application client is sent are received;
S320, judge whether the account and the logging on authentication are verified according to preset condition;
If S330, the account and the logging on authentication are verified, allow the application client login service
Device;
If S340, the account and logging on authentication verifying do not pass through, Xiang Suoshu application client, which returns, to be logged in
The notice of failure.
Wherein, preset condition includes the account and when whether the logging on authentication whether there is, matches and meet
Effect property.Wherein, if matching refers to whether password is the corresponding password of the account, and timeliness refers to whether logging on authentication is to have
It imitates in the time limit.
Specifically, if starting application client login service device, the terminal where application client is by answering
With event notification applications programmatic client corresponding in the computer program of programmatic client, application client receives this
The corresponding message of event can detect that application client starts.If application client receives the application program
The instruction of client terminal start-up determines whether that the client uses the logging on authentication for retaining account by the first predetermined manner
Login service device, if the logging on authentication, which can be used, by the judgement of the first predetermined manner in application client directly logs in clothes
Be engaged in device, from prestore the retentions account and the logging on authentication are obtained in file and send the retention account and it is described login with
For card to server, server receives the account and the corresponding logging on authentication of the account of application client transmission, verifying
The account and the logging on authentication, for example, verifying the account and the logging on authentication whether there is, verify the account and
Whether the logging on authentication matches, verify the account and the logging on authentication whether effectively, server is according to verification result
Judge that the account and the logging on authentication verify whether to pass through, if the account and the logging on authentication are verified, for example,
The account and the logging on authentication, which meet, to be existed, matches and be the conditions such as effective, and the application client is allowed
Success login service device, if the account and logging on authentication verifying do not pass through, for example, the account and the logging on authentication
It is not present, mismatches either invalid, the notice of Xiang Suoshu application client return login failure.
When the embodiment of the present application realizes the optimization of application client login process, if application client uses account
Password success login service device corresponding with account is the application client one logging on authentication of generation by server, and
The logging on authentication is sent to application client, application client stores the logging on authentication, in application client
When holding subsequent login server, if detecting, application client starts login service device, is judged by the first predetermined manner
Whether application client can directly carry out login service device on backstage by logging on authentication, if application client is sentenced
It is disconnected login service device directly to be carried out on backstage by logging on authentication, the application client is obtained in file from prestoring
Account and the corresponding logging on authentication of the account, and send the account and the logging on authentication to server, server connects
After receiving account and the corresponding logging on authentication of account, the account and logging on authentication are verified, if testing the account and logging on authentication
Card passes through, and allows the direct login service device of application client, so as to avoid in application client login service device
When pop-up log in the interactive process that forms and user carry out account and password confirming, since application client is when very short
The interior logging on authentication that passes through is in the direct verification process for having carried out application client login service device from the background, to realize
Process by shortening application client login service device improves the efficiency of application client login service device, simultaneously
For users, noninductive login is realized due to being not logged on interface, improves user's stepping on using application client
Efficiency is recorded, the cost using application client is saved.
Referring to Fig. 4, Fig. 4 is an application program in application client login method provided by the embodiments of the present application
Client and server interaction flow schematic diagram.As shown in figure 4, the process the following steps are included:
S4001, client receive the operation for using account and password login server.
Wherein, client refers to application client.
Specifically, client receives the operation for using account and password login server, and it is logical to refer to that client receives user
Cross input account and password login server operation, including client install on a computing device successfully after first log into clothes
Be engaged in by the operation of login interface and user by the menu of client inputting account and password using login interface when device so that
The operation of accessing server by customer end.For example, client receives the operation for first logging into server, client first logs into service
When device, client receives user and is initially opened the operation of accessing server by customer end, for example, double-clicking client or passing through menu
Client is opened, client pop-up logs in forms so that user inputs account and password by logging in forms to step on using account is close
Record server.
S4002, client pop-up log in forms and receive the account and password of user's input.
Specifically, client logs in forms by the pop-up of the interface UI to prompt user to input account and password, and client is logical
It crosses and logs in account and password that forms receive user's input, and sent out the account received and password according to the log-in instruction of user
It send to server, wherein UI, English are User Interface, are abbreviated as UI, refer to user interface.
S4003, server receive the account and password that client is sent.
The account and password that S4004, server authentication receive.
Specifically, the account and password that server authentication receives whether there is in the database of server, if service
Device verifying account and password exist in the database of server, verify the account received and password and pre-stored data whether one
Cause, if judgement is consistent, server passes through the account and password authentification that receive, if account and password be not present or account and
Password is inconsistent with pre-stored data, and server does not pass through the verifying of the account and password that receive.
S4005, server judge whether account and password authentification pass through.
Specifically, whether the account and password authentification that server is sent according to the client that verification result judgement receives lead to
It crosses, that is, verifies the account received and password to determine whether client can succeed login service device, if server is sentenced
Disconnected account and password authentification pass through, and allow client success login service device, client success login service device, if server is sentenced
Disconnected account and password are not verified, and server does not allow client to log in, accessing server by customer end failure.
S4006, server judge client login failure.
Specifically, if server does not pass through the account of the client transmission received and password authentification, client is logged in
Failure, server send the prompt information of login failure to client.
S4007, server judge that client logins successfully, server according to predetermined manner be current account generate log in
Card.
Specifically, if server passes through the account and password authentification that receive, allow client success login service device,
And corresponding logging on authentication is generated for current account according to predetermined manner, and account and the corresponding logging on authentication of the account are returned
Client is back to so that client is subsequent to use the direct login service device of the logging on authentication.
Wherein, logging on authentication, and it is properly termed as the identity code of login banner or account, it is raw according to predetermined manner
At a string be different from password character string, be client account using account and password success login service device after after
The foundation of continuous login service device, logging on authentication includes Token and eap-message digest.Account, should by logging on authentication login service device
It plants login mode and enters ginseng difference using account and the mode of password login server, relative to the login of the close mode of account, log in
Voucher can be avoided the leakage of account and password due to the concealment of generating mode, relative to directly use password it is more safe
Property, simultaneously because directly carrying out backstage login using logging on authentication, avoids pop-up and log in forms and user's progress close confirmation of account
Interactive process, shorten login time, improve login efficiency, wherein account and the mode of password are referred to as the close mode of account.
Further, generate logging on authentication mode have it is following several:
(1) using Token as logging on authentication, that is, as the identity code of account.Under normal conditions, it uses
Token proves the legal status of oneself as the component part of certification or verifying, and in the embodiment of the present application, Token
It is to exist and use as individual logging on authentication, so as to make client carry out login service device using Token.
Specifically, if server passes through the account and password authentification that receive, client is logined successfully, and server can be with
Token value is generated by MD5 algorithm using the request subject string and password for sending client, for improving transmission process parameter
Tamper-resistance properties, the generation of Token value shares 2 steps: 1) construct the subject string that client request logs in, subject string include account,
Termination ID and the identification information of client etc.;2) generate Token value, thus for current account and password generate unique login with
Card, that is, identity code Token, and account and Token are back to client, the subsequent client account is logged in
When, it is directly logged in using account and Token, so that no longer pop-up forms allow client to input account and password or carry out account
The interactive processes such as close confirmation thereby may be ensured that the safety of the client unique account and password due to the safety of Token
Property.
(2) logging on authentication is generated with Message Digest 5.Wherein, Message Digest 5, English are Message-Digest
Algorithm, and it is properly termed as digest algorithm or hash algorithm, it is divided into three classes:
1) MD (Message Digest): eap-message digest, comprising: MD2, MD4, MD5;
2) SHA (Secure Hash Algorithm): secure hash;
3) MAC (Message Authentication Code): message authentication code.
S4008, server are that timeliness is arranged in logging on authentication.
Specifically, timeliness can also be arranged for logging on authentication in server, for example, timeliness is set as a week, one
A month, or until when next new logging on authentication generates.When logging on authentication fails after meeting timeliness condition,
When client is logged in using logging on authentication, server can prompt client login failure, so that client pop-up includes input account
Number and password login forms, allow client to re-enter account and password log in, and is raw according to the account of input and password
The logging on authentication of Cheng Xin, to guarantee the login security of account.For example, the logging on authentication Token that server is client is set
Set timeliness, timeliness is a week, one month, or until when next new Token generation, wherein it is next
New Token, which is generated, refers to that server receives the account of client transmission and password generates new Token, for example, user's weight
It is newly provided with password or user and the situations such as account and password has been re-entered by menu.After Token timeliness, visitor
When family end is logged in using Token, server prompts client login failure, the forms of client pop-up input account and password,
It allows client to re-enter account and password logs in, and generate new Token according to the account of input and password, to guarantee
The login security of account.
S4009, client judge whether successfully login service device according to the information received.
Specifically, after client sends account and password to server, judge whether to step on according to the return information of server
It records successfully, if client receives the prompt information that server returns to login failure, client return step S4002, to user
Login failure is prompted, the login forms of pop-up input account and password, allow client to re-enter account and password, if client again
Termination receives server and returns to account and logging on authentication, and accessing server by customer end success enters main interface simultaneously with account identity
Enter step S4010.
S4010, client storage account and logging on authentication to storage file so that client it is subsequent using logging on authentication from
Backstage directly login service device.
Specifically, client storage account and logging on authentication to storage file so that client it is subsequent using logging on authentication from
Backstage directly login service device, for example, client storage account and logging on authentication are to local data base so that client is subsequent makes
With logging on authentication from backstage directly login service device, so that pop-up login forms and user be avoided to interact to confirm that account is close
Process improves client and logs in efficiency.
Further, client stores logging on authentication in an encrypted form.Client can encrypt local data base
Processing encrypts logging on authentication to realize.It should be noted that since the process that logging on authentication generates especially is made a summary calculation
The logging on authentication that method generates is exactly encrypted form, and the process that only logging on authentication generates is properly termed as interior encryption, encryption herein
It is the further encryption to logging on authentication, is referred to as outer encryption, to is encrypted twice by interior encryption and outer encryption into one
Step guarantees the safety of logging on authentication.Wherein, there are two types of modes for encryption:
(1) local data base is encrypted, the account and logging on authentication of storage are also just encrypted, for example, to this
Ground database is encrypted, and the account and Token of storage are also just encrypted;
(2) logging on authentication or account and logging on authentication are encrypted, then by account and encrypted logging on authentication
It stores to local data base, for example, encrypted to Token or account and Token, then by account and encrypted
Token is stored to local data base.
Client first logs into mark in S4011, write-in local cache file.
Wherein, logging in mark is client using account and password success login service device and receives stepping on for server return
A mark being arranged after record voucher is to show that there are logging on authentications, it is understood that described for describing for login mark
Application client after the retention account and the logged server of the retention account corresponding password success using existing
The data such as the logging on authentication for retaining account, wherein the login mark can carry out assignment for preset characters, for example, being
Preset characters are assigned a value of " 0 ", show to be assigned a value of " 1 " not in the presence of mark is logged in for preset characters and show there is login mark.
Specifically, if accessing server by customer end is successfully followed by receiving the account and logging on authentication that server returns, such as
Token, that is, after user is using account and the success of password login server, client in local cache is written and successfully steps on
The login mark for recording server has succeeded logged server for indicating client, in each login service device of client
When, first go in local cache file search log in mark, if there is log in indicate, and then go local data base read account and
Logging on authentication is to use logging on authentication to complete accessing server by customer end.Further, when unloading client, local log-on mark
It deletes, carries out accessing server by customer end using original local log-on mark to avoid the client reinstalled, thus
Guarantee the safety of original account.
S4012, client is written to booting item.
Specifically, by client write-in starting up, that is, write-in registry boot item.Client is written and is switched on
, with the starting up of computer equipment, when client detects computer equipment booting, indicated according to local log-on implicit
The login interface login service device of logging on authentication is called, to realize the noninductive rapid login service device of client, can guarantee account
Shorten starting up's time while close disclosure risk, it, can be further particularly with the application program just used that is switched on is needed
The efficiency of application client starting is improved, for example office communication software is after starting computer for the application scenarios of office
Start after client starts client after running background, starting computer and is stepped on according to local login identification implicit invocation Token
Record interface login service device.Token login interface, which is that client is noninductive, logs in the important step realized, to receive server
PUSH message may be implemented quickly to open the application program if user is needed using this application program.
S4013, client receive the operation for being again started up accessing server by customer end.
Specifically, when detecting that client is again started up, that is, detect user open client operation when, no matter
It is by opening client or with starting up starting client, client call uses logging on authentication login service device
Login interface, or S4014 is entered step, for example, calling Token to log in when detecting that client logs on server
Interface login service device, or enter step S4014.
S4014, client are from local cache file search with the presence or absence of login mark.
Specifically, client first goes local cache text to search whether there is login mark, mark is logged in if it exists, into step
Rapid S4015, if do not find login mark, pop-up input account and password login interactive interface, receive user input account and
Password carries out conventional login using the close mode of account.
S4015, client read account and logging on authentication from local prestore in file.
Specifically, client first goes local cache text to search whether there is login mark, logs in mark, client if it exists
It goes local prestore to read account and logging on authentication in file, for example local data base is gone to read account and logging on authentication, use account
Number and logging on authentication login interface implicitly logged in, account and logging on authentication are sent to server so that server authentication is objective
The implicit login at family end.Since account and logging on authentication are generally not in problem in implicitly logging in, to make client can be with
Directly success login service device is compared by using login mark and database is directly gone to read account and logging on authentication, Neng Gougeng
Fast judges, and saves login time, improves and logs in efficiency.For example, local data base is gone to read account and Token, use
Account and Token login interface are implicitly logged in, and account and Token are sent to server so that server authentication client
Implicit login, since account and Token are generally not in problem in implicitly logging in, so that client be allow directly to succeed
Login service device can be made faster and sentence by using mark is logged in compared to directly going database to read account and Token
It is disconnected, login time is saved, improves and logs in efficiency.
S4016, server receive the account and logging on authentication that client is sent.
Specifically, server receive client send account and logging on authentication, for example, server receive account and
Token is further to verify account and logging on authentication.
The account and logging on authentication that S4017, server authentication receive.
Specifically, server receives the account and logging on authentication that client is sent, for example, the account that server authentication receives
Number and Token.The account and logging on authentication that server sends the client that receives can carry out existence, matching and when
The verifying of effect property, specifically includes the following contents:
(1) existence is verified.
Specifically, server is gone in server database to verify whether there are corresponding account and logging on authentication, if service
It there are corresponding account and logging on authentication in device database, is verified, if corresponding account is not present in the database of server
Number and logging on authentication, verifying do not pass through.For example, go in server database to verify whether that there are corresponding account and Token, if
It there are corresponding account and Token in server database, is verified, if corresponding account is not present in the database of server
Number and Token, verifying do not pass through.
(2) matching is verified.
Specifically, matching is properly termed as consistency again, refers in the account received and logging on authentication and storage file
Whether the account of storage is consistent with logging on authentication, or the information in verifying logging on authentication.For example, the account and login that receive
Voucher is A and B, and the account and logging on authentication stored in database is A and C, it can be determined that account and logging on authentication are inconsistent.Again
For example, verifying logging on authentication in information, since logging on authentication is generated by preset algorithm, can by verifying login with
Whether the information of information and acquisition in card is unanimously verified logging on authentication, for example, verifying Token in account information and
Whether the account information received is consistent, right if consistent with the account information received by the account information in verifying Token
Token is verified, if the account information in unverified Token is consistent with the account information received, is verified to Token
Do not pass through.
(3) timeliness is verified.
Specifically, verifying logging on authentication whether meet time limit condition within the length of limitation period, for example, setting logging on authentication when
Effect property be one month, if being less than one month, it can be determined that logging on authentication is effective, if having spent one month, it can be determined that log in
Card failure.
S4018, server judge whether the verifying by account and logging on authentication.
Specifically, whether server authentication receives account and logging on authentication meet the presence of account and logging on authentication
Property, matching and timeliness, if account and logging on authentication that server authentication receives meet the presence of account and logging on authentication
Property, matching and timeliness, server pass through the account and password authentification that receive, if if the account that server authentication receives
Number and logging on authentication be unsatisfactory for the existence, matching or timeliness of account and logging on authentication, server is to the account received
Number and password authentification do not pass through.
If S4019, server are verified account and logging on authentication, client is allowed successfully to log in, is sent out to client
Send login service device successful information, the main interface after client display login.
If S4020, server do not pass through account and logging on authentication verifying, server does not allow client login service
Device, accessing server by customer end failure, server send the information of login service device failure, Client-Prompt user to client
Login failure, the close login forms of client pop-up input account, allows user to input account and password, user is allowed to pass through the close use of account
Traditional approach carries out.
S4021, client judge whether successfully login service device according to the information received.
Specifically, if client receives the information logined successfully, client success login service device is judged, if client
The information for receiving login failure judges that accessing server by customer end fails.
If S4022, client receive the information of accessing server by customer end failure, Client-Prompt user, which logs in, to be lost
It loses, enters step S4002, the close login forms of pop-up input account allow user to input account and password, close using tradition by account
Mode carries out.
If S4023, client receive the successful information of accessing server by customer end, client show login service device at
Main interface after function, to realize noninductive implicit login.
Duration is not operated on S4024, detection client.
Specifically, whether there is operation in client detection application program, such as by whether having on detection customer terminal webpage
The touch operation etc. for whether thering is touch screen to transmit in mouse sliding, or detection customer terminal webpage, if not there is operation in client,
There is not the duration of operation in statistics client.
S4025, client judge not operate whether duration is more than preset duration threshold value on client end interface.
Specifically, if client, which detects, operation in application program, show that client is in by use state, into step
Rapid S4027 keeps application client to be in bright screen state, does not change the state of client, if detecting in application program
There is not operation more than preset duration threshold value, enter step S4026, starts application program screen locking.
If S4026, client, which detect, does not operate duration more than preset duration threshold value, screen lock state is set.The screen locking
State, that is, by the way that the page preset the page and block the logging state currently shown is arranged, to protect user client information
Safety.
It should be noted that application client login method described in above-mentioned each embodiment, can according to need
The technical characteristic for including in different embodiments is re-started into combination, to obtain the embodiment after combination, but all in the application
It is required that protection scope within.
Referring to Fig. 5, Fig. 5 is the application client entering device provided by the embodiments of the present application applied to client
Schematic block diagram.Corresponding to above-mentioned application client login method, the embodiment of the present application also provides a kind of application program
Client entering device.As shown in figure 5, the application client entering device includes above-mentioned applied to client for executing
Application client login method unit, which can be configured in the computer equipments such as terminal.Specifically, it asks
Refering to Fig. 5, which includes the first judging unit 501, second judgment unit 502, obtains list
First 503, first transmission unit 504, pop-up unit 505, the first receiving unit 506 and the second transmission unit 507.
Wherein, the first judging unit 501 receives the instruction for starting application client for judging whether;
Second judgment unit 502, if being judged whether there is by the first predetermined manner described for receiving described instruction
The retention account of application client and the corresponding logging on authentication of the retention account are described using journey to determine whether to allow
Sequence client uses the logging on authentication login service device, wherein the retention account is that the application client uses
The account retained after account and the corresponding password success login service device of the account;
Acquiring unit 503, for the retentions account and the logging on authentication if it exists, from prestoring in file described in acquisition
Retain account and the logging on authentication;
First transmission unit 504, for sending the retention account and the logging on authentication to the server so that institute
It states application client and logs in the server;
Unit 505 is popped up, for the retention account and the logging on authentication if it does not exist, pop-up logs in forms;
First receiving unit 506, for receiving the account and the corresponding password of the account of user's input;
Second transmission unit 507, for sending the account and the password to the server so that described using journey
Sequence client logs in the server.
Referring to Fig. 6, Fig. 6 is the application client entering device provided by the embodiments of the present application applied to client
Another schematic block diagram.As shown in fig. 6, in this embodiment, the second judgment unit 502 includes:
First judgment sub-unit 5021, for judging described prestore whether be stored with the retention account and described in file
Logging on authentication;
First determines subelement 5022, if determining to allow institute for being stored with the retention account and the logging on authentication
It states application client and uses the logging on authentication login service device;
Second determines subelement 5023, if having the retention account and the logging on authentication for not stored, judgement is not permitted
Perhaps the described application client logs in the server using the logging on authentication.
In one embodiment, the second judgment unit 502 includes:
Second judgment sub-unit, it is described for judging with the presence or absence of the login mark for retaining account in local file
Log in mark for describe the application client using the retention account and the corresponding password of the retention account at
The logged server of function;
Third determines subelement, for the login mark if it exists, judges staying there are the application client
Account and the corresponding logging on authentication of the retention account are deposited to determine to allow the application client to use the retention account
Number logging on authentication login service device;
4th determines subelement, and the application client is not present for the login mark, judgement if it does not exist
Retention account and the corresponding logging on authentication of the retention account to determine not allow described in the application client use
Logging on authentication logs in the server.
Please continue to refer to Fig. 6, as shown in fig. 6, in this embodiment, the application client entering device 500 is also
Include:
Storage unit 508, for receiving the logging on authentication of the server return and storing the logging on authentication to institute
It states and prestores file, the logging on authentication is to use the retention account and the retention account pair in the application client
It is generated by the server using the second predetermined manner when the password answered successfully logs in the server.
Referring to Fig. 7, Fig. 7 is that the application client provided by the embodiments of the present application applied to server end logs in dress
The schematic block diagram set.Corresponding to the application client login method of above-mentioned server end, the embodiment of the present application is also provided
A kind of application client entering device applied to server end.As shown in fig. 7, the application client entering device
Including the unit for executing the above-mentioned application client login method applied to server end, which can be configured
In the computer equipments such as server.Specifically, referring to Fig. 7, the application client entering device 700 connects including second
It receives unit 701, third judging unit 702, log in unit 703 and return unit 704.
Wherein, the second receiving unit 701, the account and the account for receiving application client transmission are corresponding
Logging on authentication;
Third judging unit 702 is logical for judging whether the account and the logging on authentication are verified according to preset condition
It crosses;
Logging in unit 703 allows the application client if being verified for the account and the logging on authentication
Hold login service device;
Return unit 704, if not passing through for the account and logging on authentication verifying, Xiang Suoshu application client
End returns to the notice of login failure.
Referring to Fig. 8, Fig. 8 is that the application client provided by the embodiments of the present application applied to server end logs in dress
Another schematic block diagram set.As shown in figure 8, in this embodiment, the application client entering device 700 also wraps
It includes:
Third receiving unit 705, the account and the account pair sent for receiving the application client
The password answered;
4th judging unit 706, for judging whether the account and the password authentification pass through;
Generation unit 707, if passing through for the account and the password authentification, using described in the generation of the second predetermined manner
The corresponding logging on authentication of account;
Third transmission unit 708, for the logging on authentication to be sent to the application client so that described answer
The logging on authentication login service device is used with programmatic client is subsequent.
In one embodiment, the generation unit 707, for by obtaining Token value or being calculated by eap-message digest
Method obtains eap-message digest to generate the corresponding logging on authentication of the account.
It should be noted that it is apparent to those skilled in the art that, above-mentioned application client is stepped on
The specific implementation process of recording device and each unit, can be with reference to the corresponding description in preceding method embodiment, for the side of description
Just and succinctly, details are not described herein.
Meanwhile the division of each unit and connection type are only used for illustrating in above-mentioned application client entering device
It is bright, in other embodiments, application client entering device can be divided into as required to different units, can also will answered
The different order of connection and mode are taken, with each unit in programmatic client entering device to complete above-mentioned application client
All or part of function of entering device.
Above-mentioned application client entering device can be implemented as a kind of form of computer program, the computer program
It can be run in computer equipment as shown in Figure 9.
Referring to Fig. 9, Fig. 9 is a kind of schematic block diagram of computer equipment provided by the embodiments of the present application.The computer
Equipment 900 can be desktop computer, and perhaps the computer equipments such as server are also possible to component or portion in other equipment
Part.
Refering to Fig. 9, which includes processor 902, memory and the net connected by system bus 901
Network interface 905, wherein memory may include non-volatile memory medium 903 and built-in storage 904.
The non-volatile memory medium 903 can storage program area 9031 and computer program 9032.The computer program
9032 are performed, and processor 902 may make to execute one such application programmatic client login method.
The processor 902 is for providing calculating and control ability, to support the operation of entire computer equipment 900.
The built-in storage 904 provides environment for the operation of the computer program 9032 in non-volatile memory medium 903, should
When computer program 9032 is executed by processor 902, processor 902 may make to execute one such application programmatic client and log in
Method.
The network interface 905 is used to carry out network communication with other equipment.It will be understood by those skilled in the art that in Fig. 9
The structure shown, only the block diagram of part-structure relevant to application scheme, does not constitute and is applied to application scheme
The restriction of computer equipment 900 thereon, specific computer equipment 900 may include more more or fewer than as shown in the figure
Component perhaps combines certain components or with different component layouts.For example, in some embodiments, computer equipment can
Only to include memory and processor, in such embodiments, reality shown in the structure and function and Fig. 9 of memory and processor
It is consistent to apply example, details are not described herein.
By taking the computer equipment is terminal as an example, the processor 902 is for running computer stored in memory
Program 9032, to realize following steps: judging whether to receive the instruction of starting application client;If receiving the finger
It enables, the retention account of the application client is judged whether there is by the first predetermined manner and the retention account corresponds to
Logging on authentication to determine whether to allow the application client using the logging on authentication login service device, wherein institute
Stating and retaining account is the application client using staying after account and the corresponding password success login service device of the account
The account deposited;The retention account and the logging on authentication if it exists obtain the retention account and described from prestoring in file
Logging on authentication, and the retention account and the logging on authentication are sent to the server so that the application client is stepped on
Record the server;The retention account and the logging on authentication if it does not exist, pop-up log in forms to receive user's input
Account and the corresponding password of the account, and the account and the password are sent to the server so that the application program
It logs in client and logs in the server.
In one embodiment, if the processor 902 realize it is described receive described instruction, pass through the first predetermined manner
The retention account and the corresponding logging on authentication of the retention account for judging whether there is the application client are to determine to be
When the no step for allowing the application client to use the logging on authentication login service device, following steps are implemented:
It is prestored described in judgement and whether is stored with the retention account and the logging on authentication in file;
If being stored with the retention account and the logging on authentication, determine to allow described in the application client use
Logging on authentication login service device;
If not stored have the retention account and the logging on authentication, judgement does not allow the application client to use
The logging on authentication logs in the server.
In one embodiment, if the processor 902 realize it is described receive described instruction, pass through the first predetermined manner
The retention account and the corresponding logging on authentication of the retention account for judging whether there is the application client are to determine to be
When the no step for allowing the application client to use the logging on authentication login service device, following steps are implemented:
Judge that, with the presence or absence of the login mark for retaining account in local file, the login mark is described for describing
Application client uses the retention account and the logged server of the corresponding password success of the retention account;
The login mark if it exists, there are the retention accounts of the application client and the retention account for judgement
Corresponding logging on authentication is to determine to allow the application client to use the logging on authentication login service for retaining account
Device;
The retention account and the retention of the application client is not present in the login mark, judgement if it does not exist
The corresponding logging on authentication of account is to determine not allow the application client to log in the service using the logging on authentication
Device.
In one embodiment, the processor 902 obtains the retention account and institute from prestoring realizing described in file
Before stating the step of retaining account corresponding logging on authentication, also perform the steps of
It receives the logging on authentication that the server returns and stores the logging on authentication to described and prestore file, it is described to step on
Recording voucher is successfully to be logged in the application client using the retention account and the corresponding password of the retention account
It is generated by the server using the second predetermined manner when the server.
By taking the computer equipment is server as an example, the processor 902 is for running calculating stored in memory
Machine program 9032, to realize following steps: receive account that application client is sent and the account it is corresponding log in
Card;Judge whether the account and the logging on authentication are verified according to preset condition;If the account and it is described log in
Card is verified, and allows the application client login service device;If the account and logging on authentication verifying are obstructed
It crosses, Xiang Suoshu application client returns to the notice of login failure.
In one embodiment, the processor 902 is realizing the account for receiving application client transmission and institute
Before the step of stating account corresponding logging on authentication, also perform the steps of
Receive the account and the corresponding password of the account that the application client is sent;
Judge whether the account and the password authentification pass through;
If the account and the password authentification pass through, using the second predetermined manner generate the account it is corresponding log in
Card;
The logging on authentication is sent to the application client so that the subsequent use of the application client
The logging on authentication login service device.
In one embodiment, the processor 902 is described corresponding using the second predetermined manner generation account in realization
Logging on authentication step when, implement following steps:
Obtaining eap-message digest by acquisition Token value or by Message Digest 5, the account is corresponding to step on to generate
Record voucher.
It should be appreciated that in the embodiment of the present application, processor 902 can be central processing unit (Central
ProcessingUnit, CPU), which can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit,
ASIC), ready-made programmable gate array (Field-Programmable GateArray, FPGA) or other programmable logic devices
Part, discrete gate or transistor logic, discrete hardware components etc..Wherein, general processor can be microprocessor or
The processor is also possible to any conventional processor etc..
Those of ordinary skill in the art will appreciate that be realize above-described embodiment method in all or part of the process,
It is that can be completed by computer program, which can be stored in a computer readable storage medium.The computer
Program is executed by least one processor in the computer system, to realize the process step of the embodiment of the above method.
Therefore, the application also provides a kind of computer readable storage medium.The computer readable storage medium can be non-
The computer readable storage medium of volatibility, the computer-readable recording medium storage have computer program, the computer program
Processor is set to execute following steps when being executed by processor:
A kind of computer program product, when run on a computer, so that computer executes in the above various embodiments
The step of described application client login method.
The computer readable storage medium can be the internal storage unit of aforementioned device, such as the hard disk or interior of equipment
It deposits.What the computer readable storage medium was also possible to be equipped on the External memory equipment of the equipment, such as the equipment
Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge
Deposit card (Flash Card) etc..Further, the computer readable storage medium can also both include the inside of the equipment
Storage unit also includes External memory equipment.
It is apparent to those skilled in the art that for convenience of description and succinctly, foregoing description is set
The specific work process of standby, device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
The computer readable storage medium can be USB flash disk, mobile hard disk, read-only memory (Read-Only Memory,
ROM), the various computer readable storage mediums that can store program code such as magnetic or disk.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware
With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This
A little functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Specially
Industry technical staff can use different methods to achieve the described function each specific application, but this realization is not
It is considered as beyond scope of the present application.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it
Its mode is realized.For example, the apparatus embodiments described above are merely exemplary.For example, the division of each unit, only
Only a kind of logical function partition, there may be another division manner in actual implementation.Such as multiple units or components can be tied
Another system is closed or is desirably integrated into, or some features can be ignored or not executed.
Step in the embodiment of the present application method can be sequentially adjusted, merged and deleted according to actual needs.This Shen
Please the unit in embodiment device can be combined, divided and deleted according to actual needs.In addition, in each implementation of the application
Each functional unit in example can integrate in one processing unit, is also possible to each unit and physically exists alone, can also be with
It is that two or more units are integrated in one unit.
If the integrated unit is realized in the form of SFU software functional unit and when sold or used as an independent product,
It can store in one storage medium.Based on this understanding, the technical solution of the application is substantially in other words to existing skill
The all or part of part or the technical solution that art contributes can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that an electronic equipment (can be individual
Computer, terminal or network equipment etc.) execute each embodiment the method for the application all or part of the steps.
The above, the only specific embodiment of the application, but the bright protection scope of the application is not limited thereto, and is appointed
What those familiar with the art within the technical scope of the present application, can readily occur in various equivalent modifications or
Replacement, these modifications or substitutions should all cover within the scope of protection of this application.Therefore, the protection scope Ying Yiquan of the application
Subject to the protection scope that benefit requires.
Claims (10)
1. a kind of application client login method, which is characterized in that the described method includes:
Judge whether to receive the instruction for starting application client;
If receiving described instruction, the retention account of the application client is judged whether there is by the first predetermined manner
Logging on authentication corresponding with the retention account is to determine whether to allow the application client to use the logging on authentication
Login service device, wherein the retention account is that the application client uses account and the corresponding password of the account
The account retained after success login service device;
The retention account and the logging on authentication if it exists, from prestore obtained in file the retention account and it is described log in
Card, and the retention account and the logging on authentication are sent to the server so that described in application client login
Server;
The retention account and the logging on authentication if it does not exist, pop-up log in forms to receive the account and described of user's input
The corresponding password of account, and the account and the password are sent to the server so that the application program logs in client
Log in the server.
2. application client login method according to claim 1, which is characterized in that if described receive the finger
It enables, the retention account of the application client is judged whether there is by the first predetermined manner and the retention account corresponds to
Logging on authentication to determine whether to allow the step of application client is using logging on authentication login service device packet
It includes:
It is prestored described in judgement and whether is stored with the retention account and the logging on authentication in file;
If being stored with the retention account and the logging on authentication, determine that the application client is allowed to use the login
Voucher login service device;
If not stored have the retention account and the logging on authentication, judgement does not allow described in the application client use
Logging on authentication logs in the server.
3. application client login method according to claim 1, which is characterized in that if described receive the finger
It enables, the retention account of the application client is judged whether there is by the first predetermined manner and the retention account corresponds to
Logging on authentication to determine whether to allow the step of application client is using logging on authentication login service device packet
It includes:
Judge that the login mark is for describing the application with the presence or absence of the login mark for retaining account in local file
Programmatic client uses the retention account and the logged server of the corresponding password success of the retention account;
The login mark if it exists, there are the retention account of the application client and the retention account are corresponding for judgement
Logging on authentication to determine to allow the application client to use the logging on authentication login service device for retaining account;
The retention account and the retention account of the application client is not present in the login mark, judgement if it does not exist
Corresponding logging on authentication is to determine not allow the application client to log in the server using the logging on authentication.
4. any one of -3 application client login method according to claim 1, which is characterized in that described from prestoring text
Before the step of obtaining the retention account and the logging on authentication in part, further includes:
Receive the logging on authentication that the server returns and store the logging on authentication to described and prestore file, it is described log in
Card be successfully logged in the application client using the retention account and the corresponding password of the retention account described in
It is generated by the server using the second predetermined manner when server.
5. a kind of application client login method, which is characterized in that the described method includes:
Receive the account and the corresponding logging on authentication of the account that application client is sent;
Judge whether the account and the logging on authentication are verified according to preset condition;
If the account and the logging on authentication are verified, allow the application client login service device;
If the account and logging on authentication verifying do not pass through, Xiang Suoshu application client returns to the logical of login failure
Know.
6. application client login method according to claim 5, which is characterized in that the reception application client
Before the step of holding the account sent and the account corresponding logging on authentication, further includes:
Receive the account and the corresponding password of the account that the application client is sent;
Judge whether the account and the password authentification pass through;
If the account and the password authentification pass through, the corresponding logging on authentication of the account is generated using the second predetermined manner;
The logging on authentication is sent to the application client so that described in the subsequent use of the application client
Logging on authentication login service device.
7. application client login method according to claim 6, which is characterized in that described to use the second predetermined manner
The step of generating the account corresponding logging on authentication include:
By obtain Token value or eap-message digest obtained by Message Digest 5 with generate the account it is corresponding log in
Card.
8. a kind of application client entering device, which is characterized in that including for executing such as any one of claim 1-4 institute
The unit of application client login method is stated, or including applying as described in claim any one of 5-7 for executing
The unit of programmatic client login method.
9. a kind of computer equipment, which is characterized in that the computer equipment includes memory and is connected with the memory
Processor;The memory is for storing computer program;The processor is based on running and storing in the memory
Calculation machine program the step of application client login method or is executed such as described in claim any one of 1-4 with execution
The step of any one of claim 5-7 application client login method.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer journey
Sequence, the computer program execute the processor as described in claim any one of 1-4 using journey
The step of sequence client login method or execute the application client login method as described in claim any one of 5-7
Step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910428918.9A CN110298162A (en) | 2019-05-22 | 2019-05-22 | Application client login method, device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910428918.9A CN110298162A (en) | 2019-05-22 | 2019-05-22 | Application client login method, device, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110298162A true CN110298162A (en) | 2019-10-01 |
Family
ID=68027147
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910428918.9A Pending CN110298162A (en) | 2019-05-22 | 2019-05-22 | Application client login method, device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110298162A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111262869A (en) * | 2020-01-17 | 2020-06-09 | 珠海格力电器股份有限公司 | Login method, storage medium and computer equipment |
CN112637181A (en) * | 2020-12-18 | 2021-04-09 | 上海销氪信息科技有限公司 | Client login method, device and medium |
CN112910876A (en) * | 2021-01-27 | 2021-06-04 | 北京健康之家科技有限公司 | Login method and device and electronic equipment |
CN113360868A (en) * | 2021-06-29 | 2021-09-07 | 平安普惠企业管理有限公司 | Application program login method and device, computer equipment and storage medium |
CN114157438A (en) * | 2020-08-18 | 2022-03-08 | 深圳富桂精密工业有限公司 | Network equipment management method and device and computer readable storage medium |
CN114567451A (en) * | 2020-11-27 | 2022-05-31 | 腾讯科技(深圳)有限公司 | Identity verification method, identity verification device, computer equipment and storage medium |
CN115065847A (en) * | 2022-05-31 | 2022-09-16 | 北京奇艺世纪科技有限公司 | Account login method, system, device, electronic equipment and storage medium |
CN117155993A (en) * | 2023-10-27 | 2023-12-01 | 深圳品阔信息技术有限公司 | Online state computing method, equipment and medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015180611A1 (en) * | 2014-05-26 | 2015-12-03 | Tencent Technology (Shenzhen) Company Limited | Login information transmission method, code scanning method and apparatus, and server |
WO2017054443A1 (en) * | 2015-09-30 | 2017-04-06 | 深圳市先河系统技术有限公司 | Remote control method, server and network attached storage |
WO2017107956A1 (en) * | 2015-12-23 | 2017-06-29 | 北京奇虎科技有限公司 | Data processing method, client and server |
US20170195346A1 (en) * | 2016-01-04 | 2017-07-06 | Microsoft Technology Licensing, Llc | Systems and methods for the detection of advanced attackers using client side honeytokens |
CN108365958A (en) * | 2018-03-01 | 2018-08-03 | 广州南方人才资讯科技有限公司 | Verification method, device, computer equipment and the storage medium that account logs in |
CN108900559A (en) * | 2018-09-26 | 2018-11-27 | 平安普惠企业管理有限公司 | Management method, device, computer equipment and the storage medium of logging on authentication |
CN109218326A (en) * | 2018-10-10 | 2019-01-15 | 广州虎牙信息科技有限公司 | Login validation method, device, storage medium and server |
CN109547480A (en) * | 2018-12-27 | 2019-03-29 | 北京城市网邻信息技术有限公司 | A kind of login method and device |
-
2019
- 2019-05-22 CN CN201910428918.9A patent/CN110298162A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015180611A1 (en) * | 2014-05-26 | 2015-12-03 | Tencent Technology (Shenzhen) Company Limited | Login information transmission method, code scanning method and apparatus, and server |
WO2017054443A1 (en) * | 2015-09-30 | 2017-04-06 | 深圳市先河系统技术有限公司 | Remote control method, server and network attached storage |
WO2017107956A1 (en) * | 2015-12-23 | 2017-06-29 | 北京奇虎科技有限公司 | Data processing method, client and server |
US20170195346A1 (en) * | 2016-01-04 | 2017-07-06 | Microsoft Technology Licensing, Llc | Systems and methods for the detection of advanced attackers using client side honeytokens |
CN108365958A (en) * | 2018-03-01 | 2018-08-03 | 广州南方人才资讯科技有限公司 | Verification method, device, computer equipment and the storage medium that account logs in |
CN108900559A (en) * | 2018-09-26 | 2018-11-27 | 平安普惠企业管理有限公司 | Management method, device, computer equipment and the storage medium of logging on authentication |
CN109218326A (en) * | 2018-10-10 | 2019-01-15 | 广州虎牙信息科技有限公司 | Login validation method, device, storage medium and server |
CN109547480A (en) * | 2018-12-27 | 2019-03-29 | 北京城市网邻信息技术有限公司 | A kind of login method and device |
Non-Patent Citations (3)
Title |
---|
廖露阳;郭兵;: "基于Android App安全登录认证解决方案", 现代计算机(专业版), no. 35 * |
李建佳;王晶;: "基于JA-SIG CAS统一认证平台(SSO)的设计与实现", 广东海洋大学学报, no. 03 * |
熊小军;翁培钧;: "APP后台用户安全登录验证解决方案的研究", 电子世界, no. 24 * |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111262869A (en) * | 2020-01-17 | 2020-06-09 | 珠海格力电器股份有限公司 | Login method, storage medium and computer equipment |
CN114157438A (en) * | 2020-08-18 | 2022-03-08 | 深圳富桂精密工业有限公司 | Network equipment management method and device and computer readable storage medium |
CN114567451A (en) * | 2020-11-27 | 2022-05-31 | 腾讯科技(深圳)有限公司 | Identity verification method, identity verification device, computer equipment and storage medium |
CN112637181A (en) * | 2020-12-18 | 2021-04-09 | 上海销氪信息科技有限公司 | Client login method, device and medium |
CN112910876A (en) * | 2021-01-27 | 2021-06-04 | 北京健康之家科技有限公司 | Login method and device and electronic equipment |
CN112910876B (en) * | 2021-01-27 | 2023-04-28 | 北京水滴科技集团有限公司 | Login method and device and electronic equipment |
CN113360868A (en) * | 2021-06-29 | 2021-09-07 | 平安普惠企业管理有限公司 | Application program login method and device, computer equipment and storage medium |
CN115065847A (en) * | 2022-05-31 | 2022-09-16 | 北京奇艺世纪科技有限公司 | Account login method, system, device, electronic equipment and storage medium |
CN117155993A (en) * | 2023-10-27 | 2023-12-01 | 深圳品阔信息技术有限公司 | Online state computing method, equipment and medium |
CN117155993B (en) * | 2023-10-27 | 2024-01-26 | 深圳品阔信息技术有限公司 | Online state computing method, equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110298162A (en) | Application client login method, device, computer equipment and storage medium | |
US11838324B2 (en) | Secure web container for a secure online user environment | |
US11281457B2 (en) | Deployment of infrastructure in pipelines | |
US20240106865A1 (en) | Secure Web Container for a Secure Online User Environment | |
US9628448B2 (en) | User and device authentication in enterprise systems | |
CN105379223B (en) | Manage the method and apparatus to the access of ERM | |
JP6131381B2 (en) | Providing a managed browser | |
CN109286633A (en) | Single sign-on method, device, computer equipment and storage medium | |
CN110291757A (en) | For providing the method for simplified account register service, user authentication service and utilizing its certificate server | |
US11489933B2 (en) | Systems and methods for gamification of SaaS applications | |
US10277606B2 (en) | Anonymous application wrapping | |
US10733238B2 (en) | Script manager for distributed systems | |
WO2018035002A1 (en) | Protection feature for data stored at storage service | |
CN108234509A (en) | FIDO authenticators, Verification System and method based on TEE and PKI certificates | |
US20140310606A1 (en) | Method and device for providing plugin in contact list | |
CN110069909A (en) | It is a kind of to exempt from the close method and device for logging in third party system | |
CN109510799A (en) | Page display method, browser client, equipment and storage medium | |
US20210211424A1 (en) | Authenticating service requests | |
US10181030B2 (en) | Blocking routine redirection | |
CN105391673B (en) | Safety access method and device | |
CN111178896B (en) | Bus taking payment method, device and storage medium | |
CN109474431A (en) | Client certificate method and computer readable storage medium | |
US20230409315A1 (en) | Secrets framework | |
TWI645345B (en) | System, device and method for executing certificate operation on basis of token | |
CN117459245A (en) | Method, device and system for accessing identity data |
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 |