WO2024027745A1 - 网络连接方法、电子设备、可读存储介质和芯片 - Google Patents

网络连接方法、电子设备、可读存储介质和芯片 Download PDF

Info

Publication number
WO2024027745A1
WO2024027745A1 PCT/CN2023/110689 CN2023110689W WO2024027745A1 WO 2024027745 A1 WO2024027745 A1 WO 2024027745A1 CN 2023110689 W CN2023110689 W CN 2023110689W WO 2024027745 A1 WO2024027745 A1 WO 2024027745A1
Authority
WO
WIPO (PCT)
Prior art keywords
cell
electronic device
pdu session
network connection
target cell
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.)
Ceased
Application number
PCT/CN2023/110689
Other languages
English (en)
French (fr)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Publication of WO2024027745A1 publication Critical patent/WO2024027745A1/zh
Priority to US19/033,386 priority Critical patent/US20250168915A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • 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
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • H04W36/0022Control or signalling for completing the hand-off for data sessions of end-to-end connection for transferring data sessions between adjacent core network technologies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0055Transmission or use of information for re-establishing the radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/19Connection re-establishment

Definitions

  • This application relates to the field of network connection technology, specifically to a network connection method, electronic equipment, readable storage media and chips.
  • the standalone (SA) cell corresponding to the place may not be able to provide network services to all users in the place at the same time. Therefore, it may cause some users to be unable to successfully connect to the network, or cause the network connection to be released after some users successfully connect to the network. It can be seen that the existing network connection method has the problem of poor connection effect.
  • This application provides a network connection method, electronic device, readable storage medium and chip, which can improve the effect of network connection of electronic devices.
  • embodiments of the present application provide a network connection method, which is applied to electronic devices.
  • the method includes:
  • the electronic device When the electronic device establishes a network connection with the first independent networking SA cell, obtain the release status information of the first protocol data unit PDU session.
  • the first PDU session is between the electronic device and the first SA. PDU session between cells;
  • the first SA cell When it is determined that the first SA cell is in an abnormal state based on the release status information, a network connection is established with a target cell, and the target cell is a cell other than the first SA cell.
  • an electronic device including:
  • 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 the first independent networking SA cell, and the first PDU session is between the electronic device and the first independent networking SA cell. PDU session between the first SA cells;
  • a connection module configured to establish 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 is a cell other than the first SA cell. .
  • embodiments of the present application provide an electronic device, including a processor, a memory, and a program or instruction stored on the memory and executable on the processor.
  • the program or instruction is processed by the When the processor is executed, the steps described in the first aspect are implemented.
  • embodiments of the present application provide a readable storage medium. Programs or instructions are stored on the readable storage medium. When the programs or instructions are executed by a processor, the steps described in the first aspect are implemented.
  • inventions of the present application provide a chip.
  • the chip includes a processor and a communication interface.
  • the communication interface is coupled to the processor.
  • the processor is used to run a program or instructions.
  • the program or instructions When executed by the processor, the steps described in the first aspect are implemented.
  • the electronic device when the electronic device 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 the first SA cell is When in an abnormal state, establish a network connection between the electronic device and the target cell. In this way, it is possible to promptly 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 recognized that the first SA cell is in an abnormal state, the network connection of the electronic device is switched to another cell, thus facilitating the electronic device to preserve a normal network connection.
  • Figure 1 is one of the flow diagrams of the network connection method provided by the embodiment of the present application.
  • FIG. 2 is the second schematic flowchart of the network connection method provided by the embodiment of the present application.
  • FIG. 3 is the third schematic flowchart of the network connection method provided by the embodiment of the present application.
  • Figure 4 is one of the structural schematic diagrams of an electronic device provided by an embodiment of the present application.
  • Figure 5 is a second structural schematic diagram of an electronic device provided by an embodiment of the present application.
  • Figure 6 is a schematic structural diagram of another electronic device provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present application.
  • first, second, etc. in the description and claims of this application are used to distinguish similar objects and are not used to describe a specific order or sequence. It is to be understood that the figures so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in orders other than those illustrated or described herein, and that "first,” “second,” etc. are distinguished Objects are usually of one type, and the number of objects is not limited. For example, the first object can be one or multiple.
  • “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the related objects are in an "or” relationship.
  • Figure 1 is a schematic flow chart of a network connection method provided by an embodiment of the present application.
  • the network connection method is applied to electronic devices. The method includes the following steps:
  • Step S101 When the electronic device establishes a network connection with the first independent networking SA cell, obtain the release status information of the first protocol data unit (Protocol Data Unit, PDU) session, and the first PDU session is the A PDU session between the electronic device and the first SA cell;
  • PDU Protocol Data Unit
  • Step S102 When it is determined that the first SA cell is in an abnormal state based on the release status information, establish a network connection with a target cell, and the target cell is a cell other than the first SA cell.
  • the above-mentioned electronic equipment may be various types of user equipment (User Equipment, UE) carried by the user.
  • UE User Equipment
  • the electronic device is represented by UE below.
  • the above-mentioned first SA cell may be a fifth generation mobile communication technology (5th Generation Mobile Communication Technology, 5G) SA cell.
  • 5G Fifth Generation Mobile Communication Technology
  • the above-mentioned electronic device establishing a network connection with the first independent networking SA cell may mean that the UE establishes a network connection with the base station corresponding to the first SA cell.
  • the specific network connection process can be:
  • the UE sends a PDU session establishment request (PDU SESSION ESTABLISH REQTEST) request to the base station of the first SA cell, where 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 The PDU SESSION ESTABLISH REQTEST request sends a PDU SESSION ESTABLISH ACCEPT message to the UE, where the PDU SESSION ESTABLISH ACCEPT message is a PDU session request acceptance message.
  • the UE is completed The process of network connection is completed, that is, the creation process of the first PDU session is completed. At this time, the UE can access the Internet normally.
  • the first SA cell 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 some UEs. Network connection, that is, disconnecting the PDU sessions of some UEs. After the first SA cell disconnects the PDU session with the UE, it will send the PDU release command: PDU SESSION RELEASE COMMAND to the UE.
  • the release status information may include the PDU release command. It can also predefine in which situations the PDU release command received belongs to the normal state of the SA cell, and at the same time, it can be defined in which state the PDU release command received belongs to the abnormal state of the SA cell. Then, it may be determined based on the release status information whether the first SA cell is in an abnormal state.
  • the above-mentioned first SA cell is in an abnormal state: it may mean that the first SA cell itself is faulty, or it may mean that the first SA cell is in an abnormal state due to too many UEs connected to the first SA cell.
  • the SA cell is in an overloaded state.
  • the above-mentioned target cell may be various other cells outside the first SA cell that can provide network services for the electronic device.
  • the electronic device is located within the network coverage of the target cell.
  • the electronic device when the electronic device establishes a network connection with the first SA cell, Determine whether the first SA cell is in an abnormal state based on the release status information of the first PDU session, and if the first SA cell is in an abnormal state, establish a network connection between the electronic device and the target cell. In this way, it is possible to promptly 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 recognized that the first SA cell is in an abnormal state, the network connection of the electronic device is switched to another cell, thus facilitating the electronic device to preserve a normal network connection.
  • the release status information includes a first time difference
  • 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 first time difference is less than the first preset value, it is determined that the first SA cell is in an abnormal state.
  • a first timer may be pre-configured in the electronic device, wherein when the electronic device receives the PDU SESSION ESTABLISH ACCEPT message, that is, the electronic device successfully establishes a network connection with the first SA cell. When, control the first timer to start timing. When receiving the PDU SESSION RELEASE COMMAND, 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.
  • the first time difference may be a relatively short time difference, for example, the first time difference may range from 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, the first SA cell can be regarded as abnormal. .
  • Figure 2 is a schematic flowchart of a network connection method provided by an embodiment of the present application. The method includes the following steps:
  • the electronic device After the electronic device is stationed in the first SA cell, it creates a data PDU and sends a PDU session establishment request (PDU SESSION ESTABLISH REQTEST request) to the base station of the first SA cell;
  • the base station of the first SA cell responds to the PDU session establishment request and sends a PDU session request acceptance message (PDU SESSION ESTABLISH ACCEPT message) to the electronic device. After receiving the PDU session request acceptance message, the electronic device starts the first timer;
  • the electronic device Before the first timer times out, if the PDU session release command (PDU SESSION RELEASE COMMAND), the electronic device normally resides in the first SA cell, where the timing duration set by the first timer is the size of the above-mentioned first time difference;
  • the PDU session release command is received, it is determined that the first SA cell is in an abnormal state, and a network connection between the electronic device and the target cell is established.
  • the electronic device 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. 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, starts the first timer to retime, and repeats the above judgment process, that is, in Before the first timer times out, if the network connection between the electronic device and the first SA cell is released, it is determined that the first SA cell is in an abnormal state.
  • the first timer after receiving the PDU session release command, it may also be determined 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 expired, 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 does not time out, it is determined that the first SA cell is in an abnormal state.
  • the first PDU session is determined.
  • the SA cell is in an abnormal state, that is, after the electronic device establishes a network connection with the first SA cell and is released within a short period of time, it is determined that the first SA cell is in an abnormal state, thereby determining the said release status information. Whether the first SA cell is in an abnormal state.
  • the release status information includes the number of releases, and the number of releases 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.
  • the method before establishing the network connection between the electronic device and the target cell, the method further includes:
  • the above-mentioned preset time period may be a relatively short time period, for example, it may be 1-3 minutes.
  • the above preset times can be 3-5 times, that is, within a relatively short period of time, the electronic device establishes network connections with the first SA cell multiple times, and the network connections established multiple times are released. At this time, it can It is determined that the first SA cell is in an abnormal state.
  • One embodiment of this application provides a network connection method, which specifically includes the following steps:
  • Step S301 After the electronic device is stationed in the first SA cell, it creates a data PDU and sends a PDU session establishment request (PDU SESSION ESTABLISH REQTEST request) to the base station of the first SA cell;
  • Step S302 The base station of the first SA cell responds to the PDU session establishment request and sends a PDU session request acceptance message (PDU SESSION ESTABLISH ACCEPT message) to the electronic device to establish a network connection;
  • PDU SESSION ESTABLISH ACCEPT message PDU SESSION ESTABLISH ACCEPT message
  • Step S304 Send the PDU session establishment request to the base station of the first SA cell again;
  • Step S305 The base station of the first SA cell responds to the PDU session establishment request and sends a PDU session request acceptance message to the electronic device;
  • Step S307 Determine whether the second timer has timed out; if the second timer has not timed out, return to step S304;
  • Step S308 When the second timer times out, determine whether n is less than or equal to the preset number of times; if so, park normally;
  • Step S309 If n is greater than the preset number of times, it is determined that the first SA cell is in an abnormal state;
  • Step S310 Establish a network connection with the target cell to access the Internet normally.
  • 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 of times in a short period of time, it is determined that the first SA cell is in an abnormal state.
  • the cell is in an abnormal state, thereby determining whether the first SA cell is in an abnormal state according to the release status information.
  • the electronic device is preconfigured with frequency point information of at least two candidate cells, and 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.
  • the electronic device since the coverage areas of adjacent cells of the same type usually have overlapping areas, and the coverage areas of cells of different types also have overlapping areas, while the electronic device is stationed in the first SA cell, it also has overlapping areas. Network connections can be established with other communities.
  • the frequency point of the candidate cell and the coverage range of the candidate cell may be configured in the electronic device in advance. 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 among the at least two candidate cells
  • the target cell at the same time, establishes a network connection with the target cell based on the frequency point of the target cell.
  • 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 to the base station of the target cell. After creating the request and receiving the PUD session creation reception message sent by the base station of the target cell, the network connection process is completed.
  • the method before establishing a network connection between the electronic device and the target cell, the method further includes:
  • the at least two candidate cells include at least one second SA cell, determine the target cell in the at least one second SA cell;
  • the at least two candidate cells do not include the second SA cell
  • in at least one The target cell is determined among the LTE cells.
  • determining the target cell in at least one LTE cell may specifically refer to: when the at least two candidate cells do not include the second SA cell. If the second SA cell is used and the at least two candidate cells include at least one LTE cell, the target cell is determined in the at least one LTE cell.
  • the first SA cell can be determined first in the second SA cell. Describe the target cells in order to improve the quality of network services.
  • a target cell is determined in the LTE cell so that network services can be normally provided for the electronic device.
  • the method before establishing a network connection between the electronic device and the target cell, the method further includes:
  • the candidate cell with the strongest signal strength among the at least two candidate cells is determined as the target cell.
  • the electronic device can directly download the signal strength of the candidate cell.
  • 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 service.
  • the method before establishing a network connection between the electronic device and the target cell, the method further includes:
  • the second SA cell with the strongest signal strength among the at least two second SA cells is determined as the target cell.
  • 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 The cell is determined as the target cell.
  • the method further includes:
  • the abnormal 5G SA cell list can cache cell frequency point information determined to be abnormal cells by the electronic device within a preset time period. 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 network connection.
  • the first SA cell only stores cell frequency point information that is determined to be abnormal by the electronic device within the preset time period. Cells that are determined to be abnormal by the electronic device will be removed when the preset time period is exceeded. Removed from the list of abnormal 5G SA cells, this ensures that such cells can normally provide network services for electronic devices after returning to normal.
  • FIG 4 is a schematic structural diagram of an electronic device 400 provided by an embodiment of the present application.
  • the electronic device 400 includes:
  • the acquisition module 401 is configured to acquire the release status information of the first protocol data unit PDU session when the electronic device 400 establishes a network connection with the first independent networking SA cell, and the first PDU session is the electronic device. PDU session between device 400 and the first SA cell;
  • Connection module 402 configured to establish 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 is other than the first SA cell. community.
  • the release status information includes a first time difference
  • 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; see Figure 5 , the electronic device 400 also includes:
  • the first determination 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.
  • the release status information includes a number of releases, and the number of releases includes: within a preset time period, the first PDU session between the electronic device 400 and the first SA cell is released. frequency;
  • the connection module 402 is also configured to, within the preset time period, upon receiving the first PDU session release command sent by the first SA cell, re-create all connections with the first SA cell.
  • the electronic device 400 also includes:
  • the second determination module 404 is configured to determine that the first SA cell is in an abnormal state when the number of releases is greater than the second preset value.
  • the electronic device 400 is preconfigured with frequency point 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 Be any candidate cell among the at least two candidate cells;
  • the connection module 402 is configured to establish a network connection with the target cell based on the frequency point information of the target cell.
  • the electronic device 400 also includes:
  • the third determination module 405 is configured to determine the target cell in the at least one second SA cell when the at least two candidate cells include at least one second SA cell;
  • the third determination module 405 is also 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.
  • the acquisition module 401 is also used to acquire signal strength information of the at least two candidate cells;
  • the electronic device 400 also includes:
  • the third determination 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.
  • the electronic device 400 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 in the first SA cell When in an abnormal state, a network connection between the electronic device 400 and the target cell is established to ensure that the electronic device 400 can still connect to the network when the first SA cell is abnormal, thereby improving the effect of the network connection of the electronic device 400 .
  • this embodiment of the present application also provides another electronic device 600, including a processor 601, a memory 602, a program stored on the memory 602 and executable on the processor 601, or
  • the program or instruction is executed by the processor 601, it implements each process of the above network connection method embodiment and can achieve the same technical effect. To avoid duplication, it will not be described again here.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 7 is a schematic diagram of the hardware structure of an electronic device that implements an embodiment of the present application.
  • the electronic device 700 includes but is not limited to: radio frequency unit 701, network module 702, audio output unit 703, input unit 704, sensor 705, display unit 706, user input unit 707, Interface unit 708, memory 709, processor 710 and other components.
  • the processor 710 is configured to obtain the release status information of the first protocol data unit PDU session when the electronic device establishes a network connection with the first independent networking SA cell, and the first PDU session is A PDU session between the electronic device and the first SA cell;
  • the network module 702 is configured to establish 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 is outside the first SA cell. of other communities.
  • 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.
  • the network module 702 is configured to re-create a session with the first SA within the preset time period upon receiving the first PDU session release command sent by the first SA cell.
  • the processor 710 is configured to determine that the first SA cell is in an abnormal state when the number of releases is greater than a second preset value.
  • the network module 702 is configured to establish a network connection with the target cell based on the frequency point information of the target cell.
  • the processor 710 is configured to determine the target cell in the at least one second SA cell when the at least two candidate cells include at least one second SA cell. ;
  • 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.
  • the processor 710 is configured to obtain signal strength information of the at least two candidate cells;
  • the processor 710 is configured to determine the candidate cell with the strongest signal strength among the at least two candidate cells as the target cell.
  • the electronic device 700 may also include a power supply (such as a battery) that supplies power to various components.
  • the power supply may be logically connected to the processor 710 through a power management system, thereby managing charging, discharging, and function through the power management system. Consumption management and other functions.
  • the structure of the electronic device shown in FIG. 7 does not constitute a limitation on the electronic device, and the electronic device may include more than what is shown in the figure. or fewer components, or combination of certain components, or different component arrangements, which will not be described again here.
  • the input unit 704 may include a graphics processor (Graphics Processing Unit, GPU) 7041 and a microphone 7042.
  • the graphics processor 7041 is responsible for the image capture device (GPU) in the video capture mode or the image capture mode. Process the image data of still pictures or videos obtained by cameras (such as cameras).
  • 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, or the like.
  • the user input unit 707 includes a touch panel 7071 and other input devices 7072. Touch panel 7071, also called 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 physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described again here.
  • Memory 709 may be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • the processor 710 can integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem processor mainly processes wireless communications. It can be understood that the above modem processor may not be integrated into the processor 710.
  • Embodiments of the present application also provide a readable storage medium.
  • Programs or instructions are stored on the readable storage medium.
  • the program or instructions are executed by a processor, each process of the above network connection method embodiment is implemented and the same can be achieved. The technical effects will not be repeated here to avoid repetition.
  • the processor is the processor in the electronic device described in the above embodiment.
  • the readable storage media includes computer-readable storage media, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disks or optical disks, etc.
  • An embodiment of the present application further provides a chip.
  • the chip includes a processor and a communication interface.
  • the communication interface is coupled to the processor.
  • the processor is used to run programs or instructions to implement the above network connection method embodiment. Each process can achieve the same technical effect. To avoid duplication, it will not be described again here.
  • chips mentioned in the embodiments of this application may also be called system-on-chip, system-on-a-chip, system-on-a-chip or system-on-chip, etc.
  • the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation.
  • the technical solution of the present application can be embodied in the form of a software product in essence or that contributes to the existing technology.
  • the computer software product is stored in a storage medium (such as ROM/RAM, disk, CD), including several instructions to cause a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in various embodiments of this application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请公开了一种网络连接方法、电子设备、可读存储介质和芯片,属于网络连接技术领域。所述网络连接方法应用于电子设备,所述方法包括:在所述电子设备与第一独立组网SA小区建立网络连接的情况下,获取第一协议数据单元PDU会话的释放状态信息,所述第一PDU会话为所述电子设备与所述第一SA小区之间的PDU会话;在基于所述释放状态信息确定所述第一SA小区处于异常状态的情况下,建立与目标小区的网络连接,所述目标小区为所述第一SA小区之外的其他小区。

Description

网络连接方法、电子设备、可读存储介质和芯片
相关申请的交叉引用
本申请主张在2022年8月5日在中国提交的中国专利申请No.202210936716.7的优先权,其全部内容通过引用包含于此。
技术领域
本申请涉及网络连接技术领域,具体涉及一种网络连接方法、电子设备、可读存储介质和芯片。
背景技术
相关技术中,在一些人群密集的场所,由于该场所对应的独立组网(Standlone,SA)小区可能无法同时为该场所中的所有用户的提供网络服务。因此,可能导致某些用户无法成功连接网络的问题,或者导致在某些用户成功连接网络之后,网络连接被释放的问题。可见,现有的网络连接方法存在连接效果较差的问题。
发明内容
本申请提供了一种网络连接方法、电子设备、可读存储介质和芯片,可以提高电子设备网络连接的效果。
第一方面,本申请实施例提供了一种网络连接方法,应用于电子设备,所述方法包括:
在所述电子设备与第一独立组网SA小区建立网络连接的情况下,获取第一协议数据单元PDU会话的释放状态信息,所述第一PDU会话为所述电子设备与所述第一SA小区之间的PDU会话;
在基于所述释放状态信息确定所述第一SA小区处于异常状态的情况下,建立与目标小区的网络连接,所述目标小区为所述第一SA小区之外的其他小区。
第二方面,本申请实施例提供了一种电子设备,包括:
获取模块,用于在所述电子设备与第一独立组网SA小区建立网络连接的情况下,获取第一协议数据单元PDU会话的释放状态信息,所述第一PDU会话为所述电子设备与所述第一SA小区之间的PDU会话;
连接模块,用于在基于所述释放状态信息确定所述第一SA小区处于异常状态的情况下,建立与目标小区的网络连接,所述目标小区为所述第一SA小区之外的其他小区。
第三方面,本申请实施例提供了一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现上述第一方面所述的步骤。
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现上述第一方面所述的步骤。
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,所述程序或指令被处理器执行时实现上述第一方面所述的步骤。
本申请实施例中,在电子设备与第一SA小区建立网络连接的情况下,通过基于第一PDU会话的释放状态信息,确定所述第一SA小区是否处于异常状态,并在第一SA小区处于异常状态的情况下,建立电子设备与目标小区的网络连接。如此,由于可以基于第一PDU会话的释放状态信息及时识别所述第一SA小区是否处于异常状态,并在识别到第一SA小区处于异常状态的情况下,将电子设备的网络连接切换至其他小区,从而有利于使电子设备保存正常的网络连接。
附图说明
图1是本申请实施例提供的网络连接方法的流程示意图之一;
图2是本申请实施例提供的网络连接方法的流程示意图之二;
图3是本申请实施例提供的网络连接方法的流程示意图之三;
图4是本申请实施例提供的一种电子设备的结构示意图之一;
图5是本申请实施例提供的一种电子设备的结构示意图之二;
图6是本申请实施例提供的另一种电子设备的结构示意图;
图7是本申请实施例提供的电子设备的硬件结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的网络连接方法、电子设备、可读存储介质和芯片进行详细地说明。
请参见图1,为本申请实施例提供的一种网络连接方法的流程示意图,所述网络连接方法,应用于电子设备,所述方法包括以下步骤:
步骤S101、在所述电子设备与第一独立组网SA小区建立网络连接的情况下,获取第一协议数据单元(Protocol Data Unit,PDU)会话的释放状态信息,所述第一PDU会话为所述电子设备与所述第一SA小区之间的PDU会话;
步骤S102、在基于所述释放状态信息确定所述第一SA小区处于异常状态的情况下,建立与目标小区的网络连接,所述目标小区为所述第一SA小区之外的其他小区。
其中,上述电子设备可以是用户携带的各种类型到的用户设备(User Equipment,UE)。为了便于理解,下文以UE表示所述电子设备。
上述第一SA小区可以为第五代移动通信技术(5th Generation Mobile Communication Technology,5G)SA小区。
上述电子设备与第一独立组网SA小区建立网络连接可以是指:所述UE与第一SA小区对应的基站建立网络连接。具体的网络连接过程可以是:
UE向第一SA小区的基站发送PDU会话建立请求(PDU SESSION ESTABLISH REQTEST)请求,其中,所述PDU SESSION ESTABLISH REQTEST请求用于请求创建所述第一PDU会话;第一SA小区的基站响应于所述PDU SESSION ESTABLISH REQTEST请求,向所述UE发送PDU会话创建接受(PDU SESSION ESTABLISH ACCEPT)消息,其中,所述PDU SESSION ESTABLISH ACCEPT消息为PDU会话请求接受消息,经过该两个步骤,即完成了UE的网络连接的过程,也即完成了所述第一PDU会话的创建过程,此时,UE可以正常进行上网。
当同一时间存在大量不同的UE与所述第一SA小区的基站建立网络连接时,由于第一SA小区可能无法同时满足大量UE的上网需求,因此,第一SA小区将主动断开一些UE的网络连接,即断开一些UE的PDU会话。在第一SA小区断开与UE之间的PDU会话之后,将向UE发送PDU释放命令:PDU SESSION RELEASE COMMAND。
基于此,在本申请一个实施例中,所述释放状态信息可以包括所述PDU释放命令。并可以预先定义哪些情况接收到的PDU释放命令属于SA小区正常状态,同时,定义哪些状态接收到的PDU释放命令属于SA小区异常状态。然后,可以基于所述释放状态信息确定所述述第一SA小区是否处于异常状态。
可以理解的是,上述第一SA小区处于异常状态:可以是指所述第一SA小区本身出现故障,也可以是指由于连接所述第一SA小区的UE的数量过多,导致的第一SA小区处于超负荷状态。
上述目标小区可以是处所述第一SA小区之外的其他各种能够为所述电子设备提供网络服务的小区。其中,所述电子设备位于所述目标小区的网络覆盖范围之内。
该实施方式中,在电子设备与第一SA小区建立网络连接的情况下,通 过基于第一PDU会话的释放状态信息,确定所述第一SA小区是否处于异常状态,并在第一SA小区处于异常状态的情况下,建立电子设备与目标小区的网络连接。如此,由于可以基于第一PDU会话的释放状态信息及时识别所述第一SA小区是否处于异常状态,并在识别到第一SA小区处于异常状态的情况下,将电子设备的网络连接切换至其他小区,从而有利于使电子设备保存正常的网络连接。
可选地,所述释放状态信息包括第一时间差,所述第一时间差包括所述第一PDU会话创建的时间点与所述第一PDU会话释放的时间点之间的时间差;所述建立所述电子设备与目标小区的网络连接之前,所述方法还包括:
在所述第一时间差小于第一预设值的情况下,确定所述第一SA小区处于异常状态。
具体地,可以在所述电子设备中预先配置一个第一定时器,其中,在电子设备接收到所述PDU SESSION ESTABLISH ACCEPT消息时,即所述电子设备成功与所述第一SA小区建立网络连接时,控制所述第一定时器开始计时。在接收到所述PDU SESSION RELEASE COMMAND时,即所述电子设备断开与所述第一SA小区之间的网络连接时,控制所述第一定时器结束计时。通过读取所述第一定时器的计时时长,即可得到所述第一时间差。
可以理解的是,上述第一时间差可以是一个相对较短的时间差,例如,所述第一时间差的取值范围可以是0至10秒。也即在所述电子设备与所述第一SA小区建立网络连接之后,所建立的网络连接立即被所述第一SA小区所释放,在此情况下,可以视为所述第一SA小区异常。
请参见图2,为本申请实施例提供的一种网络连接方法的流程示意图,所述方法包括以下步骤:
电子设备在驻网第一SA小区后,建立数据PDU,向第一SA小区的基站发送PDU会话建立请求(PDU SESSION ESTABLISH REQTEST请求);
第一SA小区的基站响应于PDU会话建立请求,向电子设备发送PDU会话请求接受消息(PDU SESSION ESTABLISH ACCEPT消息),电子设备在接收到PDU会话请求接受消息之后,启动第一定时器;
在第一定时器超时前,若未接收到所述PDU会话释放命令(PDU  SESSION RELEASE COMMAND),则电子设备正常驻留第一SA小区,其中,所述第一定时器设定的定时时长为上述第一时间差的大小;
在第一定时器超时前,若接收到所述PDU会话释放命令,则判定该第一SA小区处于异常状态,并建立所述电子设备与目标小区之间的网络连接。
可以理解的是,在所述第一定时器超时之后,若所述电子设备与第一SA小区之间的网络连接被释放,则视为正常释放,即视为所述第一SA小区处于正常状态。在此情况下,所述电子设备再次与第一SA小区建立网络连接,并在与第一SA小区成功建立网络连接之后,在此启动第一定时器重新定时,并重复上述判断过程,即在第一定时器超时前,所述电子设备与第一SA小区之间的网络连接被释放,则确定所述第一SA小区处于异常状态。
此外,在本申请另一实施例中,也可以在接收到所述PDU会话释放命令之后,再判断所述第一定时器是否超时,以确定所述第一SA小区是否处于异常状态。具体地,在接收到所述PDU会话释放命令之后,若所述第一定时器已超时,则确定所述第一SA小区处于正常状态。相应地,在接收到所述PDU会话释放命令之后,若所述第一定时器未超时,则确定所述第一SA小区处于异常状态。
该实施方式中,通过确定所述第一PDU会话创建的时间点与所述第一PDU会话释放的时间点之间的时间差,并在该时间差小于第一预设值的情况下,确定第一SA小区处于异常状态,即在电子设备与第一SA小区建立网络连接之后,在较短的时间内被释放时,确定第一SA小区处于异常状态,从而实现根据所述释放状态信息确定所述第一SA小区是否处于异常状态。
可选地,所述释放状态信息包括释放次数,所述释放次数包括:在预设时间段内,所述电子设备与所述第一SA小区之间的所述第一PDU会话被释放的次数,所述建立所述电子设备与目标小区的网络连接之前,所述方法还包括:
在所述预设时间段内,在接收到所述第一SA小区发送的第一PDU会话释放命令的情况下,重新创建与所述第一SA小区的所述第一PDU会话;
在所述释放次数大于第二预设值的情况下,确定所述第一SA小区处于异常状态。
其中,上述预设时间段可以是一个相对较短的时间段,例如,可以是1-3分钟。上述预设次数可以为3-5次,即在一个相对较短的时间段内,电子设备多次与第一SA小区建立网络连接,且多次建立的网络连接均被释放,此时,可以确定所述第一SA小区处于异常状态。
具体地,请参见图3,在本申请一个实施例提供了一种网络连接方法,具体包括以下步骤:
步骤S301、电子设备在驻网第一SA小区后,建立数据PDU,向第一SA小区的基站发送PDU会话建立请求(PDU SESSION ESTABLISH REQTEST请求);
步骤S302、第一SA小区的基站响应于PDU会话建立请求,向电子设备发送PDU会话请求接受消息(PDU SESSION ESTABLISH ACCEPT消息),以建立网络连接;
步骤S303、在首次接收到PDU会话释放命令的情况下,启动第二定时器和计数器,其中,所述第二定时器的定时时长为上述预设时间段的大小,所述计数器的初始值为n=1;
步骤S304、再次向第一SA小区的基站发送PDU会话建立请求;
步骤S305、第一SA小区的基站响应于PDU会话建立请求,向电子设备发送PDU会话请求接受消息;
步骤S306、在接收到PDU会话释放命令的情况下,计数器加1,即n=n+1;
步骤S307、判断第二计时器是否超时;在第二计时器未超时的情况下,返回执行步骤S304;
步骤S308、在第二计时器超时的情况下,判断n是否小于等于预设次数;若是,则正常驻留;
步骤S309、若n大于预设次数,则确定第一SA小区处于异常状态;
步骤S310、建立与目标小区的网络连接,从而正常上网。
该实施方式中,通过确定预设时间段内,所述电子设备与所述第一SA小区之间的所述第一PDU会话被释放的次数,并在释放次数大于第二预设值的情况下,确定所述第一SA小区处于异常状态,即在较短时间内电子设备与第一SA小区之间的网络连接被释放的次数超过设定次数时,确定第一SA 小区处于异常状态,从而实现根据所述释放状态信息确定所述第一SA小区是否处于异常状态。
在本申请一个实施例中,可以通过同时判断所述第一时间差是否第一预设值,以及,判断所述释放次数是否大于第二预设值,以确定所述第一SA小区是否处于异常状态,其中,所述第一预设值小于所述预设时间段的时长,即上述第一定时器的定时时长小于所述第二定时器的定时时长。
可选地,所述电子设备预先配置有至少两个候选小区的频点信息,所述至少两个候选小区包括第二SA小区和长期演进(Long Term Evolution,LTE)小区中的至少一种小区,所述目标小区为所述至少两个候选小区中的任意候选小区,所述建立所述电子设备与目标小区的网络连接,包括:
基于所述目标小区的所述频点信息,建立与所述目标小区的网络连接。
具体地,由于同种类型的相邻小区的覆盖范围通常具有重叠区域,同时,不同类型的小区的覆盖范围也具有重叠区域,因此,在电子设备驻网所述第一SA小区的同时,还可以与其他小区建立网络连接。可以预先在所述电子设备中配置上述候选小区的频点及候选小区的覆盖范围。这样,在所述第一SA小区处于异常状态时,所述电子设备可以从配置信息中确定能够正常为其提供网络服务的所述至少两个候选小区,并可以在至少两个候选小区中确定目标小区,同时,基于目标小区的频点建立与目标小区之间的网络连接,其中,电子设备与目标小区之间建立网络连接的过程与上述过程类似,即通过向目标小区的基站发送PUD会话创建请求,并在接收到目标小区的基站发送的PUD会话创建接收消息之后,即完成了网络连接过程。
该实施方式中,通过在第一SA小区处于异常状态的情况下,建立电子设备与目标小区之间的网络连接,如此,可以确保能够正常为所述电子设备提供上网服务。
可选地,所述建立所述电子设备与目标小区的网络连接之前,所述方法还包括:
在所述至少两个候选小区包括至少一个所述第二SA小区的情况下,在所述至少一个所述第二SA小区中确定所述目标小区;
在所述至少两个候选小区不包括所述第二SA小区情况下,在至少一个 LTE小区中确定所述目标小区。
其中,所述在所述至少两个候选小区不包括所述第二SA小区情况下,在至少一个LTE小区中确定所述目标小区具体可以是指:在所述至少两个候选小区不包括所述第二SA小区,且所述至少两个候选小区包括至少一个LTE小区的情况下,在所述至少一个LTE小区中确定所述目标小区。
由于相对于LTE小区而言,SA小区提供的上网服务的上网速度更快,因此,可以在所述至少两个候选小区中包括第二SA小区的情况下,优先在第二SA小区中确定所述目标小区,以便于提高网络服务的质量。相应地,在所述至少两个候选小区中不包括所述SA小区的情况下,在所述LTE小区中确定目标小区,以便于可以正常为所述电子设备提供网络服务。
可选地,所述建立所述电子设备与目标小区的网络连接之前,所述方法还包括:
获取所述至少两个候选小区的信号强度信息;
将所述至少两个候选小区中,信号强度最强的候选小区确定为所述目标小区。
其中,所述电子设备可以直接下载所述候选小区的信号强度。
该实施方式中,通过将所述至少两个候选小区中信号强度最强的候选小区确定为所述目标小区,如此,有利于提高网络服务的质量。
在本申请另一实施例中,所述建立所述电子设备与目标小区的网络连接之前,所述方法还包括:
在所述至少两个候选小区包括至少两个所述第二SA小区的情况下,将所述至少两个所述第二SA小区中信号强度最强的第二SA小区确定为所述目标小区;
在所述至少两个候选小区不包括所述第二SA小区,且所述至少两个候选小区包括至少两个LTE小区的情况下,将所述至少两个LTE小区中信号强度最强的LTE小区确定为所述目标小区。
可选地,在基于所述释放状态信息确定所述第一SA小区处于异常状态的情况下,所述方法还包括:
将所述第一SA小区加入本地缓存的异常5G SA小区列表。
其中,所述异常5G SA小区列表可以缓存预设时长内被电子设备判定为异常小区的小区频点信息。如此,在电子设备连接网络时,可以选择与异常5G SA小区列表之外的其他小区建立网络连接,以提高网络连接的成功率。可以理解的是,所述第一SA小区仅存储所述预设时长内被电子设备判定为异常小区的小区频点信息,被电子设备判定为异常的小区,当超过所述预设时长将被从所述异常5G SA小区列表中移除,这样,可以确保此类小区在恢复正常之后,能够正常为电子设备提供网络服务。
请参见图4,为本申请实施例提供的一种电子设备400的结构示意图,所述电子设备400,包括:
获取模块401,用于在所述电子设备400与第一独立组网SA小区建立网络连接的情况下,获取第一协议数据单元PDU会话的释放状态信息,所述第一PDU会话为所述电子设备400与所述第一SA小区之间的PDU会话;
连接模块402,用于在基于所述释放状态信息确定所述第一SA小区处于异常状态的情况下,建立与目标小区的网络连接,所述目标小区为所述第一SA小区之外的其他小区。
可选地,所述释放状态信息包括第一时间差,所述第一时间差包括所述第一PDU会话创建的时间点与所述第一PDU会话释放的时间点之间的时间差;请参见图5,所述电子设备400,还包括:
第一确定模块403,用于在所述第一时间差小于第一预设值的情况下,确定所述第一SA小区处于异常状态。
可选地,所述释放状态信息包括释放次数,所述释放次数包括:在预设时间段内,所述电子设备400与所述第一SA小区之间的所述第一PDU会话被释放的次数;
所述连接模块402,还用于在所述预设时间段内,在接收到所述第一SA小区发送的第一PDU会话释放命令的情况下,重新创建与所述第一SA小区的所述第一PDU会话;
所述电子设备400,还包括:
第二确定模块404,用于在所述释放次数大于第二预设值的情况下,确定所述第一SA小区处于异常状态。
可选地,所述电子设备400预先配置有至少两个候选小区的频点信息,所述至少两个候选小区包括第二SA小区和长期演进LTE小区中的至少一种小区,所述目标小区为所述至少两个候选小区中的任意候选小区;
所述连接模块402,用于基于所述目标小区的所述频点信息,建立与所述目标小区的网络连接。
可选地,所述电子设备400,还包括:
第三确定模块405,用于在所述至少两个候选小区包括至少一个所述第二SA小区的情况下,在所述至少一个所述第二SA小区中确定所述目标小区;
所述第三确定模块405,还用于在所述至少两个候选小区不包括所述第二SA小区的情况下,在至少一个LTE小区中确定所述目标小区。
可选地,,所述获取模块401,还用于获取所述至少两个候选小区的信号强度信息;
所述电子设备400,还包括:
第三确定模块405,用于将所述至少两个候选小区中,信号强度最强的候选小区确定为所述目标小区。
该实施方式中,在电子设备400与第一SA小区建立网络连接的情况下,通过基于第一PDU会话的释放状态信息,确定所述第一SA小区是否处于异常状态,并在第一SA小区处于异常状态的情况下,建立电子设备400与目标小区的网络连接,以确保在第一SA小区异常的情况下,电子设备400仍可以连接网络,从而提高电子设备400网络连接的效果。
可选地,如图6所示,本申请实施例还提供了另一种电子设备600,包括处理器601,存储器602,存储在存储器602上并可在所述处理器601上运行的程序或指令,该程序或指令被处理器601执行时实现上述网络连接方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。
图7为实现本申请实施例的一种电子设备的硬件结构示意图。
该电子设备700包括但不限于:射频单元701、网络模块702、音频输出单元703、输入单元704、传感器705、显示单元706、用户输入单元707、 接口单元708、存储器709、以及处理器710等部件。
其中,所述处理器710,用于在所述电子设备与第一独立组网SA小区建立网络连接的情况下,获取第一协议数据单元PDU会话的释放状态信息,所述第一PDU会话为所述电子设备与所述第一SA小区之间的PDU会话;
所述网络模块702,用于在基于所述释放状态信息确定所述第一SA小区处于异常状态的情况下,建立与目标小区的网络连接,所述目标小区为所述第一SA小区之外的其他小区。
可选地,所述处理器710,用于在所述第一时间差小于第一预设值的情况下,确定所述第一SA小区处于异常状态。
可选地,所述网络模块702,用于在所述预设时间段内,在接收到所述第一SA小区发送的第一PDU会话释放命令的情况下,重新创建与所述第一SA小区的所述第一PDU会话;
所述处理器710,用于在所述释放次数大于第二预设值的情况下,确定所述第一SA小区处于异常状态。
可选地,所述网络模块702,用于基于所述目标小区的所述频点信息,建立与所述目标小区的网络连接。
可选地,所述处理器710,用于在所述至少两个候选小区包括至少一个所述第二SA小区的情况下,在所述至少一个所述第二SA小区中确定所述目标小区;
所述处理器710,用于在所述至少两个候选小区不包括所述第二SA小区的情况下,在至少一个LTE小区中确定所述目标小区。
可选地,所述处理器710,用于获取所述至少两个候选小区的信号强度信息;
所述处理器710,用于将所述至少两个候选小区中,信号强度最强的候选小区确定为所述目标小区。
本领域技术人员可以理解,电子设备700还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器710逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图7中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多 或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
应理解的是,本申请实施例中,输入单元704可以包括图形处理器(Graphics Processing Unit,GPU)7041和麦克风7042,图形处理器7041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元706可包括显示面板7061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板7061。用户输入单元707包括触控面板7071以及其他输入设备7072。触控面板7071,也称为触摸屏。触控面板7071可包括触摸检测装置和触摸控制器两个部分。其他输入设备7072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器709可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器710可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器710中。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述网络连接方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述网络连接方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者 装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (13)

  1. 一种网络连接方法,应用于电子设备,所述方法包括:
    在所述电子设备与第一独立组网SA小区建立网络连接的情况下,获取第一协议数据单元PDU会话的释放状态信息,所述第一PDU会话为所述电子设备与所述第一SA小区之间的PDU会话;
    在基于所述释放状态信息确定所述第一SA小区处于异常状态的情况下,建立与目标小区的网络连接,所述目标小区为所述第一SA小区之外的其他小区。
  2. 根据权利要求1所述的方法,其中,所述释放状态信息包括第一时间差,所述第一时间差包括所述第一PDU会话创建的时间点与所述第一PDU会话释放的时间点之间的时间差;所述建立所述电子设备与目标小区的网络连接之前,所述方法还包括:
    在所述第一时间差小于第一预设值的情况下,确定所述第一SA小区处于异常状态。
  3. 根据权利要求1所述的方法,其中,所述释放状态信息包括释放次数,所述释放次数包括:在预设时间段内,所述电子设备与所述第一SA小区之间的所述第一PDU会话被释放的次数,所述建立所述电子设备与目标小区的网络连接之前,所述方法还包括:
    在所述预设时间段内,在接收到所述第一SA小区发送的第一PDU会话释放命令的情况下,重新创建与所述第一SA小区的所述第一PDU会话;
    在所述释放次数大于第二预设值的情况下,确定所述第一SA小区处于异常状态。
  4. 根据权利要求1所述的方法,其中,所述电子设备预先配置有至少两个候选小区的频点信息,所述至少两个候选小区包括第二SA小区和长期演进LTE小区中的至少一种小区,所述目标小区为所述至少两个候选小区中的任意候选小区,所述建立所述电子设备与目标小区的网络连接,包括:
    基于所述目标小区的所述频点信息,建立与所述目标小区的网络连接。
  5. 根据权利要求4所述的方法,其中,所述建立所述电子设备与目标小区的网络连接之前,所述方法还包括:
    在所述至少两个候选小区包括至少一个所述第二SA小区的情况下,在所述至少一个所述第二SA小区中确定所述目标小区;
    在所述至少两个候选小区不包括所述第二SA小区的情况下,在至少一个LTE小区中确定所述目标小区。
  6. 一种电子设备,包括:
    获取模块,用于在所述电子设备与第一独立组网SA小区建立网络连接的情况下,获取第一协议数据单元PDU会话的释放状态信息,所述第一PDU会话为所述电子设备与所述第一SA小区之间的PDU会话;
    连接模块,用于在基于所述释放状态信息确定所述第一SA小区处于异常状态的情况下,建立与目标小区的网络连接,所述目标小区为所述第一SA小区之外的其他小区。
  7. 根据权利要求6所述的电子设备,其中,所述释放状态信息包括第一时间差,所述第一时间差包括所述第一PDU会话创建的时间点与所述第一PDU会话释放的时间点之间的时间差;所述电子设备,还包括:
    第一确定模块,用于在所述第一时间差小于第一预设值的情况下,确定所述第一SA小区处于异常状态。
  8. 根据权利要求6所述的电子设备,其中,所述释放状态信息包括释放次数,所述释放次数包括:在预设时间段内,所述电子设备与所述第一SA小区之间的所述第一PDU会话被释放的次数;
    所述连接模块,还用于在所述预设时间段内,在接收到所述第一SA小区发送的第一PDU会话释放命令的情况下,重新创建与所述第一SA小区的所述第一PDU会话;
    所述电子设备,还包括:
    第二确定模块,用于在所述释放次数大于第二预设值的情况下,确定所 述第一SA小区处于异常状态。
  9. 根据权利要求6所述的电子设备,其中,所述电子设备预先配置有至少两个候选小区的频点信息,所述至少两个候选小区包括第二SA小区和长期演进LTE小区中的至少一种小区,所述目标小区为所述至少两个候选小区中的任意候选小区;
    所述连接模块,用于基于所述目标小区的所述频点信息,建立与所述目标小区的网络连接。
  10. 根据权利要求9所述的电子设备,其中,所述电子设备,还包括:
    第三确定模块,用于在所述至少两个候选小区包括至少一个所述第二SA小区的情况下,在所述至少一个所述第二SA小区中确定所述目标小区;
    所述第三确定模块,还用于在所述至少两个候选小区不包括所述第二SA小区的情况下,在至少一个LTE小区中确定所述目标小区。
  11. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现权利要求1至5中任意一项所述方法的步骤。
  12. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现权利要求1至5中任意一项所述方法的步骤。
  13. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,所述程序或指令被处理器执行时实现权利要求1至5中任意一项所述方法的步骤。
PCT/CN2023/110689 2022-08-05 2023-08-02 网络连接方法、电子设备、可读存储介质和芯片 Ceased WO2024027745A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US19/033,386 US20250168915A1 (en) 2022-08-05 2025-01-21 Network connection method, electronic device, readable storage medium, and chip

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210936716.7A CN115175375B (zh) 2022-08-05 2022-08-05 网络连接方法、电子设备、可读存储介质和芯片
CN202210936716.7 2022-08-05

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US19/033,386 Continuation US20250168915A1 (en) 2022-08-05 2025-01-21 Network connection method, electronic device, readable storage medium, and chip

Publications (1)

Publication Number Publication Date
WO2024027745A1 true WO2024027745A1 (zh) 2024-02-08

Family

ID=83479564

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/110689 Ceased WO2024027745A1 (zh) 2022-08-05 2023-08-02 网络连接方法、电子设备、可读存储介质和芯片

Country Status (3)

Country Link
US (1) US20250168915A1 (zh)
CN (1) CN115175375B (zh)
WO (1) WO2024027745A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115175375B (zh) * 2022-08-05 2025-08-19 维沃移动通信有限公司 网络连接方法、电子设备、可读存储介质和芯片

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20190004217A (ko) * 2017-07-03 2019-01-11 한국전자통신연구원 5g 네트워크 등록 방법 및 pdu 세션 앵커 재배치하는 방법
CN112911657A (zh) * 2019-12-04 2021-06-04 中兴通讯股份有限公司 一种小区重选方法、设备和存储介质
CN113038593A (zh) * 2021-02-04 2021-06-25 维沃移动通信有限公司 连接建立方法、装置和用户设备
CN113079590A (zh) * 2020-01-03 2021-07-06 中国移动通信有限公司研究院 一种服务区域切换处理方法及设备
CN115175375A (zh) * 2022-08-05 2022-10-11 维沃移动通信有限公司 网络连接方法、电子设备、可读存储介质和芯片

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108990116B (zh) * 2017-06-01 2021-08-06 中兴通讯股份有限公司 一种移动切换的管理方法、装置及设备
CN112969244B (zh) * 2019-04-02 2022-06-07 荣耀终端有限公司 一种会话恢复方法及其装置
CN112188579B (zh) * 2020-10-21 2023-03-10 中国联合网络通信集团有限公司 呼叫方法及终端、认证管理功能实体设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20190004217A (ko) * 2017-07-03 2019-01-11 한국전자통신연구원 5g 네트워크 등록 방법 및 pdu 세션 앵커 재배치하는 방법
CN112911657A (zh) * 2019-12-04 2021-06-04 中兴通讯股份有限公司 一种小区重选方法、设备和存储介质
CN113079590A (zh) * 2020-01-03 2021-07-06 中国移动通信有限公司研究院 一种服务区域切换处理方法及设备
CN113038593A (zh) * 2021-02-04 2021-06-25 维沃移动通信有限公司 连接建立方法、装置和用户设备
CN115175375A (zh) * 2022-08-05 2022-10-11 维沃移动通信有限公司 网络连接方法、电子设备、可读存储介质和芯片

Also Published As

Publication number Publication date
CN115175375B (zh) 2025-08-19
US20250168915A1 (en) 2025-05-22
CN115175375A (zh) 2022-10-11

Similar Documents

Publication Publication Date Title
CN113543281B (zh) 语音通话方法和语音通话装置
CN110708696B (zh) 网络数据的恢复方法、装置、存储介质及电子设备
CN110300404A (zh) 一种网络控制方法及移动终端
CN113015226B (zh) 一种网络连接方法及装置
US12396058B2 (en) Wi-Fi control method and apparatus and electronic device
WO2021057526A1 (zh) 一种网关设备容灾的方法及通信设备
CN106102142B (zh) 终端数据处理方法及装置
CN102014021A (zh) 一种控制数据链路通断的方法及装置
CN113365234B (zh) 呼叫方法、装置及电子设备
CN112188227A (zh) 一种流媒体数据分发方法和装置
CN106413032B (zh) 一种热点建立方法及终端设备
CN115767649A (zh) 即时通讯方法、装置、电子设备及存储介质
JP2023508739A5 (zh)
US20250168915A1 (en) Network connection method, electronic device, readable storage medium, and chip
CN113225727B (zh) 处理方法、装置及电子设备
WO2019237954A1 (zh) 网络连接方法、装置、可读存储介质及智能终端
CN112188245B (zh) 一种前端摄像头实时视频点播方法及装置、电子设备
WO2022194212A1 (zh) 呼叫方法、装置及电子设备
US9485458B2 (en) Data processing method and device
WO2024067356A1 (zh) 网络连接方法、装置、电子设备和可读存储介质
WO2024217471A1 (zh) 网络异常恢复方法、装置、电子设备、服务器及存储介质
CN112584408B (zh) 无线链路失败重建的方法、装置和电子设备
WO2023216964A1 (zh) 语音通话方法、装置及电子设备
CN115580945A (zh) 寻呼方法、装置、电子设备及存储介质
WO2023030384A1 (zh) Ims网络注册方法、装置及电子设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23849450

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 23849450

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 23849450

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 14/07/2025)