CN103152399B - Login method, system and cloud server - Google Patents

Login method, system and cloud server Download PDF

Info

Publication number
CN103152399B
CN103152399B CN201310049918.0A CN201310049918A CN103152399B CN 103152399 B CN103152399 B CN 103152399B CN 201310049918 A CN201310049918 A CN 201310049918A CN 103152399 B CN103152399 B CN 103152399B
Authority
CN
China
Prior art keywords
terminal
information
login
cloud server
login sessions
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310049918.0A
Other languages
Chinese (zh)
Other versions
CN103152399A (en
Inventor
朱建庭
林仕鼎
郭杏荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201310049918.0A priority Critical patent/CN103152399B/en
Publication of CN103152399A publication Critical patent/CN103152399A/en
Application granted granted Critical
Publication of CN103152399B publication Critical patent/CN103152399B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present invention proposes a kind of login method, system and cloud server, and the method comprises the following steps: cloud server receives the long connection request that first terminal sends; Obtain the first login sessions information and identification information between first terminal; Set up the corresponding relation between the long handle connecting and the first login sessions information, identification information; Receive the identification information that the second terminal sends; Obtain long handle and the first login sessions information connecting according to identification information, and generate login Quick Response Code, and connect login Quick Response Code is sent to first terminal by length; Receive the logging request sending after the second terminal parses login Quick Response Code, logging request comprises the first login sessions information; And according to the second login sessions information between the first login sessions Information generation and the second terminal, and the second login sessions information is sent to the second terminal. The present invention can reduce the input cost of eliminating even completely in process of user login, has promoted user's experience.

Description

Login method, system and cloud server
Technical field
The present invention relates to communication technical field, relate in particular to a kind of login method, system and cloud server.
Background technology
At present, existing network service, when needs user logins, generally at least needs user to input oneIndividual user name, password, simultaneously in order to promote cryptosecurity degree, generally all need password that user sets at leastComprise numeral, letter, some system even also requires password to comprise at least one special number of words, and mobile establishingStandby upper input cost, again far away higher than the input cost on PC equipment, adds and also needs to remember one relativelyComplicated password, therefore existing sign-in experience is not very desirable for mobile device user.
Summary of the invention
The present invention is intended at least one of solve the problems of the technologies described above.
For this reason, first object of the present invention is to propose a kind of login method, and the method can reduce evenEliminate the input cost in process of user login completely, promoted user's experience, there is agility, securityWith applicability.
Second object of the present invention is to propose a kind of login system.
The 3rd object of the present invention is to propose a kind of cloud server.
To achieve these goals, the login method of first aspect present invention embodiment comprises the following steps: cloudEnd server receives the long connection request that first terminal sends for default address; Described cloud server obtainsThe mark that the first login sessions information between described cloud server and described first terminal and user bindInformation; Described cloud server set up the described long handle connecting and described the first login sessions information, described inCorresponding relation between identification information; Described cloud server receives the described identification information that the second terminal sends;The described identification information that described cloud server sends according to described the second terminal obtains corresponding described long connectionHandle and described the first login sessions information, and according to described the first login sessions Information generation login two dimensionCode, and by described long connection described login Quick Response Code being sent to described first terminal and by described theOne terminal shows; After described cloud server receives and logins Quick Response Code described in described the second terminal parsesThe described logging request sending, described logging request comprises described the first login sessions information; And described cloudEnd server is according between cloud server described in described the first login sessions Information generation and described the second terminalThe second login sessions information, and described the second login sessions information is sent to described the second terminal.
According to the login method of the embodiment of the present invention, be the existing user's login of PC terminal meeting by first terminalIt is in mobile terminal, to realize login automatically in the second terminal that words information helps user, and the method can reduce evenEliminate the input cost in process of user login completely, promoted user's experience, there is agility, securityWith applicability.
To achieve these goals, the login system of second aspect present invention embodiment, comprising: first terminal,The second terminal and cloud server, wherein, described first terminal, for sending the session for default addressAsk, and receive and show the login Quick Response Code of described cloud server transmission; Described cloud server,Be used for receiving described long connection request, and obtain first between described cloud server and described first terminalThe identification information that login sessions information and user bind, and set up the described long handle connecting and described theCorresponding relation between one login sessions information, described identification information, and receive described second terminal sendDescribed identification information, and the described identification information sending according to described the second terminal obtains corresponding described lengthThe handle and described the first login sessions information that connect, and according to described the first login sessions Information generation loginQuick Response Code, and by described long connection described login Quick Response Code being sent to described first terminal and passing through instituteState first terminal and show, and receive and login the institute sending after Quick Response Code described in described the second terminal parsesState logging request, described logging request comprises described the first login sessions information, and steps on according to described firstRecord session information generates the second login sessions information between described cloud server and described the second terminal, andDescribed the second login sessions information is sent to described the second terminal; Described the second terminal, for obtaining and separatingAnalyse the described login Quick Response Code that described first terminal shows, and send described logging request to the service of described high in the cloudsDevice, and receive described the second login sessions information that described cloud server sends.
According to the login system of the embodiment of the present invention, be the existing user's login of PC terminal meeting by first terminalIt is in mobile terminal, to realize login automatically in the second terminal that words information helps user, and the method can reduce evenEliminate the input cost in process of user login completely, promoted user's experience, there is agility, securityWith applicability.
To achieve these goals, the cloud server of third aspect present invention embodiment, comprising: first connectsReceive module, the long connection request sending for default address for receiving first terminal; The first acquisition module,Tie up for the first login sessions information and the user that obtain between described cloud server and described first terminalFixed identification information; Set up module, for setting up the described long handle connecting and described the first login sessions letterCorresponding relation between breath, described identification information; The second receiver module, for receive second terminal sendDescribed identification information; The second acquisition module, obtains for the described identification information sending according to described the second terminalGet corresponding described long handle and described the first login sessions information connecting; The first generation module, for rootAccording to described the first login sessions Information generation login Quick Response Code; The first sending module, for connecting by described lengthConnect and described login Quick Response Code is sent to described first terminal and shows by described first terminal; The 3rdReceiver module, for receive login the described login sending after Quick Response Code described in described the second terminal parses pleaseAsk, described logging request comprises described the first login sessions information; The second generation module, described in basisThe second login sessions letter described in the first login sessions Information generation between cloud server and described the second terminalBreath; And second sending module, for described the second login sessions information is sent to described the second terminal.
According to the cloud server of the embodiment of the present invention, making by first terminal is the existing user of PC terminalIt is in mobile terminal, to realize login automatically in the second terminal that login sessions information helps user, can reduce evenEliminate the input cost in process of user login completely, promoted user's experience, there is agility, securityWith applicability.
The aspect that the present invention is additional and advantage in the following description part provide, and part is by from retouching belowIn stating, become obviously, or recognize by practice of the present invention.
Brief description of the drawings
The present invention above-mentioned and/or additional aspect and advantage from the following description of the accompanying drawings of embodimentsTo become obviously and easily and understand, wherein,
Fig. 1 is the flow chart of login method according to an embodiment of the invention;
Fig. 2 is the flow chart of the login method of a specific embodiment according to the present invention;
Fig. 3 is according to the interaction diagrams of the login method of the embodiment of the present invention;
Fig. 4 is the structural representation of login system according to an embodiment of the invention;
Fig. 5 is the structural representation of cloud server according to an embodiment of the invention;
Fig. 6 is according to the structural representation of the second generation module 900 of the embodiment of the present invention.
Detailed description of the invention
Describe embodiments of the invention below in detail, the example of described embodiment is shown in the drawings, wherein certainlyBeginning to whole same or similar label represents same or similar element or has the unit of identical or similar functionsPart. Exemplary below by the embodiment being described with reference to the drawings, only for explaining the present invention, and can notBe interpreted as limitation of the present invention. On the contrary, embodiments of the invention comprise and fall into additional claimsAll changes, amendment and equivalent within the scope of spirit and intension.
In description of the invention, it will be appreciated that, term " first ", " second " etc. are only for describingObject, and can not be interpreted as instruction or hint relative importance. In description of the invention, need to illustrateBe, unless otherwise clearly defined and limited, term " is connected ", " connection " should be interpreted broadly, for example,Can be to be fixedly connected with, can be also to removably connect, or connect integratedly; Can be mechanical connection, alsoIt can be electrical connection; Can be to be directly connected, also can indirectly be connected by intermediary. For this areaThose of ordinary skill, can concrete condition understand above-mentioned term concrete meaning in the present invention. ThisOutward, in description of the invention, except as otherwise noted, the implication of " multiple " is two or more.
Any process of otherwise describing in flow chart or at this or method are described and can be understood to, tableShow and comprise that one or more is for realizing the code of executable instruction of step of specific logical function or processModule, fragment or part, and the scope of the preferred embodiment of the present invention comprises other realization, itsIn can be not according to order shown or that discuss, comprise according to related function by the mode of basic while orBy contrary order, carry out function, this should be by embodiments of the invention person of ordinary skill in the fieldInstitute is understood.
Describe according to the login method of the embodiment of the present invention, system and cloud server below with reference to accompanying drawing.
A kind of login method, comprises the following steps: cloud server receives first terminal and sends out for default addressThe long connection request sending; Cloud server obtains the first login sessions between cloud server and first terminalThe identification information that information and user bind; Cloud server is set up long handle and the first login sessions connectingCorresponding relation between information, identification information; Cloud server receives the identification information that the second terminal sends;The identification information that cloud server sends according to the second terminal obtains the corresponding long handle connecting and the first loginSession information, and according to the first login sessions Information generation login Quick Response Code, and connect and will login by lengthQuick Response Code is sent to first terminal and shows by first terminal; Cloud server receives the second terminal solutionAnalyse the logging request sending after login Quick Response Code, logging request comprises the first login sessions information; And cloudEnd server is according to the login of second between the first login sessions Information generation cloud server and the second terminal meetingWords information, and the second login sessions information is sent to the second terminal.
Fig. 1 is the flow chart of login method according to an embodiment of the invention.
As shown in Figure 1, login method comprises the following steps.
Step S101, cloud server receives the long connection request that first terminal sends for default address.
Particularly, first terminal can be PC terminal. User opens certain network service in first terminalApplication program to be to input default URL address, and sends out to cloud server according to the default URL address of inputSend and set up the long long connection request connecting.
Step S102, cloud server obtains the first login sessions letter between cloud server and first terminalThe identification information that breath and user bind.
In one embodiment of the invention, the long connection request sending at first terminal comprises first terminalAnd the first login sessions information of setting up between cloud server, the first login sessions information is generally by firstThe cookie of the browser of terminal transmits, and login sessions acquisition of information is current steps on according to first for high in the clouds service endEmploy the account information at family, and the identification information bound of account information.
In one embodiment of the invention, identification information comprises mobile number and/or equipment mark code, wherein,Equipment mark code comprises International Mobile Equipment Identity code IMEI, user identity identification SIM and medium access controlOne or more in the MAC Address of address processed.
Step S103, the long handle connecting of cloud server foundation and the first login sessions information, identification informationBetween corresponding relation.
Step S104, cloud server receives the identification information that the second terminal sends.
In one embodiment of the invention, the second terminal is mobile terminal.
Particularly, user is in mobile terminal, to open the application program of corresponding network service in the second terminal,The second terminal Automatically invoked system interface obtains the identification information of the second terminal, for example mobile number and/or equipmentIdentification code etc., and submit the identification information obtaining to cloud server, open scanning login Quick Response Code simultaneouslyThe function items of logining, now two-dimensional code display scan box in mobile terminal.
Step S105, the identification information that cloud server sends according to the second terminal obtains corresponding long connectHandle and the first login sessions information, and according to the first login sessions Information generation login Quick Response Code, Yi JitongLong connection is sent to first terminal by login Quick Response Code and shows by first terminal.
Wherein, if the identification information that cloud server sends according to the second terminal does not obtain corresponding long connectionHandle and the first login sessions information, cloud server to second terminal send error message.
Step S106, cloud server receives the login sending after the second terminal parses login Quick Response Code pleaseAsk, logging request comprises the first login sessions information.
Particularly, after first terminal shows login Quick Response Code, prompting user uses the second terminal to scan.User uses the shown Quick Response Code scan box scanning of the second terminal login Quick Response Code, and login Quick Response Code is carried outResolve to obtain the first login sessions information, the second terminal is committed to the first login sessions information high in the clouds clothes againBusiness device.
Step S107, cloud server is according to the first login sessions Information generation cloud server and the second terminalBetween the second login sessions information, and the second login sessions information is sent to the second terminal.
According to the login method of the embodiment of the present invention, be the existing user's login of PC terminal meeting by first terminalIt is in mobile terminal, to realize login automatically in the second terminal that words information helps user, and the method can reduce evenEliminate the input cost in process of user login completely, promoted user's experience, there is agility, securityWith applicability.
Fig. 2 is the flow chart of the login method of a specific embodiment according to the present invention, and Fig. 3 is according to thisThe interaction diagrams of the login method of bright embodiment.
As shown in Figures 2 and 3, login method comprises the following steps.
Step S201, cloud server C receives the long connection request that first terminal A sends for default address.
Particularly, first terminal A can be PC terminal. User opens certain network clothes in first terminal AThe application program of business to be to input default URL address, and completes the login (S1) of certain network service rootThe URL address default according to input sends and sets up the long long connection request (S2) connecting to cloud server C.
Step S202, cloud server C obtains the login of first between cloud server C and first terminal AThe identification information that session information and user bind.
In one embodiment of the invention, the long connection request sending at first terminal A comprises first eventuallyThe first login sessions information of setting up between end A and cloud server C, the first login sessions information is generally logicalThe cookie that crosses the browser of first terminal A transmits, and high in the clouds service end C is according to the first login sessions informationObtain the account information of current login user, and the identification information (S3) bound of account information.
In one embodiment of the invention, identification information comprises mobile number and/or equipment mark code, wherein,Equipment mark code comprises International Mobile Equipment Identity code IMEI, user identity identification SIM and medium access controlOne or more in the MAC Address of address processed.
Step S203, cloud server A sets up the long handle connecting and the first login sessions information, mark are believedCorresponding relation (S4) between breath.
Step S204, cloud server A receives the identification information that the second terminal B sends.
In one embodiment of the invention, the second terminal A is mobile terminal.
Particularly, user is the application program of opening corresponding network service in mobile terminal at the second terminal A(S5), the second terminal A Automatically invoked system interface obtains the identification information of the second terminal A, for example mobile numberCode and/or equipment mark code etc. (S6), and submit the identification information (S7) obtaining to cloud server C,Open the function items that scanning login Quick Response Code is logined, now in mobile terminal B, two-dimensional code display is swept simultaneouslyRetouch frame (S7).
Step S205, the identification information that cloud server C sends according to the second terminal B obtains corresponding long companyThe handle connecing and the first login sessions information (S8), and according to the first login sessions Information generation login Quick Response Code(S9), and by length connect login Quick Response Code be sent to first terminal A(S10) and by first eventuallyEnd A shows (S11).
Wherein, if the identification information that cloud server C sends according to the second terminal B does not obtain corresponding lengthThe handle and the first login sessions information that connect, cloud server C sends error message to the second terminal B.
Step S206, cloud server C receives the second terminal B and resolves the login sending after login Quick Response CodeRequest, logging request comprises the first login sessions information.
Wherein, in logging request, also comprise the identification information of the second terminal B.
Particularly, after first terminal A shows login Quick Response Code, prompting user uses the second terminal B to carry outScanning (S11). User uses the second shown Quick Response Code scan box scanning login Quick Response Code of terminal B (S12),And login Quick Response Code is resolved to obtain the first login sessions information (S13), the second terminal B is again by theOne login sessions information and identification information are committed to cloud server C(S14).
Step S207, the first login sessions information that cloud server C sends the second terminal B is verified(S15)。
Step S208, cloud server C, after the first login sessions Information Authentication is passed through, further judgesBetween the first login sessions information that the second terminal B sends and identification information, whether there is corresponding relation (S15).
Step S209, if there is corresponding relation, cloud server C obtain according to the first session information rightThe account information of answering, and generate the second session information according to account information, and the second login sessions information is sent outDeliver to the second terminal B(S16).
Wherein, the second terminal B, after obtaining the second login sessions information, completes the rear relevant treatment of login alsoShow the user interface (S17) after login.
According to the login method of the embodiment of the present invention, the first login sessions information that the second terminal is sent is carried outChecking, safety that can guarantee information.
In order to realize above-described embodiment, the present invention also proposes a kind of login system.
A kind of login system, comprising: first terminal, the second terminal and cloud server, wherein, first eventuallyEnd, for sending the session request for default address, and receives and shows stepping on of cloud server transmissionRecord Quick Response Code; Cloud server, for receiving long connection request, and obtains cloud server and first terminalBetween the first login sessions information and the identification information bound of user, and set up the long handle connecting withCorresponding relation between the first login sessions information, identification information, and receive the mark letter that the second terminal sendsBreath, and the identification information sending according to the second terminal obtains corresponding long handle and the first login meeting connectingWords information, and according to the first login sessions Information generation login Quick Response Code, and will login two by long connectionDimension code is sent to first terminal and shows by first terminal, and receives the second terminal parses login two dimensionThe logging request sending after code, logging request comprises the first login sessions information, and according to the first loginSession information generates the second login sessions information between cloud server and the second terminal, and by the second loginSession information is sent to the second terminal; The second terminal, the login two showing for obtaining and resolve first terminalDimension code, and send logging request to cloud server, and receive the second login meeting that cloud server sendsWords information.
Fig. 4 is the structural representation of login system according to an embodiment of the invention.
As shown in Figure 4, login system comprises: first terminal 10, the second terminal 20 and cloud server 30.
Particularly, first terminal 10 is for sending the session request for default address, and receives and showThe login Quick Response Code that cloud server sends. More specifically, first terminal 10 can be PC terminal, userIn first terminal 10, open the application program of certain network service to input default URL address, and according toInputting default URL address sends and sets up the long long connection request connecting to cloud server 30.
Cloud server 30 is for receiving long connection request, and obtains cloud server 30 and first terminal 10Between the first login sessions information and the identification information bound of user, and set up the long handle connecting withCorresponding relation between the first login sessions information, identification information.
In one embodiment of the invention, the long connection request sending at first terminal 10 comprises first eventuallyThe first login sessions information of setting up between end 10 and cloud server 30, the first login sessions information is generalThe cookie of the browser by first terminal 10 transmits, and high in the clouds service end 30 is according to the first login sessionsThe account information of the current login user of acquisition of information, and the identification information bound of account information.
In one embodiment of the invention, identification information comprises mobile number and/or equipment mark code, wherein,Equipment mark code comprises International Mobile Equipment Identity code IMEI, user identity identification SIM and medium access controlOne or more in the MAC Address of address processed.
The identification information that cloud server 30 also sends for receiving the second terminal 20, and according to second eventuallyThe identification informations that end 20 sends obtain corresponding long handle and the first login sessions information connecting, and according to theOne login sessions Information generation login Quick Response Code, and connect login Quick Response Code is sent to first eventually by lengthEnd 10 also shows by first terminal 10. More specifically, user opens correspondence in the second terminal 20The application program of network service, the second terminal 20 Automatically invoked system interfaces obtain the mark letter of the second terminalBreath, such as mobile number and/or equipment mark code etc., and submit obtained mark to cloud server 30Information is opened the function items that scanning login Quick Response Code is logined simultaneously, now in the second terminal 20, shows twoDimension code scan box. Wherein, if the identification information that cloud server 30 sends according to the second terminal 20 does not obtainGet corresponding long handle and the first login sessions information connecting, cloud server 30 is to the second terminal 20Send error message.
Cloud server 30 is also resolved the login of login Quick Response Code transmission afterwards and is asked for receiving the second terminal 20Ask, logging request comprises the first login sessions information, and according to the first login sessions Information generation high in the clouds clothesThe second login sessions information between business device 30 and the second terminal 20, and the second login sessions information is sentTo the second terminal 20. More specifically, after first terminal 10 shows login Quick Response Code, prompting user usesThe second terminal 20 scans, and user uses the shown Quick Response Code scan box scanning of the second terminal 20 login twoDimension code, and login Quick Response Code is resolved to obtain the first login sessions information, the second terminal 20 is again by theOne login sessions information is committed to cloud server 30.
The login Quick Response Code that the second terminal 20 shows for obtaining and resolve first terminal 10, and send loginAsk to cloud server 30, and receive the second login sessions information that cloud server 30 sends.
In one embodiment of the invention, the second terminal 20 is mobile terminal.
According to the login system of the embodiment of the present invention, be the existing user's login of PC terminal meeting by first terminalIt is in mobile terminal, to realize login automatically in the second terminal that words information helps user, and the method can reduce evenEliminate the input cost in process of user login completely, promoted user's experience, there is agility, securityWith applicability.
In one embodiment of the invention, logging request also comprises the identification information of the second terminal 20, high in the cloudsServer 30 also verifies for: the first login sessions information that the second terminal 20 is sent, andAfter one login sessions Information Authentication is passed through, further judge the first login sessions letter that the second terminal 20 sendsBetween breath and identification information, whether there is corresponding relation, and in the time there is corresponding relation, according to the first sessionThe account information that acquisition of information is corresponding, and generate the second session information according to account information. Thus through checkingSafety that can guarantee information.
In order to realize above-described embodiment, the present invention also proposes a kind of cloud server.
A kind of cloud server, comprising: the first receiver module, and for receiving first terminal for default addressThe long connection request sending; The first acquisition module, for obtaining between cloud server and first terminalThe identification information that one login sessions information and user bind; Set up module, for setting up the long handle connectingAnd the corresponding relation between the first login sessions information, identification information; The second receiver module, for receivingThe identification information that two terminals send; The second acquisition module, obtains for the identification information sending according to the second terminalGet corresponding long handle and the first login sessions information connecting; The first generation module, for stepping on according to firstRecord session information generates login Quick Response Code; The first sending module, sends out for logining Quick Response Code by long connectionDeliver to first terminal and show by first terminal; The 3rd receiver module, for receiving the second terminal solutionAnalyse the logging request sending after login Quick Response Code, logging request comprises the first login sessions information; Second is rawBecome module, for stepping on according to second between the first login sessions Information generation cloud server and the second terminalRecord session information; And second sending module, for the second login sessions information is sent to the second terminal.
Fig. 5 is the structural representation of cloud server according to an embodiment of the invention.
As shown in Figure 5, cloud server comprises: the first receiver module 100, the first acquisition module 200, buildFormwork erection piece 300, the second receiver module 400, the second acquisition module 500, the first generation module 600, firstSending module 700, the 3rd receiver module 800, the second generation module 900 and the second sending module 1000.
Particularly, the long connection that the first receiver module 100 sends for default address for receiving first terminalRequest. More specifically, first terminal can be PC terminal, and user opens certain network clothes in first terminalBusiness application program to input default URL address, and according to input default URL address serve to high in the cloudsThe first receiver module 100 of device sends sets up the long long connection request connecting.
The first acquisition module 200 is for obtaining the first login sessions letter between cloud server and first terminalThe identification information that breath and user bind. Set up module 300 for setting up the long handle connecting and the first loginCorresponding relation between session information, identification information.
In one embodiment of the invention, the received first terminal of the first receiver module 100 sendsLong connection request comprises the first login sessions information of setting up between first terminal and cloud server, firstThe login sessions information generally cookie of the browser by first terminal is transmitted, the first acquisition module 200According to the account information of the current login user of the first login sessions acquisition of information, and account information is boundIdentification information.
In one embodiment of the invention, identification information comprises mobile number and/or equipment mark code, wherein,Equipment mark code comprises International Mobile Equipment Identity code IMEI, user identity identification SIM and medium access controlOne or more in the MAC Address of address processed.
The identification information that the second receiver module 400 sends for receiving the second terminal. In a reality of the present inventionExecute in example, the second terminal is mobile terminal. More specifically, user is to open in mobile terminal in the second terminalThe application program of corresponding network service, the second terminal Automatically invoked system interface obtains the mark of the second terminalInformation, such as mobile number and/or equipment mark code etc., and submit to obtained to the second receiver module 400Identification information is opened the function items that scanning login Quick Response Code is logined simultaneously, now in mobile terminal, showsQuick Response Code scan box.
The second acquisition module 500 obtains corresponding long connect for the identification information sending according to the second terminalHandle and the first login sessions information. Wherein, if the second acquisition module 500 according to second terminal sendIdentification information does not obtain corresponding long handle and the first login sessions information connecting, and sends to the second terminalError message.
The first generation module 600 is for logining Quick Response Code according to the first login sessions Information generation. First sendsModule 700 is sent to first terminal by login Quick Response Code and shows by first terminal for connecting by lengthShow.
The 3rd receiver module 800 please for receiving the login sending after the second terminal parses login Quick Response CodeAsk, logging request comprises the first login sessions information. The second generation module 900 is for according to the first login meetingThe second login sessions information between words Information generation cloud server and the second terminal. The second sending module1000 for being sent to the second terminal by the second login sessions information.
According to the cloud server of the embodiment of the present invention, making by first terminal is the existing user of PC terminalIt is in mobile terminal, to realize login automatically in the second terminal that login sessions information helps user, can reduce evenEliminate the input cost in process of user login completely, promoted user's experience, there is agility, securityWith applicability.
Fig. 6 is according to the structural representation of the second generation module 900 of the embodiment of the present invention.
As shown in Figure 6, the second generation module 900 comprises: judging unit 210, authentication unit 220, obtainUnit 230 and generation unit 240.
In one embodiment of the invention, logging request also comprises the identification information of the second terminal.
Particularly, authentication unit 910 is verified for the first login sessions information that the second terminal is sent.Judging unit 920 is for after the first login sessions Information Authentication is passed through, and further judges that the second terminal sends outBetween the first login sessions information of sending and identification information, whether there is corresponding relation. Generation unit 930 forIn the time there is corresponding relation in judging unit 920 judgements, obtain corresponding account information according to the first session information,And generate the second session information according to account information.
The the first login sessions information thus the second terminal being sent is verified, safety that can guarantee information.
Should be appreciated that in an embodiment of the present invention, mobile terminal can be mobile phone, panel computer, individualDigital assistants, e-book etc. have the hardware device of various operating systems.
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, multiple steps or method can be held with being stored in memory and by suitable instructionSoftware or firmware that row system is carried out are realized. For example, if realized with hardware, and in another enforcement sideThe same in formula, can realize by any one in following technology well known in the art or their combination: haveFor data-signal being realized to the discrete logic of the logic gates of logic function, there is suitable combinationThe special IC of logic gates, programmable gate array (PGA), field programmable gate array (FPGA)Deng.
In the description of this description, reference term " embodiment ", " some embodiment ", " example ",The description of " concrete example " or " some examples " etc. means the concrete spy in conjunction with this embodiment or example descriptionLevy, structure, material or feature be contained at least one embodiment of the present invention or example. In this explanationIn book, the schematic statement of above-mentioned term is not necessarily referred to identical embodiment or example. And, retouchSpecific features, structure, material or the feature of stating can be in any one or more embodiment or exampleWith suitable mode combination.
Although illustrated and described embodiments of the invention, those having ordinary skill in the art will appreciate that:In the situation that not departing from principle of the present invention and aim can to these embodiment carry out multiple variation, amendment,Replace and modification, scope of the present invention is limited by claim and equivalent thereof.

Claims (12)

1. a login method, is characterized in that, comprises the following steps:
Cloud server receives the long connection request that first terminal sends for default address;
Described cloud server obtains the login of first between described cloud server and described first terminalThe identification information that session information and user bind;
Described cloud server set up the described long handle connecting and described the first login sessions information, described inCorresponding relation between identification information;
Described cloud server receives the described identification information that the second terminal sends;
The described identification information that described cloud server sends according to described the second terminal obtains corresponding instituteState long handle and described the first login sessions information connecting, and raw according to described the first login sessions informationBecome login Quick Response Code, and by described long connection described login Quick Response Code being sent to described first terminalAnd show by described first terminal;
Described cloud server receives and logins stepping on of sending after Quick Response Code described in described the second terminal parsesRecord request, described logging request comprises described the first login sessions information; And
Described cloud server is according to cloud server and institute described in described the first login sessions Information generationState the second login sessions information between the second terminal, and described the second login sessions information is sent to instituteState the second terminal.
2. method according to claim 1, is characterized in that, described the second terminal is for eventually mobileEnd.
3. method according to claim 1, is characterized in that, described logging request also comprises instituteState the identification information of the second terminal, described cloud server is according to described the first login sessions Information generation instituteThe second login sessions information of stating between cloud server and described the second terminal further comprises:
The first login sessions information that described cloud server sends described the second terminal is verified;
Described cloud server, after described the first login sessions Information Authentication is passed through, further judges instituteState second terminal send described the first login sessions information and described identification information between whether exist rightShould be related to; And
If there is corresponding relation, described cloud server is according to described the first login sessions acquisition of informationCorresponding account information, and generate described the second login sessions information according to described account information.
4. according to the method described in claim 1-3 any one, it is characterized in that described identification informationComprise mobile number and/or equipment mark code, wherein, described equipment mark code comprises international mobile deviceOne in identity code IMEI, user identity identification SIM and Media Access Control address MAC AddressOr multiple.
5. a login system, is characterized in that, comprising: first terminal, the second terminal and high in the clouds clothesBusiness device, wherein,
Described first terminal, for sending the session request for default address, and receives and shows instituteState the login Quick Response Code that cloud server sends;
Described cloud server, for receiving long connection request, and obtain described cloud server with described inThe identification information that the first login sessions information between first terminal and user bind, and described in setting upCorresponding relation between the long handle connecting and described the first login sessions information, described identification information, andReceive the described identification information that described the second terminal sends, and according to described in described the second terminal transmissionIdentification information obtains corresponding described long handle and described the first login sessions information connecting, and according to instituteState the first login sessions Information generation login Quick Response Code, and by described long connection described login two dimensionCode is sent to described first terminal and shows by described first terminal, and receives described the second terminalResolve the logging request sending after described login Quick Response Code, described logging request comprises described the first loginSession information, and according to cloud server and described second described in described the first login sessions Information generationThe second login sessions information between terminal, and described the second login sessions information is sent to described secondTerminal;
Described the second terminal, the described login Quick Response Code showing for obtaining and resolve described first terminal,And send described logging request to described cloud server, and receive the institute that described cloud server sendsState the second login sessions information.
6. system according to claim 5, is characterized in that, described the second terminal is for eventually mobileEnd.
7. system according to claim 5, is characterized in that, described logging request also comprises instituteState the identification information of the second terminal, described cloud server also for:
The first login sessions information that described the second terminal is sent is verified, and is logined described firstAfter session information is verified, further judge described the first login sessions that described the second terminal sendsBetween information and described identification information, whether there is corresponding relation, and in the time there is corresponding relation, according toAccount information corresponding to described the first login sessions acquisition of information, and described in generating according to described account informationThe second login sessions information.
8. according to the system described in claim 5-7 any one, it is characterized in that described identification informationComprise mobile number and/or equipment mark code, wherein, described equipment mark code comprises international mobile deviceOne in identity code IMEI, user identity identification SIM and Media Access Control address MAC AddressOr multiple.
9. a cloud server, is characterized in that, comprising:
The first receiver module, the long connection request sending for default address for receiving first terminal;
The first acquisition module, steps on for obtaining first between described cloud server and described first terminalThe identification information that record session information and user bind;
Set up module, for set up the described long handle connecting and described the first login sessions information, described inCorresponding relation between identification information;
The second receiver module, the described identification information sending for receiving the second terminal;
The second acquisition module, obtains corresponding for the described identification information sending according to described the second terminalDescribed long handle and described the first login sessions information connecting;
The first generation module, for logining Quick Response Code according to described the first login sessions Information generation;
The first sending module, for being sent to described first by described long connection by described login Quick Response CodeTerminal also shows by described first terminal;
The 3rd receiver module, sends after Quick Response Code for receiving to login described in described the second terminal parsesLogging request, described logging request comprises described the first login sessions information;
The second generation module, for according to cloud server described in described the first login sessions Information generation withThe second login sessions information between described the second terminal; And
The second sending module, for being sent to described the second terminal by described the second login sessions information.
10. cloud server according to claim 9, is characterized in that, described the second terminal isMobile terminal.
11. cloud servers according to claim 9, is characterized in that, described logging request alsoComprise the identification information of described the second terminal, described the second generation module comprises:
Authentication unit, verifies for the first login sessions information that described the second terminal is sent;
Judging unit, for after described the first login sessions Information Authentication is passed through, further judges instituteState second terminal send described the first login sessions information and described identification information between whether exist rightShould be related to; And
Generation unit, in the time that described judging unit judgement exists corresponding relation, steps on according to described firstRecord session information obtains corresponding account information, and generates described the second login meeting according to described account informationWords information.
12. according to the cloud server described in claim 9-11 any one, it is characterized in that, described inIdentification information comprises mobile number and/or equipment mark code, and wherein, described equipment mark code comprises the worldMobile equipment identity code IMEI, user identity identification SIM and Media Access Control address MAC AddressIn one or more.
CN201310049918.0A 2013-02-07 2013-02-07 Login method, system and cloud server Active CN103152399B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310049918.0A CN103152399B (en) 2013-02-07 2013-02-07 Login method, system and cloud server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310049918.0A CN103152399B (en) 2013-02-07 2013-02-07 Login method, system and cloud server

Publications (2)

Publication Number Publication Date
CN103152399A CN103152399A (en) 2013-06-12
CN103152399B true CN103152399B (en) 2016-05-25

Family

ID=48550258

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310049918.0A Active CN103152399B (en) 2013-02-07 2013-02-07 Login method, system and cloud server

Country Status (1)

Country Link
CN (1) CN103152399B (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104301199B (en) * 2013-07-17 2019-03-15 腾讯科技(深圳)有限公司 A kind of information processing method, apparatus and system
CN104426963B (en) * 2013-08-29 2018-06-15 腾讯科技(深圳)有限公司 The method and terminal of associated terminal
CN103533392B (en) * 2013-10-25 2016-08-17 乐视网信息技术(北京)股份有限公司 A kind of account login method, electronic equipment and system
CN105141645A (en) * 2014-05-29 2015-12-09 阿里巴巴集团控股有限公司 Login method of terminal devices, terminal devices and cloud server
CN104168261B (en) * 2014-07-02 2018-09-07 百度在线网络技术(北京)有限公司 Dynamic password login method and device
CN105450711B (en) * 2014-09-02 2019-05-31 深圳Tcl新技术有限公司 Realize the method and system that first terminal and second terminal are bound automatically
CN104462250B (en) * 2014-11-20 2018-04-13 北京安奇智联科技有限公司 The communication of the browser and mobile terminal of computing device
CN104462367B (en) * 2014-12-08 2018-09-14 北京安奇智联科技有限公司 A kind of browser and its method for viewing thumbnail of computing device
CN105828319B (en) * 2015-01-08 2019-10-29 中国移动通信集团广东有限公司 A kind of method and device for replacing client identification module card
CN105871783A (en) * 2015-01-21 2016-08-17 上海墨百意信息科技有限公司 Method and device for logging in to web server
CN107229524A (en) * 2016-03-25 2017-10-03 阿里巴巴集团控股有限公司 A kind of data inputting method, equipment and system
CN106954214B (en) * 2017-03-31 2020-05-26 联想(北京)有限公司 Electronic device and control method thereof
CN107317808A (en) * 2017-06-22 2017-11-03 四川长虹电器股份有限公司 A kind of safety certifying method based on device pairing
CN107317813A (en) * 2017-06-30 2017-11-03 北京奇虎科技有限公司 Terminal logs in method and system
CN108616567B (en) * 2018-03-23 2021-07-23 创新先进技术有限公司 Picture transmission method, system, server, client and user equipment
CN113038090B (en) * 2021-05-24 2021-09-07 武汉中科通达高新技术股份有限公司 Transmission link management method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1959727A (en) * 2005-11-02 2007-05-09 中国银联股份有限公司 Shopping method and system by using handset based on technique of 3D codes
CN102238263A (en) * 2010-04-20 2011-11-09 上海博路信息技术有限公司 Method of getting online by using mobile phone to scan barcode
CN102571803A (en) * 2012-01-19 2012-07-11 时代亿宝(北京)科技有限公司 Method and system for protecting account, preventing order from being tampered and preventing fishing attack based on graphical two-dimensional code
CN102769628A (en) * 2012-07-27 2012-11-07 腾讯科技(深圳)有限公司 Page login method and server

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003085147A (en) * 2001-09-14 2003-03-20 Fujitsu Ltd Information processing system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1959727A (en) * 2005-11-02 2007-05-09 中国银联股份有限公司 Shopping method and system by using handset based on technique of 3D codes
CN102238263A (en) * 2010-04-20 2011-11-09 上海博路信息技术有限公司 Method of getting online by using mobile phone to scan barcode
CN102571803A (en) * 2012-01-19 2012-07-11 时代亿宝(北京)科技有限公司 Method and system for protecting account, preventing order from being tampered and preventing fishing attack based on graphical two-dimensional code
CN102769628A (en) * 2012-07-27 2012-11-07 腾讯科技(深圳)有限公司 Page login method and server

Also Published As

Publication number Publication date
CN103152399A (en) 2013-06-12

Similar Documents

Publication Publication Date Title
CN103152399B (en) Login method, system and cloud server
CN103152331B (en) The method, system and the cloud server that log in/register is carried out by mobile terminal
CN103281327B (en) The method of many equipment secure log, system and cloud server
CN108293053B (en) Single sign-on authentication of client applications via a browser
CN103124267B (en) The method, system and the cloud server that log in/register is carried out by mobile terminal
CN103139777B (en) The method, system and the cloud server that log in/register is carried out by mobile terminal
CN103152400A (en) Method and system for logging in through mobile terminal and cloud server
CN103124266B (en) Mobile terminal and carry out the method, system and the cloud server that log in by it
CN103152330A (en) Login method, login system and cloud server
CN105828329B (en) Mobile terminal authentication management method
US20160197928A1 (en) Seamless Wi-Fi Subscription Remediation
CN101965739B (en) System and method of user authentication in wireless communication networks
CN103414740B (en) A kind of private cloud account configuration method and device
CN102111759A (en) Authentication method, system and device
CN104244243B (en) Terminal peripheral hardware control method, Machine To Machine gateway and communication system
US10425812B2 (en) Method and apparatus for establishment of private communication between devices
CN106534082B (en) User registration method and device
CN105681258B (en) Session method and conversational device based on third-party server
CN103152401B (en) Mobile terminal and carry out the method, system and the cloud server that log in by it
CN105392182B (en) The setting method and system of the network configuration information of WIFI equipment
CN103259763B (en) IP Multimedia System IMS domain register method, system and device
CN104936177B (en) A kind of access authentication method and access authentication system
CN103905408A (en) Information acquisition method and equipment
CN105704154B (en) A kind of service processing method based on RESTful, apparatus and system
CN105409259B (en) Telephone service is provided by WIFI for non-cellular

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant