CN113468504A - Method and system for single client to access multiple servers - Google Patents

Method and system for single client to access multiple servers Download PDF

Info

Publication number
CN113468504A
CN113468504A CN202110745944.1A CN202110745944A CN113468504A CN 113468504 A CN113468504 A CN 113468504A CN 202110745944 A CN202110745944 A CN 202110745944A CN 113468504 A CN113468504 A CN 113468504A
Authority
CN
China
Prior art keywords
account
server
unified
user
login
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110745944.1A
Other languages
Chinese (zh)
Inventor
陈旺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Yuexin Information Technology Co ltd
Original Assignee
Xiamen Yuexin Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiamen Yuexin Information Technology Co ltd filed Critical Xiamen Yuexin Information Technology Co ltd
Priority to CN202110745944.1A priority Critical patent/CN113468504A/en
Publication of CN113468504A publication Critical patent/CN113468504A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/41User authentication where a single sign-on provides access to a plurality of computers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication
    • G06F21/46Structures or tools for the administration of authentication by designing passwords or checking the strength of passwords

Abstract

The invention discloses a method for accessing a plurality of service terminals by a single client, which is realized based on a unified login center and comprises a registration port, a central server and a database, and the method comprises the following steps: s1, preparation for development: deploying a plurality of service terminals, and adding information of each service terminal to a unified login center; s2, user registration: a user enters the registration port to register an account, and if the registration is successful, a required server is selected to be bound with the account and is stored in the database; s3, login and use of the user: a user logs in an account through a unified client, and if the login is successful, the unified client generates a server list and a temporary bill bound by the account; after the user selects the service end to be used, the unified client carries the temporary bill to enter the selected service end for verification, and if the verification is successful, the selected service end can be used.

Description

Method and system for single client to access multiple servers
Technical Field
The invention relates to the technical field of information, in particular to a method and a system for a single client to access a plurality of servers.
Background
Currently, most software applications are that a single client accesses a single server, or multiple clients access corresponding servers respectively, and the essence of the software applications is that the clients and the servers are in one-to-one correspondence. When the number of the servers is large, the number of the clients is increased along with the increase of the servers, so that the maintenance of the clients is difficult, the labor cost is increased (development of multiple sets of repeated clients and shelf loading of apps), and a user who uses the method needs to install a plurality of clients on a mobile phone and a computer, so that the user is difficult to use, fussy and uncomfortable.
Disclosure of Invention
The invention provides a method and a system for accessing a plurality of server sides by a single client side, which realize that the single client side accesses a plurality of server sides by providing a uniform client side inlet, and can continuously increase the server sides, optimize the use experience of a user and reduce the maintenance cost of development.
In order to achieve the purpose, the invention adopts the following technical scheme:
a method for accessing a plurality of service terminals by a single client is realized based on a unified login center, and comprises a registration port, a central server and a database, and comprises the following steps:
s1, preparation for development:
deploying a plurality of service terminals, and adding information of each service terminal to a unified login center;
s2, user registration:
a user enters the registration port to register an account, and if the registration is successful, a required server is selected to be bound with the account and is stored in the database;
s3, login and use of the user:
a user logs in an account through a unified client, and if the login is successful, the unified client generates a server list and a temporary bill bound by the account;
after the user selects the service end to be used, the unified client carries the temporary bill to enter the selected service end for verification, and if the verification is successful, the selected service end can be used.
Preferably, the information of the server in step S1 includes address information and configuration information.
Preferably, step S2 specifically includes:
s21, the user enters the registration port to register an account;
s22, the central server checks whether the account is registered, if so, the central server prompts the user that the account is registered, otherwise, the central server successfully registers the account;
and S23, after the registration is successful, selecting the required server to be bound with the account and storing the account into the database.
Preferably, step S2 further includes:
and S24, if the user needs to modify the bound server list subsequently, entering an account center of the account for modification.
Preferably, step S3 specifically includes:
s31, logging in an account by a user through the unified client;
s32, the unified client sends the account login information to the central server for verification, if the verification is passed, the account login is successful, the central server returns a server list bound by the account for the user to select, and the unified client carries a temporary bill; if the verification fails, prompting that the account login information is wrong;
s33, selecting a service end required to be used by a user, and enabling the unified client to carry temporary bills to enter the selected service end;
s34, the selected server sends the temporary bill to the central server to verify validity, if the verification is valid, the selected server generates a session for the user to use immediately; otherwise, the selected service end throws the exception and refuses the user to use.
A single client accesses a plurality of server-side systems, which comprises a unified client, a unified login center and a plurality of servers, wherein the unified login center is used for adding information of the servers, registering an account and binding the account with a required server, and the unified client is used for logging in the account and selecting the required server for use.
Preferably, the unified login center includes a registration port, a center server and a database, the registration port is used for registering an account number and selecting a required server to bind with the account number, the center server is used for verifying registration information of the registration port, login information of the unified client and verification information of the server, and the database is used for storing a server list bound with the account number.
Preferably, the information of the server includes address information and configuration information.
After adopting the technical scheme, compared with the background technology, the invention has the following advantages:
the invention provides a method and a system for accessing a plurality of service terminals by a single client, which reduce the number of clients by providing a uniform client inlet, realize that the single client accesses a plurality of server terminals, continuously increase the number of the server terminals, avoid a plurality of account registration of the plurality of server terminals, realize account intercommunication by a uniform login center while each server terminal is isolated from data, eliminate the trouble that a user needs to record a plurality of server terminal addresses and a plurality of server terminal account passwords, optimize the use experience of the user, and reduce the maintenance cost of development.
Drawings
FIG. 1 is a schematic flow chart of the process steps of the present invention;
FIG. 2 is a schematic diagram illustrating the relationship between a unified login center and a plurality of servers according to the present invention;
FIG. 3 is a flowchart illustrating the steps of account registration according to the present invention;
fig. 4 is a flowchart illustrating the steps of login and use of the account according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the present invention, it should be noted that the terms "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. are all based on the orientation or positional relationship shown in the drawings, and are only for convenience of describing the present invention and simplifying the description, but do not indicate or imply that the apparatus or element of the present invention must have a specific orientation, and thus, should not be construed as limiting the present invention.
Examples
With reference to fig. 1 to 4, the present invention discloses a method for a single client to access a plurality of servers, which is implemented based on a unified login center, and includes a registration port, a central server and a database, and includes the following steps:
s1, preparation for development:
the development personnel deploy a plurality of service terminals, log in the unified login center and add the information of each service terminal to the unified login center, wherein the information of each service terminal comprises address information and configuration information. (ii) a
S2, user registration:
a user enters a registration port to register an account, and if the registration is successful, a required server is selected to be bound with the account and is stored in a database;
s21, the user enters a registration port to input an account password to register an account;
s22, the central server checks whether the account is registered, if so, the user is prompted to register, otherwise, the account is successfully registered;
and S23, after the registration is successful, selecting the required server to be bound with the account and storing the account into the database.
S24, if the user needs to modify the bound server list, entering the account center of the account for modification;
s3, login and use of the user:
a user logs in an account through a unified client, if the login is successful, the unified client generates a server list and a temporary bill bound by the account, and the unified client adopts an app or a web side in the embodiment;
after the user selects the service end to be used, the unified client carries the temporary bill to enter the selected service end for verification, and if the verification is successful, the selected service end can be used.
S31, the user inputs an account password login account through the unified client;
s32, the unified client sends the account password to the central server for verification, if the verification is passed, the account login is successful, the central server returns a server list bound by the account for the user to select, and the temporary bill is carried to the unified client; if the verification fails, prompting that the account number and the password are wrong;
s33, the user selects the service end to be used and enters the selected service end, and meanwhile, the unified client carries the temporary bill to enter the selected service end;
s34, the selected server sends the temporary bill to the central server to verify validity, if the verification is valid, the selected server generates a session for the user to use immediately; otherwise, the selected service end throws the exception and refuses the user to use.
The invention also discloses a system for accessing a plurality of server-side systems by a single client, which comprises a unified client, a unified login center and a plurality of servers, wherein the unified login center is used for adding information of the servers and registering the account, and binding the account with the required server, and the unified client is used for logging in the account and selecting the required server for use. The information of the server side comprises address information and configuration information.
The unified login center comprises a registration port, a center server and a database, wherein the registration port is used for registering an account number and selecting a required server to be bound with the account number, the center server is used for verifying registration information of the registration port, login information of a unified client and verification information of the server, and the database is used for storing a server list bound with the account number.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (8)

1. A method for a single client to access a plurality of servers is characterized in that the method is realized based on a unified login center, comprises a registration port, a central server and a database, and comprises the following steps:
s1, preparation for development:
deploying a plurality of service terminals, and adding information of each service terminal to a unified login center;
s2, user registration:
a user enters the registration port to register an account, and if the registration is successful, a required server is selected to be bound with the account and is stored in the database;
s3, login and use of the user:
a user logs in an account through a unified client, and if the login is successful, the unified client generates a server list and a temporary bill bound by the account;
after the user selects the service end to be used, the unified client carries the temporary bill to enter the selected service end for verification, and if the verification is successful, the selected service end can be used.
2. The method of claim 1, wherein a single client accesses multiple servers: the information of the server in step S1 includes address information and configuration information.
3. The method according to claim 1, wherein the step S2 specifically includes:
s21, the user enters the registration port to register an account;
s22, the central server checks whether the account is registered, if so, the central server prompts the user that the account is registered, otherwise, the central server successfully registers the account;
and S23, after the registration is successful, selecting the required server to be bound with the account and storing the account into the database.
4. The method of claim 3, wherein the step S2 further comprises:
and S24, if the user needs to modify the bound server list subsequently, entering an account center of the account for modification.
5. The method according to claim 1, wherein the step S3 specifically includes:
s31, logging in an account by a user through the unified client;
s32, the unified client sends the account login information to the central server for verification, if the verification is passed, the account login is successful, the central server returns a server list bound by the account for the user to select, and the unified client carries a temporary bill; if the verification fails, prompting that the account login information is wrong;
s33, selecting a service end required to be used by a user, and enabling the unified client to carry temporary bills to enter the selected service end;
s34, the selected server sends the temporary bill to the central server to verify validity, if the verification is valid, the selected server generates a session for the user to use immediately; otherwise, the selected service end throws the exception and refuses the user to use.
6. A single client access multiple server-side system as recited in any of claims 1-5, wherein: the system comprises a unified client, a unified login center and a plurality of servers, wherein the unified login center is used for adding information of the servers, registering an account and binding the account with a required server, and the unified client is used for logging in the account and selecting the required server for use.
7. The single client access multiple server-side system of claim 6, wherein: the unified login center comprises a registration port, a center server and a database, wherein the registration port is used for registering an account number and selecting a required server to be bound with the account number, the center server is used for verifying registration information of the registration port, login information of a unified client and verification information of the server, and the database is used for storing a server list bound with the account number.
8. The single client access multiple server-side system of claim 6, wherein: the information of the server side comprises address information and configuration information.
CN202110745944.1A 2021-07-01 2021-07-01 Method and system for single client to access multiple servers Pending CN113468504A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110745944.1A CN113468504A (en) 2021-07-01 2021-07-01 Method and system for single client to access multiple servers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110745944.1A CN113468504A (en) 2021-07-01 2021-07-01 Method and system for single client to access multiple servers

Publications (1)

Publication Number Publication Date
CN113468504A true CN113468504A (en) 2021-10-01

Family

ID=77877435

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110745944.1A Pending CN113468504A (en) 2021-07-01 2021-07-01 Method and system for single client to access multiple servers

Country Status (1)

Country Link
CN (1) CN113468504A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101321067A (en) * 2008-06-26 2008-12-10 迈世亚(北京)科技有限公司 Data uploading method
CN103220303A (en) * 2013-05-06 2013-07-24 华为软件技术有限公司 Server login method, server and authentication equipment
CN108111473A (en) * 2016-11-24 2018-06-01 腾讯科技(深圳)有限公司 Mixed cloud Explore of Unified Management Ideas, device and system
CN111131301A (en) * 2019-12-31 2020-05-08 江苏徐工信息技术股份有限公司 Unified authentication and authorization scheme

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101321067A (en) * 2008-06-26 2008-12-10 迈世亚(北京)科技有限公司 Data uploading method
CN103220303A (en) * 2013-05-06 2013-07-24 华为软件技术有限公司 Server login method, server and authentication equipment
CN108111473A (en) * 2016-11-24 2018-06-01 腾讯科技(深圳)有限公司 Mixed cloud Explore of Unified Management Ideas, device and system
CN111131301A (en) * 2019-12-31 2020-05-08 江苏徐工信息技术股份有限公司 Unified authentication and authorization scheme

Similar Documents

Publication Publication Date Title
CN108462704B (en) Login validation method, device, computer equipment and storage medium
CN105357242B (en) Access the method and system of WLAN, short message pushes platform, gate system
CN101163010B (en) Method of authenticating request message and related equipment
CN108901022A (en) A kind of micro services universal retrieval method and gateway
CN101316282B (en) Terminal long-range control method and correlative devices
CN102202306B (en) Mobile security authentication terminal and method
CN108022100B (en) Cross authentication system and method based on block chain technology
CN109005159A (en) The data processing method and certificate server of terminal access system server
CN109831310B (en) Identity verification method, system, equipment and computer readable storage medium
CN112188493A (en) Authentication method, system and related equipment
CN107566382A (en) Auth method, service platform, carrier authorization gateway and mobile terminal
CN105959942A (en) Identification authentication system and identification authentication method based on wireless access
CN113132402B (en) Single sign-on method and system
CN106534082B (en) User registration method and device
CN103200159A (en) Network access method and equipment
CN107113613A (en) Server, mobile terminal, real-name network authentication system and method
CN109905874A (en) The method and system of the autonomous number of selecting based on block chain
CN108712440A (en) User information management method, device, server and storage medium
CN101908967B (en) Configuration method and system of Linux virtual server
CN106355470A (en) E-commerce snapping-up method and system
CN102833328A (en) Unified application calling method and unified calling client
CN106453349A (en) An account number login method and apparatus
CN109726545A (en) A kind of information display method, equipment, computer readable storage medium and device
CN102984261A (en) Network service login method, equipment and system based on mobile telephone terminal
CN110034979A (en) A kind of proxy resources monitoring method, device, electronic equipment and storage medium

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