A dial-up authentication method, device, equipment and storage medium

By introducing the authentication cumulative number of successful authentication times in the authentication server, the problem that the existing technology cannot effectively prevent the same broadband account from dialing multiple times online, and effective authentication of broadband accounts and prevention of illegal multiple times is achieved.

CN114422217BActive Publication Date: 2025-02-11CHINA TELECOM CORP LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111676631.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-31
Publication Date
2025-02-11
Estimated Expiration
2041-12-31

AI Technical Summary

Technical Problem

The prior art cannot effectively prevent the same broadband account from dialing up multiple times without authorization, resulting in huge losses to broadband operators and users.

Method used

By introducing the authentication cumulative number of successful authentication times of the account in the authentication server, the authentication request of the dialing terminal is obtained, and when the accumulated authentication of the account is greater than the maximum allowed authentication success number or when the authentication of the dialing information fails, the authentication failure information is returned. .

Benefits of technology

It effectively prevents the same broadband account from dialing multiple times without authorization, and avoids losses from broadband operators and users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114422217B_ABST
    Figure CN114422217B_ABST
Patent Text Reader

Abstract

The embodiments of the present application relate to the field of communication service technology, and specifically to a dial-up authentication method, device, equipment and storage medium, which are intended to prevent the same broadband account from dialing online multiple times without authorization. The method comprises: obtaining an authentication request from a dial-up terminal, the authentication request carrying the dial-up information of the account; obtaining the cumulative number of successful authentications of the account; authenticating the dial-up information of the account, and determining whether the cumulative number of successful authentications of the account is greater than the maximum number of successful authentications allowed; when the cumulative number of successful authentications of the account is greater than the maximum number of successful authentications allowed, or when the dial-up information authentication of the account fails, returning authentication failure information to the dial-up terminal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of communication service technology, and in particular to a dial-up authentication method, apparatus, device and storage medium. Background Art

[0002] Broadband operators prohibit the same account from dialing online multiple times for most personal broadband accounts. Multiple dialing online of the same account will cause loss of business revenue for the operator, and also cause problems such as waste of IP addresses and increased network load. In the prior art, when a user dials online, the operator will record the user's online information through the authentication server, and when it is detected that the user is online, the dial-up will be rejected.

[0003] In the prior art, the authentication server only detects the number of online sessions of the user when the user dials up. However, when the user illegally modifies the protocol of the dial-up end, prolongs the time for the dial-up end to initiate IPCP negotiation, and dials repeatedly before the account is successfully online, the authentication server cannot detect the user's online record and will pass the user information authentication multiple times. After the user performs IPCP negotiation again, multiple IP addresses will be obtained and the user will be successfully online, realizing multiple dial-ups for the same account, causing huge losses to broadband operators and users of the same operator. Summary of the invention

[0004] The embodiments of the present application provide a dial-up authentication method, apparatus, device and storage medium, which are intended to prevent the same broadband account from dialing online multiple times without authorization.

[0005] A first aspect of an embodiment of the present application provides a dial-up authentication method, the method comprising:

[0006] Obtaining an authentication request from a dial-up terminal, the authentication request carrying dial-up information of an account;

[0007] Obtain the cumulative number of successful authentications for the account;

[0008] Authenticating the dialing information of the account, and determining whether the cumulative number of successful authentications of the account is greater than the maximum allowed number of successful authentications;

[0009] When the cumulative number of successful authentications of the account is greater than the maximum allowed number of successful authentications, or when the dial-up information authentication of the account fails, authentication failure information is returned to the dial-up terminal.

[0010] Optionally, the method further comprises:

[0011] Whenever the dial-up information authentication of the account succeeds, the cumulative number of successful authentications of the account is increased by one;

[0012] Whenever it is detected that a session of the account is offline, the cumulative number of successful authentications for the account is reduced by one.

[0013] Optionally, the method further comprises:

[0014] Upon receiving an authentication request from a newly registered account, initializing the cumulative number of successful authentications of the account to zero;

[0015] According to the authority of the account, the maximum number of successful authentications allowed for the account is set.

[0016] Optionally, the method further comprises:

[0017] When the cumulative number of successful authentications of the account is not greater than the maximum allowed number of successful authentications and the dialing information of the account is authenticated, authentication success information is returned to the dialing terminal.

[0018] Optionally, the method further comprises:

[0019] Traffic statistics are collected for multiple online sessions of the account, and corresponding billing information is generated.

[0020] A second aspect of an embodiment of the present application provides a dial-up authentication device, the device comprising:

[0021] An authentication request receiving module, used to obtain an authentication request from a dial-up terminal, wherein the authentication request carries dial-up information of an account;

[0022] A module for obtaining the cumulative number of successful authentications for the account;

[0023] The authentication success cumulative number verification module is used to authenticate the dialing information of the account and determine whether the authentication success cumulative number of the account is greater than the maximum allowed authentication success number;

[0024] The first authentication result returning module is used to return authentication failure information to the dial-up terminal when the cumulative number of successful authentications of the account is greater than the maximum allowed number of successful authentications or when the dial-up information authentication of the account fails.

[0025] Optionally, the device further comprises:

[0026] A first authentication success cumulative number recording module, configured to increase the number of authentication successes of the account by one whenever the dialing information of the account is successfully authenticated;

[0027] The second authentication success cumulative number recording module is used to reduce the authentication success cumulative number of the account by one whenever it is detected that a session of the account is offline.

[0028] Optionally, the device further comprises:

[0029] The module for initializing the cumulative number of successful authentications is used to initialize the cumulative number of successful authentications of the account to zero upon receiving an authentication request from a newly registered account;

[0030] The maximum allowed number of successful authentications setting module is used to set the maximum allowed number of successful authentications for the account according to the authority of the account.

[0031] Optionally, the device further comprises:

[0032] The second authentication result returning module is used to return authentication success information to the dial-up terminal when the cumulative number of successful authentications of the account is not greater than the maximum allowed number of successful authentications and the dial-up information authentication of the account is passed.

[0033] Optionally, the device further comprises:

[0034] The traffic statistics module is used to perform traffic statistics on multiple online sessions of the account and generate corresponding billing information.

[0035] A third aspect of an embodiment of the present application provides a readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps in the method described in the first aspect of the present application are implemented.

[0036] A fourth aspect of an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the method described in the first aspect of the present application are implemented.

[0037] The dial-up authentication method provided by the present application is adopted to obtain an authentication request from a dial-up terminal, wherein the authentication request carries the dial-up information of the account; obtain the cumulative number of successful authentications of the account; authenticate the dial-up information of the account, and determine whether the cumulative number of successful authentications of the account is greater than the maximum number of successful authentications allowed; when the cumulative number of successful authentications of the account is greater than the maximum number of successful authentications allowed, or when the dial-up information authentication of the account fails, return authentication failure information to the dial-up terminal. The dial-up authentication method provided by the present application, when the dial-up terminal issues a dial-up authentication request, will obtain the number of successful dial-up authentications of the corresponding broadband account; when the number of successful dial-up authentications of the account is greater than the maximum number of successful authentications allowed, it will return dial-up authentication failure information to the dial-up terminal; when a user illegally modifies the dial-up end protocol, prolongs the time from the completion of user information authentication to the initiation of IPCP negotiation, and wants to dial up multiple times, the authentication server can prevent a user from using the same account to dial up multiple times by detecting the number of successful dial-up authentications of the account, thereby avoiding the loss of broadband operators and users using the same operator. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0039] Figure 1 This is a schematic diagram of a method for multiple dialing of the same account proposed in an embodiment of the present application;

[0040] Figure 2 It is a schematic diagram of a dial-up authentication method proposed in an embodiment of the present application;

[0041] Figure 3 is a flow chart of a dial-up authentication method proposed in an embodiment of the present application;

[0042] Figure 4 This is a schematic diagram of the authentication process of the authentication server proposed in one embodiment of the present application;

[0043] Figure 5 It is a schematic diagram of a dial-up authentication device proposed in an embodiment of the present application. DETAILED DESCRIPTION

[0044] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0045] refer to Figure 1 , Figure 1 Schematic diagram of a method for multiple dialing of the same account proposed in one embodiment of the present application. Figure 1 As shown in the figure, the PPPOE terminal is a dial-up terminal, the BAS device is a broadband access server, the PPPOE protocol is a point-to-point protocol between the user and the operator, and the IPCP is used to establish and configure the Internet Protocol when the user dials up to the Internet. After the dial-up terminal completes the user information authentication, under the traditional process, the IPCP negotiation will be initiated through the dial-up terminal, and then an online request will be sent to the authentication server. The authentication server records the online information and feeds back the online success information to the connection server, and sends an online success message through the connection server. In the traditional dial-up online process, the authentication server only detects the number of online sessions of the account during account authentication. If there is an online session, the authentication is rejected. However, Figure 1 The illegal dialing measure shown is to modify the dial-up terminal program so that after the user information authentication is completed, the dial-up terminal waits for a period of time before initiating IPCP negotiation. During the waiting time, the dial-up can be repeated many times. If the authentication server does not detect that the account has a session that has been online, it will pass the user information authentication many times. After a period of time, the dial-up terminal initiates the IPCP protocol again, and multiple IP addresses can be obtained at the same time. The same account can dial online multiple times. In order to prevent the dial-up terminal from modifying the PPPOE protocol and extending the time for the dial-up terminal to initiate IPCP negotiation to dial online multiple times for the same account, the embodiment of the present application proposes a dial-up authentication method.

[0046] like Figure 2 As shown, Figure 2 It is a schematic diagram of a dial-up authentication method proposed in an embodiment of the present application, wherein the Radius server, i.e., the authentication server, increases the verification of the number of successful authentications during the authentication stage of the authentication server, thereby refusing multiple dial-ups of the same account.

[0047] refer to Figure 3 , Figure 3 FIG. 1 is a flow chart of a dial-up authentication method proposed in an embodiment of the present application. Figure 3 As shown, the method comprises the following steps:

[0048] S11: Obtain an authentication request from a dial-up terminal, where the authentication request carries dial-up information of an account.

[0049] In this embodiment, the authentication request is an authentication request sent by a dial-up terminal for dialing online, which carries account information of a dial-up user account, and the account information at least includes the user's account and password.

[0050] In this embodiment, the dial-up terminal sends an authentication request through a connection device, and the authentication server receives the authentication request.

[0051] S12: Obtain the cumulative number of successful authentications of the account.

[0052] In this embodiment, when the authentication server receives the authentication request, it also obtains the cumulative number of successful authentications of the account.

[0053] In this embodiment, the "number of successful authentications" is added to the content that the authentication server needs to authenticate, so that when the authentication server receives the user account information, it also receives the number of successful authentications of the account, and when the authentication is successful, it records that the account has had 1 successful authentication and adds it to the cumulative number of successful authentications.

[0054] For example, when a user's broadband account dials up for the second time after being successfully authenticated once, the authentication server receives the authentication request sent by the dial-up terminal through the connection device and obtains the cumulative number of successful authentications for the account as 1.

[0055] S13: Authenticate the dialing information of the account, and determine whether the cumulative number of successful authentications of the account is greater than the maximum allowed number of successful authentications.

[0056] In this embodiment, the maximum allowed number of successful authentications is the maximum number of successful authentications set by the operator for the account. The number of successful authentications is verified by adding an authentication success verification module to the authentication server.

[0057] In this embodiment, reference Figure 4 , Figure 4 Schematic diagram of the authentication process of the authentication server proposed in one embodiment of the present application. Figure 4 As shown, the authentication server first performs conventional authentication, which is to authenticate the dial-up information, such as account number, password, etc. After the authentication is successful, it is determined whether the cumulative number of successful authentications of the account is greater than the maximum allowed number of successful authentications.

[0058] S14: When the cumulative number of successful authentications of the account is greater than the maximum allowed number of successful authentications, or when the dial-up information authentication of the account fails, authentication failure information is returned to the dial-up terminal.

[0059] In this embodiment, Figure 4As shown in the figure, when the cumulative number of successful authentications of an account is greater than the maximum number of successful authentications allowed, it is determined that the number of successful dial-up authentications of the user exceeds the authorized number, and the user is deemed to be dialing illegally. The authentication failure information is returned to the dial-up end, and the authentication failure information is used to notify the dial-up end that the dial-up authentication has failed and the user cannot dial online. Even if the user's dial-up information is successfully authenticated, the user cannot dial online when the number of successful authentications is greater than the maximum number of successful authentications allowed.

[0060] In this embodiment, when the dial-up information authentication of the account fails, that is, when the account number or password and other information authentication fails, the authentication server also returns an authentication failure message to the dial-up end.

[0061] For example, the maximum number of successful authentications allowed for a broadband user's account is set to 1. After the user has successfully authenticated, he dials up the broadband and sends a second authentication request to the authentication server. The authentication server detects that the number of successful authentications for the account is greater than the maximum number of successful authentications allowed, and returns an authentication failure message to the dial-up end, while rejecting the dial-up.

[0062] In this embodiment, by performing software optimization on the authentication strategy of the authentication server, an account authentication item, namely the number of successful authentications, is added to the authentication server. After performing routine authentication, it is checked whether the number of successful authentications of the account is greater than the maximum allowed number of successful authentications. If the number of successful authentications of the account is greater than the maximum allowed number of successful authentications, an authentication failure message is returned, and illegal multiple dial-ups of the same account are rejected, thereby ensuring that the maximum number of online users of the account is within the authorized range.

[0063] In another embodiment of the present application, the method further includes:

[0064] S21: Whenever the dialing information of the account is successfully authenticated, the cumulative number of successful authentications of the account is increased by one.

[0065] In this embodiment, Figure 4 As shown, when the authentication server successfully authenticates the dial-up information, the cumulative number of successful authentications for the account is increased by one.

[0066] In this embodiment, an authentication success counter is set in the authentication server. The function of the authentication success counter is to record the number of successful authentications of each account. After each account is successfully authenticated, the authentication success counter will increase the number of successful authentications of the account by one.

[0067] S22: Whenever it is detected that a session of the account is offline, the accumulated number of successful authentications for the account is reduced by one.

[0068] In this embodiment, Figure 4As shown, session means a session. Each time an account successfully goes online, a session is established. If the same account successfully goes online multiple times, multiple sessions will be established. When the authentication server detects that a session of an account that has been successfully authenticated and successfully logged in goes offline, the cumulative number of successful authentications for the account is reduced by one.

[0069] In this embodiment, the authentication server monitors the online status of each session of each user account in real time. When it is detected that a session of a certain account is offline, that is, no traffic is generated in the session, the number of successful authentications for the account is reduced by one in the authentication success counter.

[0070] In another embodiment of the present application, the method further includes:

[0071] S31: When receiving an authentication request from a newly registered account, the accumulated number of successful authentications of the account is initialized to zero.

[0072] In this embodiment, when a user registers a new account and dials in through the dial-up terminal, an authentication request is sent to the authentication server. When the authentication server receives the authentication request, it initializes the cumulative number of successful authentications of the account to zero.

[0073] In this embodiment, when the authentication server receives the account information carried in the authentication request, it compares it with the account information that has issued authentication requests in the past, and finds that the account has not issued a new account request, and initializes the cumulative number of successful authentications for the account to zero.

[0074] S32: According to the authority of the account, set the maximum number of successful authentications allowed for the account.

[0075] In this embodiment, the account authority is the authority of the account set by the broadband operator when the user registers the account.

[0076] In this embodiment, when the authentication server receives an authentication request from a newly registered account, it also obtains the permission information of the account and sets the maximum number of allowed authentication successes for the account according to the permission information of the account.

[0077] For example, when the permission of the account is to allow three simultaneous online sessions, the authentication server sets the maximum number of allowed successful authentications for the account to 3.

[0078] In another embodiment of the present application, the method further includes:

[0079] S41: When the cumulative number of successful authentications of the account is not greater than the maximum allowed number of successful authentications and the dialing information of the account is authenticated, authentication success information is returned to the dialing terminal.

[0080] In this embodiment, the authentication success information is information returned by the authentication server to the dial-up terminal for notifying the dial-up terminal that the account information of the account has been successfully authenticated.

[0081] In this embodiment, when the authentication server successfully authenticates the user's account information and the authentication server verifies that the cumulative number of successful authentications of the account is not greater than the maximum allowed number of successful authentications, the authentication server returns authentication success information to the dial-up terminal.

[0082] In this embodiment, after receiving the authentication success information, the dial-up terminal may initiate IPCP negotiation until the online stage is completed.

[0083] For example, the maximum number of successful authentications allowed for an account is 1. A user uses a dial-up terminal to dial online without logging in. The dial-up terminal sends an authentication request. After receiving the authentication request, the authentication server authenticates the account information of the account and obtains the maximum number of successful authentications allowed for the user as 1. The successful authentication counter shows that the number of successful authentications for the account is 0, so the verification passes and the authentication success information is returned to the dial-up terminal.

[0084] In another embodiment of the present application, the method further includes:

[0085] S51: Perform traffic statistics on multiple online sessions of the account and generate corresponding billing information.

[0086] In this embodiment, when an account has multiple online sessions at the same time, traffic statistics are collected for each session to generate corresponding billing information.

[0087] In this embodiment, when a session of an account is established, the authentication server sends the account information of the session to the traffic statistics server. The traffic statistics server monitors the traffic of the account, performs billing, and generates corresponding billing information.

[0088] For example, when an account has three sessions online at the same time, the authentication server sends session information and account information to the traffic statistics server when establishing each session for the account. The traffic statistics server monitors the traffic of each session of the account from the establishment of each session until the end of the session statistics, and then generates billing information for the account and stores the billing information.

[0089] Based on the same inventive concept, an embodiment of the present application provides a dial-up authentication device. Figure 5 , Figure 5 FIG. 5 is a schematic diagram of a dial-up authentication device 500 proposed in an embodiment of the present application. Figure 5 As shown, the device comprises:

[0090] The authentication request receiving module 501 is used to obtain an authentication request from a dial-up terminal, wherein the authentication request carries dial-up information of an account;

[0091] The module 502 for obtaining the cumulative number of successful authentications is used to obtain the cumulative number of successful authentications of the account;

[0092] The cumulative number of successful authentications verification module 503 is used to authenticate the dialing information of the account and determine whether the cumulative number of successful authentications of the account is greater than the maximum allowed number of successful authentications;

[0093] The first authentication result returning module 504 is used to return authentication failure information to the dial-up terminal when the cumulative number of successful authentications of the account is greater than the maximum allowed number of successful authentications or when the dial-up information authentication of the account fails.

[0094] Optionally, the device further comprises:

[0095] A first authentication success cumulative number recording module, configured to increase the number of authentication successes of the account by one whenever the dialing information of the account is successfully authenticated;

[0096] The second authentication success cumulative number recording module is used to reduce the authentication success cumulative number of the account by one whenever it is detected that a session of the account is offline.

[0097] Optionally, the device further comprises:

[0098] The module for initializing the cumulative number of successful authentications is used to initialize the cumulative number of successful authentications of the account to zero upon receiving an authentication request from a newly registered account;

[0099] The maximum allowed number of successful authentications setting module is used to set the maximum allowed number of successful authentications for the account according to the authority of the account.

[0100] Optionally, the device further comprises:

[0101] The second authentication result returning module is used to return authentication success information to the dial-up terminal when the cumulative number of successful authentications of the account is not greater than the maximum allowed number of successful authentications and the dial-up information authentication of the account is passed.

[0102] Optionally, the device further comprises:

[0103] The traffic statistics module is used to perform traffic statistics on multiple online sessions of the account and generate corresponding billing information.

[0104] Based on the same inventive concept, another embodiment of the present application provides a readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps in the dial-up authentication method described in any of the above embodiments of the present application are implemented.

[0105] Based on the same inventive concept, another embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes, the steps of the dial-up authentication method described in any of the above embodiments of the present application are implemented.

[0106] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0107] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0108] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the embodiments of the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0109] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0110] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0111] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0112] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.

[0113] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0114] The dial-up authentication method, device, equipment and storage medium provided by the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for general technicians in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A dial-up authentication method, characterized in that: Applied to an authentication server, the method comprises: Obtaining an authentication request from a dial-up terminal, the authentication request carrying dial-up information of an account; Obtain the cumulative number of successful authentications for the account; Authenticating the dialing information of the account, and determining whether the cumulative number of successful authentications of the account is greater than the maximum allowed number of successful authentications; When the cumulative number of successful authentications of the account is greater than the maximum allowed number of successful authentications, or when the dial-up information authentication of the account fails, returning authentication failure information to the dial-up terminal; Whenever the dial-up information authentication of the account succeeds, the cumulative number of successful authentications of the account is increased by one; When the cumulative number of successful authentications of the account is not greater than the maximum allowed number of successful authentications and the dialing information of the account is authenticated, returning authentication success information to the dialing terminal; The dial-up terminal completes going online after receiving the authentication success information; Traffic statistics are collected for multiple online sessions of the account, and corresponding billing information is generated.

2. The method according to claim 1, characterized in that The method further comprises: Whenever it is detected that a session of the account is offline, the cumulative number of successful authentications for the account is reduced by one.

3. The method according to claim 1, characterized in that: The method further comprises: Upon receiving an authentication request from a newly registered account, initializing the cumulative number of successful authentications of the account to zero; According to the authority of the account, the maximum number of successful authentications allowed for the account is set.

4. A dial-up authentication device, characterized in that: The device comprises: An authentication request receiving module, used to obtain an authentication request from a dial-up terminal, wherein the authentication request carries dial-up information of an account; A module for obtaining the cumulative number of successful authentications for the account; The authentication success cumulative number verification module is used to authenticate the dialing information of the account and determine whether the authentication success cumulative number of the account is greater than the maximum allowed authentication success number; A first authentication result returning module, configured to return authentication failure information to the dial-up terminal when the cumulative number of successful authentications of the account is greater than the maximum allowed number of successful authentications or when the dial-up information authentication of the account fails; A first authentication success cumulative number recording module, configured to increase the number of authentication successes of the account by one whenever the dialing information of the account is successfully authenticated; A second authentication result returning module is used to return authentication success information to the dial-up terminal when the cumulative number of successful authentications of the account is not greater than the maximum allowed number of successful authentications and the dial-up information of the account is authenticated; the dial-up terminal completes going online after receiving the authentication success information; The traffic statistics module is used to perform traffic statistics on multiple online sessions of the account and generate corresponding billing information.

5. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps in the method according to any one of claims 1 to 3 are implemented.

6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 3 are implemented.

Citation Information

Patent Citations

  • Method for identifying repeated online, server and client side

    CN103036909A