Network connection method, electronic device, readable storage medium and chip

By obtaining the release status information of the PDU session, judging the abnormality of the SA cell and switching to the target cell connection, the problem that the SA cell cannot serve all users at the same time in crowded places is solved, and the stability and continuity of the network connection are achieved.

CN115175375BActive Publication Date: 2025-08-19VIVO MOBILE COMM CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210936716.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-05
Publication Date
2025-08-19
Estimated Expiration
2042-08-05

AI Technical Summary

Technical Problem

In crowded places, independent networking SA cells cannot provide network services to all users at the same time, resulting in some users being unable to connect to the network or being released, and the existing network connection methods are poor.

Method used

By obtaining the release status information of the PDU session, it is determined whether the SA cell is in an abnormal state, and switches to the target cell connection when the abnormality is performed. The release status information includes time difference and release times, etc.

Benefits of technology

It improves the network connection stability of electronic devices when SA cell is abnormal, ensuring that the device can switch to other cells in time to maintain normal connection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115175375B_ABST
    Figure CN115175375B_ABST
Patent Text Reader

Abstract

The present application discloses a network connection method, an electronic device, a readable storage medium, and a chip, which belong to the field of network connection technology. The network connection method is applied to an electronic device, and the method comprises: obtaining release status information of a first protocol data unit (PDU) session when the electronic device establishes a network connection with a first independent networking SA cell, the first PDU session being a PDU session between the electronic device and the first SA cell; and establishing a network connection with a target cell when it is determined that the first SA cell is in an abnormal state based on the release status information, the target cell being a cell other than the first SA cell.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of network connection technology, and in particular to a network connection method, electronic device, readable storage medium, and chip. Background Art

[0002] In the related art, in some crowded places, the corresponding standalone (SA) cell may not be able to provide network services to all users in the place at the same time. As a result, some users may not be able to successfully connect to the network, or the network connection may be released after some users successfully connect to the network. Therefore, the existing network connection methods have the problem of poor connection performance. Summary of the Invention

[0003] The present application provides a network connection method, electronic device, readable storage medium and chip, which can improve the network connection effect of electronic devices.

[0004] In a first aspect, an embodiment of the present application provides a network connection method, applied to an electronic device, the method comprising:

[0005] When the electronic device establishes a network connection with a first standalone network SA cell, obtaining release status information of a first protocol data unit PDU session, where the first PDU session is a PDU session between the electronic device and the first SA cell;

[0006] When it is determined based on the release status information that the first SA cell is in an abnormal state, a network connection with a target cell is established, where the target cell is a cell other than the first SA cell.

[0007] In a second aspect, an embodiment of the present application provides an electronic device, including:

[0008] an acquisition module, configured to acquire release status information of a first protocol data unit (PDU) session when the electronic device establishes a network connection with a first independent network (SA) cell, where the first PDU session is a PDU session between the electronic device and the first SA cell;

[0009] A connection module is used to establish a network connection with a target cell when it is determined based on the release status information that the first SA cell is in an abnormal state, where the target cell is a cell other than the first SA cell.

[0010] In a third aspect, an embodiment of the present application provides an electronic device comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps described in the first aspect above.

[0011] In a fourth aspect, an embodiment of the present application provides a readable storage medium, characterized in that a program or instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps described in the first aspect are implemented.

[0012] In a fifth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction, which implements the steps described in the first aspect when executed by the processor.

[0013] In an embodiment of the present disclosure, when an electronic device establishes a network connection with a first SA cell, it is determined whether the first SA cell is in an abnormal state based on the release status information of the first PDU session, and when the first SA cell is in an abnormal state, a network connection between the electronic device and the target cell is established. In this way, since it is possible to timely identify whether the first SA cell is in an abnormal state based on the release status information of the first PDU session, and when it is identified that the first SA cell is in an abnormal state, the network connection of the electronic device is switched to other cells, it is beneficial for the electronic device to maintain a normal network connection. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 This is one of the flowcharts of the network connection method provided in the embodiment of the present application;

[0015] Figure 2 This is the second flow chart of the network connection method provided in the embodiment of the present application;

[0016] Figure 3 This is the third flow chart of the network connection method provided in the embodiment of the present application;

[0017] Figure 4 This is one of the structural diagrams of an electronic device provided in an embodiment of the present application;

[0018] Figure 5 This is a second structural diagram of an electronic device provided in an embodiment of the present application;

[0019] Figure 6 is a structural diagram of another electronic device provided in an embodiment of the present application;

[0020] Figure 7This is a schematic diagram of the hardware structure of the electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

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

[0022] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "and / or" in the specification and claims refers to at least one of the connected objects, and the character " / " generally indicates that the objects connected are in an "or" relationship.

[0023] The network connection method, electronic device, readable storage medium, and chip provided in the embodiments of the present application are described in detail below with reference to specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0024] See Figure 1 , is a flow chart of a network connection method provided by an embodiment of the present disclosure, the network connection method is applied to an electronic device, and the method includes the following steps:

[0025] Step S101: When the electronic device establishes a network connection with a first standalone network SA cell, obtain release status information of a first protocol data unit (PDU) session, where the first PDU session is a PDU session between the electronic device and the first SA cell;

[0026] Step S102: When it is determined based on the release status information that the first SA cell is in an abnormal state, a network connection with a target cell is established, where the target cell is a cell other than the first SA cell.

[0027] The electronic device may be various types of user equipment (UE) carried by a user. For ease of understanding, the electronic device is hereinafter referred to as UE.

[0028] The above-mentioned first SA cell can be a fifth generation mobile communication technology (5th Generation Mobile Communication Technology, 5G) SA cell.

[0029] The above-mentioned electronic device establishing a network connection with the first independent network SA cell may refer to: the UE establishing a network connection with the base station corresponding to the first SA cell. The specific network connection process may be:

[0030] The UE sends a PDU SESSION ESTABLISH REQTEST request to the base station of the first SA cell, wherein the PDU SESSION ESTABLISH REQTEST request is used to request the creation of the first PDU session; the base station of the first SA cell responds to the PDU SESSION ESTABLISH REQTEST request and sends a PDU SESSION ESTABLISHACCEPT message to the UE, wherein the PDU SESSION ESTABLISH ACCEPT message is a PDU session request acceptance message. After these two steps, the UE's network connection process is completed, and the process of creating the first PDU session is completed. At this time, the UE can access the Internet normally.

[0031] When a large number of different UEs establish network connections with the base station of the first SA cell at the same time, since the first SA cell may not be able to meet the Internet access needs of a large number of UEs at the same time, the first SA cell will actively disconnect the network connections of some UEs, that is, disconnect the PDU sessions of some UEs. After the first SA cell disconnects the PDU session between it and the UE, it will send a PDU release command to the UE: PDU SESSION RELEASE COMMAND.

[0032] Based on this, in one embodiment of the present disclosure, the release status information may include the PDU release command. It is also possible to predefine the situations in which a received PDU release command indicates a normal SA cell state, and to predefine the situations in which a received PDU release command indicates an abnormal SA cell state. Then, based on the release status information, it is possible to determine whether the first SA cell is in an abnormal state.

[0033] It is understandable that the above-mentioned first SA cell is in an abnormal state: it may mean that the first SA cell itself has a fault, or it may mean that the first SA cell is in an overload state due to an excessive number of UEs connected to the first SA cell.

[0034] The target cell may be any other cell other than the first SA cell that can provide network services for the electronic device, wherein the electronic device is located within the network coverage of the target cell.

[0035] In this implementation, when an electronic device establishes a network connection with a first SA cell, it is determined whether the first SA cell is in an abnormal state based on the release status information of the first PDU session, and when the first SA cell is in an abnormal state, a network connection between the electronic device and the target cell is established. In this way, since it is possible to timely identify whether the first SA cell is in an abnormal state based on the release status information of the first PDU session, and when it is identified that the first SA cell is in an abnormal state, the network connection of the electronic device is switched to other cells, it is beneficial for the electronic device to maintain a normal network connection.

[0036] Optionally, the release status information includes a first time difference, where the first time difference includes a time difference between a time point when the first PDU session is created and a time point when the first PDU session is released; before establishing a network connection between the electronic device and the target cell, the method further includes:

[0037] When the first time difference is less than a first preset value, it is determined that the first SA cell is in an abnormal state.

[0038] Specifically, a first timer can be pre-configured in the electronic device, wherein when the electronic device receives the PDU SESSION ESTABLISH ACCEPT message, that is, when the electronic device successfully establishes a network connection with the first SA cell, the first timer is controlled to start timing. When the PDU SESSION RELEASE COMMAND is received, that is, when the electronic device disconnects the network connection with the first SA cell, the first timer is controlled to end timing. The first time difference can be obtained by reading the timing duration of the first timer.

[0039] It is understandable that the first time difference may be a relatively short time difference, for example, the value range of the first time difference may be 0 to 10 seconds. That is, after the electronic device establishes a network connection with the first SA cell, the established network connection is immediately released by the first SA cell. In this case, it can be considered that the first SA cell is abnormal.

[0040] See Figure 2 , is a flow chart of a network connection method provided by an embodiment of the present disclosure, the method comprising the following steps:

[0041] After the electronic device is stationed in the first SA cell, it establishes a data PDU and sends a PDU session establishment request (PDU SESSION ESTABLISH REQTEST request) to the base station of the first SA cell;

[0042] The base station of the first SA cell sends a PDU session request acceptance message (PDU SESSION ESTABLISH ACCEPT message) to the electronic device in response to the PDU session establishment request. After receiving the PDU session establishment request acceptance message, the electronic device starts a first timer.

[0043] If the PDU session release command (PDU SESSION RELEASE COMMAND) is not received before the first timer expires, the electronic device normally resides in the first SA cell, wherein the timing duration set by the first timer is the size of the first time difference;

[0044] If the PDU session release command is received before the first timer expires, it is determined that the first SA cell is in an abnormal state, and a network connection is established between the electronic device and the target cell.

[0045] It is understandable that after the first timer times out, if the network connection between the electronic device and the first SA cell is released, it is deemed to be released normally, that is, the first SA cell is deemed to be in a normal state. In this case, the electronic device establishes a network connection with the first SA cell again, and after successfully establishing a network connection with the first SA cell, the first timer is started to re-time, and the above judgment process is repeated, that is, before the first timer times out, the network connection between the electronic device and the first SA cell is released, then it is determined that the first SA cell is in an abnormal state.

[0046] In addition, in another embodiment of the present disclosure, after receiving the PDU session release command, it is also possible to determine whether the first timer has timed out to determine whether the first SA cell is in an abnormal state. Specifically, after receiving the PDU session release command, if the first timer has timed out, it is determined that the first SA cell is in a normal state. Correspondingly, after receiving the PDU session release command, if the first timer has not timed out, it is determined that the first SA cell is in an abnormal state.

[0047] In this embodiment, by determining the time difference between the time point when the first PDU session is created and the time point when the first PDU session is released, and when the time difference is less than a first preset value, it is determined that the first SA cell is in an abnormal state. That is, after the electronic device establishes a network connection with the first SA cell, when it is released within a short time, it is determined that the first SA cell is in an abnormal state, thereby realizing determining whether the first SA cell is in an abnormal state based on the release status information.

[0048] Optionally, the release status information includes a release count, where the release count includes: the number of times the first PDU session between the electronic device and the first SA cell is released within a preset time period. Before establishing a network connection between the electronic device and the target cell, the method further includes:

[0049] Within the preset time period, upon receiving a first PDU session release command sent by the first SA cell, re-establishing the first PDU session with the first SA cell;

[0050] When the number of release times is greater than a second preset value, it is determined that the first SA cell is in an abnormal state.

[0051] The preset time period may be a relatively short time period, for example, 1-3 minutes. The preset number of times may be 3-5 times, that is, within a relatively short time period, the electronic device establishes a network connection with the first SA cell multiple times, and the multiple established network connections are all released. At this time, it can be determined that the first SA cell is in an abnormal state.

[0052] Specifically, see Figure 3 In one embodiment of the present disclosure, a network connection method is provided, which specifically includes the following steps:

[0053] Step S301: After the electronic device is stationed in the first SA cell, it establishes a data PDU and sends a PDU session establishment request (PDU SESSION ESTABLISH REQTEST request) to the base station of the first SA cell.

[0054] Step S302: The base station of the first SA cell sends a PDU session request accept message (PDU SESSION ESTABLISH ACCEPT message) to the electronic device in response to the PDU session establishment request to establish a network connection.

[0055] Step S303: When the PDU session release command is received for the first time, a second timer and a counter are started, wherein the timing duration of the second timer is the size of the preset time period, and the initial value of the counter is n=1;

[0056] Step S304: Send a PDU session establishment request to the base station of the first SA cell again;

[0057] Step S305: The base station of the first SA cell sends a PDU session request accept message to the electronic device in response to the PDU session establishment request;

[0058] Step S306: When a PDU session release command is received, the counter is incremented by 1, i.e., n=n+1;

[0059] Step S307: Determine whether the second timer has timed out; if the second timer has not timed out, return to step S304;

[0060] Step S308: When the second timer times out, determine whether n is less than or equal to the preset number of times; if so, stay normally;

[0061] Step S309: If n is greater than a preset number of times, it is determined that the first SA cell is in an abnormal state;

[0062] Step S310: Establish a network connection with the target cell, so as to access the Internet normally.

[0063] In this embodiment, by determining the number of times the first PDU session between the electronic device and the first SA cell is released within a preset time period, and when the number of releases is greater than a second preset value, it is determined that the first SA cell is in an abnormal state, that is, when the number of times the network connection between the electronic device and the first SA cell is released exceeds the set number within a short period of time, it is determined that the first SA cell is in an abnormal state, thereby realizing determining whether the first SA cell is in an abnormal state based on the release status information.

[0064] In one embodiment of the present disclosure, whether the first SA cell is in an abnormal state can be determined by simultaneously judging whether the first time difference is a first preset value and whether the number of releases is greater than a second preset value, wherein the first preset value is less than the duration of the preset time period, that is, the timing duration of the above-mentioned first timer is less than the timing duration of the second timer.

[0065] Optionally, the electronic device is pre-configured with frequency information of at least two candidate cells, the at least two candidate cells include at least one of a second SA cell and a Long Term Evolution (LTE) cell, and the target cell is any candidate cell of the at least two candidate cells, and establishing a network connection between the electronic device and the target cell includes:

[0066] A network connection with the target cell is established based on the frequency information of the target cell.

[0067] Specifically, since the coverage of adjacent cells of the same type usually has overlapping areas, and the coverage of cells of different types also has overlapping areas, when the electronic device is stationed in the first SA cell, it can also establish a network connection with other cells. The frequency of the candidate cells and the coverage of the candidate cells can be pre-configured in the electronic device. In this way, when the first SA cell is in an abnormal state, the electronic device can determine from the configuration information the at least two candidate cells that can normally provide network services for it, and can determine the target cell among the at least two candidate cells, and at the same time, establish a network connection with the target cell based on the frequency of the target cell, wherein the process of establishing a network connection between the electronic device and the target cell is similar to the above process, that is, by sending a PUD session creation request to the base station of the target cell, and after receiving the PUD session creation reception message sent by the base station of the target cell, the network connection process is completed.

[0068] In this implementation, by establishing a network connection between the electronic device and the target cell when the first SA cell is in an abnormal state, it can be ensured that Internet access services can be normally provided to the electronic device.

[0069] Optionally, before establishing the network connection between the electronic device and the target cell, the method further includes:

[0070] In a case where the at least two candidate cells include at least one second SA cell, determining the target cell among the at least one second SA cell;

[0071] In a case where the at least two candidate cells do not include the second SA cell, the target cell is determined in at least one LTE cell.

[0072] Among them, when the at least two candidate cells do not include the second SA cell, determining the target cell in at least one LTE cell can specifically refer to: when the at least two candidate cells do not include the second SA cell, and the at least two candidate cells include at least one LTE cell, determining the target cell in the at least one LTE cell.

[0073] Since the Internet access service provided by the SA cell is faster than that provided by the LTE cell, when the at least two candidate cells include the second SA cell, the target cell may be preferentially determined from the second SA cell to improve the quality of the network service. Accordingly, when the at least two candidate cells do not include the SA cell, the target cell is determined from the LTE cell to normally provide the network service to the electronic device.

[0074] Optionally, before establishing the network connection between the electronic device and the target cell, the method further includes:

[0075] Acquiring signal strength information of the at least two candidate cells;

[0076] The candidate cell with the strongest signal strength among the at least two candidate cells is determined as the target cell.

[0077] The electronic device may directly download the signal strength of the candidate cell.

[0078] In this implementation, the candidate cell with the strongest signal strength among the at least two candidate cells is determined as the target cell, which is beneficial to improving the quality of network services.

[0079] In another embodiment of the present disclosure, before establishing the network connection between the electronic device and the target cell, the method further includes:

[0080] In a case where the at least two candidate cells include at least two second SA cells, determining the second SA cell with the strongest signal strength among the at least two second SA cells as the target cell;

[0081] In a case where the at least two candidate cells do not include the second SA cell and the at least two candidate cells include at least two LTE cells, the LTE cell with the strongest signal strength among the at least two LTE cells is determined as the target cell.

[0082] Optionally, when it is determined based on the release status information that the first SA cell is in an abnormal state, the method further includes:

[0083] Add the first SA cell to the locally cached list of abnormal 5G SA cells.

[0084] Among them, the abnormal 5G SA cell list can cache the cell frequency information of the cells determined as abnormal cells by the electronic device within a preset time length. In this way, when the electronic device connects to the network, it can choose to establish a network connection with other cells outside the abnormal 5G SA cell list to improve the success rate of the network connection. It can be understood that the first SA cell only stores the cell frequency information of the cells determined as abnormal cells by the electronic device within the preset time length. The cells determined as abnormal by the electronic device will be removed from the abnormal 5G SA cell list when the preset time length is exceeded. In this way, it can be ensured that such cells can provide network services to the electronic device normally after returning to normal.

[0085] See Figure 4 , is a structural diagram of an electronic device 400 provided in an embodiment of the present disclosure, wherein the electronic device 400 includes:

[0086] An acquiring module 401 is configured to acquire release status information of a first protocol data unit (PDU) session when the electronic device 400 establishes a network connection with a first independent network (SA) cell, where the first PDU session is a PDU session between the electronic device 400 and the first SA cell;

[0087] The connection module 402 is configured to establish a network connection with a target cell when it is determined based on the release status information that the first SA cell is in an abnormal state, where the target cell is a cell other than the first SA cell.

[0088] Optionally, the release status information includes a first time difference, where the first time difference includes a time difference between a time point when the first PDU session is created and a time point when the first PDU session is released; the electronic device 400 further includes:

[0089] The first determining module 403 is configured to determine that the first SA cell is in an abnormal state when the first time difference is less than a first preset value.

[0090] Optionally, the release status information includes a release count, where the release count includes: a number of times the first PDU session between the electronic device 400 and the first SA cell is released within a preset time period;

[0091] The connecting module 402 is further configured to, within the preset time period, re-establish the first PDU session with the first SA cell upon receiving a first PDU session release command sent by the first SA cell;

[0092] The electronic device 400 further includes:

[0093] The second determining module 404 is configured to determine that the first SA cell is in an abnormal state when the number of release times is greater than a second preset value.

[0094] Optionally, the electronic device 400 is pre-configured with frequency information of at least two candidate cells, the at least two candidate cells include at least one of a second SA cell and a Long Term Evolution LTE cell, and the target cell is any candidate cell among the at least two candidate cells;

[0095] The connection module 402 is configured to establish a network connection with the target cell based on the frequency information of the target cell.

[0096] Optionally, the electronic device 400 further includes:

[0097] A third determining module 405 is configured to determine the target cell from the at least one second SA cell when the at least two candidate cells include the at least one second SA cell;

[0098] The third determination module 405 is further configured to determine the target cell in at least one LTE cell when the at least two candidate cells do not include the second SA cell.

[0099] Optionally, the acquisition module 401 is further configured to acquire signal strength information of the at least two candidate cells;

[0100] The electronic device 400 further includes:

[0101] The third determining module 405 is configured to determine the candidate cell with the strongest signal strength among the at least two candidate cells as the target cell.

[0102] In this embodiment, when the electronic device 400 establishes a network connection with the first SA cell, it is determined whether the first SA cell is in an abnormal state based on the release status information of the first PDU session, and when the first SA cell is in an abnormal state, a network connection between the electronic device 400 and the target cell is established to ensure that when the first SA cell is abnormal, the electronic device 400 can still connect to the network, thereby improving the network connection effect of the electronic device 400.

[0103] Alternatively, as Figure 6 As shown, the embodiment of the present application also provides another electronic device 600, including a processor 601, a memory 602, and a program or instruction stored in the memory 602 and executable on the processor 601. When the program or instruction is executed by the processor 601, each process of the above-mentioned network connection method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0104] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0105] Figure 7 A schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.

[0106] The electronic device 700 includes but is not limited to components such as a radio frequency unit 701 , a network module 702 , an audio output unit 703 , an input unit 704 , a sensor 705 , a display unit 706 , a user input unit 707 , an interface unit 708 , a memory 709 , and a processor 710 .

[0107] The processor 710 is configured to obtain release status information of a first protocol data unit (PDU) session when the electronic device establishes a network connection with a first independent network (SA) cell, where the first PDU session is a PDU session between the electronic device and the first SA cell;

[0108] The network module 702 is configured to establish a network connection with a target cell when it is determined based on the release status information that the first SA cell is in an abnormal state, where the target cell is a cell other than the first SA cell.

[0109] Optionally, the processor 710 is configured to determine that the first SA cell is in an abnormal state when the first time difference is less than a first preset value.

[0110] Optionally, the network module 702 is configured to re-establish the first PDU session with the first SA cell within the preset time period upon receiving a first PDU session release command sent by the first SA cell;

[0111] The processor 710 is configured to determine that the first SA cell is in an abnormal state when the number of release times is greater than a second preset value.

[0112] Optionally, the network module 702 is configured to establish a network connection with the target cell based on the frequency information of the target cell.

[0113] Optionally, the processor 710 is configured to, when the at least two candidate cells include at least one second SA cell, determine the target cell from the at least one second SA cell;

[0114] The processor 710 is configured to determine the target cell in at least one LTE cell when the at least two candidate cells do not include the second SA cell.

[0115] Optionally, the processor 710 is configured to obtain signal strength information of the at least two candidate cells;

[0116] The processor 710 is configured to determine, among the at least two candidate cells, the candidate cell with the strongest signal strength as the target cell.

[0117] Those skilled in the art will understand that the electronic device 700 may also include a power source (such as a battery) to power each component, and the power source may be logically connected to the processor 710 through a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system. Figure 7 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be repeated here.

[0118] It should be understood that in the embodiment of the present application, the input unit 704 may include a graphics processing unit (GPU) 7041 and a microphone 7042. The graphics processor 7041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 706 may include a display panel 7061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071 is also called a touch screen. The touch panel 7071 may include two parts: a touch detection device and a touch controller. Other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, power keys, etc.), a trackball, a mouse, and a joystick, which will not be described in detail here. The memory 709 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 710 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and applications, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 710.

[0119] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned network connection method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0120] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (ROM), random access memory (RAM), a magnetic disk, or an optical disk.

[0121] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned network connection method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0122] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0123] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0124] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0125] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.

Claims

1. A network connection method, applied to electronic equipment, characterized in that: The method comprises: When the electronic device establishes a network connection with a first independent network SA cell, obtaining release status information of a first protocol data unit PDU session, where the first PDU session is a PDU session between the electronic device and the first SA cell, and the release status information includes a first time difference, where the first time difference includes a time difference between a time point when the first PDU session is created and a time point when the first PDU session is released; When the first time difference is less than a first preset value, determining that the first SA cell is in an abnormal state; When it is determined based on the release status information that the first SA cell is in an abnormal state, a network connection with a target cell is established, where the target cell is a cell other than the first SA cell.

2. The method according to claim 1, characterized in that The release status information includes a release count, where the release count includes: a number of times the first PDU session between the electronic device and the first SA cell is released within a preset time period. Before establishing a network connection between the electronic device and the target cell, the method further includes: Within the preset time period, upon receiving a first PDU session release command sent by the first SA cell, re-establishing the first PDU session with the first SA cell; When the number of release times is greater than a second preset value, it is determined that the first SA cell is in an abnormal state.

3. The method according to claim 1, characterized in that The electronic device is pre-configured with frequency information of at least two candidate cells, the at least two candidate cells include at least one of a second SA cell and a Long Term Evolution (LTE) cell, the target cell is any candidate cell among the at least two candidate cells, and establishing a network connection between the electronic device and the target cell includes: A network connection with the target cell is established based on the frequency information of the target cell.

4. The method according to claim 3, characterized in that Before establishing the network connection between the electronic device and the target cell, the method further includes: In a case where the at least two candidate cells include at least one second SA cell, determining the target cell among the at least one second SA cell; In a case where the at least two candidate cells do not include the second SA cell, the target cell is determined in at least one LTE cell.

5. An electronic device, characterized in that: include: an acquisition module, configured to acquire, when the electronic device establishes a network connection with a first independent networking SA cell, release status information of a first protocol data unit PDU session, where the first PDU session is a PDU session between the electronic device and the first SA cell, and the release status information includes a first time difference, where the first time difference includes a time difference between a time point when the first PDU session is created and a time point when the first PDU session is released; a first determining module, configured to determine that the first SA cell is in an abnormal state when the first time difference is less than a first preset value; A connection module is used to establish a network connection with a target cell when it is determined based on the release status information that the first SA cell is in an abnormal state, where the target cell is a cell other than the first SA cell.

6. The electronic device according to claim 5, characterized in that The release status information includes a release count, where the release count includes: a number of times the first PDU session between the electronic device and the first SA cell is released within a preset time period; The connecting module is further configured to, within the preset time period, re-establish the first PDU session with the first SA cell upon receiving a first PDU session release command sent by the first SA cell; The electronic device further includes: The second determining module is configured to determine that the first SA cell is in an abnormal state when the number of release times is greater than a second preset value.

7. The electronic device according to claim 5, wherein: The electronic device is pre-configured with frequency information of at least two candidate cells, the at least two candidate cells include at least one of a second SA cell and a Long Term Evolution (LTE) cell, and the target cell is any candidate cell among the at least two candidate cells; The connection module is configured to establish a network connection with the target cell based on the frequency information of the target cell.

8. The electronic device according to claim 7, wherein: The electronic device further includes: a third determining module, configured to determine the target cell from among the at least one second SA cell when the at least two candidate cells include the at least one second SA cell; The third determination module is further configured to determine the target cell in at least one LTE cell when the at least two candidate cells do not include the second SA cell.

Citation Information

Patent Citations

  • Connection establishment method and device and user equipment

    CN113038593A