Network connection method and device, chip, electronic equipment and medium
Through the introduction of network -side equipment re -selection operations in electronic devices, the problem of business interruption caused by the long waiting time was solved, and shorter business interruptions and a better user experience were achieved.
Patent Information
- Application Number
- CN202310920616.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-25
- Publication Date
- 2025-01-28
AI Technical Summary
The prior art will fail to connect to the network-side device after the electronic device fails to connect to the network device, and then connect again, resulting in a long service interruption and affecting the user experience.
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 restore business functions as soon as possible.
The re -selection operation through the network side equipment can effectively shorten the duration of business interruption, improve the user experience, and avoid business interruption caused by the long waiting time.
Smart Images

Figure CN119383762A_ABST
Abstract
Description
Technical Field
[0001] 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
[0002] To realize business functions, electronic devices can send connection requests to network devices in order to connect to the network provided by network devices. When the network device cannot accept the connection request of the electronic device due to limited resources, it can reply to the electronic device with a connection rejection message containing a waiting time to prohibit the electronic device from reconnecting within the waiting time.
[0003] 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, thus affecting the user experience. Summary of the invention
[0004] 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.
[0005] In a first aspect, an embodiment of the present application provides a network connection method, which is applied to an electronic device, and the method includes: 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.
[0006] 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, so as to restore business functions as soon as possible. This can avoid the situation where business interruptions last for a long time, and can effectively shorten the duration of business interruptions, thereby improving user experience.
[0007] 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, obtaining 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.
[0008] By setting service status information and selectively reselecting network-side equipment for corresponding services (such as services that users are sensitive to latency), it is possible to avoid long service interruptions that affect user experience.
[0009] Optionally, the connection rejection message includes a waiting time; the network connection method also includes: when the pre-set business status information does not include the acquired business 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.
[0010] By selectively not reselecting network-side equipment for some services (such as services for which users are not sensitive to latency), the network connection process can be simplified without affecting the user experience.
[0011] Optionally, the connection rejection message includes a waiting time; 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, 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.
[0012] 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.
[0013] 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.
[0014] By selectively not reselecting network-side devices for shorter waiting times, the network connection process can be simplified without affecting the user experience.
[0015] 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.
[0016] 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 interruption time.
[0017] Optionally, performing a network side device reselection operation includes: in the presence of 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 based on 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; if the reselection condition is met, determining that the target network side device is the reselected network side device.
[0018] 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 the network-side device.
[0019] 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 returned by the first network side device is received; 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.
[0020] In a third aspect, an embodiment of the present application provides an electronic chip, comprising: 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 any method as in the first aspect.
[0021] In a fourth aspect, an embodiment of the present application provides an electronic device, comprising 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 a method as described in any one of the first aspects.
[0022] 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 in the first aspect.
[0023] 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, the computer executes any method in the first aspect.
[0024] The technical effects of the aforementioned aspects can be referenced to each other and will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. 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 paying any creative work.
[0026] Figure 1 A schematic diagram of the structure of an electronic device provided by one embodiment of the present application;
[0027] Figure 2 It is a timing diagram of a network connection implementation method;
[0028] Figure 3 A flowchart of a network connection method provided by an embodiment of the present application;
[0029] Figure 4 A timing diagram of a network connection method provided for one embodiment of the present application. DETAILED DESCRIPTION
[0030] 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.
[0031] It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0032] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" 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 other meanings.
[0033] 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 associated objects before and after 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 singular or plural items. For example, at least one of a, b and c can be represented by: a, b, c, ab, ac, bc, or abc, wherein a, b, c can be single or multiple.
[0034] 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 only 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.
[0035] The network connection method provided in any embodiment of the present application can be applied to Figure 1 In the electronic device 100 shown. Figure 1 A schematic structural diagram of an electronic device 100 is shown.
[0036] 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 screen 194, and a subscriber identification module (SIM) card interface 195, etc. 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, etc.
[0037] It is to be understood that the structure illustrated in the embodiment of the present application does 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 in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0038] 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 processor (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), etc. Among them, different processing units may be independent devices or integrated into one or more processors. The controller may generate an operation control signal according to the instruction opcode and the timing signal to complete the control of fetching and executing instructions.
[0039] In some embodiments, the processor 110 may be a system on chip (SOC), which may include a central processing unit (CPU) and may further include other types of processors. In some embodiments, the processor 110 may be a PWM control chip.
[0040] 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, etc. In addition, the processor 110 may have the function of operating one or more software programs, which may be stored in a storage medium.
[0041] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0042] In some embodiments, the memory of the electronic device 100 may 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 compressed optical discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), a magnetic disk storage medium or other magnetic storage device, or may 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.
[0043] In some embodiments, the processor 110 and the memory may be combined into a processing device, or may be independent components, and the processor 110 may be used to execute program codes stored in the memory. In specific implementation, the memory may also be integrated into the processor 110, or may be independent of the processor 110.
[0044] In some embodiments, the processor 110 may include one or more interfaces. The interface 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, etc.
[0045] The USB interface 130 is an interface that complies with USB standard specifications, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc.
[0046] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic 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 in the above embodiments, or a combination of multiple interface connection methods.
[0047] 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.
[0048] 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 the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0049] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., 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.
[0050] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent 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 the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a 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.
[0051] 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 integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0052] 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 the network and other devices through wireless communication technology. The wireless communication technology 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).
[0053] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
[0054] The display screen 194 is used to display images, videos, etc. The 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 or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
[0055] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.
[0056] The ISP is used to process data fed back by the camera 193. The camera 193 is used to capture static images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element.
[0057] Video codecs are used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs. Thus, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0058] 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 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.
[0059] 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.
[0060] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0061] The button 190 includes a power button, a volume button, etc. The button 190 may be a mechanical button or a touch button. The motor 191 may generate a vibration prompt. The motor 191 may be used for an incoming call vibration prompt or for touch vibration feedback. The indicator 192 may be an indicator light, which may be used to indicate the charging status, the change in power, or may be used to indicate messages, missed calls, notifications, etc.
[0062] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out 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.
[0063] 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.
[0064] To realize business functions (such as making calls, surfing the Internet, etc.), electronic devices can send connection requests to network devices in order to connect to the network provided by the network devices. When the network device cannot accept the connection request of the electronic device due to limited resources (such as congestion, etc.), it can reply to the electronic device with a connection rejection message carrying a waiting time to prohibit the electronic device from reconnecting within the waiting time.
[0065] To achieve network connection when the network device refuses electronic devices to connect to the network, please refer to Figure 2 A feasible network connection implementation method may include the following steps 201 to 203.
[0066] Step 201 : the electronic device 21 sends a connection request to the network-side device 22 .
[0067] Step 202: The network-side device 22 returns a connection rejection message carrying a waiting time to the electronic device 21.
[0068] When the network-side device 22 cannot accept the connection request of the electronic device 21 due to limited resources, it can return a connection rejection message.
[0069] Step 203: When the waiting time reaches the end time of the waiting time, the electronic device 21 sends a connection request to the network side device 22 again.
[0070] Please refer to Figure 2 When the network device rejects the connection request of the electronic device, although the electronic device can send a connection request to the network device again after the waiting time required by the network device, this implementation method will cause the service to be interrupted for a long time, thus affecting the user experience. Taking the call service as an example, if during a call, the electronic device receives the waiting time and connects to the network device again after the waiting time, the electronic device may be silent for a long time or even drop the call, which seriously affects the user's call experience.
[0071] 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 (that is, 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.
[0072] Among them, RRC (Radio Resource Control) can represent radio resource control.
[0073] Please refer to Figure 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:
[0074] Step 301: Send a connection request to a first network-side device.
[0075] In one embodiment, the network side device may be a gNB, where gNB is the abbreviation of gNodeB, which is the full name of the nextGeneration Node B, and may mean a 5G base station.
[0076] In one embodiment, when the electronic device is to be connected 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, so that the service function can be realized through the network provided by the network side device.
[0077] In one embodiment, if the 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, then 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.
[0078] In one embodiment, the connection request sent by the electronic device may be the above-mentioned RRCsetupRequest.
[0079] Step 302: When 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.
[0080] In one embodiment, if the network side device does not have resource constraints, the network side device can 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 has resource constraints, the network side device can return a connection rejection message (such as the above-mentioned RRCReject) based on the connection request sent by the electronic device.
[0081] In a feasible implementation, the connection rejection message may carry the waiting time.
[0082] In one embodiment, the waiting time may range from 1s to 16s.
[0083] 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 times out, the first timer may be turned off. The electronic device may perform a corresponding operation after the first timer times out, such as sending a connection request again or being in an idle state.
[0084] In one embodiment, after receiving the connection rejection message, the electronic device may stop the first timer, release previously allocated resources (such as resetting MAC and releasing MAC configuration), and notify the upper layer that the connection establishment failed, and then start the second timer according to the waiting time carried in the connection rejection message, such as the electronic device starting the corresponding T302 timer after receiving the RRC connection rejection message. MAC (MediaAccessControlAddress) can represent the media access control address.
[0085] According to the provisions of 3GPP (3rd Generation Partnership Project), the waiting time can be applied to the T302 timer. In this way, the running time of the second timer is the waiting time, and during the running of the second timer, the electronic device is prohibited from initiating a connection request to the first network side device again. After the second timer times out, the electronic device is allowed to initiate a connection request to the first network side device again.
[0086] In one embodiment, when the network-side device cannot accept the RRC connection request sent by the electronic device, it can reply to the electronic device with an RRC connection rejection message carrying waitTime on SRB0 via CCCH (Common Control Channel), so that the electronic device is prohibited from re-accessing within the corresponding time window. Among them, SRB (Signaling Radio Bearer) represents a radio signaling bearer, and SRB0 is a bearer used to transmit RRC messages.
[0087] Different from the implementation method in which the electronic device waits for the second timer to time out after receiving the connection rejection message, and then initiates a connection request to the first network side device again after the second timer times out, Figure 1 In an embodiment, when the electronic device receives a connection rejection message, it can perform a network side device reselection operation in order to try to connect to a new network side device as soon as possible. Based on the influence of relevant factors (such as whether there are other network side devices, parameters of other network side devices, etc.), the execution result can be reselection to a new network side device or failure to reselect a new network side device.
[0088] 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, and the reselected network side device and the first network side device are different network side devices.
[0089] When a new network side device is reselected, the electronic device can 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 ends.
[0090] In one embodiment, if the new network side device returns a connection approval message according to 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 according to the connection request sent by the electronic device, the electronic device can perform the network side device reselection operation again.
[0091] In one embodiment, if the new network side device returns a connection approval 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.
[0092] Figure 3 In the illustrated embodiment, 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 long business interruptions, effectively shorten the duration of business interruptions, and thus improve user experience.
[0093] In addition, 3GPP protocol TS 38.331 stipulates that cell reselection is allowed during the T302 timer operation, and the T302 timer can be stopped after the reselection is successful. Figure 3 The illustrated embodiment can effectively shorten the service interruption duration on the basis of quasi-compliance with the protocol.
[0094] 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 time reaches the above waiting time, it may send a connection request to the first network-side device again.
[0095] 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 end time of the corresponding waiting time has not been reached when it is determined that the network-side device has not been reselected, the electronic device can send a connection request to the first network-side device again when the waiting end time of the corresponding waiting time has been reached. In this way, it is ensured that the electronic device can still connect to the original network-side device when a new network-side device has not been reselected, and the situation in which the electronic device is always in an unconnected state is avoided.
[0096] 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 can end the network side device reselection operation and send a connection request to the first network side device again.
[0097] Taking into account the differences in users' delay sensitivity to different services, for example, users are more sensitive to call delays but insensitive to video playback delays (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.
[0098] Thus, in one embodiment of the present application, the above 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.
[0099] 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.
[0100] For example, if the application currently used by the electronic device is a chat application, and the working state of the chat application is a voice / video call state, the electronic device is in a delay-sensitive service state. For another example, if the application currently used by the electronic device is a chat application, and the working state of the chat application is a chat state, the electronic device is in a non-delay-sensitive service state.
[0101] In one embodiment, information on delay-sensitive service status (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.
[0102] By setting service status information and selectively reselecting network-side equipment for corresponding services (such as services that users are sensitive to latency), it is possible to avoid long service interruptions that affect user experience.
[0103] 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 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.
[0104] In one embodiment, timing may start when the waiting time is received, and the moment when the timing reaches the waiting time may be regarded as the waiting end time.
[0105] In one embodiment, information about 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 state, 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.
[0106] By selectively not reselecting network-side devices for some services (such as services that users are not sensitive to latency), the network connection process can be simplified without affecting the user experience. This can also reduce device power consumption.
[0107] 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 long, and the network side device reselection operation is not performed when the waiting time is short.
[0108] 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, executing the network side device reselection operation.
[0109] 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.
[0110] 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.
[0111] If the waiting time is greater 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. In this case, the network side device reselection operation can be performed 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 and affect the user experience.
[0112] 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.
[0113] In one embodiment of the present application, 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.
[0114] In one embodiment, timing may start when the waiting time is received, and the moment when the timing reaches the waiting time may be regarded as the waiting end time.
[0115] 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. In this case, 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.
[0116] By selectively not reselecting network-side devices for shorter waiting times, the network connection process can be simplified without affecting the user experience.
[0117] Taking into account that users have different delay sensitivities to different services and that users can accept a certain degree of service interruption duration, 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) a set time threshold; when the waiting time is greater than (or not less than) the time threshold, performing a network-side device reselection operation.
[0118] 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.
[0119] By setting service status information and setting time thresholds, and selectively reselecting network-side equipment for corresponding services (such as services that users are sensitive to latency) and longer waiting times, it is possible to avoid long service interruptions that affect user experience.
[0120] By selectively not reselecting network-side devices for some services (such as services that users are not sensitive to latency) and for situations where users are sensitive to service latency but have a short waiting time, the network connection process can be simplified without affecting the user experience. This can also reduce device power consumption.
[0121] In the case of first determining whether to perform the network side device reselection operation based on the service status information and then based on the duration threshold, in one embodiment of the present application, the duration threshold used may 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 of the service status information corresponding to the Internet service may be greater than the duration threshold of the service status information corresponding to the call service. In this way, a more targeted network side device reselection can be achieved, which is more in line with actual reselection needs.
[0122] 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) a 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 a network side device reselection operation.
[0123] 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.
[0124] In one embodiment, when the electronic device is connected to the first network-side device, it can receive the priority information sent by the first network-side device, and the electronic device can store the received priority locally.
[0125] In a feasible implementation, the priority of the network side device can be obtained through a system message, an RRCrelease message, or inherited from a foreign system when performing a foreign system reselection. If the network test device provides a priority through a dedicated signaling (such as an RRCrelease message), the electronic device can ignore the priority provided in the system message.
[0126] In a feasible implementation, the priority information may include the priority of the frequency point corresponding to the first network side device and the priority of the frequency point corresponding to the adjacent network side device of the first network side device. There may be more than one network side device at the same frequency point. The priority of the frequency point may indicate the priority of the network side device at the frequency point.
[0127] When the network side device needs to be reselected, the electronic device can obtain the priority stored locally. When the priority needs to be modified, the electronic device can modify the priority stored locally.
[0128] In one embodiment, when the waiting end time is reached, the priority of the first network side device can be restored from the modified priority to the actual priority before the modification. By limiting the modification duration to the waiting duration, the modified priority is only applied during the reselection period of the network side device, and the actual priority of the first network side device is restored during the non-reselection period, so as not to affect other related processing flows of the electronic device.
[0129] 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 interruption time.
[0130] 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 preferentially reselected, and the speed and probability of successful reselection can be improved.
[0131] 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 other adjacent network side devices that meet the measurement start condition; according to the signal quality of the target network side device, determining whether a set reselection condition is met, 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; if the reselection condition is met, determining that the target network side device is the reselected network side device.
[0132] By reselecting network-side devices based on priority, on the one hand, time-consuming reselection can be avoided, and on the other hand, it can 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 problem of frequent reselection of electronic devices due to the need to reselect network-side devices again when the electronic device reselects and connects to a relatively poor network-side device and the poor network-side device sends a waiting time due to limited resources.
[0133] 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.
[0134] 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.
[0135] 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, and Srxlev can reflect the signal quality strength of the current serving cell.
[0136] In one embodiment, if there is only one adjacent network-side device that meets the measurement start condition, then the adjacent network-side device can be used as the target network-side device.
[0137] In one embodiment, if there is more than one adjacent network-side device that meets the measurement start condition, the relatively best adjacent network-side device is used as the target network-side device for measurement, rather than measuring all adjacent network-side devices that meet the measurement start condition. If the reselection condition is 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 condition is not met, the relatively best adjacent network-side device can be selected from the remaining adjacent network-side devices that meet the measurement start condition as the new target network-side device for measurement, and the cycle is repeated until there are no adjacent network-side devices that meet the measurement start condition, an adjacent network-side device is reselected before timeout, or the reselection fails.
[0138] 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 the network-side device.
[0139] In one embodiment of the present application, the implementation process of determining the target network side device by judging whether there is an adjacent network side device that meets the measurement start condition may include the following steps a1 to a2:
[0140] 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.
[0141] 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, the adjacent network side device with a high priority can be measured preferentially through step a1. For the adjacent network side device with a high priority, the electronic device can measure it.
[0142] 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.
[0143] In one embodiment, the priority of the network side device may depend on the priority of the frequency of the network side device. The priority of each network side device at the same frequency is the same. For network side devices with the same priority, the target network side device can be determined according to the signal quality strength of different network side devices.
[0144] 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 with the same priority level that meets the first condition.
[0145] 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 can be considered that there is no adjacent network side device that meets the measurement start condition, and the cell reselection fails.
[0146] Among them, the second condition includes: the priority of the adjacent network side device is not higher than (or lower than) the priority of the first network side device; 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 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 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) or the corresponding different-frequency signal quality threshold is empty. In this way, if there are no adjacent network side devices with high priority or the same priority, the adjacent network side devices with low priority can also be measured as appropriate.
[0147] Among them, Sintrasearch can represent the intra-frequency measurement trigger threshold of cell reselection, and the unit is dB, and Snonintrasearch can represent the inter-frequency measurement trigger threshold of cell reselection, and the unit is dB.
[0148] 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.
[0149] 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.
[0150] 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 with the same priority that meets the second condition.
[0151] In one embodiment of the present application, the second condition may also include: if the frequency point of the first network side device is the same as the frequency point 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), 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 the same-frequency measurement is allowed; if the frequency point of the first network side device is different from the frequency point 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 the different-frequency measurement is allowed.
[0152] Thus, in another embodiment of the present application, step a2 may not be performed after step a1, but a target network side device is 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 other adjacent network side devices that do not meet the first condition.
[0153] 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 (e.g., Snonservingcell>ThreshX,high) within a set time period (e.g., Treselection-EUTRA).
[0154] Taking LTE cell reselection as an example, Treselection-EUTRA indicates the timer duration of LTE (Long Term Evolution) cell reselection with different priorities, Snonservingcell indicates Srxlev of a high-priority neighboring cell (i.e., non-current serving cell), and ThreshX,high indicates the reselection decision threshold for reselecting to a high-priority cell. The high in ThreshX,high indicates a high priority, and the X in ThreshX,high indicates a corresponding frequency point.
[0155] 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.
[0156] In order to enable electronic devices to 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. Wherein, Threshserving,low represents the low-priority reselection threshold of the serving frequency. If the value of ThreshX,high is too high, it will increase the difficulty for the electronic device to reselect to a high-priority neighboring cell.
[0157] In other feasible embodiments, corresponding to the decision of 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).
[0158] In one embodiment of the present application, corresponding to the decision of reselection of a low-priority cell, the reselection conditions may also 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).
[0159] Wherein, 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, low in ThreshX,low represents the low priority, and X in ThreshX,low represents a corresponding frequency point.
[0160] 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.
[0161] In one embodiment, ThreshX,low may be equal to or slightly greater than ThreshX,high. This allows the electronic device to reselect to a low-priority neighboring cell whose signal quality is significantly better than that of the current serving cell when reselecting to a low-priority cell. If the value of ThreshX,low is too high, it will increase the difficulty for the electronic device to reselect to a low-priority neighboring cell.
[0162] In other feasible embodiments, corresponding to the decision of reselection of a low-priority cell, the reselection conditions may also include: the residence time of the electronic device in the first network side device exceeds the residence time threshold (such as 1s); the signal quality of the current serving cell is less than the reselection threshold value (such as Sservingcell<Threshserving,low). Among them, Sservingcell represents the Srxlev of the current serving cell, and Threshserving,low represents the low-priority reselection threshold of the serving frequency.
[0163] 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.
[0164] In one embodiment of the present application, in order to increase the probability of successful reselection, the above-mentioned set duration acquired in advance can be modified, the modified set duration is smaller than the set duration before modification, and the modification expiration time is the waiting end time of the corresponding waiting time.
[0165] In one embodiment of the present application, when the network side device is reselected by executing the 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 according to the system message, and if so, send a connection request to the target network side device.
[0166] In one embodiment, if the judgment is no, the target network side device can be screened out and the network side device reselection operation can be performed again. In another embodiment, if the judgment is no, it can indicate that the reselection failed, so the connection request can be sent to the first network side device again after waiting for a timeout.
[0167] 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.
[0168] In one embodiment, the system message may include access parameters of the target network side device to enable the electronic device to connect to the target network side device according to the access parameters.
[0169] 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, ID (unique identifier), and the frequency of the adjacent network side device and the priority of the frequency. The electronic device can search for each adjacent network side device under the frequency according to the frequency of the adjacent network side device in the system message, so as to support the electronic device to perform cell reselection on demand after connecting to the target network side device.
[0170] Please refer to Figure 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:
[0171] Step 401: the electronic device 40 sends a connection request to the first network-side device 41.
[0172] 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 perform step 401.
[0173] 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.
[0174] Step 403: When the electronic device 40 receives the connection rejection message, it starts a timer according to the waiting time.
[0175] During the timer running, it is prohibited to send a connection request to the first network side device 41.
[0176] 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, execute step 405 , otherwise, execute step 411 .
[0177] In step 405 , the electronic device 40 determines whether the waiting time is greater than a set time threshold, and if so, executes step 406 , otherwise, executes step 411 .
[0178] In step 406, the electronic device 40 modifies the priority of the first network side device 41 obtained in advance, and 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).
[0179] 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 .
[0180] In another embodiment, step 406 may not be performed to modify the priority of the current serving cell, and 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.
[0181] Step 408 , the electronic device 40 determines whether to reselect the network side device by executing the network side device reselection operation, and if so, executes step 409 , otherwise, executes step 411 .
[0182] Step 409 : The electronic device 40 stops the timer and sends a connection request to the reselected second network-side device 42 .
[0183] 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.
[0184] 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.
[0185] Step 411 , the electronic device 40 monitors whether the running time of the timer reaches the waiting time.
[0186] In one embodiment, the timer can be automatically terminated when it times out. In another embodiment, the electronic device can terminate the timer when it detects that the timer has timed out.
[0187] 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.
[0188] 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.
[0189] The electronic device 40 can realize the service function after connecting 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.
[0190] Figure 4 In the illustrated embodiment, the electronic device can exit the disabled state as quickly as possible and restore the network connection to resume the service by actively triggering cell reselection as needed, which can effectively shorten the service interruption duration and improve the user experience.
[0191] 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 returned by the first network side device is received; 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 a network side device reselection operation, and the reselected network side device and the first network side device are different network side devices.
[0192] An 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.
[0193] 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.
[0194] An 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 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.
[0195] 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.
[0196] 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.
[0197] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices, 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. Moreover, 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.
[0198] In the several embodiments provided in the present 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 the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application.
[0199] Specifically, in one embodiment of the present application, a computer-readable storage medium is further provided, in which a computer program is stored. When the computer program is run on a computer, the computer executes the method steps provided in the embodiment of the present application.
[0200] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is run on a computer, the computer executes the method steps provided in the embodiment of the present application.
[0201] In the several embodiments provided in the present 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 only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0202] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0203] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0204] 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, including a number of instructions for a computer device (which can be a personal computer, a server, or a 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: U disk, mobile hard disk, read-only memory, random access memory, disk or optical disk and other media that can store program code.
[0205] In the embodiments of the present application, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other identical elements in the process, method, commodity or device including the element.
[0206] 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 communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0207] 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 by 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. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0208] Those skilled in the art can clearly understand that for the convenience and simplicity of description, the same or similar parts between the various embodiments in this application can be referred to each other. For example, the specific working process of the system, device and unit described in the embodiments of this application can refer to the corresponding process in the method embodiment of this application, and will not be repeated here.
[0209] The above description is only a specific embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, 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.