CN106453347A - User login device used for cloud service and method thereof - Google Patents

User login device used for cloud service and method thereof Download PDF

Info

Publication number
CN106453347A
CN106453347A CN201610926350.XA CN201610926350A CN106453347A CN 106453347 A CN106453347 A CN 106453347A CN 201610926350 A CN201610926350 A CN 201610926350A CN 106453347 A CN106453347 A CN 106453347A
Authority
CN
China
Prior art keywords
user
login password
login
password
cloud server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610926350.XA
Other languages
Chinese (zh)
Inventor
郭思勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610926350.XA priority Critical patent/CN106453347A/en
Publication of CN106453347A publication Critical patent/CN106453347A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Landscapes

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

Abstract

The invention discloses a user login device used for a cloud service and a method thereof and relates to the communication technology field. In the prior art, user information safety is poor when logging in a cloud service terminal. By using the device and the method, the above problem is solved. The device comprises a center receiving unit, a center sending unit and a center determination unit, wherein the center receiving unit is used for receiving a user name and a corresponding login password input by a user from a client; the center sending unit is used for sending user information corresponding to the user name to the cloud service terminal under the condition that the login password is consistent with a first login password; the user information includes the user name and the corresponding login password input by the user; the center determination unit is used for determining whether login is successful according to a relation between a second login password fed back by the cloud service terminal and the login password input by the user.

Description

A kind of User logs in device and method for cloud service
Technical field
The present invention relates to communication technical field, more particularly to a kind of User logs in device and method for cloud service.
Background technology
Cloud Server is based on cluster server technology, fictionalizes the part of multiple similar separate servers, incorporates data The calculating at center, network and storage key element, can pass through network with demand, easy extension way provide the user needed for cloud take Business, the such as editor of cloud data, synchronization etc. service.
However, in prior art, during User logs in Cloud Server, auth method is generally relatively simple, user profile Security presence larger hidden danger.
Content of the invention
Present invention is primarily targeted at proposing a kind of User logs in device and method for cloud service, it is intended to solve existing The problem of user information safety difference when having User logs in cloud server terminal in technology.
For achieving the above object, a kind of User logs in device for cloud service that the present invention is provided, including:Center receives Unit, for the user name from client receiving user's input and corresponding login password;Center transmitting element, for described In the case that login password is consistent with the first login password, the corresponding user profile of the user name is sent to cloud server terminal;Institute Stating user profile includes the user name of the user input and corresponding login password;Center determining unit, for according to described Relation between second login password of cloud server terminal feedback and the login password of the user input, it is determined whether log in into Work(.
Optionally, first login password includes the login password that customer center service end is pre-saved.
Optionally, the center determining unit includes:Acquisition module, steps on for obtaining described second from the cloud server terminal Record password;Comparison module, for comparing the login password of the user input with second login password;Return mould Block, for, in the case that the comparative result of the comparison module is consistent for the two, returning to the client and logining successfully page Face.
Optionally, described device also includes:Center password modification unit, for after successful login, according to user instruction Modification login password, and notify the cloud server terminal.
On the other hand, the present invention also provides a kind of User logs in device for cloud service, including:High in the clouds receiving unit, For from customer center service end receive user information, the user profile includes the user name of the user input and corresponding Login password;High in the clouds acquiring unit, for obtaining corresponding second login password of the user name from data base;High in the clouds sends single Unit, for sending second login password to the customer center service end, so that the customer center service end is utilized Second login password determines whether to login successfully.
Optionally, the data base includes Redis data base.
Optionally, described device also includes:High in the clouds verification unit, has logged on successful user access cloud clothes for working as During the business interface at business end, proof of identity is carried out to the user;High in the clouds Tip element, for entering in the high in the clouds verification unit In the case of the proof of identity of row is unsanctioned, the user is pointed out to log in again.
Optionally, the high in the clouds verification unit includes:Acquisition module, steps on for obtaining described second from the data base The version number of record password;First determining module, for the version number that there is no second login password in the database In the case of, determine that the proof of identity to the user passes through;Comparison module, for having described second in the database In the case of the version number of login password, be input into when the version number of comparison second login password is with the User logs in steps on Whether the version number of record password is identical;Second determining module, for the comparative result in the comparison module for the two identical when, Determine that the proof of identity to the user passes through;When the comparative result of the comparison module is for the two difference, determine to described The proof of identity of user does not pass through.
Optionally, described device also includes high in the clouds processing unit, for the identity school for carrying out in the high in the clouds verification unit Test by the case of, execute corresponding business operation.
Optionally, described device also includes high in the clouds password modification unit, is used for:Sent according to the customer center service end Modification login password notice, generate new password version number;The new password version number is write to the data base, and Reset password expired time.
On the other hand, the present invention also provides a kind of user login method for cloud service, including:Receive from client and use The user name of family input and corresponding login password;In the case that the login password is consistent with the first login password, Xiang Yun Service end sends the corresponding user profile of the user name;The user profile includes the user name of the user input and correspondence Login password;Between the second login password for being fed back according to the cloud server terminal and the login password of the user input Relation, it is determined whether login successfully.
Optionally, first login password includes the login password that customer center service end is pre-saved.
Optionally, described close according to the second login password of cloud server terminal feedback and the login of the user input Code between relation, it is determined whether login successfully including:Second login password is obtained from the cloud server terminal;By the use The login password of family input is compared with second login password;In the case that comparative result is consistent for the two, to described Client is returned and logins successfully the page.
Further, methods described also includes:After successful login, login password is changed according to user instruction, and notifies The cloud server terminal.
On the other hand, the present invention also provides a kind of user login method for cloud service, including:From customer center service End receives user profile, and the user profile includes the user name of the user input and corresponding login password;From data base Obtain corresponding second login password of the user name;Second login password is sent to the customer center service end, So that the customer center service end determines whether to login successfully using second login password.
Optionally, the data base includes Redis data base.
Further, methods described also includes:When the business interface that successful user accesses cloud server terminal is had logged on, Proof of identity is carried out to the user;In the case of proof of identity is unsanctioned, the user is pointed out to log in again.
Optionally, described when the business interface that successful user accesses cloud server terminal is had logged on, the user is entered Row proof of identity includes:The version number of second login password is obtained from the data base;Do not deposit in the database In the case of the version number of second login password, determine that the proof of identity to the user passes through;In the data base In the case of the middle version number that there is second login password, compare the version number of second login password and the user Whether the version number of the login password being input into during login is identical;When comparative result is that the two is identical, determine to the user's Proof of identity passes through;When comparative result is for the two difference, determine that the proof of identity to the user does not pass through.
Optionally, methods described is additionally included in the case that proof of identity passes through, and executes corresponding business operation.
Further, methods described also includes:The logical of login password is changed according to what the customer center service end sent Know, generate new password version number;The new password version number is write to the data base, and reset password expired time.
User logs in device and method for cloud service provided in an embodiment of the present invention, can be from client receive user The user name of input and corresponding login password, in the case that the login password is consistent with the first login password, take to cloud Business end sends the corresponding user profile of the user name, then according to the second login password and the institute of cloud server terminal feedback State the relation between the login password of user input, it is determined whether login successfully.So, need user input during User logs in The first login password of login password and customer center service end and the second login password for caching of cloud server terminal phase respectively Relatively, just it is capable of determining whether to login successfully, that is, the login process of user needs customer center service end and cloud server terminal Inclusive authentication, so as to effectively increase Information Security during User logs in cloud service.
Description of the drawings
Fig. 1 is a kind of structural representation of the User logs in device for cloud service provided in an embodiment of the present invention;
Fig. 2 is another kind of structural representation of the User logs in device for cloud service provided in an embodiment of the present invention;
Fig. 3 is another structural representation of the User logs in device for cloud service provided in an embodiment of the present invention;
Fig. 4 is the yet another construction schematic diagram of the User logs in device for cloud service provided in an embodiment of the present invention;
Fig. 5 is a kind of flow chart of the user login method for cloud service provided in an embodiment of the present invention;
Fig. 6 is another kind of flow chart of the user login method for cloud service provided in an embodiment of the present invention;
Fig. 7 is another flow chart of the user login method for cloud service provided in an embodiment of the present invention;
Fig. 8 is another flow chart of the user login method for cloud service provided in an embodiment of the present invention;
Fig. 9 is the login process flow chart in the user login method for cloud service provided in an embodiment of the present invention;
Figure 10 is the checking procedure flow chart in the user login method for cloud service provided in an embodiment of the present invention;
Figure 11 is the password modification process flow in the user login method for cloud service provided in an embodiment of the present invention Figure.
The realization of the object of the invention, functional characteristics and advantage will be described further in conjunction with the embodiments referring to the drawings.
Specific embodiment
It should be appreciated that specific embodiment described herein is not intended to limit the present invention only in order to explain the present invention.
The mobile terminal of each embodiment of the present invention is realized referring now to Description of Drawings.In follow-up description, use For representing the suffix of such as " module ", " part " or " unit " of element only for being conducive to the explanation of the present invention, itself Not specific meaning.Therefore, " module " mixedly can be used with " part ".
As shown in figure 1, first embodiment of the invention proposes a kind of User logs in device for cloud service, including:
Center receiving unit 11, for the user name from client receiving user's input and corresponding login password;
Center transmitting element 12, in the case that the login password is consistent with the first login password, to cloud service End sends the corresponding user profile of the user name;The user profile includes the user name of the user input and corresponding steps on Record password;
Center determining unit 13, for the second login password for being fed back according to the cloud server terminal and the user input Login password between relation, it is determined whether login successfully.
User logs in device for cloud service provided in an embodiment of the present invention, can be arranged on customer center service end, Its center receiving unit 11, can be from the user name of client receiving user's input and corresponding login password;Center sends single Unit 12, can send the user name pair to cloud server terminal in the case that the login password is consistent with the first login password The user profile that answers, center determining unit 13 can be according to the second login password of cloud server terminal feedback and the user Relation between the login password of input, it is determined whether login successfully.So, need the login of user input during User logs in The second login password that password and the first login password of customer center service end and cloud server terminal are cached respectively compared with, It is capable of determining whether to login successfully, that is, the login process of user needs customer center service end and the synthesis of cloud server terminal to recognize Card, so as to effectively increase Information Security during User logs in cloud service.
It should be noted that cloud server terminal does not have account in itself, the use that user can be provided by customer center service end Family login page carries out account number cipher verification and login, can be informed after customer center verification success by way of Callback URL Cloud server terminal user profile.Optionally, user profile can include user name, login password, mailbox, cell-phone number, user's head portrait, The data closely related with user such as mailing address, these data have all been preserved in customer center service end.When user with When family login page input the user name of oneself and corresponding login password, can be protected according to advance with customer center service end Corresponding login password in the user profile that deposits, determines whether the login password of user input is correct, if allow the user to step on Record.
Specifically, center transmitting element 12, can be used in the login password situation consistent with the first login password Under, the corresponding user profile of the user name is sent to cloud server terminal;Optionally, the first login password can include customer center The login password that service end is pre-saved.
After the corresponding user profile of user name is sent to cloud server terminal, cloud server terminal can be to customer center service end The second login password is fed back, so that the center determining unit 13 of customer center service end determines whether the user logins successfully.
Specifically, center determining unit 13 may include:
Acquisition module, for obtaining second login password from the cloud server terminal;
Comparison module, for comparing the login password of the user input with second login password;
Module is returned, in the case that the comparative result of the comparison module is consistent for the two, to the client Return logins successfully the page.
Illustrate, in one embodiment of the invention, user is on the login interface that customer center service end is provided The login password of input is " abc& ", and the first login password that customer center service end is pre-saved itself is also " abc& ", then Customer center service end sends the user profile of the user to cloud server terminal.After Cloud Server or the user profile, Ke Yicong The second login password is read in corresponding data base and send customer center service end to.Assume that second login password is also " abc& ", that is, the second login password with User logs in when the login password that is input into consistent, then User logs in success, to client End return logins successfully the page.Assume that second login password is " qwert ", that is, the second login password with User logs in when The login password of input is inconsistent, then login failed for user, and the user interface of client can rest on login page.
Optionally, the client described in the embodiment of the present invention, can both be browser, or the client of client The various application programs at end, embodiments of the invention are not construed as limiting to this.
Further, user in actual use, may change login password.In this case, due to stepping on Need during record to carry out secondary checking according to cloud server terminal the second login password of offer, when user changes login password, it is also desirable to Notify cloud server terminal.
Specifically, as shown in Fig. 2 in one embodiment of the invention, there is provided a kind of user for cloud service Entering device, including:
Center receiving unit 11, for the user name from client receiving user's input and corresponding login password;
Center transmitting element 12, in the case that the login password is consistent with the first login password, to cloud service End sends the corresponding user profile of the user name;The user profile includes the user name of the user input and corresponding steps on Record password;
Center determining unit 13, for the second login password for being fed back according to the cloud server terminal and the user input Login password between relation, it is determined whether login successfully.
Center password modification unit 14, for after successful login, changing login password according to user instruction, and notifying institute State cloud server terminal.
It should be noted that modify Password Operations when, user firstly the need of cloud server terminal is successfully logged onto, in user Password modification interface input original code and new password that center service end provides, to realize the modification of login password, so as to enter one The perfect Information Security for logging in cloud service of step.
Accordingly, as shown in figure 3, embodiments of the invention also provide a kind of User logs in device for cloud service, bag Include:
High in the clouds receiving unit 21, for from customer center service end receive user information, the user profile includes described The user name of user input and corresponding login password;
High in the clouds acquiring unit 22, for obtaining corresponding second login password of the user name from data base;
High in the clouds transmitting element 23, for sending second login password to the customer center service end, so that institute State customer center service end to determine whether to login successfully using second login password.
User logs in device for cloud service provided in an embodiment of the present invention, can be arranged on cloud server terminal, its high in the clouds Receiving unit 21 can obtain institute from data base from customer center service end receive user information, high in the clouds acquiring unit 22 State corresponding second login password of user name;High in the clouds transmitting element 23, can be by second login password in the user Central server end sends, so that the customer center service end determines whether to login successfully using second login password.So, During User logs in, not only need the login password of user input is compared with the first login password of customer center service end, The second login password for also needing to be cached the login password of user input with cloud server terminal is compared, and is just capable of determining whether to log in Success, that is, the login process of user needs the inclusive authentication of customer center service end and cloud server terminal, so as to effectively carry Information Security during high User logs in cloud service.
Specifically, high in the clouds receiving unit 21 can be connected with customer center service end, when user is taken by customer center After the verification at business end, corresponding user profile can be passed to customer center service end the high in the clouds receiving unit of cloud server terminal 21.
After receiving corresponding user profile, high in the clouds acquiring unit 22 can obtain the user name from data base and correspond to The second login password, and second login password is passed to customer center service end, so that customer center service end is carried out Corresponding judgement.
Optionally, the data base of second login password of the acquisition of high in the clouds acquiring unit 22 can include Redis data base.In order to Facilitate reading and the use of data, after high in the clouds acquiring unit 22 can read the second login password from Redis data base, should Second login password is buffered in locally, and for example the client for browser type can be buffered in session, again later Only need to be read from session using the data.
Further, as shown in figure 4, embodiments of the invention also provide a kind of User logs in device for cloud service, Including:
High in the clouds receiving unit 21, for from customer center service end receive user information, the user profile includes described The user name of user input and corresponding login password;
High in the clouds acquiring unit 22, for obtaining corresponding second login password of the user name from data base;
High in the clouds transmitting element 23, for sending second login password to the customer center service end, so that institute State customer center service end to determine whether to login successfully using second login password;
High in the clouds verification unit 24, for when the business interface that successful user accesses cloud server terminal is had logged on, to institute Stating user carries out proof of identity;
High in the clouds Tip element 25, for, in the case of proof of identity that the high in the clouds verification unit is carried out is unsanctioned, carrying Show that the user logs in again.
That is, except providing the second login password for customer center in User logs in customer center service end Outside service end is verified to the login password of user input, need to access cloud server terminal whenever successful user is had logged on Business interface when, high in the clouds verification unit 24 all can carry out a proof of identity to user again, verify unsanctioned in the case of, The connection with user is disconnected, points out user to log in again.
Specifically, high in the clouds verification unit 24 may include:
Acquisition module, for obtaining the version number of second login password from the data base;
First determining module, for the situation of the version number that there is no second login password in the database Under, determine that the proof of identity to the user passes through;
Comparison module, for there is second login password in the database version number in the case of, compare Whether the version number of the login password being input into when the version number of second login password is with the User logs in is identical;
Second determining module, for the comparative result in the comparison module for the two identical when, determine to the user Proof of identity pass through;When the comparative result of the comparison module is for the two difference, the proof of identity to the user is determined Do not pass through.
It should be noted that when proof of identity is carried out, re-entering login password without the need for user, it is only necessary to which user is defeated Compared with the version number of the login password that the version number of the login password for entering is preserved with cloud server terminal.It is possible, firstly, to pass through Acquisition module obtains the version number of the second login password from data base.Optionally, the second login password for storing in data base Version number can set certain conserving time limit, every time modification login password will correspond to version number of renewal, every time more The new version number is refreshable once pot-life, recalculates the pot-life.That is, how long login password has Do not changed, then the version number in data base just has and how long do not update, if the time not updated has exceeded the preservation Time limit, then read from data base the second login password version number when, the version number may not be present.So, you can sentence The fixed login password is not modified, and the proof of identity of user is passed through.
If the version number of the second login password is read from data base, read corresponding version number, then need The login password being input into during using the version number to User logs in is verified further.Specifically, comparison module can be passed through Whether the version number of the login password being input into when the version number of comparison second login password is with the User logs in is identical;? When the comparative result of the comparison module is that the two is identical, is determined by determining module and the proof of identity of the user is passed through;? When the comparative result of the comparison module is for the two difference, determine that the proof of identity to the user does not pass through.
Further, in one embodiment of the invention, the User logs in for cloud service may also include high in the clouds process Unit, in the case of passing through for the proof of identity that verification unit 24 is carried out beyond the clouds, executes corresponding business operation.For example, When User logs in after cloud server terminal, it is desirable to which, in cloud server terminal during transmitting file, cloud server terminal can carry out identity to the user Verification, after verification passes through, it is allowed to the upper transmitting file of user, when verification does not pass through, forbids that user uploads adnexa, and points out user Again log in.
Further, user in actual use, may change login password, in order to realize the purpose, this The User logs in device for cloud service that bright embodiment is provided may also include high in the clouds password modification unit, be used for:
The notice of the modification login password for being sent according to the customer center service end, generates new password version number;
The new password version number is write to the data base, and reset password expired time.
As shown in figure 5, corresponding, embodiments of the invention also provide a kind of user login method for cloud service, base In customer center service end, including:
S31, from user name and the corresponding login password of client receiving user's input;
S32, in the case that the login password is consistent with the first login password, sends the user name to cloud server terminal Corresponding user profile;The user profile includes the user name of the user input and corresponding login password;
S33, between the second login password for being fed back according to the cloud server terminal and the login password of the user input Relation, it is determined whether login successfully.
User login method for cloud service provided in an embodiment of the present invention, can be from client receiving user's input User name and corresponding login password, in the case that the login password is consistent with the first login password, send out to cloud server terminal Send the user name corresponding user profile, then according to the second login password of cloud server terminal feedback and stepping on for user input Relation between record password, it is determined whether login successfully.So, need during User logs in by the login password of user input with Second login password of first login password at family center service end and cloud server terminal caching is compared respectively, and just can determine that is No login successfully, that is, the login process of user needs the inclusive authentication of customer center service end and cloud server terminal, so as to Effectively increase Information Security during User logs in cloud service.
It should be noted that cloud server terminal does not have account in itself, the use that user can be provided by customer center service end Family login page carries out account number cipher verification and login, can be informed after customer center verification success by way of Callback URL Cloud server terminal user profile.Optionally, user profile can include user name, login password, mailbox, cell-phone number, user's head portrait, The data closely related with user such as mailing address, these data have all been preserved in customer center service end.When user with When family login page input the user name of oneself and corresponding login password, can be protected according to advance with customer center service end Corresponding login password in the user profile that deposits, determines whether the login password of user input is correct, if allow the user to step on Record.
Optionally, the login password that first login password can be pre-saved including customer center service end.With Family center service end can preserve multiple user names and its corresponding login password.
In step s 32, after the corresponding user profile of user name is sent to cloud server terminal, cloud server terminal can to Family center service end feed back the second login password, for customer center service end determination described in user whether login successfully.
Specifically, in step S33, the second login password for being fed back according to the cloud server terminal and the user are defeated Relation between the login password for entering, it is determined whether login successfully and may include:
Second login password is obtained from the cloud server terminal;
The login password of the user input is compared with second login password;
In the case that comparative result is consistent for the two, returns to the client and login successfully the page.
Illustrate, in one embodiment of the invention, user is on the login interface that customer center service end is provided The login password of input is " abc& ", and the first login password that customer center service end is pre-saved itself is also " abc& ", then Customer center service end sends the user profile of the user to cloud server terminal.After Cloud Server or the user profile, Ke Yicong The second login password is read in corresponding data base and send customer center service end to.Assume that second login password is also " abc& ", that is, the second login password with User logs in when the login password that is input into consistent, then User logs in success, to client End return logins successfully the page.Assume that second login password is " qwert ", that is, the second login password with User logs in when The login password of input is inconsistent, then login failed for user, and the user interface of client can rest on login page.
Optionally, the client described in the embodiment of the present invention, can both be browser, or the client of client The various application programs at end, embodiments of the invention are not construed as limiting to this.
Further, user in actual use, may change login password.In this case, due to stepping on Need during record to carry out secondary checking according to cloud server terminal the second login password of offer, when user changes login password, it is also desirable to Notify cloud server terminal.
Specifically, as shown in fig. 6, The embodiment provides a kind of user login method for cloud service, Including:
S31, from user name and the corresponding login password of client receiving user's input;
S32, in the case that the login password is consistent with the first login password, sends the user name to cloud server terminal Corresponding user profile;The user profile includes the user name of the user input and corresponding login password;
S33, between the second login password for being fed back according to the cloud server terminal and the login password of the user input Relation, it is determined whether login successfully;
S34, after successful login, changes login password according to user instruction, and notifies the cloud server terminal.
It should be noted that modify Password Operations when, user firstly the need of cloud server terminal is successfully logged onto, in user Password modification interface input original code and new password that center service end provides, to realize the modification of login password, so as to enter one The perfect Information Security for logging in cloud service of step.
Accordingly, as shown in fig. 7, embodiments of the invention also provide a kind of user login method for cloud service, base In cloud server terminal, including as follows:
S41, from customer center service end receive user information, the user profile includes the user name of the user input And corresponding login password;
S42, obtains corresponding second login password of the user name from data base;
S43, second login password is sent to the customer center service end, so that the customer center service end Determine whether to login successfully using second login password.
User login method for cloud service provided in an embodiment of the present invention, can receive from customer center service end and use Family information, obtains corresponding second login password of user name from data base, and second login password is taken to customer center The transmission of business end, so that customer center service end determines whether to login successfully using the second login password.So, during User logs in, Not only need the login password of user input is compared with the first login password of customer center service end, in addition it is also necessary to by user Compared with the second login password that the login password of input is cached with cloud server terminal, just it is capable of determining whether to login successfully, that is, The login process of user needs the inclusive authentication of customer center service end and cloud server terminal, so as to effectively increase User logs in Information Security during cloud service.
Specifically, after receiving corresponding user profile, cloud server terminal can obtain the user name pair from data base The second login password that answers, and second login password is passed to customer center service end, so that customer center service end is entered Row is corresponding to be judged.Optionally, the data base for obtaining the second login password can include Redis data base.Data for convenience Reading and use, after cloud server terminal can read the second login password from Redis data base, second login password is delayed Exist locally, for example the client for browser type can be buffered in session, and reusing the data later only needs Read from session.
Further, as shown in figure 8, embodiments of the invention also provide a kind of user login method for cloud service, Based on cloud server terminal, including:
S41, from customer center service end receive user information, the user profile includes the user name of the user input And corresponding login password;
S42, obtains corresponding second login password of the user name from data base;
S43, second login password is sent to the customer center service end, so that the customer center service end Determine whether to login successfully using second login password.
S44, when the business interface that successful user accesses cloud server terminal is had logged on, carries out identity school to the user Test;
S45, in the case of proof of identity that the high in the clouds verification unit is carried out is unsanctioned, points out the user to step on again Record.
That is, except providing the second login password for customer center in User logs in customer center service end Outside service end is verified to the login password of user input, need to access cloud server terminal whenever successful user is had logged on Business interface when, cloud server terminal all can carry out a proof of identity to user again, verify unsanctioned in the case of, disconnect with The connection of user, points out user to log in again.
Specifically, when the business interface that successful user accesses cloud server terminal is had logged on, the user is carried out Proof of identity may include:
The version number of second login password is obtained from the data base;
In the case of there is no the version number of second login password in the database, determine to the user's Proof of identity passes through;
In the case of there is the version number of second login password in the database, comparison described second logs in close Whether the version number of the login password being input into when the version number of code is with the User logs in is identical;
When comparative result is that the two is identical, determine that the proof of identity to the user passes through;It is the two in comparative result When different, determine that the proof of identity to the user does not pass through.
It should be noted that when proof of identity is carried out, re-entering login password without the need for user, it is only necessary to which user is defeated Compared with the version number of the login password that the version number of the login password for entering is preserved with cloud server terminal.It is possible, firstly, to pass through Acquisition module obtains the version number of the second login password from data base.Optionally, the second login password for storing in data base Version number can set certain conserving time limit, every time modification login password will correspond to version number of renewal, every time more The new version number is refreshable once pot-life, recalculates the pot-life.That is, how long login password has Do not changed, then the version number in data base just has and how long do not update, if the time not updated has exceeded the preservation Time limit, then read from data base the second login password version number when, the version number may not be present.So, you can sentence The fixed login password is not modified, and the proof of identity of user is passed through.
If the version number of the second login password is read from data base, read corresponding version number, then need The login password being input into during using the version number to User logs in is verified further.Specifically, comparison module can be passed through Whether the version number of the login password being input into when the version number of comparison second login password is with the User logs in is identical;? When the comparative result of the comparison module is that the two is identical, is determined by determining module and the proof of identity of the user is passed through;? When the comparative result of the comparison module is for the two difference, determine that the proof of identity to the user does not pass through.
Further, in the case that proof of identity passes through, corresponding business operation can be executed.For example, when user steps on After having recorded cloud server terminal, it is desirable to in cloud server terminal during transmitting file, cloud server terminal can carry out proof of identity to the user, work as school Test by rear, it is allowed to the upper transmitting file of user, when verification does not pass through, forbid that user uploads adnexa, and point out user to log in again.
Further, user in actual use, may change login password, in order to realize the purpose, this The user login method for cloud service that bright embodiment is provided may also include:
The notice of the modification login password for being sent according to the customer center service end, generates new password version number;
The new password version number is write to the data base, and reset password expired time.
Below by being embodied as being described in detail the user login method provided by the present invention for cloud service.
As shown in figure 9, in the user login method for cloud service of the present embodiment offer, client web can pass through Readjustment customer center logs in web, user input user name, password/mobile phone note verification code etc., and passes through customer center service end User logs in verification (compared with the first login password) is carried out, if verification passes through, cloud server terminal preserves user profile extremely Session cache, and obtain on Redis preserve the second login password version number, by the user cipher version number cache to In Session, the login password of user input in user profile is compared with the second login password from Redis, if The two is consistent, then login successfully, and return to client web, if the two is inconsistent, login failure, and rest on user and step on The record page.
As shown in Figure 10, behind user Successful login high in the clouds, each user accesses the business interface of cloud server terminal, cloud service Session data cached (the password version number AVersion for caching during login) will be inquired about in end, and from stepping on that Redis reads The version number BVersion of record password.If BVersion is not present, login authentication passes through, if BVersion is present, Whether relatively AVersion is equal with BVersion.If Aversion is not equal to BVersion, verification failure is logged in, is pointed out Account is out of date, please logs in again;If Aversion is equal to BVersion, logs in verification and pass through, respond corresponding business Operation, and operating result is returned to client.
As shown in figure 11, when user wants to change password, customer center Modify password can be passed through, customer center is permissible Relevant parameter is transmitted to cloud server terminal (i.e. server), cloud server terminal generates new password version number, and notifies Redis data base More new password version number is updated, expired time is reset, and is fed back to customer center.
It should be noted that herein, term " including ", "comprising" or its any other variant are intended to non-row The including of his property, so that a series of process including key elements, method, article or device not only include those key elements, and And also include other key elements for being not expressly set out, or also include intrinsic for this process, method, article or device institute Key element.In the absence of more restrictions, the key element for being limited by sentence "including a ...", it is not excluded that including to be somebody's turn to do Also there is other identical element in the process, method of key element, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform by software to realize, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words The part for going out contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (as ROM/RAM, magnetic disc, CD), use so that a station terminal equipment including some instructions (can be mobile phone, computer, clothes Business device, air-conditioner, or network equipment etc.) execute method described in each embodiment of the present invention.
The preferred embodiments of the present invention are these are only, the scope of the claims of the present invention is not thereby limited, every using this Equivalent structure or equivalent flow conversion that bright description and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of User logs in device for cloud service, it is characterised in that include:
Center receiving unit, for the user name from client receiving user's input and corresponding login password;
Center transmitting element, for, in the case that the login password is consistent with the first login password, sending to cloud server terminal The corresponding user profile of the user name;The user profile includes that the user name of the user input and corresponding login are close Code;
Center determining unit, for the login of the second login password for being fed back according to the cloud server terminal and the user input Relation between password, it is determined whether login successfully.
2. device according to claim 1, it is characterised in that the center determining unit includes:
Acquisition module, for obtaining second login password from the cloud server terminal;
Comparison module, for comparing the login password of the user input with second login password;
Module is returned, for, in the case that the comparative result of the comparison module is consistent for the two, returning to the client Login successfully the page.
3. device according to claim 1, it is characterised in that also include:
Center password modification unit, for after successful login, changing login password according to user instruction, and notifying the cloud to take Business end.
4. a kind of User logs in device for cloud service, it is characterised in that include:
High in the clouds receiving unit, for from customer center service end receive user information, the user profile includes that the user is defeated The user name for entering and corresponding login password;
High in the clouds acquiring unit, for obtaining corresponding second login password of the user name from data base;
High in the clouds transmitting element, for sending second login password to the customer center service end, so that the user Center service end determines whether to login successfully using second login password.
5. device according to claim 4, it is characterised in that also include:
High in the clouds verification unit, for when the business interface that successful user accesses cloud server terminal is had logged on, to the user Carry out proof of identity;
High in the clouds Tip element, described for, in the case of proof of identity that the high in the clouds verification unit is carried out is unsanctioned, pointing out User logs in again.
6. device according to claim 5, it is characterised in that the high in the clouds verification unit includes:
Acquisition module, for obtaining the version number of second login password from the data base;
First determining module, for there is no second login password in the database version number in the case of, really The fixed proof of identity to the user passes through;
Comparison module, for there is second login password in the database version number in the case of, relatively more described Whether the version number of the login password being input into when the version number of the second login password is with the User logs in is identical;
Second determining module, for the comparative result in the comparison module for the two identical when, determine body to the user Part verification passes through;When the comparative result of the comparison module is for the two difference, determine that the proof of identity to the user is not led to Cross.
7. a kind of user login method for cloud service, it is characterised in that include:
User name and corresponding login password from client receiving user's input;
In the case that the login password is consistent with the first login password, the corresponding use of the user name is sent to cloud server terminal Family information;The user profile includes the user name of the user input and corresponding login password;
Relation between the second login password for being fed back according to the cloud server terminal and the login password of the user input, really Determine whether to login successfully.
8. method according to claim 7, it is characterised in that second login according to cloud server terminal feedback is close Code and the user input login password between relation, it is determined whether login successfully including:
Second login password is obtained from the cloud server terminal;
The login password of the user input is compared with second login password;
In the case that comparative result is consistent for the two, returns to the client and login successfully the page.
9. a kind of user login method for cloud service, it is characterised in that include:
From customer center service end receive user information, the user profile includes the user name of the user input and corresponding Login password;
Corresponding second login password of the user name is obtained from data base;
Second login password is sent to the customer center service end, so that the customer center service end is using described Second login password determines whether to login successfully.
10. method according to claim 9, it is characterised in that also include:
When the business interface that successful user accesses cloud server terminal is had logged on, proof of identity is carried out to the user;
In the case of proof of identity is unsanctioned, the user is pointed out to log in again.
CN201610926350.XA 2016-10-31 2016-10-31 User login device used for cloud service and method thereof Pending CN106453347A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610926350.XA CN106453347A (en) 2016-10-31 2016-10-31 User login device used for cloud service and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610926350.XA CN106453347A (en) 2016-10-31 2016-10-31 User login device used for cloud service and method thereof

Publications (1)

Publication Number Publication Date
CN106453347A true CN106453347A (en) 2017-02-22

Family

ID=58176338

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610926350.XA Pending CN106453347A (en) 2016-10-31 2016-10-31 User login device used for cloud service and method thereof

Country Status (1)

Country Link
CN (1) CN106453347A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110472943A (en) * 2019-08-14 2019-11-19 河南礼乐国际教育科技有限公司 A kind of online Course Arrangement

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104270250A (en) * 2014-09-25 2015-01-07 合肥城市云数据中心有限公司 WiFi Internet surfing connecting authentication method and system based on asymmetric full-process encryption
CN104320391A (en) * 2014-10-22 2015-01-28 南京绿云信息技术有限公司 Cloud authentication method and system
CN105306456A (en) * 2015-09-30 2016-02-03 深圳市先河系统技术有限公司 System login method, server, system and network-attached storage device
CN105978919A (en) * 2016-07-29 2016-09-28 哈尔滨建筑云网络科技有限公司 Verification processing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104270250A (en) * 2014-09-25 2015-01-07 合肥城市云数据中心有限公司 WiFi Internet surfing connecting authentication method and system based on asymmetric full-process encryption
CN104320391A (en) * 2014-10-22 2015-01-28 南京绿云信息技术有限公司 Cloud authentication method and system
CN105306456A (en) * 2015-09-30 2016-02-03 深圳市先河系统技术有限公司 System login method, server, system and network-attached storage device
CN105978919A (en) * 2016-07-29 2016-09-28 哈尔滨建筑云网络科技有限公司 Verification processing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110472943A (en) * 2019-08-14 2019-11-19 河南礼乐国际教育科技有限公司 A kind of online Course Arrangement

Similar Documents

Publication Publication Date Title
US11263299B2 (en) System and method for identity and reputation score based on transaction history
EP3780539B1 (en) Identity verification method, login method, apparatuses, and computer device
US20230045378A1 (en) Non-repeatable challenge-response authentication
CN103023918B (en) The mthods, systems and devices logged in are provided for multiple network services are unified
US11425571B2 (en) Device configuration method, apparatus and system
CN107645486B (en) login authentication method and device
WO2012081404A1 (en) Authentication system, authentication server, service provision server, authentication method, and computer-readable recording medium
US20190260777A1 (en) Systems and methods for detecting and thwarting attacks on an it environment
US20130346331A1 (en) Methods and systems for asymmetric exchange of content
US8713656B2 (en) Authentication method
US11816728B2 (en) Digital identity
CN102143131B (en) User logout method and authentication server
CN105430012B (en) A kind of multi-site synchronizes the method and device of login
CN107203576A (en) Information synchronization method and device
CN110363423A (en) A kind of travel information management method, server and system
CN106453347A (en) User login device used for cloud service and method thereof
US11087374B2 (en) Domain name transfer risk mitigation
CN101969426B (en) Distributed user authentication system and method
US8533802B2 (en) Authentication system and related method
US8505079B2 (en) Authentication system and related method
CN102984142B (en) The login system of enterprise resource planning and login method
US20130104209A1 (en) Authentication system
CN107743134A (en) Log-on message processing method, client, server and storage medium
CN108985299A (en) A kind of internet data based on personal information security enters power method and system
CN110930234B (en) Financial management method with remote access function

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170222

WD01 Invention patent application deemed withdrawn after publication