CN114301660A - Multi-server authentication method, device, equipment and storage medium - Google Patents

Multi-server authentication method, device, equipment and storage medium Download PDF

Info

Publication number
CN114301660A
CN114301660A CN202111613493.2A CN202111613493A CN114301660A CN 114301660 A CN114301660 A CN 114301660A CN 202111613493 A CN202111613493 A CN 202111613493A CN 114301660 A CN114301660 A CN 114301660A
Authority
CN
China
Prior art keywords
authentication
authentication server
client
server
access point
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
CN202111613493.2A
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.)
Xian Fibocom Wireless Software Inc
Original Assignee
Xian Fibocom Wireless Software Inc
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 Xian Fibocom Wireless Software Inc filed Critical Xian Fibocom Wireless Software Inc
Priority to CN202111613493.2A priority Critical patent/CN114301660A/en
Publication of CN114301660A publication Critical patent/CN114301660A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application discloses a multi-server authentication method, a multi-server authentication device and a storage medium, wherein the method comprises the following steps: the client receives addresses of at least two authentication servers sent by the guide server through the first access point, wherein the at least two authentication servers comprise a first authentication server and a second authentication server; the client side carries out authentication data transmission through a second access point according to the address of the first authentication server; and the client side carries out authentication data transmission through a third access point according to the address of the second authentication server. By adopting the embodiment of the application, the communication connection is established between the client and the at least two servers, and the respective authentication data is transmitted under the condition that the communication connection is successfully established between the client and each of the at least two servers, so that the authentication speed between the client and the plurality of servers is higher.

Description

Multi-server authentication method, device, equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method, an apparatus, a device, and a storage medium for multi-server authentication.
Background
With the development of the communication technology field, more and more domestic mobile terminal devices are starting to be launched to foreign markets, and in order to ensure the consistency and compatibility between the mobile terminal devices launched to the markets and the network and ensure the performance of the devices, the mobile terminal devices need to be subjected to multiple authentication tests before being launched to the markets, wherein one authentication test is the warehousing authentication of operators.
At present, a mobile terminal device generally uses a client and a plurality of servers of an operator service end to establish communication connection by adopting a lightweight internet of things device protocol (LWM 2M) to perform operator warehousing authentication, and the client and the plurality of servers of the operator service end are developed and implemented by an eclipse leshan open-source framework supporting the LWM2M protocol. When the operator warehousing authentication is carried out, the mobile terminal equipment starts to transmit authentication data after establishing communication connection with one server in the server, the communication connection with the server is disconnected after the transmission is finished, the authentication data starts to be transmitted after establishing communication connection with the next server, and the operation that the data is transmitted after the communication connection is established and then the next server is disconnected is repeated until the client and all the servers in the server finish the transmission of the authentication data. The method for authenticating the client and the plurality of servers of the operator service end has low authentication speed.
Content of application
The embodiment of the application provides a multi-server authentication method, a multi-server authentication device, a multi-server authentication equipment and a storage medium, wherein a client establishes communication connection with at least two servers, and respective authentication data are transmitted under the condition that the client and each server of the at least two servers successfully establish communication connection, so that the authentication speed of the client and the plurality of servers is higher.
In a first aspect, an embodiment of the present application provides a multi-server authentication method, including:
the method comprises the steps that a client receives addresses of at least two authentication servers sent by a guide server through a first access point, wherein the at least two authentication servers comprise a first authentication server and a second authentication server;
the client side carries out authentication data transmission through a second access point according to the address of the first authentication server;
and the client side carries out authentication data transmission through a third access point according to the address of the second authentication server.
It should be understood that the client is installed in the terminal device, and is used for performing authentication data transmission with multiple servers of the operator by using the client when the terminal device performs operator authentication. In the embodiment of the application, when the terminal device performs operator authentication, the client establishes communication connection with the bootstrap server first, receives the addresses of the first authentication server and the second authentication server sent by the bootstrap server through the first access point after the connection is successful, performs authentication data transmission with the first authentication server through the second access point, and performs authentication data transmission with the second authentication server through the third access point, because communication lines established through the second access point and the third access point are not affected by each other, the authentication data transmission between the client and the two authentication servers is performed synchronously, and the authentication server needs to search and process transmitted authentication data when authenticating the terminal device, the authentication server can search and process the authentication data more quickly after the client transmits the authentication data to the authentication server, the authentication speed between the client and the plurality of servers is higher.
In a possible implementation manner of the first aspect, before the client performs authentication data transmission through the second access point according to the address of the first authentication server, the method further includes:
and the client establishes communication connection with the first authentication server and the second authentication server in sequence according to the connection time interval.
It should be understood that, after receiving the addresses of the first authentication server and the second authentication server sent by the bootstrap server, the client establishes a communication connection with the first authentication server first, and establishes a communication connection with the second authentication server after a connection time interval. In the embodiment of the application, the client establishes communication connection with the first authentication server and the second authentication server in sequence according to the connection time interval, the connection state with the first authentication server in the connection time interval can be confirmed, if the client is disconnected midway, the client establishes communication connection with the first authentication server again instead of continuously establishing communication connection with the second authentication server, the problems that the communication connection process is repeated and the time is too long due to disconnection of the authentication server caused by communication problems such as unstable network and the like are solved, extra time generated due to connection faults when the client establishes communication connection with the authentication server is reduced, and the speed of authenticating the client and the servers is higher.
In a possible implementation manner of the first aspect, after the client performs authentication data transmission through a third access point according to the address of the second authentication server, the method further includes:
the client determines the connection status with the first authentication server and the second authentication server according to a preset time interval;
and if the client is disconnected with one or two of the first authentication server and the second authentication server, interrupting the transmission of the authentication data between the client and the first authentication server and the second authentication server.
It should be understood that, when the client performs authentication data transmission with the first authentication server and the second authentication server, connection conditions with the first authentication server and the second authentication server are determined at intervals, and if the client is disconnected from one or both of the first authentication server and the second authentication server, the authentication data transmission between the client and the two authentication servers is aborted, that is, the authentication of the client is aborted. In the embodiment of the application, the connection status between the first authentication server and the second authentication server is determined at intervals, if any one of the two authentication servers is disconnected, the authentication of the client is stopped, since the authentication server needs to search and process transmitted authentication data when authenticating the terminal equipment, if the authentication of the client is not stopped, the authentication server cannot acquire the authentication data transmitted by a certain authentication server for a long time, the authentication time is too long, and the authentication of the client is interrupted in time, so that the authentication speed between the client and the plurality of servers is higher.
In a possible implementation manner of the first aspect, the determining, by the client, a connection status with the first authentication server and the second authentication server according to a preset time interval includes:
the client detects registration updating operation with the first authentication server and the second authentication server according to a preset time interval, wherein the registration updating operation is used for updating registration information of the client on the first authentication server and the second authentication server;
if the client does not detect the registration updating operation with the first authentication server, the client is disconnected with the first authentication server;
and if the client does not detect the registration updating operation with the second authentication server, the client is disconnected with the second authentication server.
It should be understood that, when determining the connection status with the first authentication server and the second authentication server according to a preset time interval, the client will detect the registration update operation with the first authentication server and the second authentication server according to the preset time interval, and when performing authentication, the client will perform the registration update operation with the two authentication servers according to a certain time interval, update the registration information of the client in the two authentication servers, and if the registration update operation with one authentication server is not detected, it indicates that the client is disconnected from the authentication server. In the embodiment of the application, the registration updating operation with the first authentication server and the second authentication server is detected at intervals, so that the connection state with the first authentication server and the second authentication server is determined, if any one of the two authentication servers is disconnected, the authentication of the client is stopped, since the authentication server needs to search and process transmitted authentication data when authenticating the terminal equipment, if the authentication of the client is not stopped, the authentication server can not acquire the authentication data transmitted by a certain authentication server for a long time, the authentication time is too long, the authentication of the client is interrupted in time, and the authentication time can be avoided from being too long, so that the authentication speed between the client and a plurality of servers is higher.
In a second aspect, an embodiment of the present application provides a multi-server authentication apparatus, including:
the receiving unit is used for receiving the addresses of the at least two authentication servers sent by the guide server through the first access point;
the first transmission unit is used for transmitting authentication data through a second access point according to the address of the first authentication server;
and the second transmission unit is used for transmitting authentication data through a third access point according to the address of the second authentication server.
In one possible embodiment of the second aspect, the apparatus further comprises:
and the connection unit is used for sequentially establishing communication connection with the first authentication server and the second authentication server according to a connection time interval.
In one possible embodiment of the second aspect, the apparatus further comprises:
a determining unit, configured to determine a connection status with the first authentication server and the second authentication server at a preset time interval.
In one possible embodiment of the second aspect, the apparatus further comprises:
a detecting unit, configured to detect, at preset time intervals, a registration update operation with the first authentication server and the second authentication server.
With regard to the technical effects brought by the second aspect and any possible implementation manner of the second aspect, reference may be made to the introduction of the technical effects corresponding to the respective implementation manners of the first aspect and the first aspect.
In a third aspect, an embodiment of the present application provides a multi-server authentication device, including a processor, a memory, and an input/output interface, where the processor, the memory, and the input/output interface are connected to each other, where the input/output interface is used to input or output data, the memory is used to store program codes, and the processor is used to call the program codes to execute the multi-server authentication method according to the first aspect.
In a fourth aspect, the present embodiment provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program includes program instructions, which, when executed by a processor, cause the processor to execute the multi-server authentication method of the first aspect.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application.
Fig. 1 is a schematic view of an application scenario of a multi-server authentication method provided in an embodiment of the present application;
fig. 2 is a schematic flowchart of a multi-server authentication method according to an embodiment of the present application;
fig. 3 is an exemplary diagram of a multi-server authentication method provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of a multi-server authentication device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a multi-server authentication device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first", "second", and "third", etc. in the description, claims, and drawings of the present application are used solely to distinguish between different objects and not to describe a particular order. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions. Such as a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those skilled in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
In this application, "at least one" means one or more, "a plurality" means two or more, "at least two" means two or three and three or more, "and/or" for describing an association relationship of associated objects, which means that there may be three relationships, for example, "a and/or B" may mean: only A, only B and both A and B are present, wherein A and B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one item(s) below" or similar expressions refer to any combination of these items. For example, at least one (one) of a, b, or c, may represent: a, b, c, "a and b," a and c, "" b and c, "or" a and b and c.
Referring to fig. 1, fig. 1 is a schematic view of an application scenario of a multi-server authentication method according to an embodiment of the present application.
As shown in fig. 1, the application scenario includes a client 101, a boot server 102, a first authentication server 103, and a second authentication server 104. The client 101 is installed in a mobile terminal device, and the first authentication server 103 and the second authentication server 104 are servers used by an operator server to perform operator authentication on the mobile terminal device.
The LWM2M protocol is used for communication between the client 101 and the bootstrap server 102, the first authentication server 103, and the second authentication server 104, and the LWM2M protocol is a lightweight, standard, and general internet of things device management protocol, and can be used for quickly deploying internet of things services in a client/server mode, and transmitting service/application data. The LWM2M protocol defines three logical entities: the working server of LWM2M server, LWM2M client and LWM2M bootstrap server guide server, the LWM2M server is responsible for device management and service implementation, the LWM2M client is responsible for executing the command of the working server and reporting the execution result, and the LWM2M bootstrap server guide server is responsible for configuring the client. As can be seen from the above, the client 101 corresponds to the LWM2M client, the boot server 102 corresponds to the LWM2M bootstrap server, and the first authentication server 103 and the second authentication server 104 correspond to the LWM2M server.
When the mobile terminal device performs the operator authentication, the client 101 is started under the condition that the device successfully resides in the network, the client 101 firstly establishes a communication connection with a guide server 102 through a first access point, the guide server 102 stores the address of an authentication server of an operator service end to be authenticated of the mobile terminal device, the authentication server comprises a first authentication server 103 and a second authentication server 104, the guide server transmits the addresses of the first authentication server 103 and the second authentication server 104 to the client 101, the client 101 establishes communication connection with the first authentication server 103 and the second authentication server 104 through respective communication lines, namely the client 101 establishes communication connection with the first authentication server 103 through the second access point, and the client 101 establishes communication connection with the second authentication server 104 through a third access point, the communication lines created by the three access points do not affect each other when communication is performed. After the client 101 successfully establishes communication connection with the first authentication server 103 and the second authentication server 104, the client 101 and the first authentication server 103 and the second authentication server 104 each perform authentication data transmission.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a multi-server authentication method according to an embodiment of the present disclosure. As shown in fig. 2, the multi-server authentication method of the embodiment of the present application may include, but is not limited to, the following steps:
s201, the client receives addresses of at least two authentication servers sent by the guide server through the first access point.
The at least two authentication servers include a first authentication server and a second authentication server. The client establishes a communication connection with the bootstrap server through a first access point, the bootstrap server stores addresses of the at least two authentication servers, the bootstrap server transmits the addresses of the at least two authentication servers to the client through the first access point after the communication connection is successfully established, and the client receives the addresses of the at least two authentication servers transmitted by the bootstrap server through the first access point.
And S202, the client transmits authentication data through a second access point according to the address of the first authentication server.
And after the communication connection is successfully established, the client and the first authentication server perform authentication data transmission through the second access point.
In some optional embodiments, before performing step S202, the method further includes: and the client establishes communication connection with the first authentication server and the second authentication server in sequence according to the connection time interval.
The connection time interval is a time interval between the client and the first authentication server when the client establishes communication connection with the first authentication server and the second authentication server in sequence, the client establishes communication connection with the first authentication server and the second authentication server in sequence according to the connection time interval, confirms the connection state with the first authentication server in the connection time interval, if the authentication server is disconnected midway, the communication connection with the first authentication server is reestablished instead of the communication connection with the second authentication server, so that the problems of repeated communication connection process and overlong time caused by disconnection of the authentication server due to the problems of unstable network and the like are solved, the extra time generated by connection faults when the client side is in communication connection with the authentication server is reduced, and the authentication speed of the client side and the plurality of servers is higher. The connection time interval may be determined according to an actual application, and is not limited in this application.
S203, the client performs authentication data transmission through a third access point according to the address of the second authentication server.
And after the communication connection is successfully established, the client and the second authentication server perform authentication data transmission through the third access point.
In some optional embodiments, before performing step S202, the method further includes:
the client determines the connection status with the first authentication server and the second authentication server according to a preset time interval;
and if the client is disconnected with one or two of the first authentication server and the second authentication server, interrupting the transmission of the authentication data between the client and the first authentication server and the second authentication server.
In some optional embodiments, the determining, by the client, the connection status with the first authentication server and the second authentication server at preset time intervals includes:
the client detects registration updating operations with the first authentication server and the second authentication server according to a preset time interval, wherein the registration updating operations are used for updating registration information of the client on the first authentication server and the second authentication server;
if the client does not detect the registration updating operation with the first authentication server, the client is disconnected with the first authentication server;
and if the client does not detect the registration updating operation with the second authentication server, the client is disconnected with the second authentication server.
When the client performs authentication, the client performs registration updating operation with the first authentication server and the second authentication server according to a preset time interval, and updates registration information of the client in the first authentication server and the second authentication server, wherein the registration information includes device information of a mobile terminal device in which the client is installed, and if the registration updating operation with a certain authentication server is not detected, the client is disconnected with the certain authentication server. The client detects registration update operations with the first authentication server and the second authentication server at preset time intervals, thereby determining the connection status with the first authentication server and the second authentication server, and if any one of the two authentication servers is disconnected, terminating the authentication of the client, since the authentication server needs to search and process the transmitted authentication data when authenticating the mobile terminal device, if the authentication of the client is not stopped, the authentication server can not obtain the authentication data transmitted by the disconnected authentication server for a long time, so that the authentication time is too long, and the authentication of the client is interrupted in time, so that the authentication of the client and a plurality of servers can be prevented from being too long, and the authentication speed of the client and the plurality of servers is higher.
To explain the multi-server authentication method, the following description is given with reference to a process example of multi-server authentication. Referring to fig. 3, fig. 3 is an exemplary diagram of a multi-server authentication method according to an embodiment of the present application. As shown in fig. 3, an example of the multi-server authentication method includes a boot server 301, a client 302, a first authentication server 303, a second authentication server 304, and a third authentication server 305. The client 302 is located on a mobile terminal device to be authenticated, the first authentication server 303 and the second authentication server 304 establish a communication connection by dialing through the client 302, and the third authentication server 305 establishes a communication connection by dialing through the mobile terminal device to be authenticated by using a default access point.
The client 302 establishes a communication connection with the bootstrap server 301 through a first access point 306, the client 302 receives an address of a first authentication server 303, an address of a second authentication server 304, and an address of a third authentication server 305, which are transmitted by the bootstrap server 301, and the first authentication server 303, the second authentication server 304, and the third authentication server 305 are located at a service end of an operator whose authentication is required for the mobile terminal device to be authenticated. When the mobile terminal device to be authenticated performs operator authentication, it is necessary to establish communication connections with the first authentication server 303, the second authentication server 304, and the third authentication server 305 at the same time.
The client 302 establishes a communication connection with the first authentication server 303 through a second access point 307, after a connection time interval, the client 302 establishes a communication connection with the second authentication server 304 through a third access point 308, and after the connection time interval, the mobile terminal device to be authenticated, in which the client 302 is located, establishes a communication connection with the third authentication server 305 through a fourth access point 309. The connection time interval is 30 seconds, the first access point 306, the second access point 307, and the third access point 308 are of a fota type, the fourth access point 309 is of a default type, the first authentication server 303 is a dm server, the second authentication server 304 is a diag server, and the third authentication server 305 is a repo server.
The client 302 detects the connection status of the client 302 with the first authentication server 303, the second authentication server 304, and the third authentication server 305 after establishing a communication connection with the third authentication server 305, and detects the registration update operation of the client 302 with the first authentication server 303, the second authentication server 304, and the third authentication server 305 when detecting the connection status with the three authentication servers. When the client 302 performs authentication, the first authentication server 303, the second authentication server 304, and the third authentication server 305 perform registration update operation to update the registration information of the client 302 in the first authentication server 303, the second authentication server 304, and the third authentication server 305, and if the registration update operation of the client 302 with the first authentication server 303, the second authentication server 304, and the third authentication server 305 can be performed normally, it is described that the connection of the client 302 with the first authentication server 303, the second authentication server 304, and the third authentication server 305 is successful.
The client 302 performs operator authentication when the client 302 is successfully connected to the first authentication server 303, the second authentication server 304, and the third authentication server 305, and the client 302 performs authentication data transmission and service communication with each of the first authentication server 303, the second authentication server 304, and the third authentication server 305 during authentication.
Next, when the client 302 determines the connection status with the first authentication server 303, the second authentication server 304, and the third authentication server 305 at a predetermined time interval, the client terminates the operator authentication by detecting the registration update operation with the first authentication server 303, the second authentication server 304, and the third authentication server 305 at a predetermined time interval, the predetermined time interval being 86400 seconds, and if the registration update operation with one or more of the first authentication server 303, the second authentication server 304, and the third authentication server 305 is not detected, the client disconnects the one or more of the first authentication server 303, the second authentication server 304, and the third authentication server 305.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a multi-server authentication device according to an embodiment of the present disclosure. As shown in fig. 4, the multi-server authentication apparatus 400 includes:
a receiving unit 401, configured to receive, through a first access point, addresses of at least two authentication servers sent by a guidance server;
a first transmission unit 402, configured to perform authentication data transmission through a second access point according to the address of the first authentication server;
a second transmission unit 403, configured to perform authentication data transmission through a third access point according to the address of the second authentication server.
In one possible embodiment, the above apparatus further comprises:
a connection unit 404, configured to establish communication connection with the first authentication server and the second authentication server in sequence according to a connection time interval.
In one possible embodiment, the above apparatus further comprises:
a determining unit 405, configured to determine a connection status with the first authentication server and the second authentication server at preset time intervals.
In one possible embodiment, the above apparatus further comprises:
a detecting unit 406, configured to detect, at preset time intervals, a registration update operation with the first authentication server and the second authentication server.
According to the embodiment of the present application, the units in the apparatus shown in fig. 4 may be respectively or entirely combined into one or several other units to form one or several other units, or some unit(s) therein may be further split into multiple functionally smaller units to form one or several other units, which may achieve the same operation without affecting the achievement of the technical effect of the embodiment of the present application. The units are divided based on logic functions, and in practical application, the functions of one unit can be realized by a plurality of units, or the functions of a plurality of units can be realized by one unit.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a multi-server authentication device according to an embodiment of the present disclosure, where the multi-server authentication device 500 includes a processor 501, a memory 502, an input/output interface 503, and a communication bus 504. The processor 501 is connected to a memory 502 and an input-output interface 503, for example, the processor 501 may be connected to the memory 502 and the input-output interface 503 through a communication bus 504.
The memory 502 is used for storing programs; the processor 501 is configured to execute the program stored in the memory, and when the program is executed, the processor 501 executes the method according to any one of the possible embodiments of the multi-server authentication method.
It should be understood that in the embodiment of the present application, the memory 502 includes, but is not limited to, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), or a portable read-only memory (CDROM), and an external memory other than a computer memory and a processor cache, and a portion of the memory 502 may include a nonvolatile random access memory, for example, the memory 502 may store device type information.
The processor 501 may be one or more Central Processing Units (CPUs), and in the case that the processor 501 is one CPU, the CPU may be a single-core CPU or a multi-core CPU; the processor 501 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), field-programmable gate arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The steps executed in the foregoing embodiment may be implemented based on the structure of the computer device 500 shown in fig. 5, the processor 501 may execute the implementation described in any optional embodiment of the multi-server authentication method provided in this embodiment of the present application, and may also execute the implementation of the multi-server authentication apparatus 400 described in this embodiment of the present application, and specifically, the processor 501 may implement the functions of the receiving unit 401, the first transmitting unit 402, the second transmitting unit 403, the connecting unit 404, the determining unit 405, and the detecting unit 406 in the apparatus shown in fig. 4. The input output interface 503 may implement the functions of the receiving unit 401 or the first transmitting unit 402 or the second transmitting unit 403 in the apparatus shown in fig. 4. The memory 502 may provide a cache when the processor 501 executes the implementation of the multi-server authentication apparatus 400 described in the embodiment of the present application, and may also store a computer program required by the processor 501 to execute the implementation of the multi-server authentication apparatus 400 described in the embodiment of the present application.
There is also provided in an embodiment of the present application a computer storage medium storing a computer program which, when executed by a processor, implements the method as shown in fig. 2-3.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), a Random Access Memory (RAM), or the like.

Claims (10)

1. A multi-server authentication method, the method comprising:
the method comprises the steps that a client receives addresses of at least two authentication servers sent by a guide server through a first access point, wherein the at least two authentication servers comprise a first authentication server and a second authentication server;
the client side carries out authentication data transmission through a second access point according to the address of the first authentication server;
and the client side carries out authentication data transmission through a third access point according to the address of the second authentication server.
2. The method of claim 1, wherein prior to the client performing authentication data transmission via a second access point based on the address of the first authentication server, the method further comprises:
and the client establishes communication connection with the first authentication server and the second authentication server in sequence according to the connection time interval.
3. The method of claim 1, wherein after the client performs authentication data transmission through a third access point based on the address of the second authentication server, the method further comprises:
the client determines the connection status with the first authentication server and the second authentication server according to a preset time interval;
and if the client is disconnected with one or two of the first authentication server and the second authentication server, interrupting the transmission of the authentication data between the client and the first authentication server and the second authentication server.
4. The method of claim 3, wherein the client determining the connection status with the first authentication server and the second authentication server at preset time intervals comprises:
the client detects registration updating operation with the first authentication server and the second authentication server according to a preset time interval, wherein the registration updating operation is used for updating registration information of the client on the first authentication server and the second authentication server;
if the client does not detect the registration updating operation with the first authentication server, the client is disconnected with the first authentication server;
and if the client does not detect the registration updating operation with the second authentication server, the client is disconnected with the second authentication server.
5. A multi-server authentication apparatus, the apparatus comprising:
the receiving unit is used for receiving the addresses of the at least two authentication servers sent by the guide server through the first access point;
the first transmission unit is used for transmitting authentication data through a second access point according to the address of the first authentication server;
and the second transmission unit is used for transmitting authentication data through a third access point according to the address of the second authentication server.
6. The apparatus of claim 5, wherein the apparatus further comprises:
and the connection unit is used for sequentially establishing communication connection with the first authentication server and the second authentication server according to a connection time interval.
7. The apparatus of claim 5, wherein the apparatus further comprises:
a determining unit, configured to determine a connection status with the first authentication server and the second authentication server at a preset time interval.
8. The apparatus of claim 7, wherein the apparatus further comprises:
a detecting unit, configured to detect, at preset time intervals, a registration update operation with the first authentication server and the second authentication server.
9. A multi-server authentication device comprising a processor, a memory and an input-output interface, the processor, the memory and the input-output interface being interconnected, wherein the input-output interface is used for inputting or outputting data, the memory is used for storing program code, and the processor is used for calling the program code and executing the method according to any one of claims 1 to 4.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program comprising program instructions that, when executed by a processor, cause the processor to carry out the method according to any one of claims 1 to 4.
CN202111613493.2A 2021-12-27 2021-12-27 Multi-server authentication method, device, equipment and storage medium Pending CN114301660A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111613493.2A CN114301660A (en) 2021-12-27 2021-12-27 Multi-server authentication method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111613493.2A CN114301660A (en) 2021-12-27 2021-12-27 Multi-server authentication method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114301660A true CN114301660A (en) 2022-04-08

Family

ID=80969430

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111613493.2A Pending CN114301660A (en) 2021-12-27 2021-12-27 Multi-server authentication method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114301660A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101129014A (en) * 2005-04-04 2008-02-20 思科技术公司 System and method for multi-session establishment
CN102740387A (en) * 2012-07-06 2012-10-17 大唐移动通信设备有限公司 Access point switching method and system
CN105050081A (en) * 2015-08-19 2015-11-11 腾讯科技(深圳)有限公司 Method, device and system for connecting network access device to wireless network access point
CN111049946A (en) * 2019-12-24 2020-04-21 深信服科技股份有限公司 Portal authentication method, Portal authentication system, electronic equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101129014A (en) * 2005-04-04 2008-02-20 思科技术公司 System and method for multi-session establishment
CN102740387A (en) * 2012-07-06 2012-10-17 大唐移动通信设备有限公司 Access point switching method and system
CN105050081A (en) * 2015-08-19 2015-11-11 腾讯科技(深圳)有限公司 Method, device and system for connecting network access device to wireless network access point
CN111049946A (en) * 2019-12-24 2020-04-21 深信服科技股份有限公司 Portal authentication method, Portal authentication system, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨志军,毛磊: "《基于多服务器的轮询接入控制协议分析》", 《计算机工程与设计》, vol. 42, no. 6 *

Similar Documents

Publication Publication Date Title
US20170163479A1 (en) Method, Device and System of Renewing Terminal Configuration In a Memcached System
US20170163478A1 (en) Method,electronic device and system for updating client configuration in key-value pair database
CN113490192B (en) Bluetooth connection method, device, terminal equipment and readable storage medium
CN107844306B (en) Application program repairing method and device, storage medium and terminal
CN112996020B (en) Bluetooth-based automatic test method and device and Bluetooth test terminal
CN109471776B (en) Ethernet-based log collection method for VxWorks operating system
CN111901142A (en) Firmware silent upgrading method and device for embedded equipment cluster
US20010020249A1 (en) System for automatically providing internet services
CN110162322A (en) A kind of upgrade method and device
CN111405059A (en) Data transmission method of cloud equipment, electronic equipment and Internet of things system
CN111078424A (en) Information interaction method and device, computer equipment and storage medium
CN112732463A (en) Message subscription method and device based on big data
CN114301660A (en) Multi-server authentication method, device, equipment and storage medium
CN113448607B (en) Method and device for firmware upgrading and intelligent household appliance
KR20040109977A (en) succeeding method of data in mobile
CN110896391B (en) Message processing method and device
CN113783826A (en) Micro-service exception handling method and device
CN112134749A (en) Dynamic network access management method and system
CN112818336A (en) Data access method, data access device and computer readable storage medium
CN111258739A (en) Server process updating method, device, server and medium
CN111176679A (en) Application program updating method and device
CN108848187B (en) Method, device and equipment for establishing communication connection and readable storage medium
CN113485855B (en) Memory sharing method and device, electronic equipment and readable storage medium
CN117883789A (en) Data acquisition method, apparatus, device, readable storage medium, and program product
CN116781690A (en) File transmission method, device, 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