CN109862078A - Client login method, device and system, storage medium and electronic device - Google Patents

Client login method, device and system, storage medium and electronic device Download PDF

Info

Publication number
CN109862078A
CN109862078A CN201910016290.1A CN201910016290A CN109862078A CN 109862078 A CN109862078 A CN 109862078A CN 201910016290 A CN201910016290 A CN 201910016290A CN 109862078 A CN109862078 A CN 109862078A
Authority
CN
China
Prior art keywords
client
equipment
target account
logged
logging
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.)
Granted
Application number
CN201910016290.1A
Other languages
Chinese (zh)
Other versions
CN109862078B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910016290.1A priority Critical patent/CN109862078B/en
Publication of CN109862078A publication Critical patent/CN109862078A/en
Application granted granted Critical
Publication of CN109862078B publication Critical patent/CN109862078B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of client login method, device and system, storage medium and electronic devices.Wherein, this method comprises: scanning the graphic code shown in the second equipment by the first equipment, wherein the first equipment is the mobile terminal device that operation has the first client for having used target account and login password to log in, and the second equipment is immobile terminal equipment;In the case where determining that the number for currently running the immobile terminal equipment for having the client logged in using target account is greater than 1 and is less than targets threshold, the second client is logged on the second device using target account.Through the invention, the data for carrying out in the related technology using target application between more table surface equipment are solved and synchronize that there are the technical problems of operating process complexity.

Description

Client login method, device and system, storage medium and electronic device
Technical field
The present invention relates to computer fields, in particular to a kind of client login method, device and system, storage Medium and electronic device.
Background technique
Currently, in the use process of target application (for example, instant messaging application), when user needs to set in more table surfaces When standby progress data synchronize, user needs successively to log in each desk device, after the data of current desktop equipment synchronously complete, moves back Then current desktop equipment out logs in other table surface equipment progress data and synchronizes, until all desk devices complete data It is synchronous.
As it can be seen that carrying out the data between more table surface equipment using target application in the related technology synchronizes that there are operating process Complicated problem.
Summary of the invention
The embodiment of the invention provides a kind of client login method, device and system, storage medium and electronic device, with At least solve to carry out using target application in the related technology the data between more table surface equipment synchronize there are operating process complexity The technical issues of.
According to an aspect of an embodiment of the present invention, a kind of client login method is provided, comprising: pass through the first equipment Scan the graphic code shown in the second equipment, wherein first equipment is to run to have to have used target account and login password The mobile terminal device of the first client logged in, second equipment are immobile terminal equipment;It is determining currently to run There is the case where number of the immobile terminal equipment of the client logged in using the target account is greater than 1 and is less than targets threshold Under, the second client is logged in second equipment using the target account.
According to another aspect of an embodiment of the present invention, a kind of client entering device is additionally provided, comprising: scanning element, For scanning the graphic code shown in the second equipment by the first equipment, wherein first equipment is to run to have to have used mesh The mobile terminal device of the first client of account and login password login is marked, second equipment is immobile terminal equipment; Unit is logged in, for determining currently to run the immobile terminal equipment for having the client logged in using the target account In the case that number is greater than 1 and is less than targets threshold, the second client is logged in second equipment using the target account End.
Another aspect according to an embodiment of the present invention, additionally provides a kind of client login system, and above-mentioned client logs in System includes: have the first client for having used target account and login password to log in including destination server, operation first Equipment and operation have the second equipment of the second client, and first equipment is mobile terminal device, and second client is Immobile terminal equipment, first equipment include above-mentioned device, wherein second equipment, for being taken to the target Business device sends request message, wherein the request message logs in second client for requesting;Receive the destination service Device responds the graphic code that the request message returns, wherein includes identification information in the graphic code;In second equipment Show the graphic code;The destination server, the request message sent for receiving second equipment;Described in response Request message generates the graphic code;The graphic code of generation is returned into second equipment.
Another aspect according to an embodiment of the present invention, additionally provides a kind of storage medium, and above-mentioned storage medium includes storage Program, wherein above procedure run when execute above-mentioned method.
According to another aspect of an embodiment of the present invention, it additionally provides a kind of electronic device, including memory, processor and deposits The computer program that can be run on above-mentioned memory and on above-mentioned processor is stored up, above-mentioned processor passes through above-mentioned computer journey Sequence executes above-mentioned method.
In embodiments of the present invention, using controlling more immobile terminal equipment by a mobile terminal device while stepping on Online mode is recorded, the graphic code shown in the second equipment is scanned by the first equipment, wherein the first equipment is to run to have to have adopted With the mobile terminal device for the first client that target account and login password log in, the second equipment is immobile terminal equipment; The number for currently running the immobile terminal equipment for having the client logged in using target account is being determined greater than 1 and is being less than mesh In the case where marking threshold value, the second client is logged on the second device using target account, due to having in current operation using mesh The number of the immobile terminal equipment for the client that account logs in is marked greater than 1 and when being less than targets threshold, is existed using target account The second client is logged in second equipment, it is online so as to allow same account in multiple desk devices while logging in, into And meet more table surface equipment and carry out the needs of data are synchronous, so that it is same to realize progress data between simplified more table surface equipment The technical effect of the operating process of step, and then solve and carried out between more table surface equipment using target application in the related technology Data synchronize that there are the technical problems of operating process complexity.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of application environment schematic diagram of optional client login method according to an embodiment of the present invention;
Fig. 2 is a kind of flow chart of optional client login method according to an embodiment of the present invention;
Fig. 3 is a kind of schematic diagram of optional client login method according to an embodiment of the present invention;
Fig. 4 is the schematic diagram of another optional client login method according to an embodiment of the present invention;
Fig. 5 is the schematic diagram of another optional client login method according to an embodiment of the present invention;
Fig. 6 is the schematic diagram of another optional client login method according to an embodiment of the present invention;
Fig. 7 is the schematic diagram of another optional client login method according to an embodiment of the present invention;
Fig. 8 is the schematic diagram of another optional client login method according to an embodiment of the present invention;
Fig. 9 is the schematic diagram of another optional client login method according to an embodiment of the present invention;
Figure 10 is the schematic diagram of another optional client login method according to an embodiment of the present invention;
Figure 11 is the flow chart of another optional client login method according to an embodiment of the present invention;
Figure 12 is a kind of schematic diagram of optional client entering device according to an embodiment of the present invention;
Figure 13 is a kind of schematic diagram of optional client login system according to an embodiment of the present invention;
Figure 14 is a kind of schematic diagram of optional electronic device according to an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product Or other step or units that equipment is intrinsic.
In embodiments of the present invention, a kind of embodiment of above-mentioned client login method is provided.As a kind of optional Embodiment, the client login method can be, but not limited to be applied in application environment as shown in Figure 1, the first equipment 102 It is connected by network with destination server 104, destination server 104 is connected by network with the second equipment 106.First equipment 102 be the mobile terminal device that operation has the first client for having used target account and login password to log in;Destination server 104 log in client in terminal device (mobile terminal device, immobile terminal equipment) for controlling target account;Second sets Standby 106 be the immobile terminal equipment that operation has the second client.Graphic code is shown in the second equipment 106.
The graphic code shown in the second equipment 106 can be scanned by the first equipment 102;It is determining currently to run to have to make In the case that the number of the immobile terminal equipment of the client logged in target account is greater than 1 and is less than targets threshold, use Target account logs in the second client on the second device.
Using target account log in the second client after, can between the client logged in using target account into Row data are synchronous.Due to allowing using target account while logging in the client in multiple immobile terminal equipment, and use mesh It can be interacted between the client on immobile terminal that mark account logs in, it therefore, can be simultaneously in multiple desk devices Between carry out that data are synchronous, simplify the synchronous process of data, improve the synchronous efficiency of data.
Optionally, in the present embodiment, the first equipment 102 can include but is not limited at least one of: mobile phone, plate Computer and other can carry out the mobile terminal device of graphic code scanning.It can include but is not limited to the second equipment 106 following At least one: laptop, desktop PC, DTV and other immobile terminal equipment.Above-mentioned network may include but Be not limited at least one of: cable network, wireless network, above-mentioned cable network can include but is not limited to it is following at least it One: wide area network, Metropolitan Area Network (MAN), local area network.Above-mentioned wireless network can include but is not limited to: bluetooth, WIFI and other realizations are wireless The network of communication.Above-mentioned destination server can include but is not limited at least one of: PC machine and other setting for service It is standby.Above-mentioned is a kind of example, does not do any restriction to this in the present embodiment.
According to embodiments of the present invention, a kind of client login method is provided, as shown in Fig. 2, this method comprises:
S202 scans the graphic code shown in the second equipment by the first equipment, wherein the first equipment is to run to have to have adopted With the mobile terminal device for the first client that target account and login password log in, the second equipment is immobile terminal equipment;
S204 is determining currently to run the number for having the immobile terminal equipment of the client logged in using target account Greater than 1 and in the case where being less than targets threshold, the second client is logged on the second device using target account.
Optionally, in the present embodiment, above-mentioned client login method can be, but not limited to be applied to instant messaging application Use process in, for example, office application.
S202 to step S204 through the above steps scans the graphic code shown in the second equipment by the first equipment, In, the first equipment is the mobile terminal device that operation has the first client for having used target account and login password to log in, the Two equipment are immobile terminal equipment;It is determining currently to run the immobile terminal for having the client logged in using target account In the case that the number of equipment is greater than 1 and is less than targets threshold, the second client is logged on the second device using target account, It can solve the data for carrying out in the related technology using target application between more table surface equipment and synchronize that there are operating process complexity The technical issues of, and then reached the technical effect for simplifying and carrying out the synchronous operating process of data between more table surface equipment.
In the related technology, immediate communication tool can support mobile phone terminal and only a table surface end is online simultaneously.For enterprise The part scene of office (for example will need the feelings of synchronization message on a Mac machine and a PC machine or on multiple pc simultaneously Shape), it also tends to not enough, certain table surface equipment can only be exited every time, then log in other table surface equipment again.New login The desk device logged in front of will lead to when desk device is logged off.It is needed between more table surface equipment there are also some, oneself To the situation of oneself transmitting data, and it is not able to satisfy.
In order to meet this kind of office scene, the client login method provided in the embodiment of the present invention can be set by first Standby (mobile terminal terminal device, for example, mobile phone) scans (immobile terminal equipment, for example, desktop PC) display in the second equipment Graphic code, there is the number of immobile terminal equipment of the client logged in using target account to be greater than determining currently to run 1 and in the case where being less than targets threshold, the second client is logged on the second device using target account, to have in current operation In the case that the number of the immobile terminal equipment of the client logged in using target account is greater than 1 and is less than targets threshold, make The second client is logged on the second device with target account, so as to support more table surface equipment while logging in online, is kept away Exempt from unnecessary login to publish, working efficiency can be improved.
Embodiments herein is discussed below with reference to step shown in Fig. 2:
In step S202, the graphic code shown in the second equipment is scanned by the first equipment, wherein the first equipment is fortune Row has the mobile terminal device for the first client for having used target account and login password to log in, and the second equipment is non-moving end End equipment.
Above-mentioned the first client and the second client can include but is not limited to: client, the third of instant messaging application Corresponding client, the client of the corresponding shopping application of shopping online platform etc. for paying application of square payment platform.First sets Standby is the mobile terminal device that can carry out graphic code scanning, for example, mobile phone, tablet computer, the second equipment is can to run the The desk device (immobile terminal equipment) of two clients.
Destination server can permit the client logged in multiple immobile terminal equipment using target account, Ke Yishe Set the number of the client in the immobile terminal equipment for allowing target account to log in, above-mentioned number can have one it is initial silent Recognize value, and can according to need and flexibly set.For example, can be set allows the total of login for different device types The different numbers for allowing to log in can also be arranged for different device types in number.Above equipment type may include but Be not limited at least one of: the desktop end of ipad, the desktop end of Windows, the desktop end of mac, Linux desktop end, The desktop end of unix.
For example, the total number that the client on the immobile terminal for allowing to log in can be set is 8.It can also be for The desktop end of ipad, the number that setting allows to log in are 3;For the desktop end of Windows, it is arranged and allows the number of login It is 3;For the desktop end of mac, the number for being arranged and allowing to log in is 2.
Optionally, the type of the client with target permission can be set in destination server, for example, can be set has The client of target permission is the client in the equipment (for example, mobile phone terminal) for operate in predefined type.Above-mentioned target permission can To include at least one of: allowing to log in the first permission of the client in immobile terminal equipment, control using target account Make the second permission that the client in the immobile terminal equipment logged in using target account is logged off.Above-mentioned target permission It can be granted to a client, multiple client can also be granted to simultaneously.Different permissions can be granted to same client End, can also be granted to different clients.Target permission can be shifted between different clients.
Client with the first permission can allow other clients to the mode that destination server sends authorization requests It is logged in using target account.Client with the second permission can the control by way of exiting request to destination server transmission System is logged off using the client that target account logs in.
To avoid permission chaotic, destination server, which can be defaulted, is granted to the shifting logged in using target account for target permission Client on dynamic terminal device, and the number for limiting the client on mobile terminal device online simultaneously is not more than one.
First equipment can be the mobile end that operation has the first client for having used target account and login password to log in End equipment.When logging in the first client using target account, the first equipment can be used account+fixed password mode and carry out It logs in, third party's account+password login mode also can be used and log in, cell-phone number+dynamic password can also be used Mode is logged in.Specific login mode is not construed as limiting this in the present embodiment.
If user is can to generate one using target application (application belonging to the first client) for the first time for the user Completely new and unique account ID.For example, if user is logged in using cell-phone number, and the cell-phone number is for enterprise's office software Through in some or certain enterprises, then after account generates successfully, an Enterprise Lists can be returned to, then user can choose some After enterprise enters, just calculates and really login successfully;Conversely, user needs newly one enterprise of creation, the enterprise is then entered back into.
As shown in figure 3, after user first logs into the cell phone client of enterprise's office application using cell-phone number, in mobile phone Enterprise Lists can be shown in client, after user selects an enterprise (e.g., enterprise 1) to enter, then logined successfully.
It, can be in the case where the first client has the first permission after being logged in using target account and login password Other clients (for example, client in immobile terminal equipment) are allowed to log in using target account using the first client. When allowing other clients to log in, the first client can be by sending to destination server for request target server Other clients are authorized to realize using the request message that target account logs in.
For second equipment of specific type (for example, immobile terminal equipment), be initially opened the second client or When renewing unsuccessfully, the second equipment can be interacted with destination server, send logging request to destination server.Destination server After the logging request for receiving the transmission of the second equipment, a graphic code can be generated according to logging request, and by the figure of generation Code is sent to the second equipment.Above-mentioned graphic code can be the figure for carrying identification information (certification mark, for example, qrcode information) Shape, for example, two dimensional code, bar code etc..Above-mentioned identification information is only capable of consumption once and has certain timeliness.
For example, user uses the desktop end P1 of enterprise's office application for the first time, at this moment P1 can be first to the account of enterprise's office application Number Svr (Server, server) requests the two dimensional code of a login, can be comprising one only inside the two dimensional code that account Svr is generated One qrcode information (Quick Response code, quick response codes), this qrcode are only capable of being consumed primary and have There are certain timeliness (for example, 5 minutes).
Second equipment receives destination server and sends the graphic code.After graphic code load is completed, the second equipment can be shown Show the graphic code (for example, showing the graphic code on a second client) of load.It can also believe display reminding on the second device Breath, the prompt information are used to prompt to scan the graphic code of display by the first equipment to log in the second client.
First equipment scans the graphic code in the second client by the scanning function of the first client can by scanning To get the identification information that graphic code includes.Above-mentioned scanning function can be by calling the image acquiring unit in the first equipment Part (for example, camera) is scanned realization.
After using the scanning to the graphic code of the first equipment, the graphic code scanned can parse, obtain in graphic code The identification information for including.
After graphic code scanning is completed, the first equipment can be interacted by destination server and the second equipment, be led to Know that the second equipment barcode scanning is completed.After receiving the notice for notifying graphic code scanning to complete, the second equipment can be at it Prompt information of the display for prompting to confirm login on the first device on screen.
As shown in figure 4, two dimensional code load complete after, on desktop client end display on the left of Fig. 4 shown in interface, To prompt user to log in using cell phone client barcode scanning.After the completion of cell phone client barcode scanning, shown on desktop client end Prompt information shown on the right side of Fig. 4, to prompt user to confirm login on mobile phone.
In step S204, there is the immobile terminal of the client logged in using target account to set determining currently to run In the case that standby number is greater than 1 and is less than targets threshold, the second client is logged on the second device using target account.
After the graphic code shown in scanning to the second equipment, the first equipment, which can first determine whether currently to run, use Whether the number of the immobile terminal equipment for the client that target account logs in is less than targets threshold.Above-mentioned judgment step can be It is executed according to the list of logging device locally saved, wherein logging device list has use for identifying current operation The facility information of the immobile terminal equipment for the client that target account logs in is also possible to by asking to destination server transmission Message is sought, what the response message according to destination server return executed.
As an alternative embodiment, the logging device list that the first client query locally saves, according to The current operation of number judgement for the immobile terminal equipment that logging device list is recorded has the client logged in using target account Whether the number of the immobile terminal equipment at end is less than targets threshold.
As another optional embodiment, the first client sends request message to destination server, which disappears It ceases for obtaining the current facility information for running the immobile terminal equipment for having the client logged in using target account or working as It is preceding to run the information of number for having the immobile terminal equipment of the client logged in using target account, and returned according to destination server Whether the current number for running the immobile terminal equipment for having the client logged in using target account of response message judgement returned Less than targets threshold.
Optionally, it before logging in the second client on the second device using target account, shows on the first device Logging device list and/or prompt information, wherein logging device list has for identifying current operation using target account The facility information of the immobile terminal equipment of the client of login, prompt information includes at least one of: current for prompting Operation has the information of the number of the immobile terminal equipment of the client logged in using target account, can log in for prompting residue The information of quantity, it is the non-shifting that targets threshold and current operation have the client logged in using target account that residue, which can log in quantity, The difference of the number of dynamic terminal device.
As shown in figure 5, display has logged at present on the first device after the graphic code shown on scanning the second equipment Immobile terminal equipment list (logging device list) and residue can log in the information such as quantity.
As an alternative embodiment, having the non-of the client logged in using target account determining currently to run In the case that the number of mobile terminal device is greater than 1 and is less than targets threshold, target account is can be used second in the first equipment The second client is logged in equipment.
First client directly can send the first request message to destination server, wherein the first request message is used for Request target server licenses target account and logs in the second client on the second device, which carries Target account and identification information.
As another optional embodiment, to guarantee to log in safety, the first equipment can be shown in the first client Show prompting interface, comprising the prompt information for prompting to be confirmed whether that the second client is allowed to log in the prompting interface, and Display is for confirming the ACK button for allowing the second client to log on the first predetermined position of prompting interface.It can also mention Show cancel button of the display for not allowing the second client to log on second predetermined position at interface.
First predetermined position can in the top half of prompting interface, can also in the lower half portion of prompting interface, second Predetermined position can the first predetermined position lower section and with the first predetermined position distance be target range position.Specifically Display position is not construed as limiting this in this example.
User can be by clicking ACK button, to allow the second client to log in using target account.First equipment exists After detecting the touch control operation to the target button (ACK button), the touch control operation detected is responded, to destination server Send the first request message.
The account information of identification information and target account can be carried in first request message, above-mentioned account information can To be encryption keys (keyword) information.
Destination server can verify the login letter carried in the first request message after receiving the first request message The validity of breath and account information.After a successful authentication, destination server confirmation licenses target account in the second equipment The second client of upper login, and notify the success of the second equipment login authentication, to notify the second client can execute really to step on Record.
The identification information (for example, qrcode information) of the second client, which executes, on second equipment belt really logs in.It logs in Mode may is that send to destination server and carry the logging request of identification information;Destination server verifies identification information Validity generate validity information (validity information for identify login validity period and in the case where being verified Can be used for subsequent second client and carry out automatic renewal login authentication), validity information is returned into the second equipment, with instruction Second equipment logs in the success of the second client using target account;Simultaneously update the second client presence information (for example, By updating the list of logging device corresponding with target account or online equipment list).Second equipment receives instruction information Later, the main interface logged in after the success of the second client using target account is jumped to.
It, can be with during the second client executing really logs in for corresponding to enterprise's office application of multiple enterprises Login and identical enterprise in the first client on a second client, can also show and target account on a second client Associated Enterprise Lists, for selection by the user enterprise of login on a second client.Pass through above-mentioned display Enterprise Lists Mode can be used same target account and log in different enterprises, and the business of multiple enterprises is handled convenient for user, improve at business Manage efficiency.
For example, as shown in fig. 6, in the identification information got, and when the number of logging device is less than targets threshold, Display confirms login interface as shown in the left side Fig. 6 in first equipment, to prompt user's confirmation to log in second using target account The second client in equipment.After click " confirmation logs in ", can be shown as shown in the right side Fig. 6 on a second client " login " interface.
It optionally,, can be with when opening the client for the client in the non-immobile terminal equipment first logged into The validity period information for taking preservation is initiated to renew the request of login from trend destination server.If validity period information is not out of date, Destination server can return to automatic renewal and login successfully;If validity period information is out of date, (usually client is not stepped on for a long time Record is kicked offline), renewing login will fail, and need to rescan the mode of graphic code in this case using the first equipment It is logged in.
To guarantee that the first equipment timely learning currently runs the immobile terminal for having the client logged in using target account Equipment can save logging device list (online equipment list), logging device on destination server and the first equipment List is used to identify the facility information that current operation has the immobile terminal equipment of the client logged in using target account.
In destination server side, the presence that destination server will be updated the client in a case where (updates Logging device list):
1) client is logged in using target account according to a certain immobile terminal equipment of the request authorization of the first equipment;
2) client is allowed to renew login according to the logging request that renews of the client in immobile terminal equipment;
3) request of logging off of the first client is received;
4) request of logging off of the client in immobile terminal equipment is received.
Destination server can also go out the first equipment (that is, the visitor with target permission in logging device identified in list Equipment where the end of family), and change in target permission and (authorize or be transferred to the client run in other equipment), more The equipment newly identified.
In the first equipment side, the logging device list of preservation will be updated under following scene:
1) according to destination server send for updating the notification message of logging device list, which can be with It is to log in triggering using target account by client, can also be exited to log in using target account by client and triggered;
2) operation for being used to exit the login of target account to the first client executing is detected;
3) target permission is transferred to other clients by the first client.
Above-mentioned notification message can only carry the content for needing to update, and the login that can also carry destination server side is set Standby list.For scene 2) and scene 3), the update operation of logging device list, which can be, deletes logging device list.
Optionally, after logging in the second client on the second device using target account, the first equipment be can receive The first notification message that destination server is sent, wherein the first notification message has for notifying currently to run using target account The number of the immobile terminal equipment of the client of login changes;The first notification message is responded, logging device is updated and arranges Table.
First notification message, which can be, to be logged in client using target account by immobile terminal equipment and triggers, can also be by Immobile terminal equipment, which is exited, logs in the triggering of the second client using target account.
First notification message can carry the facility information of immobile terminal equipment, the equipment letter of immobile terminal equipment Breath is used for unique identification immobile terminal equipment.Above equipment information can include but is not limited to following information: device type and Device identification.Target device is identified by device type and device identification, it can setting to avoid the target device of different systems The conflict of standby information, and facilitate user and distinguish listed immobile terminal equipment (operation, which has, has used target account to log in Client immobile terminal equipment on).
Immobile terminal equipment can be the second equipment, be also possible to other fortune in addition to the first equipment and the second equipment The equipment that row has the client logged in using target account.Correspondingly, the client in immobile terminal equipment can be second Client is also possible to other clients logged in using target account.
After receiving the first notification message, the first equipment can update the logging device list of its preservation, with same Walk the facility information of the immobile terminal equipment where the client that currently used target account logs in.
Optionally, after logging in the second client on the second device using target account, the first equipment can be Logging state information is shown in one equipment, wherein logging state information is used to indicate the client that current goal account logs in Logging state;Detect the first object operation executed to logging state information;First object operation is responded, on the first device Show logging device list, wherein logging device list has the visitor logged in using target account for identifying current operation The facility information of the immobile terminal equipment at family end.
After the completion of logging device list update, logging state information can be shown in the first client, to refer to Show the logging state (for example, existing multiple devices log in) for the client that current goal account logs in.
Above-mentioned logging state information can (operation has the non-of the client for having used target account to log in logging device Mobile terminal device) number it is related, for example, the number that logging state information is used to indicate logging device is one or more It is a.Above-mentioned logging state information may be displayed in the display interface of the first client can touch area.For example, can show In the upper area of session list.
The first object operation executed to logging state information detected can be to be examined by the touch screen of the first equipment Measure to where logging state information can touch area execute touch control operation.The first object operation detected is responded, Triggering pulls logging device list, and shows logging device list on the first device.
For example, as shown in fig. 7, showing session list, session in the main interface of the first client shown on the left of Fig. 7 It include a plurality of types of sessions in list." having logged in multiple devices " (logging state letter is shown above session list Breath), after detecting to the clicking operation of " having logged in multiple devices ", logging device list is pulled, logging device list Display interface as shown on the right side of Fig. 7.
Optionally, in response first object operation, after showing logging device list on the first device, the first equipment It can detecte the second object run to executing in logging device list for indicating the facility information of third equipment, In, third equipment is the immobile terminal equipment that operation has the third client logged in using target account, the second object run It is used to indicate and logs off operation to third client executing;The second object run is responded, second is sent to destination server and asks Seek message, wherein the second request message moves back the third client executing run in third equipment for request target server Register out.
It, can be in the display interface of logging device list to being used in the case where the first equipment has the second permission Indicate the second object run that the facility information of third equipment executes.Second object run may include one or more son behaviour Make.For example, the second object run can be to the facility information shown for indicating third equipment can touch area execute Touch control operation, and operation corresponding with logging off is selected in the operating list popped up later;In another example the second target is grasped Can be to the facility information shown for indicating third equipment can the touch control operation that executes of touch area, and later Logging off for pop-up confirms click " confirmation " button in interface.
The second object run detected is responded, the first equipment can send the second request message to destination server, In, the second request message logs off behaviour to the third client executing run in third equipment for request target server Make.
The identification information that third equipment can be carried in second request message (is executed for destination server confirmation and is exited Which platform equipment operation is), and for execute exit operation exit operation mark.Respond the second request message, target clothes Business device logs off operation to the third client executing run in third equipment, requests third objective in logging device list The presence information at family end, and return to third client to the first equipment and exit successful notification message, it is set with instruction first It is standby to update logging device list.
For example, as shown in figure 8, clicking " Windows. in the display interface of the list of logging device of the first client Device identification 4 ", on the left of the first client shown in interface.Detecting the clicking operation to " exiting current logging device " Later, login interface shown in showing on a second client on the right side of Fig. 8.
Optionally, in response first object operation, after showing logging device list on the first device, the first equipment It can detecte the third object run to executing in logging device list for indicating the facility information of the 4th equipment, In, operation has the mobile terminal device of the 4th client logged in using target account in the 4th equipment, and third object run is used Target permission is shifted or is licensed to the 4th client in instruction, target permission includes at least one of: being allowed using target Account logs in the first permission of the client in immobile terminal equipment, controls the immobile terminal for having used target account to log in The second permission that client in equipment is logged off;Third object run is responded, third request is sent to destination server and disappears Breath, wherein target permission is shifted or licensed to the 4th client for requesting by third request message.
First client can be according to the transfer of the performance objective permission of logging device list.For example, can log in Third object run in the display interface of list of devices to being executed for indicating the facility information of the 4th equipment.Third target behaviour It may include one or more sub-operations.For example, third object run can be to showing for indicating the 4th equipment Facility information can touch area execute touch control operation, and in the operating list popped up later selection with target permission grant Or the corresponding operation of transfer;In another example third object run can be to the facility information shown for indicating the 5th equipment Can touch area execute touch control operation, and pop up later target permission transfer or authorization confirmation interface in click " confirmation " button.
The authorization or transfer of target permission, which can be, to be authorized target complete permission or shifts together, can also be by part mesh Mark permission grant or transfer.
After destination server receives third request message, configuration information is modified, by target permission grant or transfer To the 4th client.And after modification is completed, send to the 4th equipment for notifying it with the notification message of target permission, Logging device list information can be carried in the notification message.
Optionally, in the case where third request message is for requesting target permission being transferred to four clients, in sound Third object run is answered, after sending third request message to destination server, the first equipment can receive destination server The second notification message of transmission, wherein second notification message is for notifying target permission to shift successfully;The second notice of response disappears Breath removes the logging state information shown in the first equipment, and removes logging device list.
If third request message is for requesting target permission being transferred to four clients, shifted successfully in target permission Later, destination server can send second notification message to the first equipment, to notify target permission to shift successfully.Response second Notification message removes display since the first client does not have target permission in the display interface of the first client Logging state information, and logging device list is removed, to withdraw the target permission of the first client.
Optionally, after logging in the second client on the second device using target account, the first equipment be can detecte To be used to indicate exit target account log in the first client instruction information;Response instructions information is sent to destination server 4th request message, wherein the 4th request message is used for the client that request target server logs in currently used target account End executes operation of logging off.
Destination server can be set when there is multiple desktop end equipments online simultaneously, step on if mobile phone terminal oneself exits Record also kicks current online all desktop end equipments offline;Also it can be set when there is multiple desktop end equipments online simultaneously, If mobile phone terminal oneself is logged off, target permission is transferred to other terminal devices.
When the first equipment detects the operation that the first client executing is logged off, the can be sent to destination server Four request messages, to request the client executing of the target application logged in currently used target account to be logged off operation.
After destination server receives the 4th request message, it can be believed according to the equipment of the target device in target device Breath logs off operation to the client executing of the target application run on all target devices, and can be with all devices It exits after completion, to the first equipment dispatch order message, to notify the first client can execute the first client and exit to step on The operation of record.And after receiving the notification message, the first equipment can request logging device list, and execute and really move back Register out.
Optionally, after scanning the graphic code shown in the second equipment by the first equipment, there is use in current operation In the case that the number of the immobile terminal equipment for the client that target account logs in is equal to targets threshold, the first equipment can be Display reminding information in first equipment, wherein prompt information has the client logged in using target account for prompting currently to run The number of the immobile terminal equipment at end reaches targets threshold.
When operation has the number of the immobile terminal equipment of the client logged in using target account to reach targets threshold, Since the second equipment can not be allowed to log in the second client using target account, it can be pulled in the first client aobvious Show logging device list, and logging device reaches the prompt information of targets threshold to display reminding, can also show and need elder generation Exit the prompt information of other equipment.Meanwhile first equipment can also be disappeared by destination server to the second equipment dispatch order It ceases, for notifying the number of logging device to reach targets threshold in the notification message.
When the non-client first logged into carries out renewing login using validity period information, if operation has using target account The number of immobile terminal equipment of number client logged in has reached targets threshold, then can send notice to the client and disappear It ceases, for notifying the number of logging device to reach targets threshold in the notification message.
For example, as shown in figure 9, when the number of the client of the target application logged in using target account reaches the upper limit, The display interface of logging device list shown in being shown in the first client on the left of Fig. 9, to prompt current log in Equipment has reached the upper limit.Meanwhile login interface shown in being shown on the right side of Fig. 9 on the second device, and in login interface Middle display is for prompting current logging device to have reached the prompt information of the upper limit.
Through this embodiment, the graphic code shown in the second equipment is scanned by the first equipment, wherein the first equipment is fortune Row has the mobile terminal device for the first client for having used target account and login password to log in, and the second equipment is non-moving end End equipment;Determining the number for currently running the immobile terminal equipment for having the client logged in using target account greater than 1 And in the case where being less than targets threshold, the second client is logged on the second device using target account, is realized and is simplified more The technical effect of the synchronous operating process of data is carried out between desk device, and then is solved and used target application in the related technology It carries out the data between more table surface equipment and synchronizes that there are the technical problems of operating process complexity.
It is above-mentioned before logging in the second client on the second device using target account as a kind of optional scheme Method further include:
The graphic code scanned is parsed, the identification information for including in graphic code is obtained;
Logging in the second client on the second device using target account includes:
The first request message is sent to destination server, wherein the first request message is used for the authorization of request target server The second client is logged on the second device using target account, and the first request message carries target account and identification information.
Through this embodiment, target account is licensed in the second equipment using the requests for identification information for including in graphic code The second client of upper login, ensure that the safety of account.
It is above-mentioned before logging in the second client on the second device using target account as a kind of optional scheme Method further include:
Logging device list and/or prompt information are shown on the first device, wherein logging device list is for marking Knowing current operation has a facility information of immobile terminal equipment of the client logged in using target account, prompt information include with It is at least one lower: for prompting the number for currently running the immobile terminal equipment for having the client logged in using target account Information can log in the information of quantity for prompting residue, and it is that targets threshold and current operation have using mesh that residue, which can log in quantity, Mark the difference of the number of the immobile terminal equipment for the client that account logs in.
Through this embodiment, logging device list and/or prompt information are shown on the first device, can be convenient user Quickly know the client in the immobile terminal equipment of target account login, user experience can be improved.
It is above-mentioned after logging in the second client on the second device using target account as a kind of optional scheme Method further include:
S1 receives the first notification message that destination server is sent, wherein the first notification message is for notifying currently to run There is the number of the immobile terminal equipment of the client logged in using target account to change;
S2 responds the first notification message, updates logging device list, wherein logging device list is worked as identifying It is preceding to run the facility information for having the immobile terminal equipment of the client logged in using target account.
Through this embodiment, logging device list is updated according to the notification message of destination server, it is ensured that first The accuracy of the facility information of the logging device recorded in equipment, due to preserving logging device list, it is ensured that when The acquisition efficiency of the number of client in the preceding immobile terminal equipment logged in using target account.
It is above-mentioned after logging in the second client on the second device using target account as a kind of optional scheme Method further include:
S1 shows logging state information on the first device, wherein logging state information is for indicating current goal account The logging state of the client of login;
S2 detects the first object operation executed to logging state information;
S3, response first object operation, shows logging device list, wherein logging device arranges on the first device Table is used to identify the facility information that current operation has the immobile terminal equipment of the client logged in using target account.
Through this embodiment, show logging state information in the first equipment, and when detecting first object operation Logging device list is shown in first equipment, it is ensured that user can understand the facility information for knowing logging device, mention High user experience.
Optionally, in response first object operation, after showing logging device list on the first device, the above method Further include:
S1 is detected to the second target behaviour executed in logging device list for indicating the facility information of third equipment Make, wherein third equipment is the immobile terminal equipment that operation has the third client logged in using target account, the second target Operation, which is used to indicate, logs off operation to third client executing;
S2 responds the second object run, sends the second request message to destination server, wherein the second request message is used It logs off operation in request target server to the third client executing run in third equipment.
Through this embodiment, logging off for the third client run in the first client control third equipment, can To improve control ability of first client to the client for using target account to log in other immobile terminal equipment.
Optionally, the first object operation is being responded, is showing the logging device list on said first device Later, the above method further include:
S1 is detected to the third target behaviour executed in logging device list for indicating the facility information of the 4th equipment Make, wherein operation has the mobile terminal device of the 4th client logged in using target account, third target behaviour in the 4th equipment Act on instruction and target permission shifted or licensed to the 4th client, target permission includes at least one of: allow using Target account logs in the first permission of the client in immobile terminal equipment, and it is non-moving that control has used target account to log in The second permission that client on terminal device is logged off;
S2 responds third object run, sends third request message to destination server, wherein third request message is used Target permission is shifted or is licensed to the 4th client in request.
Through this embodiment, it is set by will control the permission grant for logging in and exiting in the first client or be transferred to the 4th 4th client of standby upper operation, realizes the permission grant and transfer between different clients, improves client control Flexibility.
Optionally, in the case where third request message is for requesting target permission being transferred to four clients, in sound Third object run is answered, after sending third request message to destination server, the above method further include:
S1 receives the second notification message of destination server transmission, wherein second notification message is for notifying target to weigh Limit shifts successfully;
S2 responds second notification message, removes the logging state information shown in the first equipment, and remove logging device List.
Through this embodiment, successfully time shift showing except the logging state information in the first client is shifted in target permission Show, and remove logging device list, be recoverable to the target permission of the first client, improves the accuracy of permission control.
It is above-mentioned after logging in the second client on the second device using target account as a kind of optional scheme Method further include:
S1 is detected to be used to indicate and is exited the instruction information that target account logs in the first client;
S2, response instructions information send the 4th request message to destination server, wherein the 4th request message is for asking The client executing for asking destination server to log in currently used target account is logged off operation.
Through this embodiment, currently used target account in immobile terminal equipment is controlled when the first client is logged off Number client executing logged in is logged off operation, improves the convenience that client exits, while also ensuring user account Safety.
It is above-mentioned after scanning the graphic code shown in the second equipment by the first equipment as a kind of optional scheme Method further include:
S1 has the number of the immobile terminal equipment of the client logged in using target account to be equal to target in current operation In the case where threshold value, display reminding information on the first device, wherein prompt information has for prompting currently to run using target The number of the immobile terminal equipment for the client that account logs in reaches targets threshold.
Through this embodiment, there is the number of the immobile terminal equipment of the client logged in using target account in current operation When mesh is equal to targets threshold, by prompt information prompt, logging device has reached the upper limit, knows logging device convenient for user Situation improves user experience.
The client login method in the embodiment of the present invention is illustrated below with reference to following example.Visitor in this example Family end login method can be applied to the network architecture as shown in Figure 10, wherein the network architecture includes a target application Mobile phone terminal (operating in the first equipment, mobile terminal device), rear end (account Svr, keeps) and target application is multiple Desktop end (operates in desk device, immobile terminal equipment may include the second equipment), and target application can be supported simultaneously IOS, Android, Windows, Mac four platforms, wherein
1) mobile phone terminal: the mainly management of login account and the login of more equipment.
2) desktop end: the processing for mainly logging in two dimensional code, renewing logic and offline logic.
3) rear end: the session (Session) that mainly management account information, more equipment log in state manages and two dimensional code Generation and check logic.
Client login method in this example can support desktop end P1, desktop end P2, desktop end Pn (n < max_ Online_limit_cnt, allows while the number of devices logged in limits, and can voluntarily configure by enterprise's dimension) while logging in. User logs in and enters an enterprise in mobile phone terminal first, then reuses the two dimensional code shown on mobile phone terminal scan table end, Realize that desktop end logs in and enters the same enterprise;After thering are multiple desktop ends to login successfully, in the display interface of mobile phone terminal The entrance that will appear " having logged in multiple devices " at the top of session list, the detailed column of logging device can be checked by the entrance Table, at the same also can choose wherein any one equipment kick it is offline.
As shown in figure 11, client login method provided in this example may comprise steps of:
Step 1~3, user mobile phone terminal App (client of target application) using target application account verifying log in/ The mode that cell-phone number verifying logs in, if it is using the account Svr of App target application that can completely newly generate one for the user for the first time Unique account ID.
Step 4~5, if the cell-phone number of user some/certain enterprises in, after account generates successfully, meeting An Enterprise Lists are returned, after then user can choose the entrance of some enterprise, are then logined successfully;Conversely, user needs new wound An enterprise is built, the enterprise is then entered back into.
Step 6, user uses desktop end (client of target application) P1 (effect is with aforementioned second client) for the first time, this When P1 can be first to the two of the account Svr of target application (keeps, act on aforementioned destination server) one login of request It ties up code (effect is with aforementioned graphic code), can include a unique qrcode (quick response in the two dimensional code that account Svr is generated Code) information, it is primary and have certain timeliness (for example, can be set to 5 minutes) that this qrcode is only capable of consumption.
Step 7~9, mobile phone terminal scan this available qrcode information of login two dimensional code of P1, and are attached to mobile phone terminal Some encryption keys information of account initiate the request that confirmation logs in desktop end P1 to account Svr;Account Svr verifies mobile phone terminal After the validity of the qrcode+keys brought up, notice P1 can execute real login.
Step 10~13, the qrcode information that desktop end P1 takes oneself, which executes, really to be logged in, account Svr verification Qrcode information is effective, and generating the SessionKey with validity period, (conversation key is continued automatically for subsequent P1 Phase login authentication) P1 is returned to, then update the presence information of P1;Mobile phone terminal P1 is notified to login successfully simultaneously, then hand Generator terminal triggering pulls newest online equipment list information.
Through the above steps 1~13, mobile phone terminal and desktop end may be implemented first logs into process.
The desktop end (e.g., desktop end P2) of non-login for the first time can be logged in by way of renewing.Meanwhile For listed desktop end, it is offline its can be controlled by mobile phone terminal.Desktop end renews login and offline process includes Following steps:
Step 14~15, desktop end P2 is non-to use (having SessionKey) for the first time, can take after being opened SessionKey initiates to renew the request of login from trend account Svr.If SessionKey is not out of date, account Svr can be returned Automatic renewal logins successfully;It (is typically due to P2 if SessionKey is out of date and is not logged on or is kicked offline lead for a long time Cause), renewing login will fail, and mobile phone terminal is needed to rescan login in this case (process is with abovementioned steps 6~13).
Step 16~17 login successfully if P2 is renewed, and account Svr will be updated the presence of P2, notify mobile phone terminal P2 It logins successfully, then mobile phone terminal triggering pulls newest online equipment list information.
Step 18, (effect is the same as aforementioned logging device list, online equipment column in logging device list for mobile phone terminal Table), it selects equipment P1 execution to exit operation, the devid+deviceType (device identification and device type) of P1 can be taken to account Number Svr sends one and kicks the offline request of equipment.
Step 19, account Svr can be P1 equipment according to devid+deviceType determination, then execute the behaviour for exiting P1 Make, server-side can remove the presence information of P1, P1 is removed from online equipment list, while can push one to P1 and kick Offline notice.
Step 20, P1 can remove local SessionKey information, return to two dimensional code after receiving and kicking offline notice Verify interface.
In addition, enterprise can according to oneself needs, be arranged allow simultaneously log in desktop end number of devices limitation (for example, It can be defaulted as most 8).When listed number of devices after reaching the upper limit, logging device list has the corresponding upper limit Prompt, the two dimensional code login for being further continued for scan table end also have miscue.
By this exemplary technical solution, target application can support more table surface equipment while log in online, avoid not Necessary login is published, and can effectively improve working efficiency.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention It is necessary.
Other side according to an embodiment of the present invention additionally provides a kind of for implementing above-mentioned client login method Client entering device, as shown in figure 12, which includes:
(1) scanning element 1202, for scanning the graphic code shown in the second equipment by the first equipment, wherein first Equipment is the mobile terminal device that operation has the first client for having used target account and login password to log in, and the second equipment is Immobile terminal equipment;
(2) unit 1204 is logged in, for determining currently to run the non-shifting for having the client logged in using target account In the case that the number of dynamic terminal device is greater than 1 and is less than targets threshold, second is logged on the second device using target account Client.
Optionally, in the present embodiment, above-mentioned client entering device can be, but not limited to be applied to instant messaging application Use process in, for example, office application.
Optionally, scanning element 1202 can be used for executing above-mentioned steps S202, and logging in unit 1204 can be used for executing Above-mentioned steps S204.
By above-mentioned module, the graphic code shown in the second equipment is scanned by the first equipment, wherein the first equipment is fortune Row has the mobile terminal device for the first client for having used target account and login password to log in, and the second equipment is non-moving end End equipment;Determining the number for currently running the immobile terminal equipment for having the client logged in using target account greater than 1 And in the case where being less than targets threshold, the second client is logged on the second device using target account, can solve related skill The data between more table surface equipment are carried out using target application in art and synchronize that there are the technical problems of operating process complexity, in turn The technical effect for simplifying and carrying out the synchronous operating process of data between more table surface equipment is reached.
As a kind of optional scheme, above-mentioned apparatus further include: resolution unit, logging in unit 1204 includes sending module, Wherein,
(1) resolution unit, for before logging in the second client on the second device using target account, parsing to be scanned The graphic code arrived obtains the identification information for including in graphic code;
(2) sending module, for sending the first request message to destination server, wherein the first request message is for asking It asks destination server to license target account and logs in the second client on the second device, the first request message carries target Account and identification information.
Through this embodiment, target account is licensed in the second equipment using the requests for identification information for including in graphic code The second client of upper login, ensure that the safety of account.
As a kind of optional scheme, above-mentioned apparatus further include:
(1) first display unit, for before logging in the second client on the second device using target account, Logging device list and/or prompt information are shown in one equipment, wherein logging device list has for identifying current operation The facility information of the immobile terminal equipment of the client logged in using target account, prompt information includes at least one of: Information for prompting currently to run the number of immobile terminal equipment for having the client logged in using target account, for mentioning Show that residue can log in the information of quantity, residue can log in quantity and be targets threshold and currently run to have to log in using target account The difference of the number of the immobile terminal equipment of client.
Through this embodiment, logging device list and/or prompt information are shown on the first device, can be convenient user Quickly know the client in the immobile terminal equipment of target account login, user experience can be improved.
As a kind of optional scheme, above-mentioned apparatus further include:
(1) first receiving unit, for receiving after logging in the second client on the second device using target account The first notification message that destination server is sent, wherein the first notification message has for notifying currently to run using target account The number of the immobile terminal equipment of the client of login changes;
(2) updating unit updates logging device list for responding the first notification message, wherein logging device arranges Table is used to identify the facility information that current operation has the immobile terminal equipment of the client logged in using target account.
Through this embodiment, logging device list is updated according to the notification message of destination server, it is ensured that first The accuracy of the facility information of the logging device recorded in equipment, due to preserving logging device list, it is ensured that when The acquisition efficiency of the number of client in the preceding immobile terminal equipment logged in using target account.
As a kind of optional scheme, above-mentioned apparatus further include:
(1) second display unit, for after logging in the second client on the second device using target account, Logging state information is shown in one equipment, wherein logging state information is used to indicate the client that current goal account logs in Logging state;
(2) first detection unit, for detecting the first object operation executed to logging state information;
(3) third display unit operates for responding first object, shows logging device list on the first device, Wherein, logging device list is used to identify the immobile terminal equipment that current operation has the client logged in using target account Facility information.
Through this embodiment, show logging state information in the first equipment, and when detecting first object operation Logging device list is shown in first equipment, it is ensured that user can understand the facility information for knowing logging device, mention High user experience.
Optionally, above-mentioned apparatus further include:
(1) second detection unit, for showing logging device list on the first device in response first object operation Later, the second object run to executing in logging device list for indicating the facility information of third equipment is detected, In, third equipment is the immobile terminal equipment that operation has the third client logged in using target account, the second object run It is used to indicate and logs off operation to third client executing;
(2) first transmission units send the second request message to destination server for responding the second object run, In, the second request message logs off behaviour to the third client executing run in third equipment for request target server Make.
Through this embodiment, logging off for the third client run in the first client control third equipment, can To improve control ability of first client to the client for using target account to log in other immobile terminal equipment.
Optionally, above-mentioned apparatus further include:
(1) third detection unit, for responding the first object operation, display is described on said first device After logging device list, detect to the third executed in logging device list for indicating the facility information of the 4th equipment Object run, wherein operation has the mobile terminal device of the 4th client logged in using target account, third in the 4th equipment Object run, which is used to indicate, shifts or licenses to the 4th client for target permission, and target permission includes at least one of: permitting Perhaps the first permission of the client in immobile terminal equipment is logged in using target account, control has used target account to log in The second permission that client in immobile terminal equipment is logged off;
(2) second transmission units send third request message to destination server for responding third object run, In, target permission is shifted or is licensed to the 4th client for requesting by third request message.
Through this embodiment, it is set by will control the permission grant for logging in and exiting in the first client or be transferred to the 4th 4th client of standby upper operation, realizes the permission grant and transfer between different clients, improves client control Flexibility.
Optionally, above-mentioned apparatus further include:
(1) second receiving unit, for target permission to be transferred to the 4th client for requesting in third request message In the case where, destination server is received after sending third request message to destination server in response third object run The second notification message of transmission, wherein second notification message is for notifying target permission to shift successfully;
(2) unit is removed, for responding second notification message, removes the logging state information shown in the first equipment, and Remove logging device list.
Through this embodiment, successfully time shift showing except the logging state information in the first client is shifted in target permission Show, and remove logging device list, be recoverable to the target permission of the first client, improves the accuracy of permission control.
As a kind of optional scheme, above-mentioned apparatus further include:
(1) the 4th detection unit, for detecting after logging in the second client on the second device using target account To be used to indicate exit target account log in the first client instruction information;
(2) third transmission unit is used for response instructions information, sends the 4th request message to destination server, wherein the The client executing that four request messages log in currently used target account for request target server is logged off operation.
Through this embodiment, currently used target account in immobile terminal equipment is controlled when the first client is logged off Number client executing logged in is logged off operation, improves the convenience that client exits, while also ensuring user account Safety.
As a kind of optional scheme, above-mentioned apparatus further include:
(1) the 4th display unit, for working as after scanning the graphic code shown in the second equipment by the first equipment In the case that the preceding number for running the immobile terminal equipment for having the client logged in using target account is equal to targets threshold, Display reminding information in first equipment, wherein prompt information has the client logged in using target account for prompting currently to run The number of the immobile terminal equipment at end reaches targets threshold.
Through this embodiment, there is the number of the immobile terminal equipment of the client logged in using target account in current operation When mesh is equal to targets threshold, by prompt information prompt, logging device has reached the upper limit, knows logging device convenient for user Situation improves user experience.
Another aspect according to an embodiment of the present invention additionally provides a kind of for implementing the visitor of above-mentioned client login method Family end login system, as shown in figure 13, the client login system include: that operation has target account and login password has been used to step on The first equipment 1302, destination server 1304 and the operation of first client of record have the second equipment 1306 of the second client, First equipment 1302 is mobile terminal device, and the second client 1306 is immobile terminal equipment, and the first equipment 1302 includes upper State the client entering device of any one, wherein
Second equipment 1306, for sending request message to destination server, wherein request message logs in for requesting Two clients;Receive the graphic code that destination server response request message returns, wherein include identification information in graphic code;? Graphic code is shown in second equipment;
Destination server 1304, for receiving the request message of the second equipment transmission;Response request message generates figure Code;The graphic code of generation is returned into the second equipment.
The another aspect of embodiment according to the present invention, additionally provides a kind of storage medium, is stored in the storage medium Computer program, wherein the computer program is arranged to execute the step in any of the above-described embodiment of the method when operation.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following steps Calculation machine program:
S1 scans the graphic code shown in the second equipment by the first equipment, wherein the first equipment is to run to have to have used The mobile terminal device for the first client that target account and login password log in, the second equipment are immobile terminal equipment;
S2 is determining that the number for currently running the immobile terminal equipment for having the client logged in using target account is big In 1 and be less than targets threshold in the case where, log in the second client on the second device using target account.
Optionally, in the present embodiment, those of ordinary skill in the art will appreciate that in the various methods of above-described embodiment All or part of the steps be that the relevant hardware of terminal device can be instructed to complete by program, the program can store in In one computer readable storage medium, storage medium may include: flash disk, read-only memory (Read-Only Memory, letter Referred to as ROM), random access device (Random Access Memory, referred to as RAM), disk or CD etc..
Another aspect according to an embodiment of the present invention additionally provides a kind of for implementing above-mentioned client login method Electronic device, as shown in figure 14, above-mentioned electronic device include: processor 1402, memory 1404 and transmitting device 1406 etc..It should Computer program is stored in memory, which is arranged to execute the implementation of any of the above-described method by computer program Step in example.
Optionally, in the present embodiment, above-mentioned electronic device can be located in multiple network equipments of computer network At least one network equipment, for example, mobile terminal, mobile phone terminal etc..
Optionally, in the present embodiment, above-mentioned processor can be set to execute following steps by computer program:
S1 scans the graphic code shown in the second equipment by the first equipment, wherein the first equipment is to run to have to have used The mobile terminal device for the first client that target account and login password log in, the second equipment are immobile terminal equipment;
S2 is determining that the number for currently running the immobile terminal equipment for having the client logged in using target account is big In 1 and be less than targets threshold in the case where, log in the second client on the second device using target account.
Optionally, it will appreciated by the skilled person that structure shown in Figure 14 is only to illustrate, electronic device can also Be smart phone (such as Android phone, iOS mobile phone), mobile internet device (Mobile Internet Devices, The mobile terminal devices such as MID).Figure 14 it does not cause to limit to the structure of above-mentioned electronic device.For example, electronic device can also wrap Include than shown in Figure 14 more perhaps less component (such as network interface, display device) or have with shown in Figure 14 not Same configuration.
Wherein, memory 1404 can be used for storing software program and module, as the client in the embodiment of the present invention is stepped on Recording method and the corresponding program instruction/module of device, the software journey that processor 1402 is stored in memory 1404 by operation Sequence and module realize above-mentioned client login method thereby executing various function application and data processing.Memory 1404 may include high speed random access memory, can also include nonvolatile memory, as one or more magnetic storage device, Flash memory or other non-volatile solid state memories.In some instances, memory 1404 can further comprise relative to processing The remotely located memory of device 1402, these remote memories can pass through network connection to terminal.The example packet of above-mentioned network Include but be not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Above-mentioned transmitting device 1406 is used to that data to be received or sent via a network.Above-mentioned network specific example It may include cable network and wireless network.In an example, transmitting device 1406 includes a network adapter (Network Interface Controller, referred to as NIC), can be connected by cable with other network equipments with router so as to It is communicated with internet or local area network.In an example, transmitting device 1406 is radio frequency (Radio Frequency, abbreviation For RF) module, it is used to wirelessly be communicated with internet.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
If the integrated unit in above-described embodiment is realized in the form of SFU software functional unit and as independent product When selling or using, it can store in above-mentioned computer-readable storage medium.Based on this understanding, skill of the invention Substantially all or part of the part that contributes to existing technology or the technical solution can be with soft in other words for art scheme The form of part product embodies, which is stored in a storage medium, including some instructions are used so that one Platform or multiple stage computers equipment (can be personal computer, server or network equipment etc.) execute each embodiment institute of the present invention State all or part of the steps of method.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed client, it can be by others side Formula is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, and only one Kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or It is desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed it is mutual it Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (15)

1. a kind of client login method characterized by comprising
The graphic code shown in the second equipment is scanned by the first equipment, wherein first equipment is to run to have to have used mesh The mobile terminal device of the first client of account and login password login is marked, second equipment is immobile terminal equipment;
Determining the number for currently running the immobile terminal equipment for having the client logged in using the target account greater than 1 And in the case where being less than targets threshold, the second client is logged in second equipment using the target account.
2. the method according to claim 1, wherein
Before logging in second client in second equipment using the target account, the method also includes: The graphic code scanned is parsed, the identification information for including in the graphic code is obtained;
Logging in second client in second equipment using the target account includes: to send the to destination server One request message, wherein first request message exists for requesting the destination server to license the target account Second client is logged in second equipment, first request message carries the target account and the mark Information.
3. the method according to claim 1, wherein being stepped in second equipment using the target account Before recording second client, the method also includes:
Logging device list and/or prompt information are shown on said first device, wherein the list of logging device is used There is the facility information of the immobile terminal equipment of the client logged in using the target account in the current operation of mark, it is described to mention Show that information includes at least one of: having the non-moving of the client logged in using the target account for prompting currently to run The information of the number of terminal device can log in the information of quantity for prompting residue, and it is the mesh that the residue, which can log in quantity, Mark threshold value and current operation have the difference of the number of the immobile terminal equipment of the client logged in using the target account.
4. the method according to claim 1, wherein being stepped in second equipment using the target account After recording second client, the method also includes:
Receive the first notification message that destination server is sent, wherein first notification message has for notifying currently to run The number of the immobile terminal equipment of the client logged in using the target account is changed;
First notification message is responded, logging device list is updated, wherein the list of logging device is worked as identifying Preceding operation has the facility information of the immobile terminal equipment of the client logged in using the target account.
5. the method according to claim 1, wherein being stepped in second equipment using the target account After recording second client, the method also includes:
Logging state information is shown on said first device, wherein the logging state information is for indicating presently described mesh Mark the logging state for the client that account logs in;
Detect the first object operation executed to the logging state information;
The first object operation is responded, shows logging device list on said first device, wherein described logged in sets Standby list, which is used to identify current operation, has the equipment of the immobile terminal equipment of the client logged in using the target account to believe Breath.
6. according to the method described in claim 5, it is characterized in that, being set responding the first object operation described first After logging device list described in standby upper display, the method also includes:
Detect the second object run to executing in the list of logging device for indicating the facility information of third equipment, Wherein, the third equipment is the immobile terminal equipment that operation has the third client logged in using the target account, institute It states the second object run and is used to indicate and log off operation to the third client executing;
Second object run is responded, sends the second request message to destination server, wherein second request message is used In requesting the destination server to log off operation the third client executing run in the third equipment.
7. according to the method described in claim 5, it is characterized in that, being set responding the first object operation described first After logging device list described in standby upper display, the method also includes:
Detect the third object run to executing in the list of logging device for indicating the facility information of the 4th equipment, Wherein, the mobile terminal device for having the 4th client logged in using the target account is run in the 4th equipment, it is described Third object run, which is used to indicate, shifts or licenses to the 4th client for target permission, and the target permission includes following At least one: allow to log in the first permission of the client in immobile terminal equipment using target account, control has used institute State the second permission that the client in the immobile terminal equipment of target account login is logged off;
The third object run is responded, sends third request message to destination server, wherein the third request message is used The target permission is shifted or is licensed to the 4th client in request.
8. the method according to the description of claim 7 is characterized in that in the third request message for requesting the target In the case that permission is transferred to the 4th client, the third object run is being responded, Xiang Suoshu destination server is sent After the third request message, the method also includes:
Receive the second notification message that the destination server is sent, wherein the second notification message is described for notifying Target permission shifts successfully;
The second notification message is responded, removes the logging state information shown in first equipment, and described in removing Logging device list.
9. the method according to claim 1, wherein being stepped in second equipment using the target account After recording second client, the method also includes:
It detects to be used to indicate and exits the instruction information that the target account logs in first client;
The instruction information is responded, sends the 4th request message to destination server, wherein the 4th request message is for asking The client executing for asking the destination server to log in currently used target account is logged off operation.
10. method according to any one of claim 1 to 9, which is characterized in that scanning institute by first equipment After stating the graphic code shown in the second equipment, the method also includes:
There is the number of the immobile terminal equipment of the client logged in using the target account to be equal to the mesh in current operation In the case where marking threshold value, display reminding information on said first device, wherein the prompt information is for prompting currently to run There is the number of the immobile terminal equipment of the client logged in using the target account to reach the targets threshold.
11. a kind of client entering device characterized by comprising
Scanning element, for scanning the graphic code shown in the second equipment by the first equipment, wherein first equipment is fortune Row has the mobile terminal device for the first client for having used target account and login password to log in, and second equipment is non-shifting Dynamic terminal device;
Unit is logged in, for determining that currently operation has the immobile terminal of the client logged in using the target account to set In the case that standby number is greater than 1 and is less than targets threshold, second is logged in second equipment using the target account Client.
12. device according to claim 11, which is characterized in that described device further include: resolution unit, the login are single Member includes: sending module, wherein
The resolution unit obtains the identification information for including in the graphic code for parsing the graphic code scanned;
The sending module, for sending the first request message to destination server, wherein first request message is for asking It asks the destination server to license the target account and logs in second client in second equipment, described One request message carries the target account and the identification information.
13. a kind of client login system, which is characterized in that have including destination server, operation and used target account and stepped on The first equipment and operation of recording the first client of password login have the second equipment of the second client, and first equipment is to move Dynamic terminal device, second client are immobile terminal equipment, and first equipment includes described in claim 11 or 12 Device, wherein
Second equipment, for sending request message to the destination server, wherein the request message is stepped on for requesting Record second client;It receives the destination server and responds the graphic code that the request message returns, wherein the figure It include identification information in code;The graphic code is shown in second equipment;
The destination server, the request message sent for receiving second equipment;The request message is responded, it is raw At the graphic code;The graphic code of generation is returned into second equipment.
14. a kind of storage medium, which is characterized in that be stored with computer program in the storage medium, wherein the computer Program is arranged to execute method described in any one of claims 1 to 10 when operation.
15. a kind of electronic device, including memory and processor, which is characterized in that be stored with computer journey in the memory Sequence, the processor are arranged to execute side described in any one of claims 1 to 10 by the computer program Method.
CN201910016290.1A 2019-01-08 2019-01-08 Client login method, device and system, storage medium and electronic device Active CN109862078B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910016290.1A CN109862078B (en) 2019-01-08 2019-01-08 Client login method, device and system, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910016290.1A CN109862078B (en) 2019-01-08 2019-01-08 Client login method, device and system, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN109862078A true CN109862078A (en) 2019-06-07
CN109862078B CN109862078B (en) 2021-11-19

Family

ID=66894170

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910016290.1A Active CN109862078B (en) 2019-01-08 2019-01-08 Client login method, device and system, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN109862078B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110602216A (en) * 2019-09-16 2019-12-20 宁波奥克斯电气股份有限公司 Method and device for using single account by multiple terminals, cloud server and storage medium
CN111654729A (en) * 2020-05-27 2020-09-11 海信视像科技股份有限公司 Account login state updating method and display device
CN112822170A (en) * 2020-12-30 2021-05-18 安徽鸿程光电有限公司 Application program login method, device, equipment and medium
CN113360855A (en) * 2020-03-06 2021-09-07 中科星图股份有限公司 Account login method and device, electronic equipment and computer readable storage medium
CN114139135A (en) * 2022-02-08 2022-03-04 深圳希施玛数据科技有限公司 Equipment login management method, device and storage medium
WO2022143130A1 (en) * 2020-12-30 2022-07-07 华为技术有限公司 Application program login method and system

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025648A (en) * 2009-09-16 2011-04-20 腾讯科技(深圳)有限公司 Instant messaging method and server
CN102769628A (en) * 2012-07-27 2012-11-07 腾讯科技(深圳)有限公司 Page login method and server
CN104519197A (en) * 2013-09-29 2015-04-15 腾讯科技(深圳)有限公司 User login method, user login device and terminal devices
US20150312265A1 (en) * 2013-01-11 2015-10-29 Tencent Technology (Shenzhen) Company Limited Method for Verifying Sensitive Operations, Terminal Device, Server, and Verification System
CN105162591A (en) * 2015-07-07 2015-12-16 腾讯科技(深圳)有限公司 Equipment registration method and device
US20160004855A1 (en) * 2014-07-03 2016-01-07 Alibaba Group Holding Limited Login using two-dimensional code
US20160092643A1 (en) * 2014-09-26 2016-03-31 Robert Daniel Hinkle System and process for providing verification and validation of an individual's identity
CN106961415A (en) * 2016-01-11 2017-07-18 广州市动景计算机科技有限公司 Login method, equipment, browser, client and server
CN107040543A (en) * 2017-04-26 2017-08-11 努比亚技术有限公司 Single-point logging method, terminal and storage medium
WO2018225746A1 (en) * 2017-06-08 2018-12-13 ▲さとし▼ 溝口 System login method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025648A (en) * 2009-09-16 2011-04-20 腾讯科技(深圳)有限公司 Instant messaging method and server
CN102769628A (en) * 2012-07-27 2012-11-07 腾讯科技(深圳)有限公司 Page login method and server
US20150312265A1 (en) * 2013-01-11 2015-10-29 Tencent Technology (Shenzhen) Company Limited Method for Verifying Sensitive Operations, Terminal Device, Server, and Verification System
CN104519197A (en) * 2013-09-29 2015-04-15 腾讯科技(深圳)有限公司 User login method, user login device and terminal devices
US20160004855A1 (en) * 2014-07-03 2016-01-07 Alibaba Group Holding Limited Login using two-dimensional code
US20160092643A1 (en) * 2014-09-26 2016-03-31 Robert Daniel Hinkle System and process for providing verification and validation of an individual's identity
CN105162591A (en) * 2015-07-07 2015-12-16 腾讯科技(深圳)有限公司 Equipment registration method and device
CN106961415A (en) * 2016-01-11 2017-07-18 广州市动景计算机科技有限公司 Login method, equipment, browser, client and server
CN107040543A (en) * 2017-04-26 2017-08-11 努比亚技术有限公司 Single-point logging method, terminal and storage medium
WO2018225746A1 (en) * 2017-06-08 2018-12-13 ▲さとし▼ 溝口 System login method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈彩云: "微信二维码授权登录网站的实现", 《现代计算机》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110602216A (en) * 2019-09-16 2019-12-20 宁波奥克斯电气股份有限公司 Method and device for using single account by multiple terminals, cloud server and storage medium
CN113360855A (en) * 2020-03-06 2021-09-07 中科星图股份有限公司 Account login method and device, electronic equipment and computer readable storage medium
CN111654729A (en) * 2020-05-27 2020-09-11 海信视像科技股份有限公司 Account login state updating method and display device
CN112822170A (en) * 2020-12-30 2021-05-18 安徽鸿程光电有限公司 Application program login method, device, equipment and medium
WO2022143130A1 (en) * 2020-12-30 2022-07-07 华为技术有限公司 Application program login method and system
CN114764286A (en) * 2020-12-30 2022-07-19 华为技术有限公司 Application program login method and system
CN114139135A (en) * 2022-02-08 2022-03-04 深圳希施玛数据科技有限公司 Equipment login management method, device and storage medium

Also Published As

Publication number Publication date
CN109862078B (en) 2021-11-19

Similar Documents

Publication Publication Date Title
CN109862078A (en) Client login method, device and system, storage medium and electronic device
CN108984784B (en) Application implementation method, device, equipment and storage medium based on block chain network
CN100583114C (en) System and method for remote security enablement
US10050899B2 (en) Data processing method, apparatus, client, server and system
CN106164917B (en) User&#39;s specific application for remote session activates
CN105204743A (en) Interaction control method and device for speech and video communication
CN109011583A (en) virtual resource transfer method and device, storage medium and electronic device
CN104520827B (en) Information processor
CN107079041A (en) File credit assessment
CN109089168A (en) Video sharing method, apparatus, system and storage medium
CN104753944A (en) Account security verifying method and system
CN108337210A (en) Equipment configuration method and device, system
CN107370657A (en) Equipment room application program interlock method and system
CN104917631B (en) Prediction initiation, participation and information processing method, apparatus and system
JP2007148471A (en) Service notification system
US20200272514A1 (en) Information processing terminal, non-transitory recording medium, and control method
CN108270751A (en) Application management method, device and data sending processing method and apparatus
CN110381057A (en) Processing method, device, storage medium, processor and the system of communication connection
CA3040126A1 (en) System and method for playing online game
CN108632387B (en) Method, device and terminal for generating game reservation message
CN110377763A (en) Media file inspection method and device, storage medium and electronic device
CN110113321B (en) Information sharing method and device, storage medium and computer equipment
CN108377217A (en) A kind of real-time communication method and device
KR102004503B1 (en) Notification method about game, client, server and iot apparatus for performing the method
JP2018514023A (en) Content deployment, scaling and telemetry

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant