CN113194549B - Data connection method, device, terminal equipment and computer readable storage medium - Google Patents

Data connection method, device, terminal equipment and computer readable storage medium Download PDF

Info

Publication number
CN113194549B
CN113194549B CN202110301814.9A CN202110301814A CN113194549B CN 113194549 B CN113194549 B CN 113194549B CN 202110301814 A CN202110301814 A CN 202110301814A CN 113194549 B CN113194549 B CN 113194549B
Authority
CN
China
Prior art keywords
data connection
dnn
ssc mode
connection request
operator server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110301814.9A
Other languages
Chinese (zh)
Other versions
CN113194549A (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.)
Fibocom Wireless Inc
Original Assignee
Fibocom Wireless 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 Fibocom Wireless Inc filed Critical Fibocom Wireless Inc
Priority to CN202110301814.9A priority Critical patent/CN113194549B/en
Publication of CN113194549A publication Critical patent/CN113194549A/en
Application granted granted Critical
Publication of CN113194549B publication Critical patent/CN113194549B/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/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/19Connection re-establishment

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The application relates to a data connection method, a data connection device, terminal equipment and a computer readable storage medium. The method comprises the following steps: sending a data connection request to an operator server; the data connection request carries a session to be identified, a service continuous mode SSC mode and a data network name DNN to be identified of the terminal; receiving and identifying a data connection result sent by the operator server based on the data connection request; wherein the data concatenation result comprises SSC mode illegal and/or DNN illegal; correspondingly generating a new data connection request according to the data connection result and sending the new data connection request to the operator server; wherein the new data connection request correspondingly carries the adjusted SSC mode and/or the adjusted DNN. By adopting the method, the problem that the data connection request is rejected and the Internet cannot be accessed due to unrecoverable problems caused by the error input of the SSC Mode and/DNN can be avoided.

Description

Data connection method, device, terminal equipment and computer readable storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a data connection method, an apparatus, a terminal device, and a computer-readable storage medium.
Background
With the freezing of the 5G standard, the 5G network and the terminals thereof are also spreading in a large scale, and more users choose to use the 5G terminal to access the 5G network for data service of internet surfing.
After the terminal finishes registering with the operator server, the user can initiate a PDU (protocol data unit) Session establishment flow to the operator server by selecting the SSC Mode (Session and Service Continuity Mode) to send a data connection request to the operator server for data Service.
However, in the conventional technology, if the data connection request is rejected by the operator server, the user cannot surf the internet and the problem cannot be recovered.
Disclosure of Invention
In view of the foregoing, it is necessary to provide a data connection method, apparatus, terminal device and computer readable storage medium.
A data connection method, comprising:
sending a data connection request to an operator server; the data connection request carries a session to be identified, a service continuous mode SSC mode and a data network name DNN to be identified of the terminal;
receiving and identifying a data connection result sent by the operator server based on the data connection request; wherein the data connection result comprises SSC mode illegal and/or DNN illegal;
correspondingly generating a new data connection request according to the data connection result and sending the new data connection request to the operator server; wherein the new data connection request correspondingly carries the adjusted SSC mode and/or the adjusted DNN.
In one embodiment, generating a new data connection request according to the data connection result and sending the new data connection request to the operator server includes:
in the case that the SSC mode is illegal, adjusting the SSC mode to be identified to be a legal SSC mode;
and generating a new data connection request based on the legal SSC mode and the DNN to be identified and sending the new data connection request to the operator server.
In one embodiment, the data connection result further carries a legal SSC mode, and in the case that the SSC mode is illegal, before adjusting the SSC mode to be identified to the legal SSC mode, the method further includes:
and analyzing the data connection result to obtain a legal SSC mode.
In one embodiment, the generating a new data connection request according to the data connection result and sending the new data connection request to the operator server includes:
under the condition that the SSC mode is illegal, sequentially and traversably selecting a candidate SSC mode from a preset SSC mode library as an adjusted SSC mode;
and generating a new data connection request based on the adjusted SSC mode and the DNN to be identified, and sending the new data connection request to the operator server until the data connection result represents that the SSC mode is legal.
In one embodiment, the generating a new data connection request according to the data connection result and sending the new data connection request to the operator server includes:
under the condition that DNN is illegal, adjusting DNN to be identified to be legal DNN;
and generating a new data connection request based on the legal DNN and the SSC mode to be identified and sending the new data connection request to the operator server.
In one embodiment, adjusting the DNN to be identified to be a legitimate DNN includes:
the DNN to be identified is adjusted to an empty DNN.
In one embodiment, generating a new data connection request according to the data connection result and sending the new data connection request to the operator server includes:
under the condition that DNN is illegal, sequentially traversing and selecting a candidate DNN from a preset DNN library to serve as the adjusted DNN;
and generating a new data connection request based on the adjusted DNN and the SSC mode to be identified and sending the new data connection request to the operator server until the data connection result represents that the DNN is legal.
A data connection apparatus comprising:
the first request sending module is used for sending a data connection request to an operator server; the data connection request carries a session to be identified, a service continuous mode SSC mode and a data network name DNN to be identified of the terminal;
the result receiving and identifying module is used for receiving and identifying a data connection result sent by the operator server based on the data connection request; wherein the data connection result comprises SSC mode illegal and/or DNN illegal;
the second request sending module is used for correspondingly generating a new data connection request according to the data connection result and sending the new data connection request to the operator server; wherein the new data connection request team correspondingly carries the adjusted SSC mode and/or the adjusted DNN.
A terminal device comprising a memory storing a computer program and a processor implementing the following steps when executing the computer program:
sending a data connection request to an operator server; the data connection request carries a session to be identified, a service continuous mode SSC mode and a data network name DNN to be identified of the terminal;
receiving and identifying a data connection result sent by the operator server based on the data connection request; wherein the data connection result comprises SSC mode illegal and/or DNN illegal;
correspondingly generating a new data connection request according to the data connection result and sending the new data connection request to the operator server; wherein the new data connection request correspondingly carries the adjusted SSC mode and/or the adjusted DNN.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
sending a data connection request to an operator server; the data connection request carries a session to be identified, a service continuous mode SSC mode and a data network name DNN to be identified of the terminal;
receiving and identifying a data connection result sent by the operator server based on the data connection request; wherein the data connection result comprises SSC mode illegal and/or DNN illegal;
correspondingly generating a new data connection request according to the data connection result and sending the new data connection request to the operator server; wherein the new data connection request correspondingly carries the adjusted SSC mode and/or the adjusted DNN.
According to the data connection method, the data connection device, the terminal equipment and the computer-readable storage medium, the data connection request carrying the SSC Mode to be identified and the DNN to be identified is sent to the operator server, the data connection result sent by the operator server based on the data connection request is received and identified, and under the condition that the data connection result comprises that the SSC Mode is illegal and/or the DNN is illegal, a new data connection request carrying the adjusted SSC Mode and/or the adjusted DNN is correspondingly generated and sent to the operator server so as to initiate the new data connection request to the operator server to carry out data connection again, and the problems that the data connection request is rejected due to the input error of the ModeSSC and/DNN and the problem cannot be recovered to enable the Internet to be accessed are avoided.
Drawings
FIG. 1 is a diagram of an application environment of a data connection method in one embodiment;
FIG. 2 is a flow diagram that illustrates a method for data connection in one embodiment;
FIG. 3 is a flow diagram of a method for data connection in an invalid SSC mode condition, according to an embodiment;
FIG. 4 is a flow chart illustrating a data connection method in the case of an invalid SSC mode in another embodiment;
FIG. 5 is a flowchart illustrating a data connection method under an illegal DNN condition in an embodiment;
FIG. 6 is a flowchart illustrating a data connection method under an illegal DNN condition in another embodiment;
FIG. 7 is a block diagram showing the construction of a data connection device according to an embodiment;
fig. 8 is an internal configuration diagram of a terminal device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The data connection method provided by the application can be applied to the application environment shown in fig. 1. Wherein the terminal device 102 communicates with the operator server 104 over a network. The terminal device 102 sends a data connection request carrying a session to be identified and a service continuous mode SSC mode of the terminal device 102 and a data network name DNN to be identified to the operator server 104, receives and identifies a data connection result which is sent by the operator server 104 based on the data connection request and comprises SSC mode illegal and/or DNN illegal, correspondingly generates a new data connection request carrying an adjusted SSC mode and/or adjusted DNN according to the data connection result, and sends the new data connection request to the operator server 104. The terminal device 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the operator server 104 may be implemented by an independent server or a server cluster formed by multiple servers.
In an embodiment, as shown in fig. 2, a data connection method is provided, which is described by taking the method as an example applied to the terminal device in fig. 1, and includes the following steps:
s210, sending a data connection request to an operator server.
The data connection request carries a session to be identified, a service continuity mode SSC and a data network name DNN to be identified of the terminal. A Session and Service Continuity Mode (SSC Mode) is one of attributes of a Protocol Data Unit (PDU) Session in a wireless communication system. In this embodiment, the process of sending the data connection request is a process of establishing a PDU session. Data Network Name (DNN) is used to characterize the type of Data Network, for example, DNN in china mobile is CMNET, DNN in china telecom is UNINET, and DNN in china telecom is CTNET.
In addition, the SSC Mode has three types, the SSC Mode 1 allocates a user plane session anchor point for the PDU session, and the user plane session anchor point is kept unchanged in the survival period of the whole PDU session, and in the Mode, the requirement of the PDU session on the continuity is high; SSC Mode 2 means that a user plane session anchor point is allocated for a PDU session, but the user plane session anchor point can only be kept in a certain service area, when a User (UE) removes from the service area of the user plane session anchor point, the UE needs to select a new user plane session anchor point, and under the Mode, the PDU session has low requirement on continuity but high requirement on service quality; SSC Mode 3 means that a user plane session anchor point to a Data Network (DN) has been allocated to a PDU session, and before the connection between the UE and the user plane session anchor point is terminated, a new PDU session to the DN is established for the UE, and a new user plane session anchor point is selected for the new PDU session, and the UE can transfer a Data stream to the new PDU session and delete the connection of the previous PDU session. The SSC Mode indicated by different operator servers is different.
Optionally, the terminal device provides the selected SSC Mode (SSC Mode 1 to SSC Mode 3) and the selected DNN (CMNET, UNINET, CTNET) for the user on the interface, and receives a selection instruction of the user for the selected SSC Mode and the selected DNN, wherein the selection instruction comprises the selected SSC Mode and the selected DNN, and the terminal device carries the selected SSC Mode and the selected DNN to send a data connection request to the operator server.
And S220, receiving and identifying a data connection result sent by the operator server based on the data connection request.
Wherein the data connection result comprises SSC mode illegal and/or DNN illegal.
Optionally, the operator server receives the data connection request sent by the terminal device, determines whether the SSC Mode to be identified and the DNN to be identified carried in the data connection request are legal, determines a data connection result according to the determination result, and feeds the data connection result back to the terminal device. For example, the operator server respectively judges whether the SSC Mode to be identified and the DNN to be identified carried in the received data connection request are the pre-stored SSC Mode and DNN, if both are the pre-stored SSC Mode and DNN, the operator server determines that the SSC Mode to be identified and the DNN to be identified carried in the data connection request sent by the terminal device are legal, determines that the data connection result is successful, and simultaneously sends the data connection result to the terminal device. If the SSC Mode to be identified is not the preset SSC Mode, the operator server determines that the data connection fails, and sends the invalid SSC Mode as a data connection result to the terminal equipment. Similarly, if the DNN to be identified is not the preset DNN, the operator server determines that the data connection fails and sends the DNN illegally serving as a data connection result to the terminal equipment.
Optionally, the terminal device receives a result identifier, which is sent by the operator server based on the data connection request and is used for ensuring the data connection result, and determines the data connection result corresponding to the result identifier according to a preset correspondence between the result identifier and the data connection result. For example, the correspondence between the pre-stored result identifier and the data connection result includes: result flag #68 indicates that the data connection result is not SSC Mode supported, i.e., SSC Mode is illegal, and result flag #91 indicates that the data connection result is not DNN recognized, i.e., DNN is illegal. And the operator server correspondingly returns result identification #68 and/or #91 to the terminal equipment under the condition that the SSC Mode is determined to be illegal and/or the DNN is determined to be illegal. The terminal equipment receives result identification #68 and/or #91 sent by the operator server based on the data connection request and used for representing that the data connection result is SSC Mode illegal and/or DNN illegal. The data connection result is determined by adopting the identification result identification, the result identification is simple and easy to identify, the identification process of the data connection result is simplified, and the identification efficiency of the data connection result is improved.
And S230, correspondingly generating a new data connection request according to the data connection result and sending the new data connection request to the operator server.
Wherein the new data connection request correspondingly carries the adjusted SSC mode and/or the adjusted DNN.
Optionally, when the data connection result is that the SSC Mode is illegal, correspondingly adjusting the SSC Mode to be identified carried in the data connection request to obtain an adjusted SSC Mode, and the terminal device generates a new data connection request by using the adjusted SSC Mode together with the previous DNN to be identified, and sends the new data connection request to the operator server.
Optionally, when the data connection result is that the DNN is illegal, the adjusted DNN is obtained corresponding to the DNN to be identified carried in the data connection adjustment request, and the terminal device generates a new data connection request by using the adjusted DNN together with the previous SSC Mode to be identified, and sends the new data connection request to the operator server.
Optionally, in the case that the result of the data connection is that the SSC Mode is illegal and the DNN is illegal, correspondingly adjusting the SSC Mode to be identified and the DNN to be identified carried in the data connection request to obtain an adjusted SSC Mode and an adjusted DNN, and the terminal device generates a new data connection request by using the adjusted SSC Mode and the adjusted DNN and sends the new data connection request to the operator server.
Optionally, the process of adjusting the SSC Mode to be identified and/or the DNN to be identified may be that the SSC Mode to be identified and/or the DNN to be identified are correspondingly adjusted to be the SSC Mode and/or the DNN pre-stored on the terminal device, and the pre-stored SSC Mode and/or the pre-stored DNN are valid SSC Mode and/or DNN stored locally after the terminal device is legally registered in the operator server. The SSC Mode/DNN identification method can be used for identifying the SSC Mode/DNN to be identified, and can be used for correspondingly adjusting the SSC Mode/DNN to be identified into the valid SSC Mode/DNN to be identified. The procedure for adjusting the SSC Mode to be identified and/or the DNN to be identified is not particularly limited herein.
In this embodiment, the terminal device sends a data connection request carrying the SSC Mode to be identified and the DNN to be identified to the operator server, receives and identifies a data connection result sent by the operator server based on the data connection request, and correspondingly generates a new data connection request carrying the adjusted SSC Mode and/or the adjusted DNN under the condition that the data connection result includes that the SSC Mode is illegal and/or the DNN is illegal, and sends the new data connection request to the operator server to initiate the new data connection request to perform data connection again, so that the problem that the data connection request is rejected and the problem cannot be recovered to access the internet due to an input error of the SSC Mode and/or the DNN is avoided.
In one embodiment, in a case that the result of the data connection is that the SSC mode is illegal, as shown in fig. 3, the S230 includes:
s310, if the SSC mode is illegal, the SSC mode to be identified is adjusted to be a legal SSC mode.
Optionally, the valid SSC mode is a local SSC mode pre-stored in the terminal device, and the local SSC mode is a valid SSC mode obtained after the terminal device is legally registered with the operator server. Specifically, the terminal equipment sends a registration request carrying the SSC mode to be registered to an operator server, after the registration request passes the verification of the operator server, the operator server feeds back the successful registration to the terminal equipment, the terminal equipment stores the SSC mode to be registered as a legal SSC mode in the local, and the SSC mode to be identified is adjusted to be the legal SSC mode prestored in the local of the terminal equipment under the condition that the data connection result sent by the operator server is received to be that the SSC mode is illegal.
In an optional embodiment, the data connection result further carries a legal SSC mode, that is, after the registration request passes the verification of the operator server, the operator server takes the SSC mode to be registered in the registration request as the legal SSC mode and stores the legal SSC mode, and when an invalid data connection result of the SSC mode is sent to the terminal device, the stored legal SSC mode is also carried in the data connection result and sent to the terminal device. And the terminal equipment analyzes the data connection result to obtain a legal SSC mode.
And S320, generating a new data connection request based on the legal SSC mode and the DNN to be identified, and sending the new data connection request to an operator server.
Specifically, the terminal device generates a new data connection request together with the obtained legal SSC mode and the previous DNN to be identified, and sends the new data connection request to the operator server. For example, the SSC mode to be identified is SSC mode 1, the DNN to be identified is CMNET, the data connection result sent by the operator server to the terminal device is that the SSC mode is illegal, the legal SSC mode stored locally in the terminal device is SSC mode 2, and the terminal device generates a new data connection request together with the SSC mode 2 and the CMNET and sends the new data connection request to the operator server.
In this embodiment, when the data connection result is that the SSC mode is illegal, the terminal device adjusts the SSC mode to be identified to a legal SSC mode, generates a new data connection request based on the legal SSC mode and the DNN to be identified, and sends the new data connection request to the operator server. The regulated legal SSC mode is carried to send a new data connection request to the operator server, so that the permanent connection refusal caused by the fact that the terminal equipment repeatedly sends the data connection request by adopting the illegal SSC mode is avoided, the problem that the terminal equipment cannot surf the internet due to the illegal SSC mode is recovered, and the internet surfing is successful.
In an embodiment, in the case that the SSC mode is a limited number, as shown in fig. 4, the S230 includes:
s410, under the condition that the SSC mode is illegal, sequentially and transversely selecting a candidate SSC mode from a preset SSC mode library to serve as the adjusted SSC mode.
The SSC mode base is preset in the terminal equipment and comprises three candidate SSC modes including SSC mode 1, SSC mode 2 and SSC mode 3.
Optionally, when the data connection result sent by the operator server is received by the terminal device and is an SSC mode, one candidate SSC mode is selected as the adjusted SSC mode in three candidate SSC modes in a preset SSC mode library in a sequentially traversing manner according to the sequence of the numbers from small to large.
And S420, generating a new data connection request based on the adjusted SSC mode and the DNN to be identified, and sending the new data connection request to the operator server until the data connection result represents that the SSC mode is legal.
Specifically, the terminal device generates a new data connection request together with the adjusted SSC mode and the previous DNN to be identified, sends the new data connection request to the operator server, and receives a data connection result returned by the operator server until the data connection result indicates that the SSC mode is legal. For example, the SSC mode to be identified is SSC mode 1, the DNN to be identified is CMNET, the data connection result sent by the operator server to the terminal device is that the SSC mode is illegal, the terminal device traverses three candidate SSC modes in the SSC mode library from small to large according to the number of the SSC modes, that is, the terminal device uses SSC mode 2 as the adjusted SSC mode, generates a new data connection request together with the CMNET and sends the new data connection request to the operator server, receives the data connection result returned by the operator server, and if the data connection result returned by the operator server is still the SSC mode illegal, the terminal device uses SSC mode 3 as the adjusted SSC mode, generates a new data connection request together with the CMNET and sends the new data connection request to the operator server, and receives the data connection result returned by the operator server until the data connection result represents that the mode is legal.
In this embodiment, because the number of SSC modes is limited, when receiving that the result of data connection is an SSC mode, the terminal device sequentially traverses and selects one candidate SSC mode from a preset SSC mode library as an adjusted SSC mode, and further generates a new data connection request based on the adjusted SSC mode and the DNN to be identified and sends the new data connection request to the operator server until the result of data connection represents that the SSC mode is legal, so that the adjustment of the illegal SSC mode to the legal SSC mode is realized, and the problem that the terminal device cannot surf the internet due to illegal SSC mode repeatedly sending data connection requests is avoided, so that the network access is successfully achieved.
In one embodiment, in a case that the data connection result is DNN illegal, as shown in fig. 5, the S230 includes:
and S510, under the condition that the DNN is illegal, adjusting the DNN to be identified to be legal DNN.
Optionally, the valid DNN is a local DNN pre-stored in the terminal device, where the local DNN is a valid DNN obtained after the terminal device is legally registered with the operator server. Specifically, the terminal device sends a registration request carrying DNN to be registered to an operator server, after the registration request passes the verification of the operator server, the operator server feeds back successful registration to the terminal device, the terminal device stores the DNN to be registered locally as legal DNN, and the DNN to be identified is adjusted to be the legal DNN prestored locally in the terminal device when the received DNN connection result sent by the operator server is that the DNN is illegal.
In an alternative embodiment, the terminal device may adjust the DNN to be identified to an empty DNN.
And S520, generating a new data connection request based on the legal DNN and the SSC mode to be identified, and sending the new data connection request to an operator server.
Specifically, the terminal device generates a new data connection request together with the obtained legal DNN and the previous SSC mode to be identified, and sends the new data connection request to the operator server. For example, the SSC mode to be identified is SSC mode 1, the DNN to be identified is CMNET, the data connection result sent by the operator server to the terminal device is that DNN is illegal, the terminal device adjusts CMNET to be null DNN, and generates a new data connection request together with SSC mode 1 and null DNN and sends the new data connection request to the operator server.
In this embodiment, when the data connection result is that the DNN is illegal, the terminal device adjusts the DNN to be identified to a legal DNN, and generates a new data connection request based on the legal DNN and the SSC mode to be identified, and sends the new data connection request to the operator server. The regulated legal DNN is carried to initiate a new data connection request to the operator server in the mode, so that the phenomenon that the terminal equipment adopts the illegal DNN to repeatedly send the data connection request to cause permanent connection refusal is avoided, the problem that the terminal equipment cannot surf the internet due to the illegal DNN is recovered, and the internet surfing is successful.
In an embodiment, in the case that the DNN is a limited number, as shown in fig. 6, the step S230 includes:
s610, under the condition that the DNN is illegal, one candidate DNN is sequentially selected from a preset DNN library in a traversing mode to serve as the adjusted DNN.
The terminal equipment is preset with a DNN library, wherein the DNN library comprises three candidate DNNs including CMNET, UNINET and CTNET.
Optionally, when the data connection result received by the terminal device and sent by the operator server is that the DNN is illegal, sequentially selecting one candidate DNN as the adjusted DNN from three candidate DNNs in a preset DNN library in a traversing manner according to the sequence of mobile-unicom-telecommunications.
S620, generating a new data connection request based on the adjusted DNN and the SSC mode to be identified and sending the new data connection request to an operator server until the data connection result represents that the DNN is legal.
Specifically, the terminal device generates a new data connection request together with the adjusted DNN and the previous SSC mode to be identified, sends the new data connection request to the operator server, and receives a data connection result returned by the operator server until the data connection result indicates that the DNN is legal. For example, the SSC mode to be identified is SSC mode 1, the DNN to be identified is CMNET, the data connection result sent by the operator server to the terminal device is DNN illegal, the terminal device traverses three candidate DNNs in the DNN library according to the mobile-unicom-telecommunications sequence, that is, the terminal device uses UNINET as the adjusted DNN, generates a new data connection request together with SSC mode 1 and sends the new data connection request to the operator server, and receives the data connection result returned by the operator server, if the data connection result returned by the operator server is still DNN illegal, the terminal device uses CTNET as the adjusted DNN, generates a new data connection request together with SSC mode 1 and sends the new data connection request to the operator server, and receives the data connection result returned by the operator server until the data connection result represents that the DNN is legal.
In this embodiment, as the DNNs are limited, when the terminal device receives a data connection result that the DNN is illegal, the terminal device sequentially traverses and selects one candidate DNN from a preset DNN library as an adjusted DNN, and then generates a new data connection request based on the adjusted DNN and the SSC mode to be identified and sends the new data connection request to the operator server until the data connection result represents that the DNN is legal, so as to adjust the illegal DNN to the legal DNN, thereby avoiding permanent connection refusal caused by the terminal device repeatedly sending the data connection request by adopting the illegal DNN, and recovering the problem that the terminal device cannot surf the internet due to the illegal DNN, and successfully surf the internet.
It should be understood that although the various steps in the flow charts of fig. 2-6 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 limited to being performed in the exact order illustrated and, unless explicitly stated herein, may be performed in other orders. Moreover, at least some of the steps in fig. 2-6 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
In one embodiment, as shown in fig. 7, there is provided a data connection apparatus including: a first request sending module 701, a result receiving and identifying module 702, and a second request sending module 703, wherein:
the first request sending module 701 is configured to send a data connection request to an operator server; the data connection request carries a session to be identified, a service continuous mode SSC mode and a data network name DNN to be identified of the terminal;
the result receiving and identifying module 702 is configured to receive and identify a data connection result sent by the operator server based on the data connection request; wherein the data connection result comprises SSC mode illegal and/or DNN illegal;
the second request sending module 703 is configured to generate a new data connection request according to the data connection result and send the new data connection request to the operator server; wherein the new data connection request correspondingly carries the adjusted SSC mode and/or the adjusted DNN.
In one embodiment, the second request sending module 703 is specifically configured to:
in the case that the SSC mode is illegal, adjusting the SSC mode to be identified to be a legal SSC mode; and generating a new data connection request based on the legal SSC mode and the DNN to be identified and sending the new data connection request to the operator server.
In one embodiment, the data connection result further carries a legal SSC mode, and the second request sending module 703 is further configured to:
and analyzing the data connection result to obtain a legal SSC mode.
In one embodiment, the second request sending module 703 is specifically configured to:
under the condition that the SSC mode is illegal, sequentially selecting a candidate SSC mode from a preset SSC mode library in a traversing manner to serve as the adjusted SSC mode; and generating a new data connection request based on the adjusted SSC mode and the DNN to be identified and sending the new data connection request to the operator server until the data connection result represents that the SSC mode is legal.
In one embodiment, the second request sending module 703 is specifically configured to:
under the condition that the DNN is illegal, adjusting the DNN to be identified to be legal DNN; and generating a new data connection request based on the legal DNN and the SSC mode to be identified and sending the new data connection request to the operator server.
In one embodiment, the second request sending module 703 is specifically configured to:
the DNN to be identified is adjusted to an empty DNN.
In one embodiment, the second request sending module 703 is specifically configured to:
under the condition that DNN is illegal, sequentially traversing and selecting a candidate DNN from a preset DNN library to serve as the adjusted DNN; and generating a new data connection request based on the adjusted DNN and the SSC mode to be identified and sending the new data connection request to the operator server until the data connection result represents that the DNN is legal.
For specific definition of the data connection device, reference may be made to the definition of the data connection method above, and details are not described here. The various modules in the data connection apparatus described above may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a terminal device is provided, and the internal structure of the terminal device can be as shown in fig. 8. The terminal equipment comprises a processor, a memory, a communication interface, a display screen and an input device which are connected through a system bus. Wherein the processor of the terminal device is configured to provide computing and control capabilities. The memory of the terminal equipment comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the terminal device is used for communicating with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a data connection method. The display screen of the terminal equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the terminal equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the terminal equipment, an external keyboard, a touch pad or a mouse and the like.
It will be understood by those skilled in the art that the structure shown in fig. 8 is a block diagram of only a part of the structure related to the present application, and does not constitute a limitation to the terminal device to which the present application is applied, and a specific terminal device may include more or less components than those shown in the figure, or combine some components, or have a different arrangement of components.
In one embodiment, there is provided a terminal device comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program implementing the steps of:
sending a data connection request to an operator server; the data connection request carries a session to be identified, a service continuous mode SSC mode and a data network name DNN to be identified of the terminal; receiving and identifying a data connection result sent by the operator server based on the data connection request; wherein the data connection result comprises SSC mode illegal and/or DNN illegal; correspondingly generating a new data connection request according to the data connection result and sending the new data connection request to an operator server; wherein the new data connection request correspondingly carries the adjusted SSC mode and/or the adjusted DNN.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
in the case that the SSC mode is illegal, adjusting the SSC mode to be identified to be a legal SSC mode; and generating a new data connection request based on the legal SSC mode and the DNN to be identified and sending the new data connection request to the operator server.
In one embodiment, the data connection result further carries a legal SSC mode, and the processor when executing the computer program further performs the following steps:
and analyzing the data connection result to obtain a legal SSC mode.
In one embodiment, the processor when executing the computer program further performs the steps of:
under the condition that the SSC mode is illegal, sequentially selecting a candidate SSC mode from a preset SSC mode library in a traversing manner to serve as the adjusted SSC mode; and generating a new data connection request based on the adjusted SSC mode and the DNN to be identified, and sending the new data connection request to the operator server until the data connection result represents that the SSC mode is legal.
In one embodiment, the processor when executing the computer program further performs the steps of:
under the condition that the DNN is illegal, adjusting the DNN to be identified to be legal DNN; and generating a new data connection request based on the legal DNN and the SSC mode to be identified and sending the new data connection request to the operator server.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
the DNN to be identified is adjusted to an empty DNN.
In one embodiment, the processor when executing the computer program further performs the steps of:
under the condition that DNN is illegal, sequentially traversing and selecting a candidate DNN from a preset DNN library to serve as the adjusted DNN; and generating a new data connection request based on the adjusted DNN and the SSC mode to be identified and sending the new data connection request to the operator server until the data connection result represents that the DNN is legal.
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:
sending a data connection request to an operator server; the data connection request carries a session to be identified, a service continuous mode SSC mode and a data network name DNN to be identified of the terminal; receiving and identifying a data connection result sent by the operator server based on the data connection request; wherein the data connection result comprises SSC mode illegal and/or DNN illegal; correspondingly generating a new data connection request according to the data connection result and sending the new data connection request to an operator server; wherein the new data connection request correspondingly carries the adjusted SSC mode and/or the adjusted DNN.
In one embodiment, the computer program when executed by the processor further performs the steps of:
in the case that the SSC mode is illegal, adjusting the SSC mode to be identified to be a legal SSC mode; and generating a new data connection request based on the legal SSC mode and the DNN to be identified and sending the new data connection request to the operator server.
In an embodiment, the data connection result further carries a legitimate SSC mode, the computer program when executed by the processor further performing the steps of:
and analyzing the data connection result to obtain a legal SSC mode.
In one embodiment, the computer program when executed by the processor further performs the steps of:
under the condition that the SSC mode is illegal, sequentially selecting a candidate SSC mode from a preset SSC mode library in a traversing manner to serve as the adjusted SSC mode; and generating a new data connection request based on the adjusted SSC mode and the DNN to be identified, and sending the new data connection request to the operator server until the data connection result represents that the SSC mode is legal.
In one embodiment, the computer program when executed by the processor further performs the steps of:
under the condition that DNN is illegal, adjusting DNN to be identified to be legal DNN; and generating a new data connection request based on the legal DNN and the SSC mode to be identified and sending the new data connection request to the operator server.
In one embodiment, the computer program when executed by the processor further performs the steps of:
the DNN to be identified is adjusted to an empty DNN.
In one embodiment, the computer program when executed by the processor further performs the steps of:
under the condition that DNN is illegal, sequentially traversing and selecting a candidate DNN from a preset DNN library to serve as the adjusted DNN; and generating a new data connection request based on the adjusted DNN and the SSC mode to be identified and sending the new data connection request to the operator server until the data connection result represents that the DNN is legal.
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 can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), for example.
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 invention. 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, and these are all within the scope of protection of the present application. Therefore, the protection scope of the present patent application shall be subject to the appended claims.

Claims (10)

1. A method for data connectivity, the method comprising:
sending a data connection request to an operator server; the data connection request carries a session to be identified, a service continuous mode SSC mode and a data network name DNN to be identified of the terminal;
receiving a result identifier which is sent by the operator server based on the data connection request and used for ensuring a data connection result, and identifying the data connection result corresponding to the result identifier according to the corresponding relation between a preset result identifier and the data connection result; wherein the data concatenation result comprises SSC mode illegal and/or DNN illegal;
correspondingly generating a new data connection request according to the data connection result and sending the new data connection request to the operator server; wherein the new data connection request correspondingly carries the adjusted SSC mode and/or the adjusted DNN.
2. The method of claim 1, wherein the generating and sending a new data connection request to the operator server according to the data connection result comprises:
in the case that the SSC mode is illegal, adjusting the SSC mode to be identified to be a legal SSC mode;
and generating the new data connection request based on the legal SSC mode and the DNN to be identified and sending the new data connection request to the operator server.
3. The method of claim 2, wherein the data connection result further carries a legal SSC mode, and in the case that the SSC mode is illegal, before adjusting the SSC mode to be identified to the legal SSC mode, further comprising:
and analyzing the data connection result to obtain the legal SSC mode.
4. The method of claim 1, wherein the generating and sending a new data connection request to the operator server according to the data connection result comprises:
under the condition that the SSC mode is illegal, sequentially and traversably selecting a candidate SSC mode from a preset SSC mode library as the adjusted SSC mode;
and generating a new data connection request based on the adjusted SSC mode and the DNN to be identified and sending the new data connection request to the operator server until the data connection result represents that the SSC mode is legal.
5. The method of claim 1, wherein the generating and sending a new data connection request to the operator server according to the data connection result comprises:
under the condition that the DNN is illegal, adjusting the DNN to be identified to be legal DNN;
and generating the new data connection request based on the legal DNN and the SSC mode to be identified and sending the new data connection request to the operator server.
6. The method of claim 5, wherein the adjusting the DNN to be identified to a legitimate DNN comprises:
adjusting the DNN to be identified to an empty DNN.
7. The method of claim 1, wherein the generating and sending a new data connection request to the operator server according to the data connection result comprises:
under the condition that the DNN is illegal, sequentially traversing and selecting a candidate DNN from a preset DNN library to serve as the adjusted DNN;
and generating a new data connection request based on the adjusted DNN and the SSC mode to be identified and sending the new data connection request to the operator server until the data connection result represents that the DNN is legal.
8. A data connection apparatus, the apparatus comprising:
the first request sending module is used for sending a data connection request to an operator server; the data connection request carries a session to be identified, a service continuous mode SSC mode and a data network name DNN to be identified of the terminal;
a result receiving and identifying module, configured to receive a result identifier, which is sent by the operator server based on the data connection request and is used to guarantee a data connection result, and identify, according to a correspondence between a preset result identifier and the data connection result, the data connection result corresponding to the result identifier; wherein the data concatenation result comprises SSC mode illegal and/or DNN illegal;
the second request sending module is used for correspondingly generating a new data connection request according to the data connection result and sending the new data connection request to the operator server; wherein the new data connection request correspondingly carries the adjusted SSC mode and/or the adjusted DNN.
9. A terminal 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 according to any of claims 1 to 7.
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 7.
CN202110301814.9A 2021-03-22 2021-03-22 Data connection method, device, terminal equipment and computer readable storage medium Active CN113194549B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110301814.9A CN113194549B (en) 2021-03-22 2021-03-22 Data connection method, device, terminal equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110301814.9A CN113194549B (en) 2021-03-22 2021-03-22 Data connection method, device, terminal equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN113194549A CN113194549A (en) 2021-07-30
CN113194549B true CN113194549B (en) 2022-07-22

Family

ID=76973563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110301814.9A Active CN113194549B (en) 2021-03-22 2021-03-22 Data connection method, device, terminal equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113194549B (en)

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3525545B1 (en) * 2016-10-07 2021-07-14 LG Electronics Inc. Methods for selecting session and service continuity mode in a wireless communication system
CN109104394B (en) * 2017-06-20 2022-01-21 华为技术有限公司 Session processing method and device
WO2019033269A1 (en) * 2017-08-15 2019-02-21 华为技术有限公司 Method and device for establishing session
CN109673046B (en) * 2017-10-16 2021-02-09 华为技术有限公司 Mobility management method, terminal and core network equipment
CN109819485B (en) * 2017-11-21 2020-11-27 华为技术有限公司 Communication method, device and system
CN110149651B (en) * 2018-02-13 2021-09-14 华为技术有限公司 Method and device for determining SSC mode
CN108541035A (en) * 2018-05-04 2018-09-14 广东工业大学 A kind of business model variation, device and medium based on 5G networks
US11129061B1 (en) * 2018-11-07 2021-09-21 Telefonaktiebolaget Lm Ericsson (Publ) Local identifier locator network protocol (ILNP) breakout
CN112261717B (en) * 2020-09-15 2024-06-21 深圳市广和通无线股份有限公司 Network registration method, device, user terminal and storage medium
CN112312393A (en) * 2020-11-13 2021-02-02 国网安徽省电力有限公司信息通信分公司 5G application access authentication method and 5G application access authentication network architecture

Also Published As

Publication number Publication date
CN113194549A (en) 2021-07-30

Similar Documents

Publication Publication Date Title
US10212217B2 (en) Method and apparatus for data transmission in a distributed storage system
US9154955B1 (en) Authenticated delivery of premium communication services to trusted devices over an untrusted network
EP4061036A1 (en) Method for establishing wi-fi connection between terminal and wireless access point
CN111262865B (en) Method, device and system for making access control strategy
CN110944319B (en) 5G communication identity verification method, equipment and storage medium
CN111132305B (en) Method for 5G user terminal to access 5G network, user terminal equipment and medium
CN110177039B (en) Message sharing method and device, computer equipment and storage medium
CN113114623B (en) Data connection method, device, terminal equipment and computer readable storage medium
CN111970330A (en) Network communication method, device, computer equipment and storage medium
CN105635124A (en) Flow control method and device
CN114338130A (en) Information processing method, device, server and storage medium
CN113297559B (en) Single sign-on method and device, computer equipment and storage medium
CN113194549B (en) Data connection method, device, terminal equipment and computer readable storage medium
JP2004021686A (en) Verification processing system, verification processor, program, and verification processing method
CN111093196B (en) Method for 5G user terminal to access 5G network, user terminal equipment and medium
CN107819729B (en) Data request method and system, access device, storage device and storage medium
CN110673970B (en) Cross-process calling system and method based on web application
CN112153168B (en) Network access method, device, computer equipment and storage medium
CN114448722A (en) Cross-browser login method and device, computer equipment and storage medium
CN110248326B (en) Data processing method and device
CN112188591A (en) Network access method, device, computer equipment and storage medium
CN115150258A (en) CDN node configuration method, system and storage medium
CN106470411A (en) Build the method and device of associated person information
CN113840313A (en) Network mode control method and device of mobile terminal and computer equipment
CN113312571B (en) Page management 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