CN108574664B - Account login method, client, server, system and storage medium - Google Patents
Account login method, client, server, system and storage medium Download PDFInfo
- Publication number
- CN108574664B CN108574664B CN201710137684.3A CN201710137684A CN108574664B CN 108574664 B CN108574664 B CN 108574664B CN 201710137684 A CN201710137684 A CN 201710137684A CN 108574664 B CN108574664 B CN 108574664B
- Authority
- CN
- China
- Prior art keywords
- domain name
- server
- client
- target
- account
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0876—Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/083—Network architectures or network communication protocols for network security for authentication of entities using passwords
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
- H04L63/102—Entity profiles
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Power Engineering (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention discloses an account login method, which comprises the following steps: sending account login information to a server, wherein the account login information is used for indicating the server to determine a target domain name from at least one domain name to be selected; acquiring the target domain name; determining a target account according to the account login information and the target domain name; and logging in by using the target account. The invention also provides a client, a server and an account login system. In the embodiment of the invention, when the user logs in the account on the client, a long domain name does not need to be manually input, and a target domain name is obtained from the server side. The client generates a target account including the target domain name, so that login operation can be directly performed by using the target account, and the efficiency of account login is improved.
Description
Technical Field
The invention relates to the technical field of internet, in particular to an account login method, a related device and a system.
Background
With the continuous development of internet technology, the internet has penetrated into the heart of vast network users. Instant Messaging (IM) is the most popular communication method on the internet at present, various IM applications are also developed, and service providers also provide more and more abundant communication service functions. Undoubtedly, the internet has become a true information highway.
Normally, an account needs to be logged in before communication is performed by IM, and as shown in fig. 1, when a user logs in the IM application, the account needs to be manually filled in, so that a specific account can be identified and login is completed. For some IM applications, the server needs to be set in advance, as shown in fig. 2, and then the user manually fills in the account to complete account login.
However, whether the server is set in advance or not, the user needs to manually input a complete account number when logging in. If the account domain name is longer, the user needs to spend more time filling the account, and meanwhile, if one user has multiple accounts at the same time, the user needs to input the longer domain name for many times when switching the accounts, so that the login efficiency is reduced.
Disclosure of Invention
The embodiment of the invention provides an account login method, a related device and a system, when a user logs in an account on a client, a long domain name does not need to be manually input, and a target domain name is obtained from a server side. The client generates a target account including the target domain name, so that login operation can be directly performed by using the target account, and the efficiency of account login is improved.
In view of this, the first aspect of the present invention provides an account login method, including:
sending account login information to a server, wherein the account login information is used for indicating the server to determine a target domain name from at least one domain name to be selected;
acquiring the target domain name;
determining a target account according to the account login information and the target domain name;
and logging in by using the target account.
The second aspect of the present invention provides an account login method, including:
receiving account login information sent by a client;
determining a target domain name from at least one domain name to be selected according to the account login information;
and sending the target domain name to the client so that the client determines a target account according to the account login information and the target domain name and logs in by using the target account.
A third aspect of the present invention provides a client, including:
the device comprises a first sending module, a second sending module and a third sending module, wherein the first sending module is used for sending account login information to a server, and the account login information is used for indicating the server to determine a target domain name from at least one domain name to be selected;
the acquisition module is used for acquiring the target domain name;
the determining module is used for determining a target account according to the account login information and the target domain name acquired by the acquiring module;
and the login module is used for logging in by using the target account determined by the determination module.
A fourth aspect of the present invention provides a server comprising:
the first receiving module is used for receiving account login information sent by a client;
the first determining module is used for determining a target domain name from at least one domain name to be selected according to the account login information received by the first receiving module;
and the first sending module is used for sending the target domain name determined by the first determining module to the client so that the client determines a target account according to the account login information and the target domain name and logs in by using the target account.
The invention provides a system for account login in a fifth aspect, which comprises a client and a server;
the client sends account login information to the server;
the server determines a target domain name from at least one domain name to be selected according to the account login information;
the client acquires the target domain name;
the client determines a target account according to the account login information and the target domain name;
and the client logs in by using the target account.
According to the technical scheme, the embodiment of the invention has the following advantages:
the embodiment of the invention provides an account login method, which comprises the steps that firstly, a client sends account login information to a server, the account login information is used for indicating that the server can determine a target domain name from at least one domain name to be selected, then, the client obtains the target domain name, then, a target account is determined according to the account login information and the target domain name, and finally, the client uses the target account to log in. By the method, when the user logs in the account on the client, a long domain name does not need to be manually input, and a target domain name is obtained from the server side. The client generates a target account including the target domain name, so that login operation can be directly performed by using the target account, and the efficiency of account login is improved.
Drawings
FIG. 1 is a diagram illustrating an interface for logging into an IM application in the prior art;
FIG. 2 is a schematic diagram of another interface for logging into an IM application in the prior art;
FIG. 3 is a diagram of an interactive embodiment of a method for account login according to an embodiment of the present invention;
FIG. 4 is a diagram of an embodiment of a method for account login according to the embodiment of the present invention;
fig. 5 is a schematic diagram of another embodiment of a method for account login according to an embodiment of the present invention;
FIG. 6 is a flowchart illustrating a process of authenticating a client by a server according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of an interface for logging in an IM application in an application scenario of the present invention;
FIG. 8 is a schematic view of another interface for logging into an IM application in an application scenario of the present invention;
FIG. 9 is a diagram of an embodiment of a client according to the present invention;
FIG. 10 is a diagram of an embodiment of a client according to the present invention;
FIG. 11 is a diagram of an embodiment of a client in an embodiment of the present invention;
FIG. 12 is a diagram of an embodiment of a client in an embodiment of the present invention;
FIG. 13 is a diagram of one embodiment of a server in an embodiment of the invention;
FIG. 14 is a diagram of one embodiment of a server in an embodiment of the invention;
FIG. 15 is a diagram of one embodiment of a server in an embodiment of the invention;
FIG. 16 is a diagram of one embodiment of a server in an embodiment of the invention;
FIG. 17 is a diagram of one embodiment of a server in an embodiment of the invention;
FIG. 18 is a schematic structural diagram of a client according to an embodiment of the present invention;
FIG. 19 is a block diagram of a server according to an embodiment of the present invention;
fig. 20 is a schematic diagram of an embodiment of an account login system in the embodiment of the present invention.
Detailed Description
The embodiment of the invention provides an account login method, a related device and a system, when a user logs in an account on a client, a long domain name does not need to be manually input, and a target domain name is obtained from a server side. The client generates a target account including the target domain name, so that login operation can be directly performed by using the target account, and the efficiency of account login is improved.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be understood that the embodiment of the present invention is mainly applied to an account login system, which includes a client and a server, where the client corresponds to the server, and needs to cooperate with the server to operate, and provide an application service for a user. With the development of the internet, more common clients include web browsers used in the world wide web, email clients used for receiving and sending emails, and clients for instant messaging, etc. For such a kind of client, a corresponding server and a service program are required in the network to provide corresponding services, such as database services, email services, etc., so that a specific communication connection needs to be established between the client and the server to ensure the normal operation of the application program. The client in the embodiment of the present invention is mainly an instant messaging client, however, in practical application, the client may also be other types of clients, which is only an illustration here and should not be construed as a limitation to the present invention.
The server in the embodiment of the invention can comprise two functions, wherein one function is an account verification function, namely, after a user inputs account login information through a client, authentication verification is carried out on the account login information; and the other function is to provide related services for the client, namely to send service data to the client after the client passes the verification, so as to complete the process of logging in the server by the client. In practical application, the server may be divided into a front server and a back server, where the front server is mainly used for managing account information, and the back server is mainly used for establishing communication connection with the client and providing specific service data. In addition, the functions of the front server and the back server may also be integrated on the same server, which is not limited herein.
For convenience of understanding, please refer to fig. 3, where fig. 3 is a schematic diagram of an interactive embodiment of a method for account login according to an embodiment of the present invention, and as shown in the figure, the method specifically includes:
in step 101, a user sends account login information to a server through a client, wherein the account login information does not contain a suffix of an account, namely a domain name;
in step 102, the server obtains at least one domain name to be selected from a background database according to the received account login information, and selects one of the domain names as a target domain name according to a certain rule;
in step 103, the client obtains the target domain name from the server side;
in step 104, the client combines the target domain name with the account login information input by the user, so that a complete account, namely the target account, can be obtained;
in step 105, the client logs in to the server by using the target account, and the process of establishing service communication with the server is completed.
Referring to fig. 4, a method for account login according to the present invention is described below from the perspective of a client, where an embodiment of the method for account login according to the present invention includes:
201. sending account login information to a server, wherein the account login information is used for indicating the server to determine a target domain name from at least one domain name to be selected;
in this embodiment, a user sends account login information to a server through a client, where one user corresponds to at least one account login information, and assuming that an account is "johnliu @ concept. Similarly, each account includes account login information and a domain name.
The server can extract at least one domain name to be selected from the database according to the received account login information, and then determines a target domain name from the at least one domain name to be selected.
202. Acquiring a target domain name;
in this embodiment, the client acquires the target domain name determined by the server side.
203. Determining a target account according to the account login information and the target domain name;
in this embodiment, the client combines the account login information input by the user and the target domain name determined by the server into a target account. For example, the account login information input by the user is "johnliu", the target domain name determined by the server is "@ intent.com.cn", and then the target account combined by the client side is "johnliu @ intent.com.cn".
204. And logging in by using the target account.
In this embodiment, the client logs in by using the target account obtained by the combination, and service communication can be performed with the server after the login is successful.
The embodiment of the invention provides an account login method, which comprises the steps that firstly, a client sends account login information to a server, the account login information is used for indicating that the server can determine a target domain name from at least one domain name to be selected, then, the client obtains the target domain name, then, a target account is determined according to the account login information and the target domain name, and finally, the client uses the target account to log in. By the method, when the user logs in the account on the client, a long domain name does not need to be manually input, and a target domain name is obtained from the server side. The client generates a target account including the target domain name, so that login operation can be directly performed by using the target account, and the efficiency of account login is improved.
Optionally, on the basis of the embodiment corresponding to fig. 4, in a first optional embodiment of the account login method provided in the embodiment of the present invention, before sending the account login information to the server, the method may further include:
and sending server configuration information to the server, wherein the server configuration information carries the identification of the client, and the server configuration information is used for indicating the server to determine at least one domain name to be selected.
In this embodiment, when the client performs account login for the first time, the server needs to perform corresponding setting, that is, server configuration information is sent to the server, and the server configuration information carries an identifier of the client, that is, the server can determine the identity of the client through the server configuration information and use the identity as a valid client, and in addition, the server also provides at least one domain name to be selected for the valid client.
Specifically, the server configuration information sent by the client to the server needs to include an Internet Protocol (IP) address and a port of the server, where the IP address is used for realizing communication between the client and the server, and a call can be made with the client and the server as if a certain person has a phone number, and similarly, with the IP address of a certain host, the client can communicate with the host. The port refers to a server port, and usually a Transmission Control Protocol (TCP)/IP Protocol specifies that a web page employs a port number 80, a File Transfer Protocol (FTP) employs a port number 21, and the like, while the mail server employs a port number 25. Therefore, the computer can communicate with the outside without interference through different ports.
It should be noted that the server configuration information may include other information besides the IP address and the port of the server, and this is only an illustration and should not be construed as a limitation to the present invention.
Secondly, in the embodiment of the present invention, when the client logs in the server for the first time, the client further needs to set the server, that is, server configuration information is sent to the server, where the server configuration information carries an identifier of the client, so that the server determines at least one domain name to be selected according to the server configuration information. By the method, the client can preset the server configuration information, so that the client does not need to reset the related information of the server again in the subsequent login account, and the login convenience is improved.
Optionally, on the basis of the embodiment corresponding to fig. 4, in a second optional embodiment of the account login method provided in the embodiment of the present invention, acquiring the target domain name may include:
and receiving a target domain name selected by the server from at least one domain name to be selected according to a preset rule.
In this embodiment, the server may automatically select a target domain name for the client according to a preset rule. The preset rules may specifically be in the following categories:
firstly, selecting a target domain name according to the use frequency of the domain name;
it is assumed that the server stores a list of domain names to be selected, the list has at least one domain name to be selected, and the number of times of use of each domain name to be selected in one month is recorded, see table 1, where table 1 is the number of times of use of the domain name to be selected in one month.
TABLE 1
To-be-selected domain name | Number of times of use |
@business.com.cn | 75 |
@business.shenzhen,com.cn | 15 |
@business.shanghai.enginee.com.cn | 62 |
@business.beijing.com.cn | 80 |
@business.guangzhou.painting.com.cn | 58 |
As shown in table 1, the number of times of selecting "@ business. beijing. com. cn" is the largest, and the domain name is used as the target domain name.
Secondly, selecting a target domain name according to the domain name arrangement sequence in the list;
assuming that the server stores a list of domain names to be selected, which has at least one domain name to be selected, please refer to table 2, where table 2 is an arrangement order of the domain names to be selected.
TABLE 2
To-be-selected domain name | Permutation number |
@business.com.cn | 1 |
@business.shenzhen,com.cn | 2 |
@business.shanghai.enginee.com.cn | 3 |
@business.beijing.com.cn | 4 |
@business.guangzhou.painting.com.cn | 5 |
As shown in table 2, the target domain name is "@ business. com. cn" with the arrangement number of 1.
Thirdly, selecting a target domain name according to the preset content of the user;
the user can also set a target domain name through a 'setting' option in the client, and after the setting is finished, the server can provide the corresponding target domain name according to the content set by the user.
Secondly, in the embodiment of the invention, a method for automatically selecting a target domain name by a server is provided, namely, the server selects the target domain name from at least one domain name to be selected according to a preset rule, and then sends the target domain name to a client. Through the mode, the user only needs to input the account login information of the user through the client, the server selects a default target domain name, and the user does not need to manually input the domain name, so that the convenience of the user for logging in the account is improved.
Optionally, on the basis of the embodiment corresponding to fig. 4, in a third optional embodiment of the account login method provided in the embodiment of the present invention, after the account login information is sent to the server, the method may further include:
sending a domain name selection request to a server;
receiving at least one domain name to be selected sent by a server according to a domain name selection request;
acquiring the target domain name may include:
sending a domain name confirmation instruction to a server according to at least one domain name to be selected so that the server can acquire a target domain name according to the domain name confirmation instruction;
and receiving the target domain name sent by the server.
In this embodiment, if the user needs to replace the default domain name originally provided by the server, a domain name selection request may be sent to the server. The server feeds back at least one domain name to be selected to the client according to the domain name selection request, and in practical application, the at least one domain name to be selected can be displayed on the client in a list mode.
The user selects a domain name to be logged in through at least one domain name to be selected displayed on the client, and clicks the domain name, namely, a domain name confirmation instruction is triggered. After receiving the domain name confirmation instruction, the server can know the domain name selected by the user, determine the domain name as a target domain name and feed back the target domain name to the client.
Secondly, in the embodiment of the invention, if the user needs to change the domain name, the target domain name can be selected from at least one domain name to be selected provided by the server, and even if the domain name needs to be switched, the domain name does not need to be manually input, so that the convenience and the flexibility of the user for logging in the account are further improved.
In the above embodiment, the account login method in the present invention is introduced from the perspective of a client, and in the following, the account login method in the present invention is introduced from the perspective of a server, referring to fig. 5, an embodiment of a method for controlling live video in an embodiment of the present invention includes:
301. receiving account login information sent by a client;
in this embodiment, a server first receives account login information sent by a client, where one user corresponds to at least one account login information, and assuming that an account is "johnliu @ concept. Similarly, each account includes account login information and a domain name.
302. Determining a target domain name from at least one domain name to be selected according to account login information;
in this embodiment, the server may extract at least one domain name to be selected from the database according to the received account login information, and then determine a target domain name from the at least one domain name to be selected.
303. And sending the target domain name to the client so that the client determines a target account according to the account login information and the target domain name and logs in by using the target account.
In this embodiment, the server determines a target domain name and sends the target domain name to the client, and the client combines a target account according to account login information input by the user and the target domain name determined by the server. For example, the account login information input by the user is "johnliu", the target domain name determined by the server is "@ intent.com.cn", and then the target account combined by the client side is "johnliu @ intent.com.cn". And the client logs in by adopting the target account obtained by combination, and can carry out service communication with the server after the login is successful.
The embodiment of the invention provides an account login method, which comprises the steps that firstly, a server receives account login information sent by a client, then a target domain name is determined from at least one domain name to be selected according to the account login information, finally, the server sends the target domain name to the client, so that the client determines a target account according to the account login information and the target domain name and uses the target account to log in. By the method, when the user logs in the account on the client, a long domain name does not need to be manually input, and a target domain name is obtained from the server side. The client generates a target account including the target domain name, so that login operation can be directly performed by using the target account, and the efficiency of account login is improved.
Optionally, on the basis of the embodiment corresponding to fig. 5, in a first optional embodiment of the account login method provided in the embodiment of the present invention, before receiving the account login information sent by the client, the method may further include:
receiving server configuration information sent by a client, wherein the server configuration information carries an identifier of the client;
and determining at least one domain name to be selected according to the server configuration information.
In this embodiment, when the client performs account login for the first time, the server needs to perform corresponding setting, that is, server configuration information is sent to the server, and the server configuration information carries an identifier of the client, that is, the server can determine the identity of the client through the server configuration information and use the identity as a valid client, and in addition, the server also provides at least one domain name to be selected for the valid client.
Secondly, in the embodiment of the invention, before the server receives the account login information sent by the client, the server configuration information sent by the client is received, wherein the server configuration information carries the identifier of the client, so that the server determines at least one domain name to be selected according to the server configuration information. By the method, the client can preset the server configuration information, so that the client does not need to reset the related information of the server again in the subsequent login account, and the login convenience is improved.
Optionally, on the basis of the first embodiment corresponding to fig. 5, in a second optional embodiment of the account login method provided in the embodiment of the present invention, after receiving the server configuration information sent by the client, the method may further include:
judging whether the client passes the authentication or not according to the identifier of the client carried in the server configuration information;
if the client side fails in authentication, sending authentication failure prompt information to the client side;
determining the at least one domain name to be selected according to the server configuration information may include:
and if the client passes the authentication, determining at least one domain name to be selected according to the server configuration information.
In this embodiment, the server further needs to verify whether the client has the right to access the system, and the traditional authentication is verified by a password, but the weakness of this method is very obvious, and once the password is stolen or the user loses the password, the situation is very troublesome, an administrator needs to revise the user password, and before the password is revised, the legal identity of the user needs to be verified manually. To overcome the disadvantages of this authentication approach, a more reliable authentication approach is needed. The authentication mode of the invention utilizes the client terminal identification to determine the legality of the client terminal.
Specifically, referring to fig. 6, fig. 6 is a schematic flowchart illustrating a process of authenticating a client by a server according to an embodiment of the present invention, as shown in step 401, a trusted client obtains an enterprise domain name configuration from an enterprise access service, for example, the enterprise access service provides a server IP address and a port number. In step 402, the enterprise access service performs device authentication of the client, and if the authentication is passed, corresponding authentication information is received in step 403. Thereby further requesting to obtain the enterprise configuration in step 404, the server provides the corresponding enterprise configuration information to the client in step 405. And finally, establishing communication connection between the client and the server, and acquiring enterprise configuration data.
In the embodiment of the present invention, before providing at least one domain name to be selected to the client, the server needs to perform identity authentication on the client. The method comprises the steps of firstly extracting the identification of a client from server configuration information, then judging whether the client passes authentication according to the identification, prompting the client which does not pass the authentication, and providing at least one domain name to be selected for the client which passes the authentication. By the method, illegal users can be prevented from occupying server resources and maliciously stealing information, and only service data is provided for legal users, so that the reasonability and the effectiveness of the scheme are improved.
Optionally, on the basis of the embodiment corresponding to fig. 5, in a third optional embodiment of the account login method provided in the embodiment of the present invention, determining the target domain name from the at least one domain name to be selected according to the account login information may include:
acquiring at least one domain name to be selected according to the account login information;
and selecting a target domain name from at least one domain name to be selected according to a preset rule.
In this embodiment, the server may automatically select a target domain name for the client according to a preset rule. The preset rule may specifically include the following:
the first is to select a target domain name according to the domain name usage frequency, the second is to select a target domain name according to the domain name arrangement order in the list, and the third is to select a target domain name according to the domain name usage frequency, and the contents of these three preset rules are as in the second embodiment corresponding to fig. 4, which are not described herein again.
Secondly, in the embodiment of the invention, a method for automatically selecting a target domain name by a server is provided, namely, the server selects the target domain name from at least one domain name to be selected according to a preset rule, and then sends the target domain name to a client. Through the mode, the user only needs to input the account login information of the user through the client, the server selects a default target domain name, and the user does not need to manually input the domain name, so that the convenience of the user for logging in the account is improved.
Optionally, on the basis of the embodiment corresponding to fig. 5, in a fourth optional embodiment of the account login method provided in the embodiment of the present invention, after receiving the account login information sent by the client, the method may further include:
receiving a domain name selection request sent by a client;
sending at least one domain name to be selected to a client according to a domain name selection request;
determining a target domain name from at least one domain name to be selected according to account login information may include:
receiving a domain name confirmation instruction sent by a client;
and acquiring a target domain name from at least one domain name to be selected according to the domain name confirmation instruction and the account login information.
In this embodiment, if the user needs to replace the default domain name originally provided by the server, a domain name selection request may be sent to the server. The server feeds back at least one domain name to be selected to the client according to the domain name selection request, and in practical application, the at least one domain name to be selected can be displayed on the client in a list mode.
The user selects a domain name to be logged in through at least one domain name to be selected displayed on the client, and clicks the domain name, namely, a domain name confirmation instruction is triggered. After receiving the domain name confirmation instruction, the server can know the domain name selected by the user, and then determines a target domain name according to the account login information corresponding to the user and the domain name selected by the user, and feeds the target domain name back to the client.
Secondly, in the embodiment of the invention, if the user needs to change the domain name, the target domain name can be selected from at least one domain name to be selected provided by the server, and even if the domain name needs to be switched, the domain name does not need to be manually input, so that the convenience and the flexibility of the user for logging in the account are further improved.
For convenience of understanding, the following may describe in detail the account login method process in a specific application scenario, please refer to fig. 7, where fig. 7 is an interface schematic diagram for logging in an IM application program in the application scenario, specifically:
when a user logs in a server through an IM client for the first time, server setting is needed, the set content comprises an address and a port, the address of the server is www.tencent.com.cn, the port number is 8080, and after filling, a confirmation button is clicked, so that an input interface of login information can be seen. The user fills in account login information in a blank, for example, "user", a default domain name, namely "@ ten.com.cn", is displayed on an interface of the IM client, and in this time, the user can complete account login only by inputting a password.
Certainly, if the user does not want to select "@ intent.com.cn" as the domain name, the user can click a small triangle button behind the domain name, so that a list of selectable domain names appears, and the user selects one of the domain names according to the requirement and clicks a "finish" button to finish the change of the domain name.
In addition, the user can also log in the server by using the client on the mobile terminal, please refer to fig. 8, and fig. 8 is another interface schematic diagram for logging in the IM application program in the application scenario of the present invention, and similar to the content introduced in fig. 7, the user can still use the default domain name provided by the server to log in the account, if the domain name needs to be changed, the user can obtain a login mechanism list, the list includes at least one selectable domain name, and the user selects one of the domain names according to the requirement, and clicks the "complete" button to complete the change of the domain name.
In the following, a detailed description is given to a client in the present invention, referring to fig. 9, where the client in the embodiment of the present invention is a client in an account login system, and the client includes:
a first sending module 501, configured to send account login information to a server, where the account login information is used to instruct the server to determine a target domain name from at least one domain name to be selected;
an obtaining module 502, configured to obtain the target domain name;
a determining module 503, configured to determine a target account according to the account login information and the target domain name acquired by the acquiring module 502;
a login module 504, configured to log in using the target account determined by the determination module 503.
In this embodiment, the first sending module 501 sends account login information to a server, where the account login information is used to instruct the server to determine a target domain name from at least one domain name to be selected, the obtaining module 502 obtains the target domain name, the determining module 503 determines a target account number according to the account login information and the target domain name obtained by the obtaining module 502, and the login module uses the target account number determined by the determining module 503 to perform login.
The embodiment of the invention provides an account login client, which comprises the steps of firstly sending account login information to a server by the client, wherein the account login information is used for indicating that the server can determine a target domain name from at least one domain name to be selected, then obtaining the target domain name by the client, then determining a target account according to the account login information and the target domain name, and finally, logging in by the client by using the target account. By the method, when the user logs in the account on the client, a long domain name does not need to be manually input, and a target domain name is obtained from the server side. The client generates a target account including the target domain name, so that login operation can be directly performed by using the target account, and the efficiency of account login is improved.
Alternatively, on the basis of the embodiment corresponding to fig. 9, referring to fig. 10, in another embodiment of the client provided in the embodiment of the present invention,
the client 50 further includes:
a second sending module 505, configured to send server configuration information to a server before the first sending module 501 sends account login information to the server, where the server configuration information carries an identifier of the client, and the server configuration information is used to instruct the server to determine the at least one domain name to be selected.
Secondly, in the embodiment of the present invention, when the client logs in the server for the first time, the client further needs to set the server, that is, server configuration information is sent to the server, where the server configuration information carries an identifier of the client, so that the server determines at least one domain name to be selected according to the server configuration information. By the method, the client can preset the server configuration information, so that the client does not need to reset the related information of the server again in the subsequent login account, and the login convenience is improved.
Alternatively, on the basis of the embodiment corresponding to fig. 9, referring to fig. 11, in another embodiment of the client provided in the embodiment of the present invention,
the obtaining module 502 includes:
a first receiving unit 5021, configured to receive the target domain name selected by the server from the at least one domain name to be selected according to a preset rule.
Secondly, in the embodiment of the invention, a method for automatically selecting a target domain name by a server is provided, namely, the server selects the target domain name from at least one domain name to be selected according to a preset rule, and then sends the target domain name to a client. Through the mode, the user only needs to input the account login information of the user through the client, the server selects a default target domain name, and the user does not need to manually input the domain name, so that the convenience of the user for logging in the account is improved.
Optionally, on the basis of the embodiment corresponding to fig. 9, referring to fig. 12, in another embodiment of the client according to the embodiment of the present invention, the client 50 further includes:
a third sending module 506, configured to send a domain name selection request to a server after the first sending module 501 sends account login information to the server;
a receiving module 507, configured to receive the at least one domain name to be selected sent by the server according to the domain name selection request sent by the third sending module 506;
the obtaining module 502 includes:
a sending unit 5022, configured to send a domain name confirmation instruction to the server according to the at least one domain name to be selected, so that the server obtains the target domain name according to the domain name confirmation instruction;
a second receiving unit 5023, configured to receive the target domain name sent by the server.
Secondly, in the embodiment of the invention, if the user needs to change the domain name, the target domain name can be selected from at least one domain name to be selected provided by the server, and even if the domain name needs to be switched, the domain name does not need to be manually input, so that the convenience and the flexibility of the user for logging in the account are further improved.
With reference to fig. 13, a server in the present invention is a server in an account login system, where the server includes:
a first receiving module 601, configured to receive account login information sent by a client;
a first determining module 602, configured to determine a target domain name from at least one domain name to be selected according to the account login information received by the first receiving module 601;
a first sending module 603, configured to send the target domain name determined by the first determining module 602 to the client, so that the client determines a target account according to the account login information and the target domain name, and logs in by using the target account.
In this embodiment, a first receiving module 601 receives account login information sent by a client, a first determining module 602 determines a target domain name from at least one domain name to be selected according to the account login information received by the first receiving module 601, and a first sending module 603 sends the target domain name determined by the first determining module 602 to the client, so that the client determines a target account according to the account login information and the target domain name and uses the target account to log in.
The embodiment of the invention provides an account login server, which comprises the steps that firstly, the server receives account login information sent by a client, then a target domain name is determined from at least one domain name to be selected according to the account login information, finally, the server sends the target domain name to the client, so that the client determines a target account according to the account login information and the target domain name and uses the target account to log in. By the method, when the user logs in the account on the client, a long domain name does not need to be manually input, and a target domain name is obtained from the server side. The client generates a target account including the target domain name, so that login operation can be directly performed by using the target account, and the efficiency of account login is improved.
Alternatively, referring to fig. 14 on the basis of the embodiment corresponding to fig. 13, in another embodiment of the server provided in the embodiment of the present invention,
the server 60 further includes:
a second receiving module 604, configured to receive server configuration information sent by a client before the first receiving module 601 receives account login information sent by the client, where the server configuration information carries an identifier of the client;
a second determining module 605, configured to determine the at least one domain name to be selected according to the server configuration information received by the second receiving module 604.
Secondly, in the embodiment of the invention, before the server receives the account login information sent by the client, the server configuration information sent by the client is received, wherein the server configuration information carries the identifier of the client, so that the server determines at least one domain name to be selected according to the server configuration information. By the method, the client can preset the server configuration information, so that the client does not need to reset the related information of the server again in the subsequent login account, and the login convenience is improved.
Optionally, on the basis of the embodiment corresponding to fig. 14, referring to fig. 15, in another embodiment of the server provided in the embodiment of the present invention, the server 60 further includes:
a determining module 606, configured to, after the second receiving module 604 receives the server configuration information sent by the client, determine whether the client passes authentication according to the identifier of the client carried in the server configuration information;
a second sending module 607, configured to send an authentication failure prompt message to the client if the determining module 606 determines that the client fails to authenticate;
the second determination module 605 includes:
a determining unit 6051, configured to determine, if the determining module 606 determines that the client passes the authentication, the at least one domain name to be selected according to the server configuration information.
In the embodiment of the present invention, before providing at least one domain name to be selected to the client, the server needs to perform identity authentication on the client. The method comprises the steps of firstly extracting the identification of a client from server configuration information, then judging whether the client passes authentication according to the identification, prompting the client which does not pass the authentication, and providing at least one domain name to be selected for the client which passes the authentication. By the method, illegal users can be prevented from occupying server resources and maliciously stealing information, and only service data is provided for legal users, so that the reasonability and the effectiveness of the scheme are improved.
Alternatively, referring to fig. 16 on the basis of the embodiment corresponding to fig. 13, in another embodiment of the server provided in the embodiment of the present invention,
the first determining module 602 includes:
an obtaining unit 6021, configured to obtain the at least one domain name to be selected according to the account login information;
a first selecting unit 6022, configured to select the target domain name from the at least one domain name to be selected acquired by the acquiring unit 6021 according to a preset rule.
Secondly, in the embodiment of the invention, a method for automatically selecting a target domain name by a server is provided, namely, the server selects the target domain name from at least one domain name to be selected according to a preset rule, and then sends the target domain name to a client. Through the mode, the user only needs to input the account login information of the user through the client, the server selects a default target domain name, and the user does not need to manually input the domain name, so that the convenience of the user for logging in the account is improved.
Optionally, on the basis of the embodiment corresponding to fig. 13, referring to fig. 17, in another embodiment of the server provided in the embodiment of the present invention, the server 60 further includes:
a third receiving module 608, configured to receive, by the first receiving module 601, a domain name selection request sent by a client after receiving account login information sent by the client;
a third sending module 609, configured to send the at least one domain name to be selected to the client according to the domain name selection request received by the third receiving module 608;
the first determining module 602 includes:
a receiving unit 6023, configured to receive a domain name confirmation instruction sent by the client;
a second selecting unit 6024, configured to obtain the target domain name from the at least one domain name to be selected according to the domain name confirmation instruction and the account login information received by the receiving unit 6023.
Secondly, in the embodiment of the invention, if the user needs to change the domain name, the target domain name can be selected from at least one domain name to be selected provided by the server, and even if the domain name needs to be switched, the domain name does not need to be manually input, so that the convenience and the flexibility of the user for logging in the account are further improved.
As shown in fig. 18, for convenience of description, only the parts related to the embodiment of the present invention are shown, and details of the specific technology are not disclosed, please refer to the method part of the embodiment of the present invention. The terminal may be any terminal device including a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), a Point of Sales (POS), a vehicle-mounted computer, and the like, taking the terminal as the mobile phone as an example:
fig. 18 is a block diagram showing a partial structure of a cellular phone related to a terminal provided by an embodiment of the present invention. Referring to fig. 18, the cellular phone includes: radio Frequency (RF) circuit 710, memory 720, input unit 730, display unit 740, sensor 750, audio circuit 760, wireless fidelity (WiFi) module 770, processor 780, and power supply 790. Those skilled in the art will appreciate that the handset configuration shown in fig. 18 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 18:
the RF circuit 710 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information of a base station and then processes the received downlink information to the processor 780; in addition, the data for designing uplink is transmitted to the base station. In general, the RF circuit 710 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 710 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The memory 720 may be used to store software programs and modules, and the processor 780 may execute various functional applications and data processing of the cellular phone by operating the software programs and modules stored in the memory 720. The memory 720 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 720 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 730 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 730 may include a touch panel 731 and other input devices 732. The touch panel 731, also referred to as a touch screen, can collect touch operations of a user (e.g. operations of the user on or near the touch panel 731 by using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 731 may include two portions of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts it to touch point coordinates, and sends the touch point coordinates to the processor 780, and can receive and execute commands from the processor 780. In addition, the touch panel 731 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 730 may include other input devices 732 in addition to the touch panel 731. In particular, other input devices 732 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 740 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The Display unit 740 may include a Display panel 741, and optionally, the Display panel 741 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 731 can cover the display panel 741, and when the touch panel 731 detects a touch operation on or near the touch panel 731, the touch operation is transmitted to the processor 780 to determine the type of the touch event, and then the processor 780 provides a corresponding visual output on the display panel 741 according to the type of the touch event. Although the touch panel 731 and the display panel 741 are shown as two separate components in fig. 18, in some embodiments, the touch panel 731 and the display panel 741 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 750, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 741 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 741 and/or a backlight when the mobile phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 770, and provides wireless broadband Internet access for the user. Although fig. 18 shows the WiFi module 770, it is understood that it does not belong to the essential constitution of the handset, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 780 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 720 and calling data stored in the memory 720, thereby integrally monitoring the mobile phone. Optionally, processor 780 may include one or more processing units; optionally, processor 780 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 780.
The handset also includes a power supply 790 (e.g., a battery) for providing power to the various components, optionally, the power supply may be logically connected to the processor 780 via a power management system, so as to implement functions such as managing charging, discharging, and power consumption via the power management system.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
In this embodiment of the present invention, the processor 780 included in the terminal further has the following functions:
sending account login information to a server, wherein the account login information is used for indicating the server to determine a target domain name from at least one domain name to be selected;
acquiring the target domain name;
determining a target account according to the account login information and the target domain name;
and logging in by using the target account.
Fig. 19 is a schematic diagram of a server structure provided by an embodiment of the present invention, where the server 800 may have a relatively large difference due to different configurations or performances, and may include one or more Central Processing Units (CPUs) 822 (e.g., one or more processors) and a memory 832, one or more storage media 830 (e.g., one or more mass storage devices) for storing applications 842 or data 844. Memory 832 and storage medium 830 may be, among other things, transient or persistent storage. The program stored in the storage medium 830 may include one or more modules (not shown), each of which may include a series of instruction operations for the server. Still further, a central processor 822 may be provided in communication with the storage medium 830 for executing a series of instruction operations in the storage medium 830 on the server 800.
The server 800 may also include one or more power supplies 826, one or more wired or wireless network interfaces 850, one or more input-output interfaces 858, and/or one or more operating systems 841, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, and so forth.
The steps performed by the server in the above embodiment may be based on the server configuration shown in fig. 19.
In the embodiment of the present invention, the CPU 822 included in the server further has the following functions:
receiving account login information sent by a client;
determining a target domain name from at least one domain name to be selected according to the account login information;
and sending the target domain name to the client so that the client determines a target account according to the account login information and the target domain name and logs in by using the target account.
Referring to fig. 20, fig. 20 is a schematic diagram of an embodiment of an account login system according to an embodiment of the present invention, where the account login system includes a client 901 and a server 902, and the account login system includes:
the client 901 sends account login information to the server 902;
the server 902 determines a target domain name from at least one domain name to be selected according to the account login information;
the client 901 obtains a target domain name;
the client 901 determines a target account according to the account login information and the target domain name;
the client 901 logs in using the target account.
The embodiment of the invention provides an account login system, which comprises the steps that firstly, a client sends account login information to a server, the account login information is used for indicating that the server can determine a target domain name from at least one domain name to be selected, then, the client acquires the target domain name, then, the target account number is determined according to the account login information and the target domain name, and finally, the client uses the target account number to log in. By the method, when the user logs in the account on the client, a long domain name does not need to be manually input, and a target domain name is obtained from the server side. The client generates a target account including the target domain name, so that login operation can be directly performed by using the target account, and the efficiency of account login is improved.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (13)
1. An account login method is applied to a client, and comprises the following steps:
sending server configuration information to a server, wherein the server configuration information carries an identifier of the client, and the server configuration information is used for indicating the server to determine at least one domain name to be selected;
sending account login information to the server, wherein the account login information does not contain a domain name and an "@" symbol, and the account login information is used for indicating the server to determine a target domain name from the at least one domain name to be selected;
acquiring the target domain name;
determining a target account according to the account login information and the target domain name;
logging in by using the target account;
wherein the obtaining the target domain name includes:
receiving the target domain name selected by the server from the at least one domain name to be selected according to a preset rule, wherein the preset rule comprises any one of the following: selecting the domain name with the highest use frequency as a target domain name, selecting the domain name with the most front arrangement order as the target domain name, and selecting the target domain name according to the content preset by a user.
2. The method of claim 1, wherein after sending account login information to the server, the method further comprises:
sending a domain name selection request to the server;
receiving the at least one domain name to be selected sent by the server according to the domain name selection request;
the acquiring the target domain name includes:
sending a domain name confirmation instruction to the server according to the at least one domain name to be selected, so that the server obtains the target domain name according to the domain name confirmation instruction;
and receiving the target domain name sent by the server.
3. An account login method is applied to a server, and comprises the following steps:
receiving server configuration information sent by a client, wherein the server configuration information carries an identifier of the client;
determining at least one domain name to be selected according to the server configuration information;
receiving account login information sent by the client, wherein the account login information does not contain a domain name and a "@" symbol;
determining a target domain name from the at least one domain name to be selected according to the account login information;
sending the target domain name to the client, so that the client determines a target account according to the account login information and the target domain name and logs in by using the target account;
the determining a target domain name from at least one domain name to be selected according to the account login information includes:
acquiring the at least one domain name to be selected according to the account login information;
selecting the target domain name from the at least one domain name to be selected according to a preset rule, wherein the preset rule comprises any one of the following items: selecting the domain name with the highest use frequency as a target domain name, selecting the domain name with the most front arrangement order as the target domain name, and selecting the target domain name according to the content preset by a user.
4. The method of claim 3, wherein after receiving the server configuration information sent by the client, the method further comprises:
judging whether the client passes authentication or not according to the identifier of the client carried in the server configuration information;
if the client side fails in authentication, sending authentication failure prompt information to the client side;
the determining the at least one domain name to be selected according to the server configuration information includes:
and if the client passes the authentication, determining the at least one domain name to be selected according to the server configuration information.
5. The method according to claim 3, wherein after receiving the account login information sent by the client, the method further comprises:
receiving a domain name selection request sent by the client;
sending the at least one domain name to be selected to the client according to the domain name selection request;
the determining a target domain name from at least one domain name to be selected according to the account login information comprises:
receiving a domain name confirmation instruction sent by the client;
and acquiring the target domain name from the at least one domain name to be selected according to the domain name confirmation instruction and the account login information.
6. A client, comprising:
the system comprises a first sending module, a second sending module and a third sending module, wherein the first sending module is used for sending account login information to a server, and the account login information does not contain a domain name and a '@' symbol; the account login information is used for indicating the server to determine a target domain name from at least one domain name to be selected;
the acquisition module is used for acquiring the target domain name;
the determining module is used for determining a target account according to the account login information and the target domain name acquired by the acquiring module;
the login module is used for logging in by using the target account determined by the determination module;
wherein the acquisition module comprises:
a first receiving unit, configured to receive the target domain name selected by the server from the at least one domain name to be selected according to a preset rule, where the preset rule includes any one of: selecting a domain name with the highest use frequency as a target domain name, selecting a domain name with the most front arrangement order as a target domain name, and selecting the target domain name according to the content preset by a user;
a second sending module, configured to send server configuration information to a server before the first sending module sends account login information to the server, where the server configuration information carries an identifier of the client, and the server configuration information is used to instruct the server to determine the at least one domain name to be selected.
7. The client of claim 6, wherein the obtaining module comprises:
a first receiving unit, configured to receive the target domain name selected by the server from the at least one domain name to be selected according to a preset rule.
8. The client of claim 6, further comprising:
the third sending module is used for sending a domain name selection request to the server after the first sending module sends the account login information to the server;
a receiving module, configured to receive the at least one domain name to be selected sent by the server according to the domain name selection request sent by the third sending module;
the acquisition module includes:
a sending unit, configured to send a domain name confirmation instruction to the server according to the at least one domain name to be selected, so that the server obtains the target domain name according to the domain name confirmation instruction;
a second receiving unit, configured to receive the target domain name sent by the server.
9. A server, comprising:
the first receiving module is used for receiving account login information sent by a client, wherein the account login information does not contain a domain name and a "@" symbol;
the first determining module is used for determining a target domain name from at least one domain name to be selected according to the account login information received by the first receiving module;
the first sending module is used for sending the target domain name determined by the first determining module to the client so that the client determines a target account according to the account login information and the target domain name and logs in by using the target account;
wherein the first determining module comprises:
the acquisition unit is used for acquiring the at least one domain name to be selected according to the account login information;
a first selecting unit, configured to select the target domain name from the at least one domain name to be selected acquired by the acquiring unit according to a preset rule, where the preset rule includes any one of: selecting a domain name with the highest use frequency as a target domain name, selecting a domain name with the most front arrangement order as a target domain name, and selecting the target domain name according to the content preset by a user;
the server further comprises:
the second receiving module is used for receiving the server configuration information sent by the client before the first receiving module receives the account login information sent by the client, wherein the server configuration information carries the identification of the client;
a second determining module, configured to determine the at least one domain name to be selected according to the server configuration information received by the second receiving module.
10. The server of claim 9, further comprising:
the judging module is used for judging whether the client passes the authentication or not according to the identifier of the client carried in the server configuration information after the second receiving module receives the server configuration information sent by the client;
the second sending module is used for sending authentication failure prompt information to the client if the judging module judges that the client fails to pass the authentication;
the second determining module includes:
and the determining unit is used for determining the at least one domain name to be selected according to the server configuration information if the judging module judges that the client passes the authentication.
11. The server of claim 9, further comprising:
the third receiving module is used for receiving a domain name selection request sent by a client after the first receiving module receives account login information sent by the client;
a third sending module, configured to send the at least one domain name to be selected to the client according to the domain name selection request received by the third receiving module;
the first determining module includes:
a receiving unit, configured to receive a domain name confirmation instruction sent by the client;
and the second selecting unit is used for acquiring the target domain name from the at least one domain name to be selected according to the domain name confirmation instruction and the account login information received by the receiving unit.
12. An account login system is characterized by comprising a client and a server;
the client sends server configuration information to the server, wherein the server configuration information is used for indicating the server to determine at least one domain name to be selected;
the server receives the server configuration information sent by the client, wherein the server configuration information carries the identification of the client;
the server determines at least one domain name to be selected according to the server configuration information;
the client side sends account login information to the server, wherein the account login information does not contain a domain name and a '@' symbol;
the server determines a target domain name from the at least one domain name to be selected according to the account login information;
the client acquires the target domain name;
the client determines a target account according to the account login information and the target domain name;
and the client logs in by using the target account.
13. A computer-readable storage medium comprising instructions for performing the method of any of claims 1-2 or 3-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710137684.3A CN108574664B (en) | 2017-03-09 | 2017-03-09 | Account login method, client, server, system and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710137684.3A CN108574664B (en) | 2017-03-09 | 2017-03-09 | Account login method, client, server, system and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108574664A CN108574664A (en) | 2018-09-25 |
CN108574664B true CN108574664B (en) | 2021-04-27 |
Family
ID=63577861
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710137684.3A Active CN108574664B (en) | 2017-03-09 | 2017-03-09 | Account login method, client, server, system and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108574664B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111259278B (en) * | 2020-01-15 | 2023-07-18 | 宝宝巴士股份有限公司 | Automatic code scanning method and system |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20090043662A (en) * | 2007-10-30 | 2009-05-07 | 주식회사 인프라웨어 | System and method to register e-mail account |
CN102307263A (en) * | 2011-09-16 | 2012-01-04 | 汉王科技股份有限公司 | Mobile terminal device mail box address input method and mobile terminal device |
CN102495855B (en) * | 2011-11-21 | 2013-09-25 | 奇智软件(北京)有限公司 | Automatic login method and device |
CN103227786B (en) * | 2013-04-08 | 2018-11-16 | 优视科技有限公司 | A kind of website login information filling method and device |
CN105072017A (en) * | 2015-07-08 | 2015-11-18 | 贵州网畅信息科技有限公司 | Instant messaging service addressing method |
CN105763429A (en) * | 2016-04-28 | 2016-07-13 | 乐视控股(北京)有限公司 | Automatic complementing method and system for account number inputting |
-
2017
- 2017-03-09 CN CN201710137684.3A patent/CN108574664B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN108574664A (en) | 2018-09-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104518875B (en) | A kind of method that authentication and account obtain, mobile terminal | |
US10304461B2 (en) | Remote electronic service requesting and processing method, server, and terminal | |
CN109905380B (en) | Node control method and related device in distributed system | |
CN110035004B (en) | User name card sharing method, friend adding method and related device | |
CN108881103B (en) | Network access method and device | |
CN108255683B (en) | Method for prompting message in terminal and terminal | |
CN111478849B (en) | Service access method, device and storage medium | |
CN106534324B (en) | A kind of data sharing method and Cloud Server | |
CN104683301B (en) | Password storage method and device | |
CN108834132B (en) | Data transmission method and equipment and related medium product | |
CN106657165B (en) | Network attack defense method, server and terminal | |
CN106550361B (en) | Data transmission method, equipment and computer readable storage medium | |
CN106713799B (en) | Projection equipment control method, projection equipment and intelligent terminal | |
CN106843868B (en) | Multi-account login method and device and mobile terminal | |
EP3010262A1 (en) | Method for realizing cellphone without card, cellphone and server | |
CN109886670B (en) | Payment method, device, system, mobile terminal, payment machine and server | |
CN113489630A (en) | Network distribution method, device, storage medium and electronic terminal | |
CN108270764B (en) | Application login method, server and mobile terminal | |
CN104573437A (en) | Information authentication method, device and terminal | |
CN109801136B (en) | Food ordering method, system, terminal, server and medium for preventing malicious ordering | |
CN107577933B (en) | Application login method and device, computer equipment and computer readable storage medium | |
CN111314900B (en) | Wireless connection method, wireless connection device and mobile terminal | |
CN107592289B (en) | Password setting method and device | |
CN110855807A (en) | Method and equipment for adding contact person | |
US20140344423A1 (en) | Method, apparatus and system for switching function mode |
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 |