Network connection method and apparatus, and chip, electronic device and medium

Through the introduction of network -side equipment re -selection operations in electronic devices, the business interruption of business interruptions caused by waiting time was solved, and more fast business recovery and user experience improvement were achieved.

WO2025020515A1PCT designated stage expired Publication Date: 2025-01-30HONOR DEVICE CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/078270
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-07-25
Filing Date
2024-02-23
Publication Date
2025-01-30

AI Technical Summary

Technical Problem

In the prior art, when the network-side device resources are limited, the electronic device connection will wait for the waiting time to try to connect again after failing, resulting in a long service interruption and affecting the user experience.

Method used

After receiving the refusal connection of the network side device, the electronic equipment performs the re -selection operation of the network side device, and selects the new network side device to connect to avoid the connection attempts after waiting for a long time.

Benefits of technology

Through network -side equipment re -selection operations, electronic equipment can restore business functions faster, shorten business interruption duration, and enhance user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024078270_30012025_PF_FP_ABST
    Figure CN2024078270_30012025_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the embodiments of the present application are a network connection method and apparatus, and a chip, an electronic device and a medium. The method comprises: an electronic device sending a connection request to a first network-side device; when receiving a rejection connection message that is returned by the first network-side device, executing a network-side device re-selection operation; and when a network-side device is re-selected by means of executing the network-side device re-selection operation, sending the connection request to the re-selected network-side device, wherein the re-selected network-side device and the first network-side device are different network-side devices. The embodiments of the present application can prevent a service from being interrupted for a relatively long time, thereby improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

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

[0001] This invention claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on July 25, 2023, with application number 202310920616.X and application name “Network connection method, device, chip, electronic device and medium”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the technical field of electronic equipment, and in particular to a network connection method, device, chip, electronic equipment and medium. Background Art

[0003] To perform service functions, electronic devices can send connection requests to network-side devices in an attempt to connect to the network provided by the network-side devices. If the network-side device is unable to accept the electronic device's connection request due to resource constraints, it can respond with a connection rejection message containing a waiting time, prohibiting the electronic device from reconnecting within the waiting time.

[0004] The electronic device can send a connection request to the network-side device again after the waiting period, but this implementation method will cause service interruption for a long time, thereby affecting the user experience.

[0005] Summary of the Invention

[0006] The embodiments of the present application provide a network connection method, device, chip, electronic device, and medium, which can avoid service interruption for a long time, thereby improving user experience.

[0007] In a first aspect, an embodiment of the present application provides a network connection method, which is applied to an electronic device, the method comprising: sending a connection request to a first network-side device; upon receiving a connection rejection message returned by the first network-side device, performing a network-side device reselection operation; upon reselecting a network-side device by performing the network-side device reselection operation, sending a connection request to the reselected network-side device, the reselected network-side device and the first network-side device being different network-side devices.

[0008] In an embodiment of the present application, when the electronic device fails to connect to the network-side device, it does not wait and reconnect to the network-side device after the waiting timeout, but reselects the network-side device and connects to the reselected new network-side device in order to restore business functions as soon as possible. This can avoid the situation where business interruptions last for a long time, effectively shorten the duration of business interruptions, and thus improve user experience.

[0009] Optionally, when a connection rejection message is received from the first network side device, a network side device reselection operation is performed, including: when a connection rejection message is received from the first network side device, the service status information of the electronic device is obtained; when the pre-set service status information includes the obtained service status information of the electronic device, the network side device reselection operation is performed.

[0010] By setting service status information and selectively reselecting network-side equipment for corresponding services (such as services where users are sensitive to latency), it is possible to avoid long service interruptions that affect user experience.

[0011] Optionally, the connection rejection message includes a waiting time; the network connection method also includes: when the pre-set service status information does not include the acquired service status information of the electronic device, monitoring whether the waiting end time of the corresponding waiting time is reached; when the waiting end time of the corresponding waiting time is reached, sending a connection request to the first network side device again.

[0012] By selectively not reselecting network-side equipment for some services (such as services where users are not sensitive to latency), the network connection process can be simplified without affecting the user experience.

[0013] Optionally, the connection rejection message includes a waiting time; when the connection rejection message returned by the first network side device is received, a network side device reselection operation is performed, including: when the connection rejection message returned by the first network side device is received, determining whether the waiting time is greater than a set time threshold; when the waiting time is greater than the time threshold, performing a network side device reselection operation.

[0014] By setting a time threshold and selectively reselecting network-side devices for longer waiting times, it is possible to avoid long service interruptions that affect user experience.

[0015] Optionally, the network connection method also includes: when the waiting time is not greater than the time threshold, monitoring whether the waiting end time corresponding to the waiting time is reached; when the waiting end time corresponding to the waiting time is reached, sending a connection request to the first network side device again.

[0016] By selectively not reselecting network-side devices for shorter waiting times, the network connection process can be simplified without affecting the user experience.

[0017] Optionally, the connection rejection message includes a waiting time; the network connection method also includes: modifying the priority of the first network-side device obtained in advance, the modified priority is lower than the priority before modification, and the modification expiration time is the waiting end time of the corresponding waiting time; according to the modified priority of the first network-side device, executing the above-mentioned steps of executing the network-side device reselection operation.

[0018] By lowering the priority of the current network-side device, the probability of reselecting the network-side device can be increased, thereby reducing the occurrence of long service interruptions.

[0019] Optionally, performing a network side device reselection operation includes: in the presence of an adjacent network side device that meets the measurement start conditions, measuring the signal quality of the target network side device, wherein the target network side device meets the measurement start conditions, and the priority of the target network side device is not lower than other adjacent network side devices that meet the measurement start conditions; determining whether the set reselection conditions are met based on the signal quality of the target network side device, wherein the reselection conditions include that the signal quality of the measured adjacent network side device is greater than a set signal quality threshold within a set time period; if the reselection conditions are met, determining that the target network side device is the reselected network side device.

[0020] By combining the priority and signal quality of the network-side device and the set measurement start conditions and reselection conditions, support can be provided for reselecting a better network-side device, thereby avoiding frequent reselection of network-side devices.

[0021] In a second aspect, an embodiment of the present application provides a network connection device, which is applied to an electronic device, and the device includes: a first sending module, which is used to send a connection request to a first network-side device; a reselection module, which is used to perform a network-side device reselection operation when a connection rejection message is received from the first network-side device; and a second sending module, which is used to send a connection request to the reselected network-side device when the network-side device is reselected by performing the network-side device reselection operation, and the reselected network-side device and the first network-side device are different network-side devices.

[0022] In a third aspect, an embodiment of the present application provides an electronic chip, comprising: a processor for executing computer program instructions stored in a memory, wherein when the computer program instructions are executed by the processor, the electronic chip is triggered to execute any method as in the first aspect.

[0023] In a fourth aspect, an embodiment of the present application provides an electronic device, which includes one or more memories for storing computer program instructions, and one or more processors, wherein when the computer program instructions are executed by one or more processors, the electronic device is triggered to execute a method as described in any one of the first aspects.

[0024] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program runs on a computer, the computer executes any method as in the first aspect.

[0025] In a sixth aspect, an embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is run on a computer, it enables the computer to execute any method as described in the first aspect.

[0026] The technical effects of the aforementioned aspects can be referenced with each other and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0028] FIG1 is a schematic structural diagram of an electronic device provided by one embodiment of the present application;

[0029] FIG2 is a timing diagram of a network connection implementation method;

[0030] FIG3 is a flow chart of a network connection method according to an embodiment of the present application;

[0031] FIG4 is a timing diagram of a network connection method provided by an embodiment of the present application. DETAILED DESCRIPTION

[0032] In order to better understand the technical solution of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0033] It should be clear that the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0034] The terms used in the embodiments of the present application are for the purpose of describing specific embodiments only and are not intended to limit the present application. The singular forms "a", "an", "the" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise.

[0035] It should be understood that the term "at least one" used in this article refers to one or more, and "plurality" refers to two or more. The term "and / or" used in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. Among them, A and B can be singular or plural. In addition, the character " / " in this article generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can represent: a, b, c, ab, ac, bc or abc, where a, b, c can be single or multiple.

[0036] It should be understood that although the terms "first," "second," etc. may be used to describe the set thresholds in the embodiments of the present application, these set thresholds should not be limited to these terms. These terms are merely used to distinguish the set thresholds from each other. For example, without departing from the scope of the embodiments of the present application, the first set threshold may also be referred to as the second set threshold, and similarly, the second set threshold may also be referred to as the first set threshold.

[0037] The network connection method provided in any embodiment of the present application can be applied to the electronic device 100 shown in Figure 1. Figure 1 shows a schematic structural diagram of the electronic device 100.

[0038] The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identification module (SIM) card interface 195. The sensor module 180 may include a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.

[0039] It should be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0040] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors. The controller may generate operation control signals based on instruction opcodes and timing signals to control instruction fetching and execution.

[0041] In some embodiments, the processor 110 may be a system on chip (SOC), which may include a central processing unit (CPU) or other types of processors. In some embodiments, the processor 110 may be a PWM control chip.

[0042] The processor 110 may also include necessary hardware accelerators or logic processing hardware circuits, such as ASICs, or one or more integrated circuits for controlling the execution of the technical solution program. In addition, the processor 110 may have the function of operating one or more software programs, which may be stored in a storage medium.

[0043] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.

[0044] In some embodiments, the memory of the electronic device 100 can be a read-only memory (ROM), other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or it can also be any computer-readable medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer.

[0045] In some embodiments, the processor 110 and the memory may be combined into a single processing device or may be independent components. The processor 110 may be configured to execute program code stored in the memory. In specific implementations, the memory may also be integrated into the processor 110 or may be independent of the processor 110.

[0046] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface.

[0047] The USB interface 130 is an interface that complies with USB standard specifications, and specifically may be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc.

[0048] It is understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is merely an illustrative illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods from the above embodiments, or a combination of multiple interface connection methods.

[0049] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0050] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.

[0051] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0052] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

[0053] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0054] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with a network and other devices through wireless communication technologies. The wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0055] Electronic device 100 implements display functionality through a GPU, display screen 194, and an application processor. A GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.

[0056] Display screen 194 is used to display images, videos, and the like. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-oLed, or a quantum dot light-emitting diode (QLED). In some embodiments, electronic device 100 may include one or N display screens 194, where N is a positive integer greater than one.

[0057] The electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.

[0058] The ISP processes data fed back by the camera 193. The camera 193 is used to capture still images or videos. An object passes through the lens to generate an optical image that is projected onto the photosensitive element.

[0059] Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. This allows electronic device 100 to play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, and MPEG4.

[0060] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 via the external memory interface 120 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.

[0061] The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121 and / or instructions stored in a memory provided in the processor.

[0062] The electronic device 100 can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0063] Buttons 190 include a power button and a volume button. They can be mechanical or touch-sensitive. Motor 191 can generate vibrations. This can be used for incoming call vibrations or touch vibration feedback. Indicator 192 can be an indicator light that can indicate charging status, battery level changes, messages, missed calls, notifications, and more.

[0064] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to or disconnected from the electronic device 100 by inserting it into or removing it from the SIM card interface 195. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.

[0065] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture.

[0066] To perform services (such as making calls or accessing the internet), electronic devices can send connection requests to network-side devices in an attempt to connect to the network provided by the network-side devices. If the network-side device is unable to accept the electronic device's connection request due to resource constraints (such as congestion), it can respond with a connection rejection message containing a waiting time, prohibiting the electronic device from reconnecting within the waiting time.

[0067] To achieve network connection when the network end device refuses the electronic device to connect to the network, please refer to FIG. 2 . A feasible network connection implementation method may include the following steps 201 to 203 .

[0068] In step 201 , the electronic device 21 sends a connection request to the network-side device 22 .

[0069] In step 202 , the network-side device 22 returns a connection rejection message carrying a waiting time to the electronic device 21 .

[0070] When the network-side device 22 is unable to accept the connection request of the electronic device 21 due to limited resources, it may return a connection rejection message.

[0071] In step 203 , when the waiting time reaches the end of the waiting time, the electronic device 21 sends a connection request to the network-side device 22 again.

[0072] Refer to Figure 2. When the network device rejects an electronic device's connection request, the electronic device can retry the connection request after a specified waiting time. However, this approach results in a prolonged service interruption, impacting the user experience. For example, if a device receives a waiting time during a call and reconnects to the network device after the waiting time, the device may experience prolonged silence or even call drops, severely impacting the user's call experience.

[0073] For example, for the 503 call drop problem (503 is an identifier used to indicate that the service is unavailable) reproduced in the precise field test of the product, the reason for this problem is: the UE (User Equipment) receives the RRCrelease (RRC release message) from the network-side device during the call. After receiving the RRCrelease, the UE re-sends the RRCsetupRequest (RRC connection establishment request) to the network-side device to continue the call function, but receives the RRCReject (RRC rejection message) returned by the network-side device with waitTime 8 (i.e., the waiting time is 8s). 8s after receiving the RRCReject, the UE re-sends the RRCsetupRequest to the network-side device and the RRC connection is successful, but the voice bearer is not restored, and the network side sends a 503 call drop (this situation may be caused by the UE not being connected to the network-side device for a long time). The user call experience in this case is poor.

[0074] Among them, RRC (Radio Resource Control) can represent radio resource control.

[0075] Referring to FIG. 3 , an embodiment of the present application provides a network connection method, which is applied to an electronic device. The method may include the following steps 301 to 303 :

[0076] Step 301: Send a connection request to a first network-side device.

[0077] In one embodiment, the network-side device may be a gNB. gNB is the abbreviation of gNodeB, which stands for the next generation Node B and can represent a 5G base station.

[0078] In one embodiment, when the electronic device is ready to connect to the network side device, it can send a connection request to the network side device. After the electronic device is connected to the network side device, it can be in a connected state, thereby realizing service functions through the network provided by the network side device.

[0079] In one embodiment, if an electronic device receives a release message from the network-side device after connecting to the network-side device, causing the electronic device to be in an idle state, in order to continue to implement business functions, the electronic device can send a connection request to the network-side device again in the hope of being connected again.

[0080] In one embodiment, the connection request sent by the electronic device may be the above-mentioned RRCsetupRequest.

[0081] Step 302: Upon receiving a connection rejection message returned by the first network-side device, perform a network-side device reselection operation. Network-side device reselection is also called cell reselection.

[0082] In one embodiment, if the network-side device is not resource-constrained, the network-side device may return a connection approval message (such as RRCsetup) based on the connection request sent by the electronic device, so that the electronic device can connect to the network-side device. If the network-side device is resource-constrained, the network-side device may return a connection rejection message (such as the aforementioned RRCReject) based on the connection request sent by the electronic device.

[0083] In a feasible implementation, the connection rejection message may carry the waiting time.

[0084] In one embodiment, the waiting time may range from 1s to 16s.

[0085] In one embodiment, the electronic device may start a first timer when sending a connection request. For example, the electronic device may start a corresponding T300 timer when sending an RRC connection request. If the electronic device receives a connection approval message or a connection rejection message before the first timer expires, the first timer may be stopped. The electronic device may perform a corresponding operation after the first timer expires, such as sending a connection request again or being in an idle state.

[0086] In one embodiment, after receiving the connection rejection message, the electronic device may stop the first timer, release previously allocated resources (such as resetting the MAC and releasing the MAC configuration), and notify the upper layer that the connection establishment failed. After that, the second timer may be started according to the waiting time carried in the connection rejection message. For example, the electronic device starts the corresponding T302 timer after receiving the RRC connection rejection message. MAC (Media Access Control Address) can represent the media access control address.

[0087] According to 3GPP (3rd Generation Partnership Project) regulations, the waiting time can be applied to the T302 timer. In this case, the second timer runs for the waiting time, and while the second timer is running, the electronic device is prohibited from initiating a connection request to the first network-side device. After the second timer expires, the electronic device is allowed to initiate a connection request to the first network-side device again.

[0088] In one embodiment, when the network-side device is unable to accept the RRC connection request sent by the electronic device, it can reply to the electronic device via CCCH (Common Control Channel) on SRB0 with an RRC connection rejection message containing a wait time, thereby prohibiting the electronic device from reconnecting within the corresponding time window. Here, SRB (Signaling Radio Bearer) represents a radio signaling bearer, and SRB0 is the bearer used to transmit RRC messages.

[0089] Unlike the implementation method in which the electronic device waits for the second timer to expire after receiving the connection rejection message and then re-initiates a connection request to the first network-side device after the second timer expires, in the embodiment of Figure 1, the electronic device can perform a network-side device reselection operation when receiving the connection rejection message, in order to attempt to connect to a new network-side device as soon as possible. Based on the influence of relevant factors (such as the existence of other network-side devices, the parameters of other network-side devices, etc.), the execution result may be reselection to a new network-side device or failure to reselect a new network-side device.

[0090] Step 303 : When a network-side device is reselected by executing the network-side device reselection operation, a connection request is sent to the reselected network-side device, where the reselected network-side device and the first network-side device are different network-side devices.

[0091] When a new network-side device is reselected, the electronic device may send a connection request to the reselected new network-side device in order to connect to the new network-side device, rather than trying to connect to the original first network-side device again after the waiting period.

[0092] In one embodiment, if the new network-side device returns a connection approval message based on the connection request sent by the electronic device, the electronic device connects to the new network-side device to implement the service function. If the new network-side device returns a connection rejection message based on the connection request sent by the electronic device, the electronic device can perform a network-side device reselection operation again.

[0093] In one embodiment, if the new network side device returns a connection consent message according to the connection request sent by the electronic device, that is, the electronic device reselects successfully, and the above-mentioned second timer is in a running state at this time, the electronic device can stop the second timer.

[0094] In the embodiment shown in FIG3 , when the electronic device fails to connect to the network-side device, it does not wait and reconnect to the network-side device after the waiting timeout, but reselects the network-side device and connects to the reselected new network-side device in order to restore the service function as soon as possible. This can avoid the situation where the service is interrupted for a long time, effectively shorten the service interruption time, and thus improve the user experience.

[0095] In addition, 3GPP protocol TS 38.331 stipulates that cell reselection is allowed during the T302 timer, and the T302 timer can be stopped after successful reselection. Therefore, the embodiment shown in Figure 3 can effectively shorten the service interruption duration on the basis of quasi-compliance with the protocol.

[0096] In one embodiment, the electronic device may start timing when receiving the connection rejection message. If the electronic device is not connected to any network-side device when the timing reaches the waiting time, the electronic device may send a connection request to the first network-side device again.

[0097] Thus, in one embodiment of the present application, if the electronic device fails to reselect a network-side device by performing a network-side device reselection operation, and the waiting time corresponding to the waiting period has not yet expired when it is determined that the network-side device has not been reselected, the electronic device may resend a connection request to the first network-side device when the waiting time corresponding to the waiting period has expired. This ensures that the electronic device can still connect to the original network-side device even if it fails to reselect a new network-side device, thus avoiding the situation where the electronic device is always in an unconnected state.

[0098] In one embodiment, if the network-side device reselection operation has not been completed when the waiting end time corresponding to the waiting time is reached, the electronic device may end the network-side device reselection operation and send a connection request to the first network-side device again.

[0099] Taking into account the differences in users' delay sensitivity to different services, for example, users are more sensitive to call delay but not to video playback delay (for example, considering the existence of video buffering), the network-side device reselection operation can be performed when the electronic device is in a delay-sensitive service state, and the network-side device reselection operation is not performed when the electronic device is in a non-delay-sensitive service state.

[0100] Thus, in one embodiment of the present application, the above-mentioned step 302 includes: when a connection rejection message is received from the first network-side device, obtaining the service status information of the electronic device; when the pre-set service status information includes the obtained service status information of the electronic device, performing a network-side device reselection operation.

[0101] In one embodiment, the service status information of the electronic device may include the application currently used by the electronic device and the working status of the currently used application. The service status information may be used to indicate whether the electronic device is in a delay-sensitive service state.

[0102] For example, if the electronic device is currently using a chat application and the chat application is in a voice / video call state, the electronic device is in a latency-sensitive service state. For another example, if the electronic device is currently using a chat application and the chat application is in a chat state, the electronic device is in a non-latency-sensitive service state.

[0103] In one embodiment, information on delay-sensitive service states (such as call status, Internet access status, competitive game status, etc.) can be preset, and the acquired service status information can be compared with the preset information. The comparison result can reflect whether the electronic device is in a delay-sensitive service state, and then the network-side device reselection operation can be performed as needed based on the comparison result.

[0104] By setting service status information and selectively reselecting network-side equipment for corresponding services (such as services where users are sensitive to latency), it is possible to avoid long service interruptions that affect user experience.

[0105] In one embodiment of the present application, the connection rejection message includes a waiting time; the network connection method also includes: when the pre-set service status information does not include the service status information of the obtained electronic device, monitoring whether the waiting end time of the corresponding waiting time is reached; when the waiting end time of the corresponding waiting time is reached, sending a connection request to the first network side device again.

[0106] In one embodiment, timing may be started when the waiting time is received, and the moment when the timing reaches the waiting time may be regarded as the waiting end moment.

[0107] In one embodiment, information about a delay-sensitive service status may be preset. If the preset information does not include the acquired service status information, that is, the electronic device is in a non-delay-sensitive service status, the network-side device reselection operation may not be performed, but the timeout moment may be waited for, and a connection request may be sent to the first network-side device again after the timeout.

[0108] By selectively not reselecting network-side devices for certain services (such as those for which users are not sensitive to latency), the network connection process can be simplified without affecting the user experience. This also reduces device power consumption.

[0109] Considering that the waiting time is not fixed, for example, it can be any value between 1s and 16s, and the user can accept a certain degree of service interruption, the network side device reselection operation can be performed when the waiting time is longer, and the network side device reselection operation will not be performed when the waiting time is short.

[0110] Thus, in one embodiment of the present application, the connection rejection message includes a waiting time; the above step 302 includes: when receiving the connection rejection message returned by the first network side device, determining whether the waiting time is greater than (or not less than) the set time threshold; when the waiting time is greater than (or not less than) the time threshold, performing the network side device reselection operation.

[0111] In one embodiment, the duration threshold may be a preset empirical value, and the duration threshold may be used to reflect the service interruption duration acceptable to the user.

[0112] In one embodiment, the duration threshold may be obtained based on the time required for reselecting the network-side device, and the duration threshold may be greater than the time required for reselecting the network-side device.

[0113] If the waiting time is longer than the time threshold, it can be considered that the service interruption time caused by reconnecting to the first network side device after the waiting time is unacceptable to the user and will reduce the user experience. At this time, the network side device reselection operation can be performed in order to connect to the new network side device as soon as possible to restore the service status, so as to avoid a long service interruption time affecting the user experience.

[0114] By setting a time threshold and selectively reselecting network-side devices for longer waiting times, it is possible to avoid long service interruptions that affect user experience.

[0115] In one embodiment of the present application, the network connection method further includes: when the waiting time is not greater than the time threshold, monitoring whether the waiting end time corresponding to the waiting time is reached; when the waiting end time corresponding to the waiting time is reached, sending a connection request to the first network side device again.

[0116] In one embodiment, timing may be started when the waiting time is received, and the moment when the timing reaches the waiting time may be regarded as the waiting end moment.

[0117] If the waiting time is less than the time threshold, it can be considered that the service interruption time caused by reconnecting to the first network side device after the waiting time is acceptable to the user and will not reduce the user experience. At this time, the network side device reselection operation can be omitted, but the timeout moment can be waited for, and a connection request can be sent to the first network side device again after the timeout.

[0118] By selectively not reselecting network-side devices for shorter waiting times, the network connection process can be simplified without affecting the user experience.

[0119] Taking into account the differences in users' sensitivity to delays of different services and the fact that users can accept a certain degree of service interruption, in one embodiment of the present application, the above-mentioned step 302 includes: upon receiving a connection rejection message returned by the first network-side device, obtaining the service status information of the electronic device; when the pre-set service status information includes the obtained service status information of the electronic device, further determining whether the waiting time is greater than (or not less than) the set time threshold; when the waiting time is greater than (or not less than) the time threshold, performing a network-side device reselection operation.

[0120] In the case that the pre-set service status information does not include the service status information of the obtained electronic device, or when the waiting time is not greater than (or less than) the time threshold, it is monitored whether the waiting end time of the corresponding waiting time is reached, and when the waiting end time of the corresponding waiting time is reached, a connection request is sent to the first network side device again.

[0121] By setting service status information and time thresholds, and selectively reselecting network-side equipment for corresponding services (such as services where users are sensitive to latency) and longer waiting times, it is possible to avoid long service interruptions that affect user experience.

[0122] By selectively not reselecting network-side devices for certain services (such as those for which users are not sensitive to latency) or for latency-sensitive services with short wait times, the network connection process can be simplified without impacting the user experience. This also reduces device power consumption.

[0123] In one embodiment of the present application, when determining whether to perform a network-side device reselection operation based first on service status information and then on a duration threshold, the duration threshold used can be a preset duration threshold corresponding to the obtained service status information. For example, considering that users are more sensitive to call freezes than internet freezes, the duration threshold for internet service status information can be greater than the duration threshold for call service status information. This allows for more targeted network-side device reselection, better meeting actual reselection needs.

[0124] In another embodiment of the present application, the above-mentioned step 302 includes: when receiving a connection rejection message returned by the first network side device, determining whether the waiting time is greater than (or not less than) the set time threshold; when the waiting time is greater than (or not less than) the time threshold, further obtaining the service status information of the electronic device; when the pre-set service status information includes the obtained service status information of the electronic device, performing the network side device reselection operation.

[0125] In one embodiment of the present application, the connection rejection message includes a waiting time; the network connection method also includes: modifying the priority of the first network-side device obtained in advance, the modified priority is lower than the priority before modification, and the modification expiration time is the waiting end time of the corresponding waiting time; according to the modified priority of the first network-side device, executing the above-mentioned steps of executing the network-side device reselection operation.

[0126] In one embodiment, when the electronic device is connected to the first network-side device, it can receive priority information sent by the first network-side device, and the electronic device can store the received priority locally.

[0127] In feasible implementations, the priority of the network-side device can be obtained through system messages, RRCrelease messages, or inherited from the foreign system during foreign system reselection. If the network-side device provides the priority through dedicated signaling (such as RRCrelease message), the electronic device can ignore the priority provided in the system message.

[0128] In one feasible implementation, the priority information may include the priority of the frequency corresponding to the first network-side device and the priority of the frequency corresponding to the network-side device adjacent to the first network-side device. More than one network-side device may exist at the same frequency. The frequency priority may indicate the priority of the network-side device at the frequency.

[0129] When a network-side device needs to be reselected, the electronic device can obtain the priority stored locally. When a priority needs to be modified, the electronic device can modify the priority stored locally.

[0130] In one embodiment, the priority of the first network-side device can be restored from the modified priority to the actual priority before the modification when the waiting time is reached. By limiting the duration of the modification to the waiting time, the modified priority is only applied during the network-side device reselection period. During non-reselection periods, the actual priority of the first network-side device is restored to avoid affecting other related processing flows of the electronic device.

[0131] By lowering the priority of the current network-side device, the probability of reselecting the network-side device can be increased, thereby reducing the occurrence of long service interruptions.

[0132] In one embodiment, the priority of the current network-side device can be reduced to the lowest, and reselection can be performed based on the priority level, so that a new network-side device with a relatively higher priority can be reselected first, and the speed and probability of successful reselection can be improved.

[0133] In one embodiment of the present application, a network-side device reselection operation is performed, including: in the presence of an adjacent network-side device that meets the measurement start condition, measuring the signal quality of a target network-side device, wherein the target network-side device meets the measurement start condition and the priority of the target network-side device is not lower than that of other adjacent network-side devices that meet the measurement start condition; determining whether a set reselection condition is met based on the signal quality of the target network-side device, wherein the reselection condition includes that the signal quality of the measured adjacent network-side device is greater than a set signal quality threshold within a set time period; and if the reselection condition is met, determining that the target network-side device is the reselected network-side device.

[0134] By reselecting network-side devices based on priority, on the one hand, time-consuming reselection can be avoided; on the other hand, it can also help to reselect a relatively better new network-side device, while it is not easy to reselect a relatively poor new network-side device. This can avoid the frequent reselection problem of the electronic device needing to reselect the network-side device again due to the waiting time sent by the poor network-side device due to limited resources when reselecting and connecting to the relatively poor network-side device.

[0135] In one embodiment, the adjacent network-side devices (or neighboring areas, neighboring cells, non-current serving cells) of the first network-side device (or current serving cell) may include network-side devices of the same frequency, different frequencies, and different systems.

[0136] In one embodiment, the signal quality of the network-side device may include Srxlev (Cell selection RX level value, ie, cell reception level, in dB) of the network-side device.

[0137] In one embodiment, after the electronic device successfully resides in the current serving cell, it can continue to measure the current serving cell. In one possible implementation, the RRC layer of the electronic device can calculate Srxlev based on the RSRP (Reference Signal Receiving Power) measurement result. Srxlev can reflect the signal quality strength of the current serving cell.

[0138] In one embodiment, if there is only one adjacent network-side device that meets the measurement initiation condition, then the adjacent network-side device may serve as the target network-side device.

[0139] In one embodiment, if there is more than one adjacent network-side device that meets the measurement initiation conditions, the relatively best adjacent network-side device among them is used as the target network-side device for measurement, rather than measuring all adjacent network-side devices that meet the measurement initiation conditions. If the reselection conditions are determined to be met based on the signal quality of the target network-side device, the target network-side device is reselected. If the reselection conditions are not met, the relatively best adjacent network-side device can be selected from the remaining adjacent network-side devices that meet the measurement initiation conditions as the new target network-side device for measurement. This cycle continues until no adjacent network-side devices remain that meet the measurement initiation conditions, a neighboring network-side device is reselected before a timeout, or the reselection fails.

[0140] By combining the priority and signal quality of the network-side device and the set measurement start conditions and reselection conditions, support can be provided for reselecting a better network-side device, thereby avoiding frequent reselection of network-side devices.

[0141] In one embodiment of the present application, the process of determining the target network-side device by judging whether there is an adjacent network-side device that meets the measurement initiation condition may include the following steps a1 to a2:

[0142] Step a1: determine whether there is an adjacent network-side device that meets the first condition. If so, select a target network-side device from the adjacent network-side devices that meet the first condition. Otherwise, execute step a2.

[0143] The first condition includes that the priority of the adjacent network-side device is higher (or not lower) than the priority of the first network-side device. Thus, in step a1, the adjacent network-side device with a higher priority can be measured first. For the adjacent network-side device with a higher priority, the electronic device can measure it.

[0144] In one embodiment, the priority of the target network-side device obtained in step a1 is not lower than that of other adjacent network-side devices that meet the first condition.

[0145] In one embodiment, the priority of a network-side device may be determined by the priority of its frequency. Network-side devices operating at the same frequency have the same priority. For network-side devices with the same priority, the target network-side device may be determined based on the signal quality of the different network-side devices.

[0146] In such an embodiment, the signal quality of the target network-side device obtained in step a1 is higher than the signal quality of the network-side device of the same priority that meets the first condition.

[0147] Step a2: Determine whether there is an adjacent network-side device that meets the second condition. If so, select a target network-side device from the adjacent network-side devices that meet the second condition. Otherwise, it is considered that there is no adjacent network-side device that meets the measurement start condition, and the cell reselection fails.

[0148] The second condition includes: the priority of the adjacent network-side device is not higher (or lower) than the priority of the first network-side device; if the frequency of the first network-side device is the same as that of the adjacent network-side device, the signal quality of the first network-side device is not greater than the corresponding same-frequency signal quality threshold (for example, Srxlev ≤ Sintrasearch of the first network-side device) or the corresponding same-frequency signal quality threshold is empty; if the frequency of the first network-side device is different from that of the adjacent network-side device, the signal quality of the first network-side device is not greater than the corresponding different-frequency signal quality threshold (for example, Srxlev ≤ Snonintrasearch of the first network-side device) or the corresponding different-frequency signal quality threshold is empty. In this way, if there are no adjacent network-side devices of high priority or same priority, adjacent network-side devices of low priority may also be measured as appropriate.

[0149] Among them, Sintrasearch can represent the intra-frequency measurement trigger threshold of cell reselection, and the unit is dB; Snonintrasearch can represent the inter-frequency measurement trigger threshold of cell reselection, and the unit is dB.

[0150] In one embodiment, when the electronic device is connected to the first network-side device, the system message sent by the first network-side device may record a signal quality threshold corresponding to the same frequency and a signal quality threshold corresponding to the different frequency.

[0151] In one embodiment, the priority of the target network-side device obtained in step a2 is not lower than that of other adjacent network-side devices that meet the second condition.

[0152] In one embodiment, the signal quality of the target network-side device obtained in step a2 is higher than the signal quality of the network-side device of the same priority that meets the second condition.

[0153] In one embodiment of the present application, the second condition may also include: if the frequency of the first network side device is the same as the frequency of the adjacent network side device, the signal quality of the first network side device is greater than the corresponding same-frequency signal quality threshold (for example, Srxlev>Sintrasearch of the first network side device), and the corresponding setting information of the electronic device (the electronic device can decide as needed whether to perform same-frequency measurement in this case and set the information accordingly) indicates that same-frequency measurement is allowed; if the frequency of the first network side device is different from the frequency of the adjacent network side device, the signal quality of the first network side device is not greater than the corresponding different-frequency signal quality threshold (for example, Srxlev>Snonintrasearch of the first network side device), the corresponding setting information of the electronic device (the electronic device can decide as needed whether to perform different-frequency measurement in this case and set the information accordingly) indicates that different-frequency measurement is allowed.

[0154] Thus, in another embodiment of the present application, step a2 may not be performed after step a1, but a target network side device may be selected from adjacent network side devices that do not meet the first condition, and the priority of the target network side device is not lower than that of other adjacent network side devices that do not meet the first condition.

[0155] In one embodiment of the present application, corresponding to the decision on high-priority cell reselection, the reselection conditions may also include: if the priority of the target network side device is higher than the priority of the first network side device, the signal quality of the target network side device is greater than the signal quality threshold corresponding to the high-priority reselection (for example, Snonservingcell>ThreshX,high) within a set time period (for example, Treselection-EUTRA).

[0156] Taking LTE cell reselection as an example, Treselection-EUTRA indicates the reselection timer duration for LTE (Long Term Evolution) cells of different priorities, Snonservingcell indicates the Srxlev of a high-priority neighboring cell (i.e., a non-serving cell), and ThreshX,high indicates the reselection decision threshold for reselecting to a high-priority cell. "High" in ThreshX,high indicates a high priority, and "X" in ThreshX,high indicates a corresponding frequency.

[0157] When other conditions are met, if Snonservingcell (Srxlev of the high-priority neighboring cell) is higher than ThreshX,high within a certain period of time, the electronic device can reselect to the high-priority neighboring cell.

[0158] To ensure that electronic devices use high-priority cells as much as possible, a relatively low reselection decision threshold can be set when reselecting to a high-priority cell. In such an embodiment, ThreshX,high can be set higher than Threshserving,low. Threshserving,low represents the low-priority reselection threshold for the serving frequency. If ThreshX,high is too high, it will make it more difficult for electronic devices to reselect to a high-priority neighboring cell.

[0159] In other feasible embodiments, corresponding to the decision on reselection of a high-priority cell, the reselection condition may further include: the residence time of the electronic device in the first network-side device exceeds a residence time threshold (eg, 1 s).

[0160] In one embodiment of the present application, corresponding to the decision on reselection of a low-priority cell, the reselection conditions may further include: if the priority of the target network side device is lower than the priority of the first network side device, the signal quality of the target network side device is greater than the signal quality threshold corresponding to the low-priority reselection (e.g., Snonservingcell,x>ThreshX,low) within a set time period (e.g., Treselection-EUTRA).

[0161] Where Snonservingcell,x represents the Srxlev of the low-priority neighboring cell, ThreshX,low represents the reselection decision threshold for reselecting to the low-priority cell, the "low" in ThreshX,low represents the low priority, and X in ThreshX,low represents the corresponding frequency.

[0162] When other conditions are met, if Snonservingcell,x (Srxlev of the low-priority neighboring cell) is higher than ThreshX,low within a certain period of time, the electronic device can reselect to the low-priority neighboring cell.

[0163] In one embodiment, ThreshX,low can be equal to or slightly greater than ThreshX,high. This allows the electronic device to reselect to a lower-priority neighboring cell with significantly better signal quality than the current serving cell when reselecting to a lower-priority neighboring cell. If ThreshX,low is too high, it will increase the difficulty for the electronic device to reselect to a lower-priority neighboring cell.

[0164] In other feasible embodiments, corresponding to the decision on reselection of a low-priority cell, the reselection conditions may further include: the residence time of the electronic device on the first network-side device exceeds a residence time threshold (e.g., 1 second); and the signal quality of the current serving cell is less than a reselection threshold (e.g., Sservingcell < Threshserving,low). Where Sservingcell represents Srxlev of the current serving cell, and Threshserving,low represents the low-priority reselection threshold for the serving frequency.

[0165] In one embodiment of the present application, in order to increase the probability of successful reselection, the pre-acquired residence time threshold can be modified, the modified residence time threshold is smaller than the residence time threshold before modification, and the modification expiration time is the waiting end time of the corresponding waiting time.

[0166] In one embodiment of the present application, in order to increase the probability of successful reselection, the above-mentioned set time length obtained in advance can be modified, the modified set time length is smaller than the set time length before modification, and the modification expiration time is the waiting end time of the corresponding waiting time length.

[0167] In one embodiment of the present application, when a network-side device is reselected by executing a network-side device reselection operation, a system message sent by the target network-side device can be received. The electronic device can determine whether it can connect to the target network-side device based on the system message, and if so, send a connection request to the target network-side device.

[0168] In one embodiment, if the determination result is negative, the target network side device may be screened out and the network side device reselection operation may be performed again. In another embodiment, if the determination result is negative, it may indicate that the reselection has failed, so the connection request may be sent to the first network side device again after a timeout.

[0169] In one embodiment, the system message may include information indicating the operator of the network-side device. If the operator of the first network-side device is different from the operator of the target network-side device, that is, access is restricted, the electronic device cannot connect to the target network-side device. Otherwise, it can connect to the target network-side device.

[0170] In one embodiment, the system message may include access parameters of the target network-side device, so as to enable the electronic device to connect to the target network-side device according to the access parameters.

[0171] In one embodiment, the system message may also include information such as the frequency of the target network-side device, the priority of the frequency, access threshold, bandwidth, and ID (unique identifier), as well as the frequency of adjacent network-side devices and the priority of the frequency. Based on the frequency of the adjacent network-side device in the system message, the electronic device can search for each adjacent network-side device at that frequency, thereby enabling the electronic device to perform on-demand cell reselection after connecting to the target network-side device.

[0172] Referring to FIG. 4 , an embodiment of the present application provides a network connection method, which is applied to an electronic device. The method may include the following steps 401 to 413:

[0173] In step 401 , the electronic device 40 sends a connection request to the first network-side device 41 .

[0174] In one embodiment, the electronic device 40 currently resides in the network of the first network-side device 41. If the electronic device 40 receives a release message sent by the first network-side device 41 during the service, the electronic device 40 may execute step 401.

[0175] In step 402 , the first network-side device 41 returns a connection rejection message carrying a waiting time to the electronic device 40 according to the received connection request.

[0176] Step 403: When the electronic device 40 receives the connection rejection message, it starts a timer according to the waiting time.

[0177] During the timer running, it is prohibited to send a connection request to the first network-side device 41.

[0178] In step 404 , the electronic device 40 obtains the service status information of the electronic device 40 and determines whether the preset service status information includes the obtained service status information. If so, step 405 is executed; otherwise, step 411 is executed.

[0179] In step 405 , the electronic device 40 determines whether the waiting time is greater than a set time threshold. If so, step 406 is executed; otherwise, step 411 is executed.

[0180] In step 406, the electronic device 40 modifies the priority of the first network-side device 41 obtained in advance. The modified priority is lower than the priority before modification, and the modification expiration time is the waiting end time of the corresponding waiting time (that is, the timer's operation timeout end time).

[0181] In step 407 , the electronic device 40 performs a network-side device reselection operation according to the modified priority of the first network-side device 41 .

[0182] In another embodiment, step 406 may not be performed to modify the priority of the current serving cell. In step 407, the electronic device may perform a network side device reselection operation according to the inherent priority of the first network side device.

[0183] In step 408 , the electronic device 40 determines whether the network-side device is reselected by executing the network-side device reselection operation. If yes, step 409 is executed; otherwise, step 411 is executed.

[0184] In step 409 , the electronic device 40 stops the timer and sends a connection request to the reselected second network-side device 42 .

[0185] In step 410, the second network-side device 42 returns a connection approval message to the electronic device 40 according to the received connection request. In this way, the electronic device 40 connects to the second network-side device 42 according to the received connection approval message.

[0186] The electronic device 40 can realize the service function after connecting to the second network side device 42. If the electronic device 40 executes step 401 during the service due to the release message sent by the first network side device 41, the service can be restored through step 410.

[0187] In step 411 , the electronic device 40 monitors whether the running time of the timer reaches the waiting time.

[0188] In one embodiment, the timer can automatically end when it times out. In another embodiment, the electronic device can end the timer when it detects that the timer has timed out.

[0189] In step 412 , when the waiting time corresponding to the waiting time is reached, the electronic device 40 sends a connection request to the first network-side device 41 again.

[0190] In step 413, the first network-side device 41 returns a connection approval message to the electronic device 40 according to the received connection request. In this way, the electronic device 40 connects to the first network-side device 41 according to the received connection approval message.

[0191] The electronic device 40 can realize the service function after being connected to the first network side device 41. If the electronic device 40 executes step 401 during the service due to the release message sent by the first network side device 41, the service can be restored through step 413.

[0192] In the embodiment shown in FIG4 , the electronic device can quickly get out of the disabled state and restore the network connection to resume the service by actively triggering cell reselection on demand, thereby effectively shortening the service interruption duration and improving the user experience.

[0193] An embodiment of the present application provides a network connection device, which is applied to an electronic device. The device includes: a first sending module, which is used to send a connection request to a first network-side device; a reselection module, which is used to perform a network-side device reselection operation when a connection rejection message is received from the first network-side device; and a second sending module, which is used to send a connection request to the reselected network-side device when a network-side device is reselected by performing the network-side device reselection operation, wherein the reselected network-side device and the first network-side device are different network-side devices.

[0194] One embodiment of the present application also provides an electronic chip, which is installed in an electronic device (UE). The electronic chip includes: a processor, which is used to execute computer program instructions stored in a memory, wherein when the computer program instructions are executed by the processor, the electronic chip is triggered to execute the method steps provided by any method embodiment of the present application.

[0195] An embodiment of the present application also proposes a terminal device, which includes a communication module, a memory for storing computer program instructions, and a processor for executing program instructions, wherein when the computer program instructions are executed by the processor, the terminal device is triggered to execute the method steps provided by any method embodiment of the present application.

[0196] One embodiment of the present application also provides an electronic device, which includes multiple antennas, a memory for storing computer program instructions, a processor for executing the computer program instructions, and a communication device (such as a communication module that can implement 5G communication based on the NR protocol), wherein when the computer program instructions are executed by the processor, the electronic device is triggered to execute the method steps provided by any method embodiment of the present application.

[0197] Specifically, in one embodiment of the present application, one or more computer programs are stored in the above-mentioned memory, and the one or more computer programs include instructions. When the instructions are executed by the above-mentioned device, the above-mentioned device executes the method steps described in the embodiment of the present application.

[0198] Furthermore, the devices, apparatuses, and modules described in the embodiments of the present application may be implemented by computer chips or entities, or by products having certain functions.

[0199] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, apparatus, or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present application may take the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program code.

[0200] In the several embodiments provided in this application, if any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, or the part that contributes to the prior art, or part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of this application.

[0201] Specifically, an embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer-readable storage medium is run on a computer, the computer executes the method steps provided in the embodiment of the present application.

[0202] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program product is run on a computer, it enables the computer to execute the method steps provided in the embodiment of the present application.

[0203] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interfaces, devices or units, which may be electrical, mechanical or other forms.

[0204] Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0205] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0206] The integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium and includes a number of instructions for causing a computer device (which can be a personal computer, server, or network device, etc.) or a processor to perform some steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: a USB flash drive, a mobile hard disk, a read-only memory, a random access memory, a magnetic disk, or an optical disk, etc., various media that can store program code.

[0207] In the embodiments of the present application, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, commodity, or apparatus comprising the element.

[0208] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communications network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0209] Those skilled in the art will appreciate that the various units and algorithm steps described in the embodiments of the present application can be implemented using a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0210] Those skilled in the art will clearly understand that for the sake of convenience and brevity, the same or similar parts between the various embodiments of this application can be referred to in detail. For example, the specific working processes of the systems, devices, and units described in the embodiments of this application can refer to the corresponding processes in the method embodiments of this application, and will not be repeated here.

[0211] The above description is only a specific embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application.

Claims

1. A network connection method, characterized in that: Applied to electronic equipment, the method comprises: Sending a connection request to the first network side device; When receiving a connection rejection message returned by the first network-side device, performing a network-side device reselection operation; In case that a network side device is reselected by executing the network side device reselection operation, a connection request is sent to the reselected network side device, and the reselected network side device and the first network side device are different network side devices.

2. The method according to claim 1, characterized in that: The performing a network side device reselection operation upon receiving a connection rejection message returned by the first network side device includes: When receiving the connection rejection message returned by the first network-side device, acquiring the service status information of the electronic device; In a case where the preset service status information includes the acquired service status information of the electronic device, a network-side device reselection operation is performed.

3. The method according to claim 2, characterized in that The connection rejection message includes a waiting time; The method further comprises: In the case where the preset service status information does not include the acquired service status information of the electronic device, monitoring whether a waiting end time corresponding to the waiting time is reached; When the waiting end time corresponding to the waiting time is reached, a connection request is sent to the first network side device again.

4. The method according to any one of claims 1 to 3, characterized in that: The connection rejection message includes a waiting time; The performing a network side device reselection operation upon receiving a connection rejection message returned by the first network side device includes: In the case of receiving the connection rejection message returned by the first network side device, determining whether the waiting time is greater than a set time threshold; When the waiting time is greater than the time threshold, a network-side device reselection operation is performed.

5. The method according to claim 4, characterized in that The method further comprises: In a case where the waiting time is not greater than the time threshold, monitoring whether a waiting end time corresponding to the waiting time is reached; When the waiting end time corresponding to the waiting time is reached, a connection request is sent to the first network side device again.

6. The method according to claim 1, characterized in that The connection rejection message includes a waiting time; The method further comprises: Modify the priority of the first network-side device obtained in advance, the modified priority is lower than the priority before the modification, and the modification expiration time is the waiting end time corresponding to the waiting time; According to the modified priority level of the first network-side device, the step of performing the network-side device reselection operation is performed.

7. The method according to claim 1 or 6, characterized in that: The performing of the network side device reselection operation includes: In the case where there is an adjacent network-side device that meets the measurement start condition, measuring the signal quality of the target network-side device, wherein the target network-side device meets the measurement start condition and the priority of the target network-side device is not lower than other adjacent network-side devices that meet the measurement start condition; Determining whether a set reselection condition is met according to the signal quality of the target network side device, wherein the reselection condition includes that the measured signal quality of the adjacent network side device is greater than a set signal quality threshold within a set time period; When the reselection condition is met, the target network-side device is determined to be the reselected network-side device.

8. A network connection device, characterized in that: Applied to electronic equipment, the device comprises: A first sending module, used to send a connection request to a first network side device; A reselection module, configured to perform a network side device reselection operation when receiving a connection rejection message returned by the first network side device; The second sending module is used to send a connection request to the reselected network side device when the network side device is reselected by executing the network side device reselection operation, and the reselected network side device and the first network side device are different network side devices.

9. An electronic chip, characterized in that: include: A processor, configured to execute computer program instructions stored in a memory, wherein when the computer program instructions are executed by the processor, the electronic chip is triggered to execute the method according to any one of claims 1 to 7.

10. An electronic device, characterized in that: The electronic device comprises one or more memories for storing computer program instructions, and one or more processors, wherein when the computer program instructions are executed by the one or more processors, the electronic device is triggered to execute the method as described in any one of claims 1-7.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed on a computer, the computer is enabled to execute the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • RRC (radio resource control) connection denied message transmitting, RRC connection requesting method and device

    CN106332308A

  • Network connection method and device

    CN109451880A

  • Method and device for recovering RRC connection, chip, equipment and storage medium

    CN113727467A

  • Cell reselection method and device

    CN115734226A