CN113015265A - Network session self-healing method, device, system, computer equipment and storage medium - Google Patents

Network session self-healing method, device, system, computer equipment and storage medium Download PDF

Info

Publication number
CN113015265A
CN113015265A CN202110204938.5A CN202110204938A CN113015265A CN 113015265 A CN113015265 A CN 113015265A CN 202110204938 A CN202110204938 A CN 202110204938A CN 113015265 A CN113015265 A CN 113015265A
Authority
CN
China
Prior art keywords
terminal
network
rejection
session
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110204938.5A
Other languages
Chinese (zh)
Other versions
CN113015265B (en
Inventor
韩锦波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202110204938.5A priority Critical patent/CN113015265B/en
Publication of CN113015265A publication Critical patent/CN113015265A/en
Application granted granted Critical
Publication of CN113015265B publication Critical patent/CN113015265B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/18Management of setup rejection or failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application relates to a network session self-healing method, a device, a system, computer equipment and a storage medium, wherein the network session self-healing method receives session rejection request information sent by a network terminal and judges whether a rejection reason carried by the session rejection request information is a preset rejection reason; if the rejection reason is the preset rejection reason, the authentication type in the dialing request is set to be null, and the dialing request is initiated to the network terminal again. According to the network session self-healing method, after the dialing request is rejected, the terminal sets the authentication type to be null and then initiates the dialing request again, so that the terminal can be ensured to normally perform data service.

Description

Network session self-healing method, device, system, computer equipment and storage medium
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a network session self-healing method, apparatus, system, computer device, and storage medium.
Background
With the development of network communication technology, 5G networks and their terminals are also spreading in large scale. However, in the initial stage of 5G networking, since both the network and the terminal are not mature, the situation that the 5G independent networking user cannot surf the internet often occurs. The specific process is as follows: after the user finishes the SA network registration process, data service can be carried out through a PDU session authorization process, the PDU carries authentication information to establish a session when carrying out a session request, and if authentication fails, the session establishment of the PDU is rejected, so that the user cannot carry out the data service and cannot autonomously recover.
The prior art lacks a method which can ensure that a user can normally carry out data service after authentication failure.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a network session self-healing method, device, system, computer device and storage medium.
In a first aspect, an embodiment of the present application provides a network session self-healing method, including:
receiving session rejection request information sent by a network terminal, wherein the session rejection request information comprises a rejection reason;
judging whether the rejection reason carried by the session rejection request information is a preset rejection reason or not;
if the rejection reason is the preset rejection reason, the authentication type in the dialing request is set to be null, and the dialing request is initiated to the network terminal again.
In one embodiment, the pre-set rejection reason is authentication failure.
In a second aspect, an embodiment of the present application provides a network session self-healing method, including:
receiving a dialing request sent by a terminal;
authenticating the terminal according to the dialing request;
and if the authentication is unsuccessful, sending session rejection request information carrying a rejection reason to the terminal, wherein the session rejection request information is used for indicating that the terminal re-initiates a dialing request to the network terminal after setting the authentication type to be null under the condition that the rejection reason is the preset rejection reason.
In one embodiment, the dialing request includes user identification information and/or an authentication type, and authenticating the terminal according to the dialing request includes:
and authenticating the terminal according to the user identity identification information and/or the authentication type.
In one embodiment, the step of authenticating the terminal according to the user identification information includes:
judging whether the user name is matched with a preset user name or not, and judging whether the user password is matched with a preset user password or not;
and if the user name is not matched with at least one of the preset user name and the user password, determining that the authentication fails.
In one embodiment, the dialing request includes an authentication type, and authenticating the terminal according to the authentication type includes:
judging whether the authentication type is matched with a preset authentication type or not;
and if the authentication type is not matched with the preset authentication type, determining that the authentication fails.
In a third aspect, an embodiment of the present application provides a network session self-healing system, including: the terminal is used for executing the steps of the network session self-healing method provided by the embodiment; the network side is configured to execute the steps of the network session self-healing method provided in the foregoing embodiment.
In a fourth aspect, an embodiment of the present application provides a network session self-healing apparatus, including:
the first receiving module is used for receiving session rejection request information sent by a network terminal, wherein the session rejection request information comprises a rejection reason;
the first judgment module is used for judging whether the rejection reason carried by the session rejection request information is a preset rejection reason or not;
and the setting module is used for setting the authentication type in the dialing request to be null and initiating the dialing request to the network terminal again if the rejection reason is the preset rejection reason.
In a fifth aspect, an embodiment of the present application provides a network session self-healing apparatus, including:
the second receiving module is used for receiving a dialing request sent by the terminal;
the second judgment module is used for authenticating the terminal according to the dialing request;
and the sending module is used for sending session rejection request information carrying a rejection reason to the terminal if the authentication is unsuccessful, and the session rejection request information is used for indicating the terminal to restart the dialing request to the network terminal after the authentication type is set to be null under the condition that the rejection reason is the preset rejection reason.
In a sixth aspect, an embodiment of the present application provides a computer device, which includes a memory and a processor, where the memory stores a computer program, and the processor implements the steps of the method provided in the foregoing embodiment when executing the computer program.
In a seventh aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the method provided in the foregoing embodiment.
The embodiment of the application provides a network session self-healing method, a device, a system, computer equipment and a storage medium. The terminal of the network session self-healing method obtains session rejection request information sent by a network terminal; judging whether the rejection reason carried by the session rejection request information is a preset rejection reason or not; if the rejection reason is the preset rejection reason, the terminal sets the authentication type in the dialing request to be null, and then initiates the dialing request to the network terminal again. The network session self-healing method provided by the embodiment of the application sets the authentication type in the dialing request to be null, and then initiates the dialing request to the network terminal, and the network terminal can directly pass through the dialing request, so that the terminal can be ensured to normally perform data service. In addition, the network session self-healing method provided by the embodiment of the application can restart the dialing request to the network terminal after the authentication type in the dialing request is set to null after the terminal rejects the first dialing request, so that the user experience is better.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments or the conventional technologies of the present application, the drawings used in the description of the embodiments or the conventional technologies will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is an application scenario diagram of a network session self-healing method according to an embodiment of the present application;
fig. 2 is a schematic flowchart illustrating steps of a network session self-healing method according to an embodiment of the present application;
fig. 3 is a schematic flowchart illustrating steps of a network session self-healing method according to an embodiment of the present application;
fig. 4 is a schematic flowchart illustrating steps of a network session self-healing method according to an embodiment of the present application;
fig. 5 is a schematic flowchart illustrating steps of a network session self-healing method according to an embodiment of the present application;
fig. 6 is a flowchart illustrating steps of a method for performing a network session self-healing process according to a network session self-healing system according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a network session self-healing device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a network session self-healing device according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, embodiments accompanying the present application are described in detail below with reference to the accompanying drawings. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. This application is capable of embodiments in many different forms than those described herein and that modifications may be made by one skilled in the art without departing from the spirit and scope of the application and it is therefore not intended to be limited to the specific embodiments disclosed below.
The network session self-healing method provided by the application can be applied to the application environment shown in fig. 1. The network 100 is a 5G independent networking end, and the terminal 200 is a terminal on the user side. The network 100 is connected to the terminal 200 through a 5G communication network. Terminal 200 accesses the 5G network using DNN network access technology. After the terminal 200 completes the registration at the 5G independent networking end, the network end 100 includes the registration information of the terminal 200. When the terminal 200 needs to perform a data service, it will initiate a dialing request, that is, perform a session request, to the network 100; after the dialing is successful, that is, after the network 100 requests the dialing through the terminal 200, the terminal 200 may perform a data service. However, since the 5G network and the terminal are not mature enough, the registration information of the terminal 200 included in the network terminal 100 may be wrong, or the user modifies the information of the terminal 200, so that the network terminal 100 determines that the terminal 200 has no right to access through authentication, the network terminal 100 rejects the dialing request of the terminal 200, and the user of the terminal 200 cannot perform data service. The terminal 200 may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, portable wearable devices, and the like.
The network session self-healing method provided by the application can be realized through computer equipment. Computer devices include, but are not limited to, control chips, personal computers, laptops, smartphones, tablets, and portable wearable devices. The method provided by the application can be realized through JAVA software and can also be applied to other software.
The following describes the technical solutions of the present application and how to solve the technical problems with the technical solutions of the present application in detail with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
The numbering of the components as such, e.g., "first", "second", etc., is used herein only to distinguish the objects as described, and does not have any sequential or technical meaning. The term "connected" and "coupled" when used in this application, unless otherwise indicated, includes both direct and indirect connections (couplings).
Referring to fig. 2, an embodiment of the present application provides a network session self-healing method, which is applied to a terminal for description, where the terminal refers to a terminal on a user side. The network session self-healing method specifically comprises the following steps:
step 201, receiving session rejection request information sent by a network, where the session rejection request information includes a rejection reason.
And the terminal receives the session rejection request information sent by the network terminal. That is, after the terminal sends the dialing request to the network, the network responds according to the dialing request. If the network determines that the terminal has no access right through authentication, the network sends session rejection request information to the terminal, namely, rejects the dialing request of the terminal. The session rejection request information includes a specific reason why the network rejects the dialing request of the terminal.
Step 202, judging whether the reject reason carried by the session reject request information is a preset reject reason.
After receiving the session rejection request information, the terminal compares the rejection reason carried by the session rejection request information with a preset rejection reason to judge whether the rejection reason is the preset rejection reason. The preset reject reason may be set by a worker according to the reason of the authentication failure, which is not limited in this embodiment.
Step 203, if the reject reason is the preset reject reason, setting the authentication type in the dialing request to be null, and initiating the dialing request to the network again.
If the terminal judges that the rejection reason carried by the session rejection request information is consistent with the preset rejection reason, the network terminal determines the right of the terminal to access through authentication. At this time, the terminal re-initiates the dialing request to the network terminal by setting the authentication type in the dialing request to null. Authentication means that a network side authenticates a terminal to determine whether the terminal has a right to access the network. Authentication types include CHAP, PAP, null (NONE), PAP/CHAP. Different authentication types are embodied as different hexadecimal values in the dial request. Wherein, 30281 represents authentication type NONE, 49187 represents authentication type PAP, and 49699 represents authentication type CHAP. CHAP is a challenge response type protocol, three-way handshake authentication and password information encryption transmission are carried out, and the safety is high; PAP is a simple two-way handshake authentication protocol, with plaintext transmission of user name and password, and low security. When the authentication type in the dialing request received by the network end is empty, the dialing request can be directly passed, the terminal dials successfully, and the data service can be normally carried out.
The embodiment of the application provides a network session self-healing method, wherein a terminal acquires session rejection request information sent by a network terminal; judging whether the rejection reason carried by the session rejection request information is a preset rejection reason or not; if the rejection reason is the preset rejection reason, the terminal sets the authentication type in the dialing request to be null, and then initiates the dialing request to the network terminal again. The network session self-healing method provided by the embodiment of the application sets the authentication type in the dialing request to be null, and then initiates the dialing request to the network terminal, and the network terminal can directly pass through the dialing request, so that the terminal can be ensured to normally perform data service. In addition, the network session self-healing method provided by the embodiment of the application can restart the dialing request to the network terminal after the authentication type in the dialing request is set to null after the terminal rejects the first dialing request, so that the user experience is better.
In one embodiment, the pre-set rejection reason is authentication failure. The authentication fails, i.e. the terminal has no right to access the network. In a specific embodiment, the preset reject reason is denoted by the identification # 29. In this embodiment, it is specifically described that the preset rejection reason is authentication failure, which can improve the efficiency of the terminal in determining the rejection reason carried by the session rejection request information, thereby reducing the time for self-healing of the network session.
Referring to fig. 3, an embodiment of the present application provides a method for self-healing a network session, and the embodiment is described by applying the method to a network. The network session self-healing method specifically comprises the following steps:
step 301, receiving a dialing request sent by a terminal.
Step 302, authenticating the terminal according to the dialing request.
After a terminal initiates a dialing request, the terminal receives the dialing request to a corresponding network terminal. The dialing request includes information stored in the network terminal when the terminal is registered. The network terminal authenticates the information in the dialing request according to the received dialing request, and judges whether the terminal has the right to access the network. The embodiment does not limit the specific process of the network terminal for authenticating the terminal according to the dialing request, as long as the function of the terminal can be realized.
Step 303, if the authentication is unsuccessful, sending a session rejection request message carrying a rejection reason to the terminal, where the session rejection request message is used to instruct the terminal to restart the dialing request to the network after the authentication type is set to null under the condition that the rejection reason is the preset rejection reason.
If the network end judges that the terminal does not have the right to access the network, the authentication is not successful. At this time, the network sends the session rejection request information, which includes a specific reason why the network rejects the terminal dialing request, like the terminal. The session rejection request information may further include an ID of a terminal corresponding to the session rejection request information. For the specific description that the terminal sets the authentication type to be null when the rejection reason carried by the session rejection request information is the preset rejection reason, reference may be made to the description in the above embodiment, and details are not described here again.
The network session self-healing method authenticates the terminal after the network end receives the dialing request of the terminal; and sending session rejection request information to the terminal after the authentication is unsuccessful, so that when the rejection reason carried in the session rejection request received by the terminal is the preset rejection reason, the authentication type in the dialing request to be sent by the terminal is set to be null, and the dialing request is initiated to the network terminal again. Therefore, the authentication at the network end is not unsuccessful, so that the terminal can perform corresponding processing in time, the terminal can dial successfully as soon as possible, normal data service can be performed, and the user experience is better.
Referring to fig. 4, in an embodiment, the dialing request includes user identification information and/or an authentication type, and step 302 authenticates the terminal according to the dialing request, including:
step 401, authenticating the terminal according to the user identity identification information and/or the authentication type.
The dialing request sent by the terminal to the network end may include the user identification information corresponding to the terminal, the authentication type of the user corresponding to the terminal, and the user identification information and the authentication type corresponding to the terminal. The user identification information is information that can identify the identity of the user corresponding to the terminal. For the specific description of the authentication type, reference may be made to the description in the above embodiments, which is not described herein again.
Referring to fig. 4, in an embodiment, when the dialing request includes the user identification information, the specific step of authenticating the terminal according to the user identification information includes:
step 402, judging whether the user name is matched with a preset user name or not, and judging whether the user password is matched with a preset user password or not.
And 403, if the user name is not matched with at least one of the preset user name and the user password, determining that the authentication fails.
The user identification information included in the dialing request sent by the terminal comprises a user name and a user password. The network side comprises a preset user name and a preset user password which are set when the terminal is registered. After receiving a dialing request sent by a terminal, a network terminal matches a user name in the received user identity identification information with a preset user name, and matches a user password in the received user identity identification information with a preset user password. If the network side judges that the user name is not matched with the preset user name, the authentication is determined to be failed, and the network side determines that the terminal does not have the right to access the network; if the network side judges that the user password is not matched with the preset user password, determining that the authentication fails; and if the network side judges that the user name is not matched with the preset user name and the user password is not matched with the preset user password, determining that the authentication fails.
In this embodiment, the network determines whether the authentication of the network is successful by identifying whether the user name of the terminal matches the preset user name and/or the user password matches the preset user password, so that the determination method is simple and fast, and the self-healing time of the network session can be shortened.
Referring to fig. 5, in an embodiment, when the dialing request includes the authentication type, authenticating the terminal according to the authentication type includes:
step 504, judging whether the authentication type is matched with a preset authentication type.
Step 502, if the authentication type is not matched with the preset authentication type, determining that the authentication fails.
The network end comprises a preset authentication type set by the terminal during registration. After receiving a dialing request sent by a terminal, a network terminal matches an authentication type in the received dialing request with a preset authentication type. If the network end judges that the authentication type is not matched with the preset authentication type, the authentication is determined to be failed, and the network end determines that the terminal does not have the right to access the network.
In this embodiment, the network determines whether the authentication of the network is successful by determining whether the authentication type of the terminal is matched with the preset authentication type, so that the authentication speed of the terminal can be increased, and the self-healing time of the network session can be shortened.
It should be understood that although the various steps in the flow charts in fig. 2-5 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-5 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
An embodiment of the present application provides a network session self-healing system, which includes a terminal and a network terminal. The terminal is configured to execute the steps of the network session self-healing method provided in the embodiment shown in fig. 2 in the foregoing embodiment; the network side is configured to perform the steps of the network session self-healing method provided in the embodiments shown in fig. 3 to 5.
Referring to fig. 6, the steps of the network session self-healing system executing the network session self-healing method provided in this embodiment include:
601, the terminal sends a dialing request to a network terminal;
step 602, the network side authenticates the terminal according to the dialing request;
step 603, if the authentication of the network terminal to the terminal is unsuccessful, sending session rejection request information carrying rejection reasons to the terminal;
step 604, after receiving the session rejection request information, the terminal determines whether the rejection reason carried by the session rejection request information is a preset rejection reason;
step 605, if the reject reason is the preset reject reason, setting the authentication type in the dialing request to null, and initiating the dialing request to the network again.
The process and the beneficial effects of the embodiment of the network session self-healing system provided in this embodiment are similar to those described in the above embodiment, and are not described herein again.
Referring to fig. 7, an embodiment of the present application provides a network session self-healing device 10, which includes a first receiving module 11, a first determining module 12, and a setting module 13. Wherein,
the first receiving module 11 is configured to receive session rejection request information sent by a network, where the session rejection request information includes a rejection reason;
the first judging module 12 is configured to judge whether a reject reason carried by the session reject request information is a preset reject reason;
the setting module 13 is configured to set the authentication type in the dialing request to null if the rejection reason is the preset rejection reason, and initiate the dialing request to the network again.
Referring to fig. 8, an embodiment of the present application provides a network session self-healing device 20, which includes a second receiving module 21, a second determining module 22, and a sending module 23. Wherein,
the second receiving module 21 is configured to receive a dialing request sent by a terminal;
the second judging module 22 is used for authenticating the terminal according to the dialing request;
the sending module 23 is configured to send session rejection request information carrying a rejection reason to the terminal if the authentication is unsuccessful, where the session rejection request information is used to instruct the terminal to restart the dialing request to the network after the authentication type is set to null under the condition that the rejection reason is the preset rejection reason.
In one embodiment, the second determining module 22 comprises an authentication unit configured to authenticate the terminal according to the user identification information and/or the authentication type when the dialing request includes the user identification information and/or the authentication type.
In one embodiment, the authentication unit is configured to determine whether a user name matches a preset user name and determine whether a user password matches a preset user password when the dialing request includes user identification information; and if the user name is not matched with at least one of the preset user name and the user password, determining that the authentication fails.
In one embodiment, the authentication unit is further configured to determine whether the authentication type matches a preset authentication type when the dialing request includes the authentication type; and if the authentication type is not matched with the preset authentication type, determining that the authentication fails.
For specific limitations of the network session self-healing device 10 and the network session self-healing device 20, reference may be made to the above limitations of the network session self-healing method, which are not described herein in detail. The respective modules in the network session self-healing device 10 and the network session self-healing device 20 may be implemented in whole or in part by software, hardware, and a combination thereof. The above devices, modules or units may be embedded in hardware or independent from a processor in a computer device, or may be stored in a memory in the computer device in software, so that the processor can call and execute operations corresponding to the above devices or modules.
Referring to fig. 9, in one embodiment, a computer device is provided, and the computer device may be a server, and its internal structure diagram may be as shown in fig. 9. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing the dialing request, the preset user name, the preset user password, the preset authentication type and the like. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer device is executed by the processor to implement a network session self-healing method.
Those skilled in the art will appreciate that the architecture shown in fig. 9 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, there is provided a computer device comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the following steps when executing the computer program:
receiving session rejection request information sent by a network terminal, wherein the session rejection request information comprises a rejection reason;
judging whether the rejection reason carried by the session rejection request information is a preset rejection reason or not;
and if the rejection reason is the preset rejection reason, setting the authentication type in the dialing request to be null, and initiating the dialing request to the network terminal again.
In one embodiment, there is provided a computer device comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the following steps when executing the computer program:
receiving a dialing request sent by a terminal;
authenticating the terminal according to the dialing request;
and if the authentication is unsuccessful, sending session rejection request information carrying a rejection reason to the terminal, wherein the session rejection request information is used for indicating that the terminal re-initiates a dialing request to the network terminal after setting the authentication type to be null under the condition that the rejection reason is the preset rejection reason.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and when the dialing request comprises the user identity identification information and/or the authentication type, authenticating the terminal according to the user identity identification information and/or the authentication type.
In one embodiment, the processor, when executing the computer program, further performs the steps of: when the dialing request comprises user identity identification information, judging whether a user name is matched with a preset user name or not, and judging whether a user password is matched with a preset user password or not; and if the user name is not matched with at least one of the preset user name and the user password, determining that the authentication fails.
In one embodiment, the processor, when executing the computer program, further performs the steps of: when the dialing request comprises an authentication type, judging whether the authentication type is matched with a preset authentication type; and if the authentication type is not matched with the preset authentication type, determining that the authentication fails.
The specific processes and advantages of the above method steps implemented by the computer device processor provided in the above embodiments are similar to those of the corresponding method embodiments, and are not described herein again.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
receiving session rejection request information sent by a network terminal, wherein the session rejection request information comprises a rejection reason;
judging whether the rejection reason carried by the session rejection request information is a preset rejection reason or not;
if the rejection reason is the preset rejection reason, the authentication type in the dialing request is set to be null, and the dialing request is initiated to the network terminal again.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
receiving a dialing request sent by a terminal;
authenticating the terminal according to the dialing request;
and if the authentication is unsuccessful, sending session rejection request information carrying a rejection reason to the terminal, wherein the session rejection request information is used for indicating that the terminal re-initiates a dialing request to the network terminal after setting the authentication type to be null under the condition that the rejection reason is the preset rejection reason.
In one embodiment, the computer program when executed by the processor further performs the steps of: and when the dialing request comprises the user identity identification information and/or the authentication type, authenticating the terminal according to the user identity identification information and/or the authentication type.
In one embodiment, the computer program when executed by the processor further performs the steps of: when the dialing request comprises user identity identification information, judging whether a user name is matched with a preset user name or not, and judging whether a user password is matched with a preset user password or not; and if the user name is not matched with at least one of the preset user name and the user password, determining that the authentication fails.
In one embodiment, the computer program when executed by the processor further performs the steps of: when the dialing request comprises an authentication type, judging whether the authentication type is matched with a preset authentication type; and if the authentication type is not matched with the preset authentication type, determining that the authentication fails.
The specific processes and advantageous effects of implementing the above method steps by the computer-readable storage medium provided by the above embodiments are similar to those of the corresponding method embodiments, and are not described herein again.
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 hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A network session self-healing method is characterized by comprising the following steps:
receiving session rejection request information sent by a network terminal, wherein the session rejection request information comprises a rejection reason;
judging whether the rejection reason carried by the session rejection request information is a preset rejection reason or not;
and if the rejection reason is the preset rejection reason, setting the authentication type in the dialing request to be null, and initiating the dialing request to the network terminal again.
2. A network session self-healing method is characterized by comprising the following steps:
receiving a dialing request sent by a terminal;
authenticating the terminal according to the dialing request;
and if the authentication is unsuccessful, sending session rejection request information carrying a rejection reason to the terminal, wherein the session rejection request information is used for indicating that the terminal re-initiates a dialing request to the network terminal after setting the authentication type to be null under the condition that the rejection reason is a preset rejection reason.
3. A network session self-healing method according to claim 2, wherein the dialing request includes user identification information and/or an authentication type, and the authenticating the terminal according to the dialing request includes:
and authenticating the terminal according to the user identity identification information and/or the authentication type.
4. A network session self-healing method according to claim 3, wherein the dialing request includes user identification information, the user identification information includes a user name and a user password, and the authenticating the terminal according to the user identification information includes:
judging whether the user name is matched with a preset user name or not, and judging whether the user password is matched with a preset user password or not;
and if the user name is not matched with at least one of the preset user name and the user password, determining that the authentication fails.
5. A network session self-healing method according to claim 3, wherein the dialing request includes an authentication type, and the authenticating the terminal according to the authentication type includes:
judging whether the authentication type is matched with a preset authentication type or not;
and if the authentication type is not matched with the preset authentication type, determining that the authentication fails.
6. A network session self-healing system, comprising: a terminal and a network terminal, wherein the terminal is configured to perform the steps of the network session self-healing method according to claim 1; the network terminal is configured to perform the steps of the network session self-healing method according to any one of claims 2 to 5.
7. A network session self-healing apparatus, comprising:
the first receiving module is used for receiving session rejection request information sent by a network terminal, wherein the session rejection request information comprises a rejection reason;
the first judging module is used for judging whether the rejection reason carried by the session rejection request information is a preset rejection reason or not;
and the setting module is used for setting the authentication type in the dialing request to be null and initiating the dialing request to the network terminal again if the rejection reason is the preset rejection reason.
8. A network session self-healing apparatus, comprising:
the second receiving module is used for receiving a dialing request sent by the terminal;
the second judging module is used for authenticating the terminal according to the dialing request;
and the sending module is used for sending session rejection request information carrying a rejection reason to the terminal if the authentication is unsuccessful, wherein the session rejection request information is used for indicating the terminal to restart the dialing request to the network terminal after the authentication type is set to be null under the condition that the rejection reason is the preset rejection reason.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 5.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 5.
CN202110204938.5A 2021-02-24 2021-02-24 Network session self-healing method, device, system, computer equipment and storage medium Active CN113015265B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110204938.5A CN113015265B (en) 2021-02-24 2021-02-24 Network session self-healing method, device, system, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110204938.5A CN113015265B (en) 2021-02-24 2021-02-24 Network session self-healing method, device, system, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113015265A true CN113015265A (en) 2021-06-22
CN113015265B CN113015265B (en) 2023-07-18

Family

ID=76409042

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110204938.5A Active CN113015265B (en) 2021-02-24 2021-02-24 Network session self-healing method, device, system, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113015265B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115065799A (en) * 2021-09-03 2022-09-16 荣耀终端有限公司 Video call method and electronic equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050154793A1 (en) * 2004-01-08 2005-07-14 Hisham Khartabil Apparatus, system, and method for rejecting a session establishment request
US20050265318A1 (en) * 2004-01-08 2005-12-01 Nokia Corporation Apparatus, system, and method for rejecting a session establishment request
US20080293407A1 (en) * 2007-05-24 2008-11-27 Jean-Philippe Cormier Wireless Device and Method for Determining Which APN to Use
WO2017197766A1 (en) * 2016-05-17 2017-11-23 中兴通讯股份有限公司 Calling method and device
CN107743316A (en) * 2017-09-06 2018-02-27 深圳天珑无线科技有限公司 A kind of reminding method, mobile terminal and storage device for recovering network connection
CN107948976A (en) * 2017-12-01 2018-04-20 广东欧珀移动通信有限公司 The detection method and device of LTE network access result, computer-readable storage medium
CN108476536A (en) * 2016-03-29 2018-08-31 Oppo广东移动通信有限公司 The method and apparatus of wireless communication
CN109391940A (en) * 2017-08-02 2019-02-26 华为技术有限公司 A kind of method, equipment and system accessing network
WO2020073802A1 (en) * 2018-10-09 2020-04-16 华为技术有限公司 Authentication method and device
CN112261717A (en) * 2020-09-15 2021-01-22 深圳市广和通无线股份有限公司 Network registration method, device, user terminal and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050154793A1 (en) * 2004-01-08 2005-07-14 Hisham Khartabil Apparatus, system, and method for rejecting a session establishment request
US20050265318A1 (en) * 2004-01-08 2005-12-01 Nokia Corporation Apparatus, system, and method for rejecting a session establishment request
US20080293407A1 (en) * 2007-05-24 2008-11-27 Jean-Philippe Cormier Wireless Device and Method for Determining Which APN to Use
CN108476536A (en) * 2016-03-29 2018-08-31 Oppo广东移动通信有限公司 The method and apparatus of wireless communication
WO2017197766A1 (en) * 2016-05-17 2017-11-23 中兴通讯股份有限公司 Calling method and device
CN109391940A (en) * 2017-08-02 2019-02-26 华为技术有限公司 A kind of method, equipment and system accessing network
CN107743316A (en) * 2017-09-06 2018-02-27 深圳天珑无线科技有限公司 A kind of reminding method, mobile terminal and storage device for recovering network connection
CN107948976A (en) * 2017-12-01 2018-04-20 广东欧珀移动通信有限公司 The detection method and device of LTE network access result, computer-readable storage medium
WO2020073802A1 (en) * 2018-10-09 2020-04-16 华为技术有限公司 Authentication method and device
CN112261717A (en) * 2020-09-15 2021-01-22 深圳市广和通无线股份有限公司 Network registration method, device, user terminal and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115065799A (en) * 2021-09-03 2022-09-16 荣耀终端有限公司 Video call method and electronic equipment

Also Published As

Publication number Publication date
CN113015265B (en) 2023-07-18

Similar Documents

Publication Publication Date Title
CN107948204B (en) One-key login method and system, related equipment and computer readable storage medium
CN110266656B (en) Secret-free authentication identity identification method and device and computer equipment
CN110769482B (en) Method and device for network connection of wireless equipment and wireless router equipment
CN110266642A (en) Identity identifying method and server, electronic equipment
CN112187465B (en) Non-inductive login method, device, computer equipment and storage medium
CN112632573B (en) Intelligent contract execution method, device, system, storage medium and electronic equipment
WO2020173126A1 (en) Method and device for blockchain-based session data processing, equipment, and medium
CN104796255A (en) A safety certification method, device and system for a client end
CN113872990B (en) VPN network certificate authentication method and device based on SSL protocol and computer equipment
CN113015265B (en) Network session self-healing method, device, system, computer equipment and storage medium
CN109831521B (en) Cache instance management method and device, computer equipment and storage medium
CN113852958A (en) 5G authentication method, 5G automatic account opening method, device, system and storage medium
CN114095256A (en) Terminal authentication method, system, equipment and storage medium based on edge calculation
CN110225511B (en) Method, device and system for acquiring IMEI number of terminal and computer equipment
CN110418345B (en) Identity authentication method and device and computer equipment
CN109756899B (en) Network connection method, device, computer equipment and storage medium
CN112422516A (en) Connection method and device of power system, computer equipment and storage medium
CN108834082B (en) Cross-cluster calling method and device, computer equipment and storage medium
CN110650132A (en) Access method and device of edge computing node, computer equipment and storage medium
CN110768886B (en) Method, device, computer equipment and medium for automatically connecting VPN (virtual private network) by application program
CN114257406B (en) Equipment communication method and device based on identification algorithm and computer equipment
CN113839787B (en) Bidirectional authentication local area network security access protocol method and system
US11979396B2 (en) Information security system and method for machine-to-machine (M2M) security and validation
CN108270747B (en) Authentication method and device
CN109561093B (en) Unauthorized behavior detection method and device, computer 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
GR01 Patent grant
GR01 Patent grant