CN-122002433-A - Network access method, network access device, electronic equipment, storage medium and program product
Abstract
The embodiment of the application provides a network access method, a network access device, electronic equipment, a storage medium and a program product. The method comprises the steps of determining the current network type of a current cell when terminal equipment is accessed to the current cell, creating a target real-time clock according to the current network type, waking up the terminal equipment according to the target real-time clock, carrying out signal measurement on the current cell to obtain a first measurement result, and accessing the terminal equipment to the target cell according to the first measurement result, wherein the network type of the target cell is different from the current network type. According to the scheme, the terminal equipment can be awakened on time to perform network access through the real-time clock which is not affected by dormancy, network access failure caused by dormancy of the terminal equipment is avoided, and therefore reliability of network access is improved.
Inventors
- ZHOU ZHIHAO
- XIAN KE
- PENG SHANGXIN
Assignees
- 成都鼎桥通信技术有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20241105
Claims (10)
- 1. A network access method, comprising: when terminal equipment accesses a current cell, determining the current network type of the current cell; creating a target real-time clock according to the current network type; Waking up the terminal equipment according to the target real-time clock, and performing signal measurement on the current cell to obtain a first measurement result; and accessing the terminal equipment into a target cell according to the first measurement result, wherein the network type of the target cell is different from the current network type.
- 2. The method of claim 1, wherein the current network type comprises a 5G reduced performance type or a 4G type, and wherein creating the target real-time clock based on the current network type comprises: Acquiring a target network time of the current cell, and performing time synchronization according to the target network time; if the current network type is a 5G reduced performance type, a first real-time clock is established; if the current network type is a 4G type, a second real-time clock is created, and the period corresponding to the first real-time clock is different from the period corresponding to the second real-time clock; determining that the target real-time clock includes the first real-time clock or the second real-time clock.
- 3. The method according to claim 2, wherein accessing the terminal device to the target cell based on the first measurement result comprises: If the first measurement result is smaller than a first threshold value, determining the current communication state of the terminal equipment, wherein the current communication state is a connection state or an idle state; and when the current communication state is the idle state, setting the capability of the current network type of the terminal equipment to be in a disabled state, and controlling the terminal equipment to access the target cell.
- 4. A method according to claim 3, characterized in that the method further comprises: Acquiring the current communication state of the terminal equipment at intervals of preset time; and if the current communication states acquired by the first continuous number are all connection states, the target real-time clock is re-created.
- 5. The method of any of claims 2-4, wherein the current network type is a 5G reduced performance type, the method further comprising: If the access to the target cell fails, preset processing is executed until the failure times are greater than or equal to the second times, and a third real-time clock is created, wherein the third real-time clock is used for controlling the terminal equipment to prohibit the access to the target cell before the period corresponding to the third real-time clock is overtime; The preset processing includes recording failure times, waking up the terminal equipment according to the target real-time clock, performing signal measurement to obtain a first measurement result, and accessing the terminal equipment into the target cell according to the first measurement result.
- 6. The method according to any one of claims 2-4, wherein the current network type is a 4G type, and further comprising, after accessing the target cell: signal measurement is carried out on the target cell, and a second measurement result is obtained; And if the second measurement result is larger than a second threshold value, accessing the terminal equipment into the current cell, wherein the second threshold value is larger than the first threshold value.
- 7. The method according to any of claims 1-6, further comprising, after waking up the terminal device according to the target real time clock: Setting a target lock, wherein the target lock is used for preventing the terminal equipment from entering a dormant state before finishing signal measurement; and releasing the target lock after the signal measurement is completed so as to enable the terminal equipment to resume the dormant state.
- 8. A network access device, comprising: a determining module, configured to determine, when a terminal device accesses a current cell, a current network type of the current cell; the creation module is used for creating a target real-time clock according to the current network type; the measurement module is used for waking up the terminal equipment according to the target real-time clock, and carrying out signal measurement on the current cell to obtain a first measurement result; and the access module is used for accessing the terminal equipment into a target cell according to the first measurement result, wherein the network type of the target cell is different from the current network type.
- 9. An electronic device comprising a processor and a memory communicatively coupled to the processor; The memory stores computer-executable instructions; The processor executes computer-executable instructions stored in the memory to implement the method of any one of claims 1-7.
- 10. A computer readable storage medium having stored therein computer executable instructions which when executed by a processor are adapted to carry out the method of any one of claims 1-7.
Description
Network access method, network access device, electronic equipment, storage medium and program product Technical Field The present application relates to the field of communications technologies, and in particular, to a network access method, an apparatus, an electronic device, a storage medium, and a program product. Background With the rapid development of communication technology, compared with 4G communication technology, 5G communication technology has a great improvement, such as a great improvement in data transmission rate, delay and connection density, so as to effectively improve communication quality. A 5G reduced performance (Reduced Capability, redcap) network in 5G communication technology can meet the requirements of low cost, small size, and low power consumption application scenarios. In practical applications, the 5G reduced performance network is limited by itself, and in some areas or in some environments, the communication quality of the 5G reduced performance network is worse than that of the 4G network. In order to ensure that the terminal device can communicate normally, the network to which the device is switched according to the specific usage scenario is required. However, performing network access may have access failures that affect the communication of the terminal device. Disclosure of Invention The embodiment of the application provides a network access method, a network access device, electronic equipment, a storage medium and a program product, which are used for improving the reliability of network access. In a first aspect, an embodiment of the present application provides a network access method, including determining a current network type of a current cell when a terminal device accesses the current cell, creating a target real-time clock according to the current network type, waking up the terminal device according to the target real-time clock, performing signal measurement on the current cell to obtain a first measurement result, and accessing the terminal device to a target cell according to the first measurement result, where the network type of the target cell is different from the current network type. In one possible implementation manner, the current network type comprises a 5G performance reduction type or a 4G type, creating a target real-time clock according to the current network type comprises the steps of obtaining target network time of the current cell, performing time synchronization according to the target network time, creating a first real-time clock if the current network type is the 5G performance reduction type, creating a second real-time clock if the current network type is the 4G type, wherein the period corresponding to the first real-time clock is different from the period corresponding to the second real-time clock, and determining that the target real-time clock comprises the first real-time clock or the second real-time clock. In a possible implementation manner, the terminal device is accessed to a target cell according to the first measurement result, and the method comprises the steps of determining a current communication state of the terminal device if the first measurement result is smaller than a first threshold value, wherein the current communication state is a connection state or an idle state, setting the capability of the current network type of the terminal device to be a disabled state when the current communication state is the idle state, and controlling the terminal device to access to the target cell. In a possible implementation manner, the method further comprises the steps of obtaining the current communication state of the terminal equipment every preset time length, and if the current communication states obtained by the first continuous times are all connected states, re-creating the target real-time clock. In a possible implementation manner, the current network type is a 5G performance reduction type, the method further comprises the steps of executing preset processing until failure times are greater than or equal to second times if access to the target cell fails, creating a third real-time clock, wherein the third real-time clock is used for controlling the terminal equipment to prohibit access to the target cell before a period corresponding to the third real-time clock is overtime, and the preset processing comprises the steps of recording failure times, waking up the terminal equipment according to the target real-time clock, performing signal measurement to obtain a first measurement result, and accessing the terminal equipment to the target cell according to the first measurement result. In a possible implementation manner, the current network type is 4G type, and after accessing the target cell, the method further comprises the steps of carrying out signal measurement on the target cell to obtain a second measurement result, and if the second measurement result is larger than a second threshold value, a