WO2024093521A1 - Handover exception processing method, device, and storage medium - Google Patents

Handover exception processing method, device, and storage medium Download PDF

Info

Publication number
WO2024093521A1
WO2024093521A1 PCT/CN2023/117643 CN2023117643W WO2024093521A1 WO 2024093521 A1 WO2024093521 A1 WO 2024093521A1 CN 2023117643 W CN2023117643 W CN 2023117643W WO 2024093521 A1 WO2024093521 A1 WO 2024093521A1
Authority
WO
WIPO (PCT)
Prior art keywords
base station
measurement report
source base
terminal device
timing duration
Prior art date
Application number
PCT/CN2023/117643
Other languages
French (fr)
Chinese (zh)
Other versions
WO2024093521A9 (en
Inventor
夏月明
Original Assignee
荣耀终端有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 荣耀终端有限公司 filed Critical 荣耀终端有限公司
Publication of WO2024093521A1 publication Critical patent/WO2024093521A1/en
Publication of WO2024093521A9 publication Critical patent/WO2024093521A9/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/10Scheduling measurement reports ; Arrangements for measurement reports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0055Transmission or use of information for re-establishing the radio link
    • H04W36/0058Transmission of hand-off measurement information, e.g. measurement reports

Definitions

  • the present application relates to the field of communication technology, and in particular to a method, device and storage medium for processing switching anomalies.
  • Handover is an important part of mobility management in Long Term Evolution (LTE) and New Radio (NR) systems, and is an important part of ensuring service quality.
  • LTE Long Term Evolution
  • NR New Radio
  • the source base station will send a measurement configuration to the terminal, and the terminal will perform measurements according to the measurement configuration, and report the measurement report (MeasurementReport, MR) obtained by the measurement to the source base station.
  • the source base station will send a handover command to the terminal based on the measurement report, so that the terminal completes the handover according to the handover command, that is, switches from the source base station to the target base station.
  • the measurement report reported by the terminal may be lost and fail to reach the source base station, or the source base station may not process it after reaching the source base station. In this case, the source base station will not send a switching command to the terminal, and the terminal cannot switch to the target base station in time, resulting in switching abnormalities.
  • the present application provides a method, device and storage medium for handling switching anomalies, aiming to enable the terminal to always receive the switching command issued by the source base station, so that the terminal can switch to an available network in time according to the switching command to ensure service quality.
  • the present application provides a method for handling handover anomalies.
  • the method is applied to a terminal device, including: receiving a measurement configuration sent by a source base station, the number of measurement report transmissions configured in the measurement configuration is M, and M is greater than 0; in the source cell corresponding to the source base station, the searched first base station is measured according to the measurement configuration, and the first measurement report corresponding to the first base station is obtained; after sending the first measurement report to the source base station for the M-1th time, when the handover command made by the source base station for the first measurement report is still not received, when the measurement report reporting interval configured in the measurement configuration is met, the first measurement report is sent to the source base station for the Mth time, and the first timer of the first timing duration is started; when the handover command made by the source base station according to the first measurement report is not received within the first timing duration, after the first timing duration ends, when the measurement report reporting interval configured in the measurement configuration is met, the first measurement report is re-sent to the source base station; in response to
  • the terminal device when the terminal device still has not received the switching command made by the source base station for the first measurement report after sending the first measurement report to the source base station for the M-1th time, after the Mth time, which is the last measurement report sending opportunity configured in the measurement configuration sent by the source base station, the first timer with a first timing duration is started. If the switching command sent by the source base station is still not received at the end of the first timing duration, the first measurement report is resent. In this way, even if the number of measurement report sending times configured in the measurement configuration is reached, the terminal device can still be triggered to send the first measurement report to the source base station until the switching command made by the source base station for the first measurement report is received. This ensures that the terminal device can always receive the switching command sent by the source base station, and then switch to the available network in time according to the switching command to ensure the service quality.
  • the method before sending the first measurement report to the source base station for the Mth time and starting the first timer of the first timing duration, the method also includes: when the terminal device is in a moving state, obtaining the current moving speed and the distance between the current position and the boundary of the source cell; based on the moving speed and the distance, estimating the moving time for the terminal device to move from the current position to the boundary of the source cell according to the moving speed; when the moving time is greater than the first timing duration, executing the step of sending the first measurement report to the source base station for the Mth time and starting the first timer of the first timing duration; otherwise, only sending the first measurement report to the source base station for the Mth time.
  • the terminal device can search for other base stations, such as the second base station, at the source cell boundary, and then send the measurement report of the second base station. In this case, it is meaningless to resend the first measurement report. Therefore, by setting the first timer to start only when the moving time is greater than the first timing duration, the process of resending the first measurement report is triggered, so that the abnormal switching processing method provided in the present application can be better applied to actual application scenarios and reduce unnecessary resource occupation.
  • the method before sending the first measurement report to the source base station for the Mth time and starting the first timer of the first timing duration, the method also includes: determining the carrying capacity of the channel between the terminal device and the source base station according to the current reference signal received power RSRP of the source base station, and/or the reference signal received instruction RSRQ, and/or the signal-to-noise ratio; when the carrying capacity of the channel meets the retransmission condition, executing the step of sending the first measurement report to the source base station for the Mth time and starting the first timer of the first timing duration; when the carrying capacity of the channel does not meet the retransmission condition, only sending the first measurement report to the source base station for the Mth time.
  • the first timer is started only when the carrying capacity meets the repetition conditions, such as there are more resources and the processing pressure of resending the first measurement report on the source base station is relatively small, triggering the process of resending the first measurement report, so that the abnormal switching processing method provided in the present application can be better applied to actual application scenarios, reducing the pressure on the source base station, so that after resending the first measurement report, the source base station can process the first measurement report while being able to handle other services normally.
  • the terminal device accessing the source base station includes a first terminal device and a second terminal device; when the carrying capacity of the channel only supports one terminal device to start the timer and resend the first measurement report, before sending the first measurement report to the source base station for the Mth time and starting the first timer of the first timing duration, the method also includes: when the priority of the first terminal device is higher than the priority of the second terminal device, the first terminal device executes the step of sending the first measurement report to the source base station for the Mth time and starting the first timer of the first timing duration, and the second terminal device only sends the first measurement report to the source base station for the Mth time; when the priority of the second terminal device is higher than the priority of the first terminal device, the second terminal device executes the step of sending the first measurement report to the source base station for the Mth time and starting the first timer of the first timing duration, and the first terminal device only sends the first measurement report to the source base station for the Mth time.
  • the terminal device with a high priority is selected to start the first timing after sending the last first measurement report.
  • the first timer of the duration is set, and when no switching command is received from the source base station for the first measurement report within the first timing duration, the first measurement report can be resent, while the process is not started for low priority devices. This not only reduces the processing pressure of the source base station, but also ensures that the terminal devices with high priority can execute the switching in time, thereby ensuring that the services on the terminal devices with high priority can be executed normally.
  • the method also includes: when the priority of the first terminal device is equal to the priority of the second terminal device, determining the first priority of the service currently processed by the first terminal device and the second priority of the service currently processed by the second terminal device; when the first priority is higher than the second highest priority, the first terminal device executes the step of sending the first measurement report to the source base station for the Mth time, and starting the first timer of the first timing duration, and the second terminal device only sends the first measurement report to the source base station for the Mth time; when the second priority is higher than the first highest priority, the second terminal device executes the step of sending the first measurement report to the source base station for the Mth time, and starting the first timer of the first timing duration, and the first terminal device only sends the first measurement report to the source base station for the Mth time.
  • a suitable terminal device is selected according to the priority of the executed service to start the retransmission process, which better fits the actual usage scenario.
  • the method after re-sending the first measurement report to the source base station, the method also includes: starting a second timer of a second timing duration; when no switching command is received from the source base station based on the re-sent first measurement report within the second timing duration, after the second timing duration ends, when the measurement report reporting interval configured in the measurement configuration is met, re-sending the first measurement report to the source base station; when the switching command is received from the source base station for the re-sent first measurement report at the end of the second timing duration, executing the switching; when the switching command is received from the source base station for the re-sent first measurement report within the second timing duration, turning off the second timer and executing the switching.
  • the second timer of the second timing period is started again, that is, when the switching command made by the source base station for the first measurement report is not received, the above retransmission process is executed in a loop until the switching command made by the source base station for the first measurement report is received, thereby ensuring that the terminal device can always receive the switching command issued by the source base station, and then switch to the available network in time according to the switching command to ensure service quality.
  • the first timing duration and the second timing duration are both greater than the duration for the source base station to process the first measurement report and issue a switching command.
  • the method also includes: when a switching command made by the source base station in response to the first measurement report sent for the Mth time is received within the first timing period, turning off the first timer and performing the switching.
  • the terminal device will not resend the first measurement to the source base station at the end of the first timing period. Reported actions.
  • performing switching includes: sending a switching access request to the first base station through the wireless resources indicated in the switching command; in response to the switching access response made by the first base station to the switching access request, sending a switching completion message to the first base station to complete the switching.
  • step S109 to step S111 or step S211 to step S213, or step S311 to step S313, or step S412 to step S414.
  • step S109 to step S111 or step S211 to step S213, or step S311 to step S313, or step S412 to step S414.
  • the present application provides a terminal device.
  • the terminal device includes: a memory and a processor, the memory and the processor are coupled; the memory stores program instructions, and when the program instructions are executed by the processor, the terminal device executes instructions of the method in the first aspect or any possible implementation of the first aspect.
  • the second aspect and any implementation of the second aspect correspond to the first aspect and any implementation of the first aspect respectively.
  • the technical effects corresponding to the second aspect and any implementation of the second aspect can refer to the technical effects corresponding to the first aspect and any implementation of the first aspect, which will not be repeated here.
  • the present application provides a computer-readable medium for storing a computer program, wherein the computer program includes instructions for executing the method in the first aspect or any possible implementation of the first aspect.
  • the third aspect and any implementation of the third aspect correspond to the first aspect and any implementation of the first aspect, respectively.
  • the technical effects corresponding to the third aspect and any implementation of the third aspect can refer to the technical effects corresponding to the first aspect and any implementation of the first aspect, which will not be repeated here.
  • the present application provides a computer program, comprising instructions for executing the method in the first aspect or any possible implementation of the first aspect.
  • the fourth aspect and any implementation of the fourth aspect correspond to the first aspect and any implementation of the first aspect, respectively.
  • the technical effects corresponding to the fourth aspect and any implementation of the fourth aspect can refer to the technical effects corresponding to the above-mentioned first aspect and any implementation of the first aspect, which will not be repeated here.
  • the present application provides a chip, the chip comprising a processing circuit and a transceiver pin.
  • the transceiver pin and the processing circuit communicate with each other through an internal connection path, and the processing circuit executes the method in the first aspect or any possible implementation of the first aspect to control the receiving pin to receive a signal to control the transmitting pin to receive a signal. foot sends a signal.
  • the fifth aspect and any implementation of the fifth aspect correspond to the first aspect and any implementation of the first aspect, respectively.
  • the technical effects corresponding to the fifth aspect and any implementation of the fifth aspect can refer to the technical effects corresponding to the first aspect and any implementation of the first aspect, which will not be repeated here.
  • FIG1 is a schematic diagram of an exemplary scene
  • FIG2 is a timing diagram showing an exemplary normal switching
  • FIG3 is a partial pseudo code diagram of a measurement configuration sent by a source base station to a terminal in an exemplary handover scenario
  • FIG4 is a timing diagram showing an exemplary abnormal switching
  • FIG5 is a schematic diagram showing an exemplary effect of abnormal switching on a service rate
  • FIG6 is a schematic diagram showing a hardware structure of a terminal device
  • FIG7 is a schematic diagram of a protocol stack for exemplarily implementing the abnormal switching processing method provided in an embodiment of the present application.
  • FIG8 is a timing diagram exemplarily illustrating a method for processing abnormal switching provided in an embodiment of the present application.
  • FIG9 is a schematic diagram showing, by way of example, changes in a service rate after an abnormal handover occurs and after processing is performed based on the abnormal handover processing method provided in an embodiment of the present application;
  • FIG10 is another timing diagram exemplarily showing the method for processing abnormal switching provided in an embodiment of the present application.
  • FIG11 is a flowchart exemplarily illustrating a method for processing abnormal switching provided in an embodiment of the present application.
  • FIG. 12 is a schematic diagram showing an exemplary process for determining whether to initiate abnormal switching provided in an embodiment of the present application.
  • a and/or B in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist.
  • a and/or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
  • first and second in the description and claims of the embodiments of the present application are used to distinguish different objects rather than to describe a specific order of objects.
  • a first target object and a second target object are used to distinguish different target objects rather than to describe a specific order of target objects.
  • words such as “exemplary” or “for example” are used to indicate examples, illustrations or descriptions. Any embodiment or design described as “exemplary” or “for example” in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as “exemplary” or “for example” is intended to present related concepts in a specific way.
  • multiple refers to two or more than two.
  • multiple processing units refer to two or more processing units; multiple systems refer to two or more systems.
  • a wireless communication system may include a terminal (or also called a mobile station), a base station and a core network.
  • the core network is responsible for non-access layer matters (such as mobility management, etc.); the network composed of base stations is called the Radio Access Network (RAN), which is responsible for access layer matters (such as wireless resource management, etc.), and the uplink/downlink wireless resources are scheduled by the base station in a shared channel manner;
  • the terminal refers to a device that can communicate with the network, such as mobile phones, personal digital assistants, laptops, smart wearable devices, smart home devices, etc. Each terminal can only be connected to one base station in the network in the uplink direction.
  • base stations can be logically or physically connected as needed; each base station can be connected to one or more core network nodes.
  • the switching scenario is specifically described.
  • the coverage of base station A is cell A
  • the coverage of base station B is cell B
  • the coverage of base station C is cell C.
  • measurement configuration also referred to as measurement control
  • terminal A searches for a new base station (base station B), and then performs measurement according to the measurement configuration sent by base station A to obtain a measurement report of relevant information about base station B, and sends the measurement report to base station A, so that base station A decides whether to notify terminal A to perform a switching operation from base station A to base station B according to the measurement report.
  • base station A sends a measurement configuration with a measurement report sending number of 1 to terminal A.
  • the measurement configuration (measConfig) is sent to terminal A in the form of a measurement identifier (measId).
  • measId includes two elements: a measurement object (measObjectId) and a report configuration (reportConfigId).
  • each measId can be placed in the measurement identifier add modification list (measIdToAddModList).
  • the configuration information about measObjectId is placed in the measurement object add modification list (measObjectIdToAddModList), and the configuration information about reportConfigId is placed in the report configuration add modification list (reportConfigIdToAddModList).
  • the measurement report sending times reportAmount corresponding to each measId configured in the measurement configuration is specifically in reportConfigIdToAddModList corresponding to the reportConfigId in the measId.
  • measId 2 measId 2
  • measId 2 measId 2
  • reportAmount in reportConfigId 2 will be configured to "r1".
  • the value of reportAmount can be r1 (1 time), r2 (2 times), r4 (4 times), r8 (8 times), r16 (16 times), r32 (32 times), r64 (64 times), and Infinity (infinite times).
  • RRC Radio Resource Control
  • terminal A when the value of reportAmount is r1, for the measurement report corresponding to the same base station, terminal A only sends the measurement report to base station A once. Even if base station A does not receive the measurement report, or receives the measurement report but does not process it, terminal A will not send the measurement report to base station A again.
  • the sending logic of the measurement report corresponding to the same base station is similar to that when the value of reportAmount is r2, and will not be repeated here.
  • the reportAmount value is Infinity
  • terminal A sends a measurement report corresponding to the same base station (such as base station B) to base station A
  • base station A has not sent the processing result of the measurement report to terminal A, such as sending a switching command
  • terminal A will continue to send the measurement report to base station A until it receives the processing result of the measurement report made by base station A, or leaves the cell, or searches for other base stations, such as base station C, and generates a measurement report for base station C, then it stops sending the measurement report corresponding to base station B to base station A, and instead sends the measurement report corresponding to base station C to base station A according to the above-mentioned sending logic.
  • the abnormal switching targeted by the technical solution provided by this application is specifically a scenario in which, when the value of reportAmount is not Infinity, after terminal A sends reportAmount measurement reports to base station A, it still does not receive the processing result made by base station A for the measurement report.
  • reportAmount For the sake of convenience, take the value of reportAmount as r1 as an example.
  • Terminal A performs measurement according to the measurement configuration and obtains a measurement report.
  • measurement information can be configured for each reportConfigId.
  • reportConfig when the information corresponding to reportConfig is "reportConfigNR", it indicates that the report configuration information is the report configuration information of 5GNR, when the information corresponding to reportTyped is "eventTriggered”, it indicates that the measurement report is of event type, when the information corresponding to eventId is "eventA3", it indicates that the measurement is for the A3 event in the RRC protocol, when the information corresponding to rsType is "ssb”, it indicates that the measurement report is of synchronization signal (Synchronization Signal and PBCH block, ssb) type, and when the information corresponding to reportInteval is "ms1024", it indicates that the measurement report interval is 1024ms.
  • the measurement configuration may also include other information, which may be specifically set based on the measurement configuration description given by the RRC protocol, and will not be repeated here.
  • terminal A can search for base station B that can be accessed. After the measurement configuration performs corresponding measurements on base station B, a measurement report including relevant information of base station B can be obtained.
  • relevant information of base station B includes, for example, reference signal receiving power (Reference Signal Receiving Power, RSRP), reference signal receiving quality (Reference Signal Receiving Quality, RSRQ), signal-to-noise ratio (SIGNAL-NOISE RATIO, SNR), etc.
  • reference signal receiving power Reference Signal Receiving Power
  • RSRQ Reference Signal Receiving Quality
  • SIGNAL-NOISE RATIO SIGNAL-NOISE RATIO
  • terminal A sends a measurement report to base station A.
  • the measurement configuration configures the specific reporting period of the measurement report obtained by the measurement (the interval reportInteval of each measurement report), when the reportAmount value is not r1, the set number of reports can be reported according to the interval. If the reportAmount value is r1, it is only reported once.
  • terminal A will execute step S103.
  • base station A determines that switching is currently required according to the measurement report, and selects base station B as the target base station.
  • base station A can determine whether the switching conditions are met based on the relevant information about base station B in the strategy report and the preset switching control strategy, such as determining whether the network quality of base station B is better than the network quality of base station A based on the above-mentioned parameters such as RSRP, RSRQ, SNR, etc. If the preset switching control strategy indicates that the network quality of the newly searched base station (base station B) is better than the network quality of base station A, it is determined that switching is currently required, and the base station corresponding to the measurement report, such as base station B in this embodiment, is determined as the target base station.
  • the preset switching control strategy indicates that the network quality of the newly searched base station (base station B) is better than the network quality of base station A, it is determined that switching is currently required, and the base station corresponding to the measurement report, such as base station B in this embodiment, is determined as the target base station.
  • base station A sends a handover request to base station B, and carries the context of terminal A in the handover request.
  • base station A needs to add the context information necessary for terminal A to perform communication services to the switching request, that is, the above-mentioned terminal A context can be the context information necessary for terminal A to perform communication services.
  • base station B allocates wireless resources to terminal A according to the context of terminal A.
  • the base station B allocates wireless resources to the terminal A, which means allocating uplink/downlink working frequencies, frequency carrier intervals, etc. to the terminal A.
  • base station B sends a handover request confirmation message to base station A, and carries the radio resources allocated to terminal A in the handover request confirmation message.
  • base station B After base station B allocates wireless resources such as uplink/downlink operating frequencies and frequency carrier intervals to terminal A based on the context information necessary for terminal A to carry out communication services, base station B makes a switching request confirmation message in response to the switching request sent by base station A, and carries the above-mentioned wireless resources allocated to terminal A in the switching request confirmation message, so that terminal A can initiate a switching access request to base station B through the wireless resources.
  • wireless resources such as uplink/downlink operating frequencies and frequency carrier intervals
  • base station A After receiving the handover request confirmation sent by base station B, base station A generates a handover command and sends the handover command to terminal A.
  • base station A after receiving the handover request confirmation sent by base station B, base station A generates a handover command that also carries the wireless resources allocated by base station B to terminal A. In this way, after receiving the handover command sent by base station A, terminal A can initiate a handover access request to base station B through the wireless resources, that is, execute step S109.
  • terminal A executes handover in response to the handover command sent by base station A, and sends a handover access request to base station B through the wireless resources allocated by base station B.
  • base station B after receiving the handover access request sent by terminal A, base station B makes a handover access response in response to the handover access request.
  • terminal A after receiving the handover access response sent by base station B, terminal A sends a handover completion message to base station B to complete the handover.
  • the measurement report reported by the terminal may be lost and not reach the source base station, or after reaching the source base station, the source base station does not process it.
  • the source base station will not send a switching command to the terminal, and the terminal cannot switch to the target base station in time, resulting in abnormal switching and affecting the services on the terminal, such as the service rate continues to drop, resulting in failure to operate normally.
  • base station A sends a measurement configuration with a measurement report sending number of 1 to terminal A.
  • Terminal A performs measurement according to the measurement configuration, and obtains a measurement report including relevant information of base station B.
  • Terminal A sends a measurement report including relevant information of base station B to base station A.
  • the value of reportAmount in the measurement configuration sent by base station A to terminal A is still taken as r1.
  • the measurement report (including relevant information of base station B) obtained by terminal A after measuring the base station B searched for the first time after receiving the measurement configuration, and the specific details of terminal A sending the measurement report to base station A, please refer to the above steps S101 to S103, which will not be repeated here.
  • base station A within 12 seconds after terminal A sends the measurement report corresponding to base station B to base station A, base station A does not process it, that is, does not perform the above steps S104 to S108.
  • the network quality of base station A is unstable and continues to deteriorate (determined according to parameters such as RSRP and SNR of base station A), as shown in FIG. 5, when the network quality of base station A (source base station) continues to deteriorate, the service rate of terminal A also continues to decrease within these 12 seconds, and even drops to 0 bps.
  • terminal A may not be able to search for other accessible base stations, and no new measurement report will be generated. In this way, when the value of reportAmount is r1, terminal A will no longer send the measurement report corresponding to base station B to base station A. During this period, if the network of base station A is still unavailable, the service rate of terminal A can only remain at 0 bps, which causes the services that need to use the network on terminal A to be unable to proceed normally, affecting the user experience.
  • step S204 can be executed as shown in Figure 4.
  • Terminal A measures base station C according to the measurement configuration sent by base station A in step S201, and obtains a measurement report including relevant information of base station C.
  • terminal A sends a measurement report including relevant information of base station C to base station A.
  • timing for terminal A to send a measurement report including relevant information of base station C to base station A is also to upload once after the measurement report interval configured in the measurement configuration is met.
  • steps S206 to S213 may be triggered. implement.
  • Base station A determines that a handover is currently required based on the measurement report including relevant information of base station C, and selects base station C as a target base station.
  • base station A sends a handover request to base station C, and carries the context of terminal A in the handover request.
  • base station C allocates wireless resources to terminal A according to the context of terminal A.
  • base station C sends a handover request confirmation message to base station A, and carries the wireless resources allocated to terminal A in the handover request confirmation message.
  • base station A After receiving the handover request confirmation sent by base station C, base station A generates a handover command and sends the handover command to terminal A.
  • terminal A executes handover in response to the handover command sent by base station A, and sends a handover access request to base station C through the wireless resources allocated by base station C.
  • base station C After receiving the handover access request sent by terminal A, base station C makes a handover access response in response to the handover access request.
  • the terminal A after receiving the handover access response sent by the base station C, the terminal A sends a handover completion message to the base station C to complete the handover.
  • terminal A sends a measurement report including relevant information of base station B to base station A at time t1
  • the service rate of terminal A based on the network continues to deteriorate within 12 seconds when base station A does not process the measurement report corresponding to base station B, until base station C is searched at time t2, and the measurement report corresponding to base station C is sent to base station A.
  • the service rate of terminal A based on the network gradually returns to normal.
  • the present application provides a method for processing abnormal switching of a frame, aiming to enable the terminal to always receive the switching command sent by the source base station, so that the terminal can switch to an available network in time according to the switching command to ensure service quality.
  • the hardware structure of the terminal device (such as a mobile phone, a tablet computer, a touch-screen PC, etc.) to which the embodiments of the present application are applicable is first described in conjunction with the accompanying drawings.
  • the terminal device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, and subscriber identification module (SIM) card interface 195, etc.
  • a processor 110 an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, button 190, motor 191, indicator
  • 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., which are not listed one by one here and the present application does not limit this.
  • the processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc.
  • different processing units may be independent devices or integrated in one or more processors.
  • the controller may be the nerve center and command center of the terminal device 100.
  • the controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
  • a memory may be provided in the processor 110 for storing instructions and data.
  • 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.
  • 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.
  • I2C inter-integrated circuit
  • I2S inter-integrated circuit sound
  • PCM pulse code modulation
  • UART universal asynchronous receiver/transmitter
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB universal serial bus
  • the charging management module 140 is used to receive charging input from a charger.
  • the charger may be a wireless charger or a wired charger.
  • the charging management module 140 may receive charging input from a wired charger through the USB interface 130.
  • the charging management module 140 may receive wireless charging input through a wireless charging coil of the terminal device 100. While the charging management module 140 is charging the battery 142, it may also power the terminal device through the power management module 141.
  • the power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
  • the power management module 141 receives input from the battery 142 and/or the charging management module 140 to power the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160.
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc.
  • the power management module 141 can also be used to monitor battery capacity, battery cycle number, battery health status (leakage, impedance), etc. It is arranged in the processor 110.
  • the power management module 141 and the charging management module 140 may also be arranged in the same device.
  • the wireless communication function of the terminal device 100 may be implemented through antenna 1 , antenna 2 , mobile communication module 150 , wireless communication module 160 , a modem processor, and a baseband processor.
  • antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in terminal 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.
  • antenna 1 can be reused as a diversity antenna for a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the mobile communication module 150 can provide a solution for wireless communication including 2G/3G/4G/5G applied to the terminal device 100.
  • the mobile communication module 150 can 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.
  • at least some of the functional modules of the mobile communication module 150 can be set in the processor 110.
  • 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.
  • the modem processor may include a modulator and a demodulator.
  • 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.
  • 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.
  • the modem processor may be an independent device.
  • 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.
  • the wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the terminal device 100.
  • WLAN wireless local area networks
  • BT Bluetooth
  • GNSS global navigation satellite system
  • FM frequency modulation
  • NFC near field communication
  • IR infrared
  • 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 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, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
  • the terminal device 100 can access the wireless access network composed of the mobile communication module 150 or the wireless communication module 160 and the access base station, and then implement various services based on the network, such as audio and video conferencing, games, etc.
  • the terminal device 100 implements the display function through the GPU, the display screen 194, and the 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, which execute Execute program instructions to generate or change display information.
  • the display screen 194 is used to display images, videos, etc.
  • the display screen 194 includes a display panel.
  • the display panel may 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.
  • the terminal device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
  • the terminal device 100 can achieve the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.
  • the ISP is used to process the data fed back by the camera 193.
  • the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens.
  • the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye.
  • the ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image.
  • the ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP can be set in 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.
  • the photosensitive element can be a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS) phototransistor.
  • CMOS complementary metal oxide semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • the DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format.
  • the terminal device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
  • the digital signal processor is used to process digital signals, and can process other digital signals in addition to digital image signals.
  • the digital signal processor is used to perform Fourier transform on the frequency point energy.
  • the video codec is used to compress or decompress digital video.
  • the terminal device 100 can support one or more video codecs. In this way, the terminal device 100 can play or record videos in multiple coding formats, such as: Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
  • MPEG Moving Picture Experts Group
  • MPEG2 MPEG2, MPEG3, MPEG4, etc.
  • 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 terminal device 100.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and videos are stored in the external memory card.
  • the internal memory 121 can be used to store computer executable program codes, which include instructions.
  • the processor 110 executes various functional applications and data processing of the terminal device 100 by running the instructions stored in the internal memory 121.
  • the internal memory 121 may include a program storage area and a data storage area.
  • 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 terminal device 100 (such as audio data, a phone book, etc.), etc.
  • the internal memory 121 may It includes high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.
  • the terminal device 100 can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor.
  • the audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals.
  • the audio module 170 can also be used to encode and decode audio signals.
  • the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.
  • the button 190 includes a power button, a volume button, etc.
  • the button 190 may be a mechanical button or a touch button.
  • the terminal device 100 may receive a button input and generate a key signal input related to the user settings and function control of the terminal device 100.
  • motor 191 can generate vibration prompts.
  • Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback.
  • touch operations acting on different applications can correspond to different vibration feedback effects.
  • touch operations acting on different areas of the display screen 194 can also correspond to different vibration feedback effects.
  • Different application scenarios for example: time reminders, receiving messages, alarm clocks, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 may be an indicator light, which may be used to indicate the charging status, power change, or may be used to indicate messages, missed calls, notifications, and the like.
  • the hardware structure of the terminal device 100 is introduced here. It should be understood that the terminal device 100 shown in FIG6 is only an example. In a specific implementation, the terminal device 100 may have more or fewer components than those shown in the figure, may combine two or more components, or may have different component configurations. The various components shown in FIG6 may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and/or application-specific integrated circuits.
  • the abnormal switching processing method provided by the present application is specifically implemented by the modulator (Modem) of the terminal device interacting with the source base station and the target, thereby implementing the terminal switching from the source base station to the target base station.
  • the processing logic for the interaction between the Modem and the source base station and the target base station is specifically completed in the protocol stack corresponding to the Modem.
  • the protocol stack is, for example, a 3rd Generation Partnership Project (3GPP) protocol stack, and the architecture of the 3GPP protocol stack is shown in FIG7 .
  • 3GPP 3rd Generation Partnership Project
  • the 3GPP protocol stack generally includes three layers, namely, a physical layer (Physical Layer, PHY layer) located at the first layer, a medium access control layer (Medium Access Control, MAC) located at the second layer, a radio link control layer (Radio Link Control, RLC layer), a packet data convergence protocol layer (Packet Data Convergence Protocol, PDCP layer) located at the second layer, and a radio resource control layer (Radio Resource Control, RRC layer) located at the third layer.
  • a physical layer Physical Layer, PHY layer
  • Medium Access Control, MAC Medium Access Control
  • RLC layer Radio Link Control
  • PDCP layer Packet Data Convergence Protocol
  • RRC layer Radio Resource Control
  • the physical layer uses the physical channel as an interface to receive data transmitted by other devices, and can provide services to the upper layer through the transmission channel, such as transmitting the measurement configuration and control information sent by the source base station to the resource-free control layer.
  • the control terminal can send a measurement report to the source base station. After that, whether to start the timer and the duration set for the timer are determined, thereby implementing the processing of the abnormal switching processing method provided by the present application.
  • the measurement report generated for the first time by terminal A according to the measurement configuration sent by base station A is for base station B, and the abnormal switching processing method provided in this application is specifically described.
  • base station A sends a measurement configuration with a measurement report sending number of 1 to terminal A.
  • Terminal A performs measurement according to the measurement configuration, and obtains a measurement report including relevant information of base station B.
  • terminal A sends a measurement report including relevant information of base station B to base station A.
  • the value of reportAmount in the measurement configuration sent by base station A to terminal A is still taken as r1.
  • the measurement report (including relevant information of base station B) obtained by terminal A after measuring the base station B searched for the first time after receiving the measurement configuration, and the specific details of terminal A sending the measurement report to base station A, please refer to the above steps S101 to S103, which will not be repeated here.
  • the condition for terminal A to start the timer must at least satisfy that the value of reportAmount configured in the measurement configuration is not Infinity (infinite times), but a known fixed number of times, such as r1 times mentioned above.
  • Terminal A resends the measurement report including relevant information of base station B to base station A.
  • step S306 will be executed, and if base station B can respond normally, steps S307 to S313 can be executed sequentially.
  • Base station A determines that a handover is currently required based on the measurement report including relevant information of base station B, and selects base station B as a target base station.
  • base station A sends a handover request to base station B, and carries the context of terminal A in the handover request.
  • base station B allocates wireless resources to terminal A according to the context of terminal A.
  • base station B sends a handover request confirmation message to base station A, and carries the wireless resources allocated to terminal A in the handover request confirmation message.
  • base station A After receiving the handover request confirmation sent by base station B, base station A generates a handover command and sends the handover command to terminal A.
  • terminal A executes handover in response to the handover command sent by base station A, and sends a handover access request to base station B through the wireless resources allocated by base station B.
  • base station B After receiving the handover access request sent by terminal A, base station B makes a handover access response in response to the handover access request.
  • terminal A after receiving the handover access response sent by base station B, terminal A sends a handover completion message to base station B to complete the handover.
  • step S306 to step S313 are substantially similar to those of step S104 to step S111 in the above embodiment, and are not described in detail here.
  • the value of reportAmount in the measurement configuration sent by base station A (source base station) to terminal A is not Infinity (infinite times), but a known fixed number of times, such as r1 times mentioned above.
  • the measurement report corresponding to base station B is resent to base station A after the timing period ends, so that base station A can receive the measurement report reported by terminal A again, thereby processing and triggering terminal A to switch to base station B with better network quality in time, so that the service rate of terminal A can be restored in time, thereby ensuring that the service of terminal A can proceed normally.
  • terminal A can switch to base station B with better network quality according to the switching command issued by base station A, so that the service rate of terminal A can show an upward trend, thereby ensuring the normal operation of terminal A's service, and the long-term inability to access base station B in FIG5 will not occur, causing the service rate of terminal A to drop to 0bps, until terminal A searches for a new base station, such as base station C, and reports the measurement report corresponding to base station C to base station A, base station A responds, and the terminal switches to base station C to restore the service rate to normal.
  • a new base station such as base station C
  • the timer can be started again, and if no feedback is received from the source base station within the timing duration, the measurement report can be resent again.
  • the retransmission of the measurement report of the previous base station is stopped until feedback is received from the source base station after the measurement report is resent, or the terminal leaves the cell where the source base station is located, or other available base stations are searched to generate a new measurement report.
  • the method for processing abnormal switching provided in this embodiment specifically includes:
  • base station A sends a measurement configuration with a measurement report sending number of 1 to terminal A.
  • Terminal A performs measurement according to the measurement configuration, and obtains a measurement report including relevant information of base station B.
  • terminal A sends a measurement report including relevant information of base station B to base station A.
  • the value of reportAmount in the measurement configuration sent by base station A to terminal A is still taken as r1.
  • the measurement report (including relevant information of base station B) obtained by terminal A after measuring the base station B searched for the first time after receiving the measurement configuration, and the specific details of terminal A sending the measurement report to base station A, please refer to the above steps S101 to S103, which will not be repeated here.
  • terminal A resends the measurement report including relevant information of base station B to base station A.
  • step S304 and step S305 in the above embodiment please refer to step S304 and step S305 in the above embodiment, which will not be repeated here.
  • terminal A After terminal A resends the measurement report including relevant information of base station B to base station A, terminal A restarts the timer.
  • the timing duration of the timer started each time may be the same.
  • step S411 if terminal A resends the measurement report of base station B to base station A, base station A makes a process, such as completing the interaction with base station B, that is, steps S407 to S411 are executed. If the processing of steps S407 to S411 is completed within the timing duration T2, that is, terminal A receives the switching command sent by base station A within T2, such as within 2s in the figure, terminal A will choose to turn off the timer and then execute step S412.
  • terminal A receives the switching command sent by base station A when the timing duration T2 ends, the timer is automatically closed, and terminal A directly responds to the switching command, that is, executes step S412.
  • terminal A ends but has not yet completed sending the switching command to base station A, it can continue to determine whether the timer start conditions are met, and if so, repeat the measurement report again, start the timer, set the timing duration, and re-execute the above processing.
  • the timer started by terminal A reaches the timing duration, thereby triggering retransmission, and the timing duration set by the timer needs to be greater than the total duration of base station A and base station B executing steps S407 to S411.
  • the timing duration of the timer needs to be at least one cycle greater than the processing duration, such as at least 1s.
  • base station A determines that switching is currently required according to the measurement report including relevant information of base station B, and selects base station B as the target base station.
  • base station A sends a handover request to base station B, and carries the context of terminal A in the handover request.
  • base station B allocates wireless resources to terminal A according to the context of terminal A.
  • base station B sends a handover request confirmation message to base station A, and carries the radio resources allocated to terminal A in the handover request confirmation message.
  • base station A After receiving the handover request confirmation sent by base station B, base station A generates a handover command and sends the handover command to terminal A.
  • terminal A receives the switching command sent again by base station A within the timing time of the timer started for the second time, turns off the timer started for the second time, responds to the switching command sent by base station A, executes the switching, and sends a switching access request to base station B through the wireless resources allocated by base station B.
  • base station B after receiving the handover access request sent by terminal A, base station B makes a handover access response in response to the handover access request.
  • terminal A after receiving the handover access response sent by base station B, terminal A sends a handover completion message to base station B to complete the handover.
  • step S407 to step S414 are substantially similar to those of step S104 to step S111 in the above embodiment, and are not described in detail here.
  • the timer is started multiple times, and the measurement report corresponding to base station B is resent after the timed period, until feedback from base station A regarding the measurement report of base station B is received, then the measurement report is repeated and the timer is started, so that terminal A can always receive the switching command sent by base station A, so that terminal A can switch to an available network in time according to the switching command to ensure service quality.
  • the method for processing abnormal switching provided in the embodiment of the present application specifically includes:
  • S501 Receive a measurement configuration sent by a source base station, where the number of measurement report transmissions configured in the measurement configuration is M.
  • the source base station is, for example, the base station A mentioned above, and the number of measurement report transmission times M configured in the measurement configuration is the reportAmount mentioned above.
  • the implementation premise of the abnormal switching method provided in this embodiment is that the value of reportAmount is not Infinity (countless times), that is, it can be any one of r1, r2, r4, r8, r16, r32, r64 mentioned above, so M ⁇ 1, 2, 4, 8, 16, 32, 64 ⁇ .
  • S502 In a source cell corresponding to the source base station, measure the searched first base station according to the measurement configuration to obtain a first measurement report corresponding to the first base station.
  • the source base station is the base station A mentioned above
  • the source cell is, for example, the cell A shown in FIG. 1 .
  • the terminal device terminal A in Figure 1
  • area AB is in area A covered by base station A and in area B covered by base station B
  • base station B that is, the first base station mentioned in this embodiment, can be searched in area AB.
  • the terminal device measuring the first base station according to the measurement configuration sent by the source base station, and then obtaining the first measurement report corresponding to the first base station
  • terminal A measuring base station B according to the measurement configuration sent by base station A, and then obtaining the measurement report including relevant information of base station B, which will not be repeated here.
  • the terminal device starts the first timer of the first timing duration after sending the first measurement report for the last time, which causes the source base station to be overloaded and also increases the waste of resources of the terminal device.
  • sending the first measurement report for the last time it can be determined whether the first timer is currently satisfied, triggering the terminal device to execute the process of resending the first measurement report.
  • the terminal device before sending the first measurement report to the source base station for the Mth time and starting the first timer of the first timing duration, it can be determined whether the terminal device is in a moving state. For example, it can be determined whether the terminal device is moving based on the displacement change of the mobile terminal device within a continuous time period.
  • the current moving speed can be obtained based on the accelerometer/acceleration sensor in the terminal device, or the next moving speed of the terminal device can be estimated based on the position change of the terminal device within a historical period of time, such as the moving speed v in Figure 12, and the distance between the current position and the cell boundary, such as the distance d between the terminal and the boundary of cell A in Figure 12.
  • step S503 when the moving time is greater than the first timing duration, it can be determined that the condition for starting the first timer is met, that is, step S503 can be executed. On the contrary, it indicates that the terminal device will move out of cell A before the first timing duration ends. In this case, the terminal device will search for base station C, and then generate a measurement report (such as a second measurement report) including relevant information of base station C, thereby sending the second measurement report to the source base station. Therefore, when the moving duration is not greater than the first timing duration, the terminal device does not need to start the first timer, and can directly send the last, i.e., the Mth, first measurement report to the source base station.
  • a measurement report such as a second measurement report
  • the carrying capacity of the channel between the terminal device and the source base station can be determined based on the current reference signal received power RSRP of the source base station, and/or the reference signal received instruction RSRQ, and/or the signal-to-noise ratio; and then when the carrying capacity of the channel meets the retransmission condition, the step of sending the first measurement report to the source base station for the Mth time and starting the first timer of the first timing duration is executed; otherwise, the first measurement report is only sent to the source base station for the Mth time.
  • the priority of the terminal device currently connected to the source base station can be further determined, and then based on the priority of the terminal device, a terminal device with a high priority is selected to execute the steps of sending the first measurement report to the source base station for the Mth time and starting the first timer of the first timing duration; while a terminal device with a low priority only sends the first measurement report to the source base station for the Mth time.
  • the terminal devices currently accessing the source base station include a first terminal device and a second terminal device, and the carrying capacity of the source base station only supports one terminal device to start the timer and resend the first measurement report.
  • the selection of the terminal device may follow the following rules.
  • the first terminal device executes the steps of sending the first measurement report to the source base station for the Mth time and starting the first timer of the first timing duration, and the second terminal device only sends the first measurement report to the source base station for the Mth time.
  • the second terminal device executes the steps of sending the first measurement report to the source base station for the Mth time and starting the first timer of the first timing duration, and the first terminal device only sends the first measurement report to the source base station for the Mth time.
  • the priority of the first terminal device when the priority of the first terminal device is the same as that of the second terminal device, the priority of the services currently processed by the two terminal devices can be further determined, and then, based on the priority of the services, the terminal device with the higher service priority is selected to execute the steps of sending the first measurement report to the source base station for the Mth time and starting the first timer for the first timing duration; while the terminal device with the lower priority only sends the first measurement report to the source base station for the Mth time.
  • the first terminal device executes the step of sending the first measurement report to the source base station for the Mth time and starting the first timer of the first timing duration, and the second terminal device only sends the first measurement report to the source base station for the Mth time; when the second priority is higher than the first highest priority, the second terminal device executes the step of sending the first measurement report to the source base station for the Mth time and starting the first timer of the first timing duration, and the first terminal device only sends the first measurement report to the source base station for the Mth time.
  • the services currently processed by the terminal device may be, for example, audio and video services, audio and video conferencing services, online game services, instant messaging services, etc.
  • priorities can be divided according to the real-time requirements and network quality requirements of these services.
  • audio and video services, audio and video conferencing services, online gaming services and other service types with high real-time requirements and high network quality requirements can be set to high priority, while instant messaging services can be set to low priority.
  • a base station close to the source base station may be selected, so as to ensure as much as possible that the retransmitted first measurement report can reach the source base station so that the source base station can make a processing.
  • a longer waiting time may be selected so that the terminal device can be switched to the target base station in time, so that the service rate of the terminal can be restored to normal in time, ensuring that the services thereon can proceed normally.
  • the first measurement report can be resent to the source base station when the measurement report reporting interval configured in the measurement configuration is met.
  • the switching is performed; if a switching command made by the source base station for the resent first measurement report is received within the second timing duration, the second timer is first turned off, and then the switching is performed.
  • the timer needs to be started multiple times, it is necessary to ensure that the timing duration corresponding to each timer started is greater than the time it takes for the source base station to process the first measurement report and issue a switching command, such as the first timing duration and the second timing duration mentioned above are both greater than the time it takes for the source base station to process the first measurement report and issue a switching command.
  • the switching command issued by the source base station under normal processing of the first measurement report can be received by the terminal device, avoiding the terminal device triggering the operation of resending the first measurement report when the switching command can arrive normally, thereby reducing unnecessary resource occupation.
  • step S504 in this embodiment is similar to step S304 and step S404 in the above embodiments.
  • the specific implementation details can be found in the above embodiments and will not be repeated here.
  • the terminal device will not perform the operation of re-sending the first measurement report to the source base station at the end of the first timing duration, thereby reducing resource occupation and meaningless operations.
  • performing the handover for example, sending a handover access request to the first base station through the wireless resources indicated in the handover command, and after receiving the handover access response made by the first base station to the handover access request, responding to the handover access response, sending a handover completion message to the first base station, thereby completing the handover.
  • sending a handover access request to the first base station through the wireless resources indicated in the handover command and after receiving the handover access response made by the first base station to the handover access request, responding to the handover access response, sending a handover completion message to the first base station, thereby completing the handover.
  • the abnormal switching processing method provided in the embodiment of the present application is that when the terminal device still does not receive the switching command made by the source base station for the first measurement report after sending the first measurement report to the source base station for the M-1th time, after the Mth time, that is, the last measurement report sending opportunity configured in the measurement configuration sent by the source base station, by starting the first timer with a first timing duration, if the switching command sent by the source base station is still not received at the end of the first timing duration, the first measurement report is resent.
  • the terminal device can still be triggered to send the first measurement report to the source base station until the switching command made by the source base station for the first measurement report is received, thereby ensuring that the terminal device can always receive the switching command sent by the source base station, and then switch to an available network in time according to the switching command to ensure service quality.
  • the terminal device includes hardware and/or software modules corresponding to the execution of each function.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. A skilled person may use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to exceed the scope of the present application.
  • the switching anomaly processing method provided by the above embodiments implemented by the terminal device in the actual application scenario can also be executed by a chip system included in the terminal device, wherein the chip system may include a processor.
  • the chip system can be coupled to the memory so that the chip system calls the computer program stored in the memory when it is running to implement the steps executed by the above terminal device.
  • the processor in the chip system can be an application processor or a processor other than an application processor.
  • an embodiment of the present application also provides a computer-readable storage medium, which stores computer instructions.
  • the terminal device executes the above-mentioned related method steps to implement the method for handling switching anomalies in the above-mentioned embodiment.
  • an embodiment of the present application further provides a computer program product.
  • the terminal device executes the above-mentioned related steps to implement the method for handling switching anomalies in the above-mentioned embodiment.
  • an embodiment of the present application also provides a chip (which may also be a component or module), which may include one or more processing circuits and one or more transceiver pins; wherein the transceiver pins and the processing circuit communicate with each other through an internal connection path, and the processing circuit executes the above-mentioned related method steps to implement the switching exception processing method in the above-mentioned embodiment, so as to control the receiving pin to receive the signal, so as to control the sending pin to send the signal.
  • a chip which may also be a component or module
  • the processing circuit communicate with each other through an internal connection path, and the processing circuit executes the above-mentioned related method steps to implement the switching exception processing method in the above-mentioned embodiment, so as to control the receiving pin to receive the signal, so as to control the sending pin to send the signal.
  • the terminal device, computer-readable storage medium, computer program product or chip provided in the embodiments of the present application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.

Landscapes

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

Abstract

Provided in the present application are a handover exception processing method, a device, and a storage medium. The method comprises: if a terminal device still has not received a handover command made by a source base station for a first measurement report after sending to the source base station the first measurement report for the (M-1)-th time, after the M-th time, namely the last one measurement report sending opportunity configured in a measurement configuration issued by the source base station, starting a first timer having a first timing duration; and, if the terminal device still has not received the handover command issued by the source base station at the end of the first timing duration, re-sending the first measurement report once. In this way, even if the number of measurement report sending times configured in the measurement configuration is reached, the terminal device can still be triggered to send to the source base station the first measurement report until the handover command made by the source base station for the first measurement report is received, thus the terminal device is ensured to always receive the handover command issued by the source base station, and hand over to an available network in time according to the handover command, thereby ensuring the quality of service.

Description

切换异常的处理方法、设备及存储介质Method, device and storage medium for handling abnormal switching
本申请要求于2022年11月06日提交中国专利局、申请号为202211381159.3、发明名称为“切换异常的处理方法、设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to the Chinese patent application filed with the China Patent Office on November 6, 2022, with application number 202211381159.3 and invention name “Switching Abnormal Processing Method, Device and Storage Medium”, all contents of which are incorporated by reference in this application.
技术领域Technical Field
本申请涉及通信技术领域,尤其涉及一种切换异常的处理方法、设备及存储介质。The present application relates to the field of communication technology, and in particular to a method, device and storage medium for processing switching anomalies.
背景技术Background technique
切换是长期演进(Long Term Evolution,LTE),以及新无线/新空口(New Radio,NR)系统移动性管理的重要组成部分,是保障服务质量的重要环节。正常情况下,终端驻留在源基站(当前接入的基站)管理的小区时,源基站会向终端下发测量配置,而终端会根据测量配置进行测量,并将测量得到的测量报告(MeasurementReport,MR)上报该源基站,由源基站根据测量报告向终端下发切换命令,以使得终端根据切换命令完成切换,即从源基站切换到目标基站。Handover is an important part of mobility management in Long Term Evolution (LTE) and New Radio (NR) systems, and is an important part of ensuring service quality. Under normal circumstances, when a terminal resides in a cell managed by a source base station (the currently connected base station), the source base station will send a measurement configuration to the terminal, and the terminal will perform measurements according to the measurement configuration, and report the measurement report (MeasurementReport, MR) obtained by the measurement to the source base station. The source base station will send a handover command to the terminal based on the measurement report, so that the terminal completes the handover according to the handover command, that is, switches from the source base station to the target base station.
然而,在实际作业中,可能存在终端上报的测量报告丢失,没有到达源基站,或者到达源基站后,源基站没有进行处理,这种情况下源基站就不会向终端下发切换命令,终端无法及时切换到目标基站,导致切换异常。However, in actual operation, the measurement report reported by the terminal may be lost and fail to reach the source base station, or the source base station may not process it after reaching the source base station. In this case, the source base station will not send a switching command to the terminal, and the terminal cannot switch to the target base station in time, resulting in switching abnormalities.
发明内容Summary of the invention
为了解决上述技术问题,本申请提供一种切换异常的处理方法、设备及存储介质,旨在使终端始终能够接收到源基站下发的切换命令,以使终端能够根据切换命令及时进行切换到可用的网络,保证服务质量。In order to solve the above technical problems, the present application provides a method, device and storage medium for handling switching anomalies, aiming to enable the terminal to always receive the switching command issued by the source base station, so that the terminal can switch to an available network in time according to the switching command to ensure service quality.
第一方面,本申请提供一种切换异常的处理方法。该方法应用于终端设备,包括:接收源基站发送的测量配置,测量配置中配置的测量报告发送次数为M,M大于0;在源基站对应的源小区内,根据测量配置对搜索到的第一基站进行测量,得到第一基站对应的第一测量报告;在第M-1次向源基站发送第一测量报告后,依旧没有接收到源基站针对第一测量报告作出的切换命令时,在满足测量配置中配置的测量报告上报间隔时,向源基站第M次发送第一测量报告,并启动第一定时时长的第一定时器;在第一定时时长内未接收到源基站根据第一测量报告作出的切换命令时,在第一定时时长结束后,在满足测量配置中配置的测量报告上报间隔时,重新向源基站发送第一测量报告;响应于源基站根据重新发送的第一测量报告作出的切换命令,执行切换。In the first aspect, the present application provides a method for handling handover anomalies. The method is applied to a terminal device, including: receiving a measurement configuration sent by a source base station, the number of measurement report transmissions configured in the measurement configuration is M, and M is greater than 0; in the source cell corresponding to the source base station, the searched first base station is measured according to the measurement configuration, and the first measurement report corresponding to the first base station is obtained; after sending the first measurement report to the source base station for the M-1th time, when the handover command made by the source base station for the first measurement report is still not received, when the measurement report reporting interval configured in the measurement configuration is met, the first measurement report is sent to the source base station for the Mth time, and the first timer of the first timing duration is started; when the handover command made by the source base station according to the first measurement report is not received within the first timing duration, after the first timing duration ends, when the measurement report reporting interval configured in the measurement configuration is met, the first measurement report is re-sent to the source base station; in response to the handover command made by the source base station according to the resent first measurement report, the handover is performed.
由此,在终端设备向源基站第M-1次发送第一测量报告后依旧没有接收到源基站针对第一测量报告作出的切换命令时,在第M次,也就是源基站下发的测量配置中配置的最后一次测量报告发送机会后,通过启动第一定时时长的第一定时器,若在第一定时时长结束时依旧没有接收到源基站下发的切换命令时,重新发送一次第一测量报告,这样即便达到了测量配置中配置的测量报告发送次数,依旧可以触发终端设备向源基站发送第一测量报告,直到接收到源基站针对第一测量报告作出的切换命令,从 而确保终端设备始终能够接收到源基站下发的切换命令,进而根据切换命令及时进行切换到可用的网络,保证服务质量。Therefore, when the terminal device still has not received the switching command made by the source base station for the first measurement report after sending the first measurement report to the source base station for the M-1th time, after the Mth time, which is the last measurement report sending opportunity configured in the measurement configuration sent by the source base station, the first timer with a first timing duration is started. If the switching command sent by the source base station is still not received at the end of the first timing duration, the first measurement report is resent. In this way, even if the number of measurement report sending times configured in the measurement configuration is reached, the terminal device can still be triggered to send the first measurement report to the source base station until the switching command made by the source base station for the first measurement report is received. This ensures that the terminal device can always receive the switching command sent by the source base station, and then switch to the available network in time according to the switching command to ensure the service quality.
根据第一方面,在向源基站第M次发送第一测量报告,并启动第一定时时长的第一定时器之前,方法还包括:在终端设备处于移动状态时,获取当前的移动速度,以及当前位置与源小区边界之间的距离;根据移动速度和距离,预估终端设备按照移动速度,从当前位置移动到源小区边界的移动时间;在移动时间大于第一定时时长时,执行向源基站第M次发送第一测量报告,并启动第一定时时长的第一定时器的步骤;否则,仅向源基站第M次发送第一测量报告。According to the first aspect, before sending the first measurement report to the source base station for the Mth time and starting the first timer of the first timing duration, the method also includes: when the terminal device is in a moving state, obtaining the current moving speed and the distance between the current position and the boundary of the source cell; based on the moving speed and the distance, estimating the moving time for the terminal device to move from the current position to the boundary of the source cell according to the moving speed; when the moving time is greater than the first timing duration, executing the step of sending the first measurement report to the source base station for the Mth time and starting the first timer of the first timing duration; otherwise, only sending the first measurement report to the source base station for the Mth time.
可理解的,如果移动到源小区边界的移动时间不大于第一定时时长,那么在第一定时时长结束后重发第一测量报告前,终端设备就可以在源小区边界搜索到其他基站,如第二基站,进而发送第二基站的测量报告。这种情况下,重发第一测量报告就没有意义了。因此,通过设置在移动时间大于第一定时时长时,才启动第一定时器,触发重新发送第一测量报告的流程,从而使得本申请提供的异常切换的处理方法能够更好的适用于实际应用场景,减少不必要的资源占用。It is understandable that if the moving time to the source cell boundary is not greater than the first timing duration, then before the first measurement report is resent after the first timing duration ends, the terminal device can search for other base stations, such as the second base station, at the source cell boundary, and then send the measurement report of the second base station. In this case, it is meaningless to resend the first measurement report. Therefore, by setting the first timer to start only when the moving time is greater than the first timing duration, the process of resending the first measurement report is triggered, so that the abnormal switching processing method provided in the present application can be better applied to actual application scenarios and reduce unnecessary resource occupation.
根据第一方面,或者以上第一方面的任意一种实现方式,在向源基站第M次发送第一测量报告,并启动第一定时时长的第一定时器之前,方法还包括:根据源基站当前的参考信号接收功率RSRP,和/或参考信号接收指令RSRQ,和/或信噪比,确定终端设备与源基站之间的信道的承载能力;在信道的承载能力满足重发条件时,执行向源基站第M次发送第一测量报告,并启动第一定时时长的第一定时器的步骤;在信道的承载能力不满足重发条件时,仅向源基站第M次发送第一测量报告。According to the first aspect, or any implementation method of the first aspect above, before sending the first measurement report to the source base station for the Mth time and starting the first timer of the first timing duration, the method also includes: determining the carrying capacity of the channel between the terminal device and the source base station according to the current reference signal received power RSRP of the source base station, and/or the reference signal received instruction RSRQ, and/or the signal-to-noise ratio; when the carrying capacity of the channel meets the retransmission condition, executing the step of sending the first measurement report to the source base station for the Mth time and starting the first timer of the first timing duration; when the carrying capacity of the channel does not meet the retransmission condition, only sending the first measurement report to the source base station for the Mth time.
由此,通过判断终端设备与源基站之间的信道的承载能力,在承载能力满足重复条件,比如资源较多,重发第一测量报告对源基站的处理压力较小的情况才启动第一定时器,触发重新发送第一测量报告的流程,从而使得本申请提供的异常切换的处理方法能够更好的适用于实际应用场景,降低对源基站的压力,使得重发第一测量报告后,源基站在能够正常处理其他业务的情况下,可以对第一测量报告作出处理。Therefore, by judging the carrying capacity of the channel between the terminal device and the source base station, the first timer is started only when the carrying capacity meets the repetition conditions, such as there are more resources and the processing pressure of resending the first measurement report on the source base station is relatively small, triggering the process of resending the first measurement report, so that the abnormal switching processing method provided in the present application can be better applied to actual application scenarios, reducing the pressure on the source base station, so that after resending the first measurement report, the source base station can process the first measurement report while being able to handle other services normally.
根据第一方面,或者以上第一方面的任意一种实现方式,接入源基站的终端设备包括第一终端设备和第二终端设备;在信道的承载能力仅支持一个终端设备启动定时器,重发第一测量报告时,在向源基站第M次发送第一测量报告,并启动第一定时时长的第一定时器之前,方法还包括:在第一终端设备的优先级高于第二终端设备的优先级时,第一终端设备执行向源基站第M次发送第一测量报告,并启动第一定时时长的第一定时器的步骤,第二终端设备仅向源基站第M次发送第一测量报告;在第二终端设备的优先级高于第一终端设备的优先级时,第二终端设备执行向源基站第M次发送第一测量报告,并启动第一定时时长的第一定时器的步骤,第一终端设备仅向源基站第M次发送第一测量报告。According to the first aspect, or any implementation method of the first aspect above, the terminal device accessing the source base station includes a first terminal device and a second terminal device; when the carrying capacity of the channel only supports one terminal device to start the timer and resend the first measurement report, before sending the first measurement report to the source base station for the Mth time and starting the first timer of the first timing duration, the method also includes: when the priority of the first terminal device is higher than the priority of the second terminal device, the first terminal device executes the step of sending the first measurement report to the source base station for the Mth time and starting the first timer of the first timing duration, and the second terminal device only sends the first measurement report to the source base station for the Mth time; when the priority of the second terminal device is higher than the priority of the first terminal device, the second terminal device executes the step of sending the first measurement report to the source base station for the Mth time and starting the first timer of the first timing duration, and the first terminal device only sends the first measurement report to the source base station for the Mth time.
由此,在承载能力不足以承载当前接入的所有终端设备都触发重发第一测量报告的情况下,选择优先级高的终端设备在发送最后一次第一测量报告后,启动第一定时 时长的第一定时器,进而在第一定时时长内没有接收到源基站针对第一测量报告作出的切换命令时,能够重发第一测量报告,而优先级低的则不启动该流程,这样既减少了源基站的处理压力,又能保证优先级高的终端设备的能够及时执行切换,进而保证优先级高的终端设备上的业务能够正常执行。Thus, when the carrying capacity is insufficient to carry all currently connected terminal devices, triggering the retransmission of the first measurement report, the terminal device with a high priority is selected to start the first timing after sending the last first measurement report. The first timer of the duration is set, and when no switching command is received from the source base station for the first measurement report within the first timing duration, the first measurement report can be resent, while the process is not started for low priority devices. This not only reduces the processing pressure of the source base station, but also ensures that the terminal devices with high priority can execute the switching in time, thereby ensuring that the services on the terminal devices with high priority can be executed normally.
根据第一方面,或者以上第一方面的任意一种实现方式,方法还包括:在第一终端设备的优先级等于第二终端设备的优先级时,确定第一终端设备当前处理的业务的第一优先级和第二终端设备当前处理的业务的第二优先级;在第一优先级高于第二高优先级时,第一终端设备执行向源基站第M次发送第一测量报告,并启动第一定时时长的第一定时器的步骤,第二终端设备仅向源基站第M次发送第一测量报告;在第二优先级高于第一高优先级时,第二终端设备执行向源基站第M次发送第一测量报告,并启动第一定时时长的第一定时器的步骤,第一终端设备仅向源基站第M次发送第一测量报告。According to the first aspect, or any implementation manner of the first aspect above, the method also includes: when the priority of the first terminal device is equal to the priority of the second terminal device, determining the first priority of the service currently processed by the first terminal device and the second priority of the service currently processed by the second terminal device; when the first priority is higher than the second highest priority, the first terminal device executes the step of sending the first measurement report to the source base station for the Mth time, and starting the first timer of the first timing duration, and the second terminal device only sends the first measurement report to the source base station for the Mth time; when the second priority is higher than the first highest priority, the second terminal device executes the step of sending the first measurement report to the source base station for the Mth time, and starting the first timer of the first timing duration, and the first terminal device only sends the first measurement report to the source base station for the Mth time.
由此,通过考虑优先级相同的终端设备上执行的业务的优先级,进而根据执行的业务的优先级选择合适的终端设备启动重发流程,更好的贴合实际使用场景。Therefore, by considering the priority of services executed on terminal devices with the same priority, a suitable terminal device is selected according to the priority of the executed service to start the retransmission process, which better fits the actual usage scenario.
根据第一方面,或者以上第一方面的任意一种实现方式,在重新向源基站发送第一测量报告之后,方法还包括:启动第二定时时长的第二定时器;在第二定时时长内未接收到源基站根据重发的第一测量报告作出的切换命令时,在第二定时时长结束后,在满足测量配置中配置的测量报告上报间隔时,重新向源基站发送第一测量报告;在第二定时时长结束时,接收到源基站针对重新发送的第一测量报告作出的切换命令时,执行切换;在第二定时时长内接收到源基站针对重新发送的第一测量报告作出的切换命令时,关闭第二定时器,执行切换。According to the first aspect, or any implementation method of the first aspect above, after re-sending the first measurement report to the source base station, the method also includes: starting a second timer of a second timing duration; when no switching command is received from the source base station based on the re-sent first measurement report within the second timing duration, after the second timing duration ends, when the measurement report reporting interval configured in the measurement configuration is met, re-sending the first measurement report to the source base station; when the switching command is received from the source base station for the re-sent first measurement report at the end of the second timing duration, executing the switching; when the switching command is received from the source base station for the re-sent first measurement report within the second timing duration, turning off the second timer and executing the switching.
由此,在第一定时时长结束,重发第一测量报告后,再次启动第二定时时长的第二定时器,即在没有接收到源基站针对第一测量报告作出的切换命令时,循环执行上述重发流程,直到接收到源基站针对第一测量报告作出的切换命令,从而确保终端设备始终能够接收到源基站下发的切换命令,进而根据切换命令及时进行切换到可用的网络,保证服务质量。Therefore, after the first timing period ends and the first measurement report is resent, the second timer of the second timing period is started again, that is, when the switching command made by the source base station for the first measurement report is not received, the above retransmission process is executed in a loop until the switching command made by the source base station for the first measurement report is received, thereby ensuring that the terminal device can always receive the switching command issued by the source base station, and then switch to the available network in time according to the switching command to ensure service quality.
根据第一方面,或者以上第一方面的任意一种实现方式,第一定时时长和第二定时时长均大于源基站处理第一测量报告作出切换命令的时长。According to the first aspect, or any implementation of the first aspect above, the first timing duration and the second timing duration are both greater than the duration for the source base station to process the first measurement report and issue a switching command.
由此,可以确保源基站对第一测量报告正常处理情况下作出的切换命令能够被终端设备接收,避免终端设备在切换命令能够正常到达时,就触发重新发送第一测量报告的操作,减少不必要的资源占用。In this way, it can be ensured that the switching command made by the source base station when processing the first measurement report normally can be received by the terminal device, avoiding the terminal device triggering the operation of resending the first measurement report when the switching command can arrive normally, thereby reducing unnecessary resource occupation.
根据第一方面,或者以上第一方面的任意一种实现方式,方法还包括:在第一定时时长内接收到源基站针对第M次发送的第一测量报告作出的切换命令时,关闭第一定时器,执行切换。According to the first aspect, or any implementation of the first aspect above, the method also includes: when a switching command made by the source base station in response to the first measurement report sent for the Mth time is received within the first timing period, turning off the first timer and performing the switching.
由此,终端设备就不会在第一定时时长结束时,执行重新向源基站发送第一测量 报告的操作。Thus, the terminal device will not resend the first measurement to the source base station at the end of the first timing period. Reported actions.
根据第一方面,或者以上第一方面的任意一种实现方式,执行切换,包括:通过切换命令中指示的无线资源,向第一基站发送切换接入请求;响应于第一基站针对切换接入请求作出的切换接入响应,向第一基站发送切换完成消息,完成切换。According to the first aspect, or any implementation method of the first aspect above, performing switching includes: sending a switching access request to the first base station through the wireless resources indicated in the switching command; in response to the switching access response made by the first base station to the switching access request, sending a switching completion message to the first base station to complete the switching.
关于终端设备响应于源基站下发的切换命令,执行切换的过程如下文步骤S109至步骤S111,或者步骤S211至步骤S213,或者步骤S311至步骤S313,或者步骤S412至步骤S414,具体实现细节详见下文,此处不再赘述。Regarding the terminal device responding to the switching command issued by the source base station, the process of executing the switching is as follows: step S109 to step S111, or step S211 to step S213, or step S311 to step S313, or step S412 to step S414. The specific implementation details are described below and will not be repeated here.
根据第一方面,或者以上第一方面的任意一种实现方式,M∈{1,2,4,8,16,32,64}。According to the first aspect, or any implementation of the first aspect above, M∈{1, 2, 4, 8, 16, 32, 64}.
可理解的,上述1,2,4,8,16,32,64分别为下文reportAmount的取值中的r1,r2,r4,r8,r16,r32,r64。即,M(reportAmount)的取值不为Infinity(无数次)。It can be understood that the above 1, 2, 4, 8, 16, 32, 64 are respectively r1, r2, r4, r8, r16, r32, r64 in the value of reportAmount below. That is, the value of M (reportAmount) is not Infinity (infinite times).
第二方面,本申请提供了一种终端设备。该终端设备包括:存储器和处理器,存储器和处理器耦合;存储器存储有程序指令,程序指令由处理器执行时,使得所述终端设备执行第一方面或第一方面的任意可能的实现方式中的方法的指令。In a second aspect, the present application provides a terminal device. The terminal device includes: a memory and a processor, the memory and the processor are coupled; the memory stores program instructions, and when the program instructions are executed by the processor, the terminal device executes instructions of the method in the first aspect or any possible implementation of the first aspect.
第二方面以及第二方面的任意一种实现方式分别与第一方面以及第一方面的任意一种实现方式相对应。第二方面以及第二方面的任意一种实现方式所对应的技术效果可参见上述第一方面以及第一方面的任意一种实现方式所对应的技术效果,此处不再赘述。The second aspect and any implementation of the second aspect correspond to the first aspect and any implementation of the first aspect respectively. The technical effects corresponding to the second aspect and any implementation of the second aspect can refer to the technical effects corresponding to the first aspect and any implementation of the first aspect, which will not be repeated here.
第三方面,本申请提供了一种计算机可读介质,用于存储计算机程序,该计算机程序包括用于执行第一方面或第一方面的任意可能的实现方式中的方法的指令。In a third aspect, the present application provides a computer-readable medium for storing a computer program, wherein the computer program includes instructions for executing the method in the first aspect or any possible implementation of the first aspect.
第三方面以及第三方面的任意一种实现方式分别与第一方面以及第一方面的任意一种实现方式相对应。第三方面以及第三方面的任意一种实现方式所对应的技术效果可参见上述第一方面以及第一方面的任意一种实现方式所对应的技术效果,此处不再赘述。The third aspect and any implementation of the third aspect correspond to the first aspect and any implementation of the first aspect, respectively. The technical effects corresponding to the third aspect and any implementation of the third aspect can refer to the technical effects corresponding to the first aspect and any implementation of the first aspect, which will not be repeated here.
第四方面,本申请提供了一种计算机程序,该计算机程序包括用于执行第一方面或第一方面的任意可能的实现方式中的方法的指令。In a fourth aspect, the present application provides a computer program, comprising instructions for executing the method in the first aspect or any possible implementation of the first aspect.
第四方面以及第四方面的任意一种实现方式分别与第一方面以及第一方面的任意一种实现方式相对应。第四方面以及第四方面的任意一种实现方式所对应的技术效果可参见上述第一方面以及第一方面的任意一种实现方式所对应的技术效果,此处不再赘述。The fourth aspect and any implementation of the fourth aspect correspond to the first aspect and any implementation of the first aspect, respectively. The technical effects corresponding to the fourth aspect and any implementation of the fourth aspect can refer to the technical effects corresponding to the above-mentioned first aspect and any implementation of the first aspect, which will not be repeated here.
第五方面,本申请提供了一种芯片,该芯片包括处理电路、收发管脚。其中,该收发管脚、和该处理电路通过内部连接通路互相通信,该处理电路执行第一方面或第一方面的任一种可能的实现方式中的方法,以控制接收管脚接收信号,以控制发送管 脚发送信号。In a fifth aspect, the present application provides a chip, the chip comprising a processing circuit and a transceiver pin. The transceiver pin and the processing circuit communicate with each other through an internal connection path, and the processing circuit executes the method in the first aspect or any possible implementation of the first aspect to control the receiving pin to receive a signal to control the transmitting pin to receive a signal. foot sends a signal.
第五方面以及第五方面的任意一种实现方式分别与第一方面以及第一方面的任意一种实现方式相对应。第五方面以及第五方面的任意一种实现方式所对应的技术效果可参见上述第一方面以及第一方面的任意一种实现方式所对应的技术效果,此处不再赘述。The fifth aspect and any implementation of the fifth aspect correspond to the first aspect and any implementation of the first aspect, respectively. The technical effects corresponding to the fifth aspect and any implementation of the fifth aspect can refer to the technical effects corresponding to the first aspect and any implementation of the first aspect, which will not be repeated here.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为示例性示出的场景示意图;FIG1 is a schematic diagram of an exemplary scene;
图2为示例性示出的正常切换的时序图;FIG2 is a timing diagram showing an exemplary normal switching;
图3为示例性示出的切换场景中,源基站下发给终端的测量配置的部分伪代码示意图;FIG3 is a partial pseudo code diagram of a measurement configuration sent by a source base station to a terminal in an exemplary handover scenario;
图4为示例性示出的异常切换的时序图;FIG4 is a timing diagram showing an exemplary abnormal switching;
图5为示例性示出的异常切换对业务速率的影响示意图;FIG5 is a schematic diagram showing an exemplary effect of abnormal switching on a service rate;
图6为示例性示出的终端设备的硬件结构示意图;FIG6 is a schematic diagram showing a hardware structure of a terminal device;
图7为示例性示出的实现本申请实施例提供的异常切换的处理方法的协议栈的示意图;FIG7 is a schematic diagram of a protocol stack for exemplarily implementing the abnormal switching processing method provided in an embodiment of the present application;
图8为示例性示出的本申请实施例提供的异常切换的处理方法的时序图;FIG8 is a timing diagram exemplarily illustrating a method for processing abnormal switching provided in an embodiment of the present application;
图9为示例性示出的在异常切换发生时,基于本申请实施例提供的异常切换的处理方法进行处理后,业务速率的变化示意图;FIG9 is a schematic diagram showing, by way of example, changes in a service rate after an abnormal handover occurs and after processing is performed based on the abnormal handover processing method provided in an embodiment of the present application;
图10为示例性示出的本申请实施例提供的异常切换的处理方法的又一时序图;FIG10 is another timing diagram exemplarily showing the method for processing abnormal switching provided in an embodiment of the present application;
图11为示例性示出的本申请实施例提供的异常切换的处理方法的流程图;FIG11 is a flowchart exemplarily illustrating a method for processing abnormal switching provided in an embodiment of the present application;
图12为示例性示出的一种确定是否启动本申请实施例提供的异常切换的处理流程的示意图。FIG. 12 is a schematic diagram showing an exemplary process for determining whether to initiate abnormal switching provided in an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。The term "and/or" 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 mean: A exists alone, A and B exist at the same time, and B exists alone.
本申请实施例的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一目标对象和第二目标对象等是用于区别不同的目标对象,而不是用于描述目标对象的特定顺序。The terms "first" and "second" in the description and claims of the embodiments of the present application are used to distinguish different objects rather than to describe a specific order of objects. For example, a first target object and a second target object are used to distinguish different target objects rather than to describe a specific order of target objects.
在本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。 In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
在本申请实施例的描述中,除非另有说明,“多个”的含义是指两个或两个以上。例如,多个处理单元是指两个或两个以上的处理单元;多个系统是指两个或两个以上的系统。In the description of the embodiments of the present application, unless otherwise specified, the meaning of "multiple" refers to two or more than two. For example, multiple processing units refer to two or more processing units; multiple systems refer to two or more systems.
在对本申请实施例的技术方案说明之前,首先结合附图对本申请实施例提供的异常切换的处理方法所针对的场景对应的无线通讯系统,以及基于该无线通讯系统实现的切换场景进行说明。Before describing the technical solution of the embodiment of the present application, the wireless communication system corresponding to the scenario targeted by the abnormal switching processing method provided in the embodiment of the present application and the switching scenario implemented based on the wireless communication system are first described in conjunction with the accompanying drawings.
示例性的,通常情况下,无线通讯系统可包括终端(或者称为移动台)、基站和核心网。Exemplarily, generally, a wireless communication system may include a terminal (or also called a mobile station), a base station and a core network.
其中,核心网用于负责非接入层事物(如移动性管理等);基站组成的网络称为无线接入网络(Radio Access Network,RAN),用于负责接入层事物(如无线资源的管理等),上/下行的无线资源按照共享信道的方式由基站负责调度;终端是指可以和网络进行通讯的设备,例如手机、个人数字助理、笔记本电脑、智能穿戴设备、智能家居设备等,每个终端在上行方向上只能连接到网络中的一个基站。Among them, the core network is responsible for non-access layer matters (such as mobility management, etc.); the network composed of base stations is called the Radio Access Network (RAN), which is responsible for access layer matters (such as wireless resource management, etc.), and the uplink/downlink wireless resources are scheduled by the base station in a shared channel manner; the terminal refers to a device that can communicate with the network, such as mobile phones, personal digital assistants, laptops, smart wearable devices, smart home devices, etc. Each terminal can only be connected to one base station in the network in the uplink direction.
此外,需要说明的是,在实际应用中,基站与基站之间可以根据需要进行逻辑连接或物理连接;每个基站可以与一个或一个以上的核心网节点连接。In addition, it should be noted that, in actual applications, base stations can be logically or physically connected as needed; each base station can be connected to one or more core network nodes.
为了便于理解,以无线通讯系统中包括终端A这一用户侧设备,基站A、基站B和基站C这三个网络侧设备,且基站A、基站B和基站C均接入同一核心网,终端A当前接入的基站(源基站)为基站A为例,对切换的场景进行具体说明。For ease of understanding, taking the wireless communication system including terminal A, a user-side device, and base stations A, B and C, three network-side devices, and base stations A, B and C are all connected to the same core network, and the base station (source base station) currently connected to terminal A is base station A, the switching scenario is specifically described.
参见图1,示例性的,基站A覆盖范围为小区A,基站B覆盖范围为小区B,基站C覆盖范围为小区C。当基站A向终端A下发了测量配置(也可称为:测量控制)后,用户携带终端A驻留在区域AB内时,终端A根据搜索到新的基站(基站B),便会根据基站A下发的测量配置进行测量,以得到关于基站B的相关信息的测量报告,并将测量报告发送给基站A,以便基站A根据测量报告决定是否通知终端A执行切换操作,从基站A切换到基站B。Referring to FIG. 1 , illustratively, the coverage of base station A is cell A, the coverage of base station B is cell B, and the coverage of base station C is cell C. After base station A sends measurement configuration (also referred to as measurement control) to terminal A, when the user carries terminal A and resides in area AB, terminal A searches for a new base station (base station B), and then performs measurement according to the measurement configuration sent by base station A to obtain a measurement report of relevant information about base station B, and sends the measurement report to base station A, so that base station A decides whether to notify terminal A to perform a switching operation from base station A to base station B according to the measurement report.
基于上述实现逻辑,结合图2,对终端A、基站A(源基站)、基站B(目标基站)正常切换的处理逻辑进行具体说明。Based on the above implementation logic, in combination with FIG. 2 , the processing logic of normal switching of terminal A, base station A (source base station), and base station B (target base station) is specifically described.
S101,基站A向终端A下发测量报告发送次数为1次的测量配置。S101, base station A sends a measurement configuration with a measurement report sending number of 1 to terminal A.
具体的说,测量配置(measConfig)以测量标识(measId)的形式下发给终端A,每个measId包括测量对象(measObjectId)和报告配置(reportConfigId)两个元素。如图3所示,每一个measId可以放置在测量标识增加修改列表(measIdToAddModList)中。而关于measObjectId的配置信息,是放置在测量对象增加修改列表(measObjectIdToAddModList)中,reportConfigId的配置信息,是放置在报告配置增加修改列表(reportConfigIdToAddModList)中。Specifically, the measurement configuration (measConfig) is sent to terminal A in the form of a measurement identifier (measId). Each measId includes two elements: a measurement object (measObjectId) and a report configuration (reportConfigId). As shown in Figure 3, each measId can be placed in the measurement identifier add modification list (measIdToAddModList). The configuration information about measObjectId is placed in the measurement object add modification list (measObjectIdToAddModList), and the configuration information about reportConfigId is placed in the report configuration add modification list (reportConfigIdToAddModList).
此外,需要说明的是,关于测量配置中配置的每一个measId对应的测量报告发送次数reportAmount,具体是在该measId中的reportConfigId对应的reportConfigIdToAddModList中。In addition, it should be noted that the measurement report sending times reportAmount corresponding to each measId configured in the measurement configuration is specifically in reportConfigIdToAddModList corresponding to the reportConfigId in the measId.
继续参见图3,示例性的,以measId为2(measId 2)为例,基站A在将measId 2对应的发测量报告发送次数配置为1时,reportConfigId 2中的reportAmount会被配置为“r1”。 Continuing to refer to FIG. 3 , illustratively, taking measId as 2 (measId 2) as an example, when base station A configures the number of measurement report transmissions corresponding to measId 2 to 1, reportAmount in reportConfigId 2 will be configured to "r1".
需要说明的是,在实际作业中,基于无线资源控制(Radio Resource Control,RRC)协议可知,reportAmount的取值可以是r1(1次),r2(2次),r4(4次),r8(8次),r16(16次),r32(32次),r64(64次),Infinity(无限次)。It should be noted that in actual operations, based on the Radio Resource Control (RRC) protocol, the value of reportAmount can be r1 (1 time), r2 (2 times), r4 (4 times), r8 (8 times), r16 (16 times), r32 (32 times), r64 (64 times), and Infinity (infinite times).
可理解的,在reportAmount的取值为r1时,对于同一基站对应的测量报告,终端A只向基站A发送一次该测量报告,即便基站A没有收到该测量报告,或者收到该测量报告但并未对其进行处理,终端A也不会再向基站A发送该测量报告。It is understandable that when the value of reportAmount is r1, for the measurement report corresponding to the same base station, terminal A only sends the measurement report to base station A once. Even if base station A does not receive the measurement report, or receives the measurement report but does not process it, terminal A will not send the measurement report to base station A again.
相应地,在reportAmount的取值为r2时,对于同一基站对应的测量报告,终端A在向基站A发送一次该测量报告后,如果设定时间内没有接收到基站A针对该测量报告作出的响应,则会再向基站A发送一次该测量报告,在将该测量报告第二次发送给基站A后,即便基站A没有收到该测量报告,或者收到该测量报告但并未对其进行处理,终端A也不会再向基站A发送该测量报告。reportAmount的取值为r4,或者r8,或者r16,或者r32,或者r64时,同一基站对应的测量报告的发送逻辑与reportAmount的取值为r2的类似,此处不再赘述。Accordingly, when the value of reportAmount is r2, for the measurement report corresponding to the same base station, after terminal A sends the measurement report to base station A once, if it does not receive a response from base station A to the measurement report within the set time, it will send the measurement report to base station A again. After sending the measurement report to base station A for the second time, even if base station A does not receive the measurement report, or receives the measurement report but does not process it, terminal A will not send the measurement report to base station A again. When the value of reportAmount is r4, or r8, or r16, or r32, or r64, the sending logic of the measurement report corresponding to the same base station is similar to that when the value of reportAmount is r2, and will not be repeated here.
此外,对于reportAmount取值为Infinity的场景,具体为在终端A向基站A发送同一基站(如基站B)对应的测量报告后,若基站A一直没有向终端A下发针对该测量报告的处理结果,如下发切换命令,则在终端A常驻在可以生成该测量报告的小区时,终端A会一直向基站A发送该测量报告,直到接收到基站A针对该测量报告作出的处理结果,或者离开该小区,或者搜索到其他基站,如基站C,并生成针对基站C的测量报告,才停止向基站A发送基站B对应的测量报告,转而按照上述发送逻辑,向基站A发送基站C对应的测量报告。In addition, for the scenario where the reportAmount value is Infinity, specifically, after terminal A sends a measurement report corresponding to the same base station (such as base station B) to base station A, if base station A has not sent the processing result of the measurement report to terminal A, such as sending a switching command, then when terminal A is resident in a cell that can generate the measurement report, terminal A will continue to send the measurement report to base station A until it receives the processing result of the measurement report made by base station A, or leaves the cell, or searches for other base stations, such as base station C, and generates a measurement report for base station C, then it stops sending the measurement report corresponding to base station B to base station A, and instead sends the measurement report corresponding to base station C to base station A according to the above-mentioned sending logic.
应当理解的是,上述说明仅是为了更好的理解本实施例的技术方案而列举的示例,不作为对本实施例的唯一限制。It should be understood that the above description is merely an example listed for a better understanding of the technical solution of this embodiment, and is not intended to be the sole limitation to this embodiment.
通过上述描述可知,本申请提供的技术方案所针对的异常切换,具体为在reportAmount取值不为Infinity的情况下,终端A向基站A发送了reportAmount次测量报告后,依旧没有收到基站A针对该测量报告作出的处理结果的场景。为了便于说明,以reportAmount的取值为r1为例。From the above description, it can be seen that the abnormal switching targeted by the technical solution provided by this application is specifically a scenario in which, when the value of reportAmount is not Infinity, after terminal A sends reportAmount measurement reports to base station A, it still does not receive the processing result made by base station A for the measurement report. For the sake of convenience, take the value of reportAmount as r1 as an example.
S102,终端A根据测量配置进行测量,得到测量报告。S102: Terminal A performs measurement according to the measurement configuration and obtains a measurement report.
继续参见图3,示例性的,在测量配置的reportConfigIdToAddModList中,可以为每一个reportConfigId配置测量信息,如reportConfig对应的信息为“reportConfigNR”时,指示该报告配置信息为5GNR的报告配置信息,reportTyped对应的信息为“eventTriggered”时,指示该测量报告为事件类型,eventId对应的信息为“eventA3”时,指示该测量是针对的是RRC协议中的A3事件,rsType对应的信息为“ssb”时,指示测量报告是同步信号(Synchronization Signal and PBCH block,ssb)类型的,reportInteval对应的信息为“ms1024”时,指示测量报告间隔为1024ms。Continuing to refer to Figure 3, exemplarily, in the reportConfigIdToAddModList of the measurement configuration, measurement information can be configured for each reportConfigId. For example, when the information corresponding to reportConfig is "reportConfigNR", it indicates that the report configuration information is the report configuration information of 5GNR, when the information corresponding to reportTyped is "eventTriggered", it indicates that the measurement report is of event type, when the information corresponding to eventId is "eventA3", it indicates that the measurement is for the A3 event in the RRC protocol, when the information corresponding to rsType is "ssb", it indicates that the measurement report is of synchronization signal (Synchronization Signal and PBCH block, ssb) type, and when the information corresponding to reportInteval is "ms1024", it indicates that the measurement report interval is 1024ms.
应当理解的是,图3仅是为了更好的理解本实施例的技术方案而列举的示例,不作为对本实施例的唯一限制。在实际应用中,测量配置中还可以包括其他信息,具体可以基于RRC协议给出的测量配置说明设定,此处不再赘述。It should be understood that Figure 3 is only an example for better understanding the technical solution of this embodiment, and is not the only limitation to this embodiment. In practical applications, the measurement configuration may also include other information, which may be specifically set based on the measurement configuration description given by the RRC protocol, and will not be repeated here.
示例性的,如果终端A在接收到基站A下发的reportAmount取值为r1的测量配置时,位于图1中示出的区域AB中,终端A可以搜索到可以接入的基站B,根据该 测量配置对基站B进行相应测量后,就可以得到包括基站B的相关信息的测量报告。For example, if terminal A is located in area AB shown in FIG1 when receiving a measurement configuration in which reportAmount is set to r1 from base station A, terminal A can search for base station B that can be accessed. After the measurement configuration performs corresponding measurements on base station B, a measurement report including relevant information of base station B can be obtained.
示例性的,在一些实现方式中,基站B的相关信息例如包括参考信号接收功率(Reference Signal Receiving Power,RSRP)、参考信号接收质量(Reference Signal Receiving Quality,RSRQ)、信噪比(SIGNAL-NOISE RATIO,SNR)等。Exemplarily, in some implementations, relevant information of base station B includes, for example, reference signal receiving power (Reference Signal Receiving Power, RSRP), reference signal receiving quality (Reference Signal Receiving Quality, RSRQ), signal-to-noise ratio (SIGNAL-NOISE RATIO, SNR), etc.
应当理解的是,上述说明仅是为了更好的理解本实施例的技术方案而列举的示例,不作为对本实施例的唯一限制。It should be understood that the above description is merely an example listed for a better understanding of the technical solution of this embodiment, and is not intended to be the sole limitation to this embodiment.
S103,终端A将测量报告发送给基站A。S103, terminal A sends a measurement report to base station A.
可理解的,由于测量配置中配置了测量得到的测量报告的具体上报周期(每次上报测量报告的间隔reportInteval)因此在reportAmount取值不为r1时,可以按照该间隔上报设置的次数,如果reportAmount取值为r1,则仅上报一次。It is understandable that since the measurement configuration configures the specific reporting period of the measurement report obtained by the measurement (the interval reportInteval of each measurement report), when the reportAmount value is not r1, the set number of reports can be reported according to the interval. If the reportAmount value is r1, it is only reported once.
基于此,在满足上报条件,终端A就会执行步骤S103。Based on this, when the reporting conditions are met, terminal A will execute step S103.
S104,基站A根据测量报告确定当前需要进行切换,并选定基站B为目标基站。S104, base station A determines that switching is currently required according to the measurement report, and selects base station B as the target base station.
示例性的,基站A可以根据策略报告中关于基站B的相关信息,以及预设的切换控制策略,确定是否满足切换条件,如根据上述所说的RSRP、RSRQ、SNR等参数,确定基站B的网络质量是否由于基站A的网络质量,如果预设的切换控制策略指示新搜索到的基站(基站B)的网络质量优于基站A的网络质量,则确定当前需要进行切换,并将测量报告对应的基站,如本实施例中的基站B确定为目标基站。Exemplarily, base station A can determine whether the switching conditions are met based on the relevant information about base station B in the strategy report and the preset switching control strategy, such as determining whether the network quality of base station B is better than the network quality of base station A based on the above-mentioned parameters such as RSRP, RSRQ, SNR, etc. If the preset switching control strategy indicates that the network quality of the newly searched base station (base station B) is better than the network quality of base station A, it is determined that switching is currently required, and the base station corresponding to the measurement report, such as base station B in this embodiment, is determined as the target base station.
S105,基站A向基站B发送切换请求,并在切换请求中携带终端A上下文。S105, base station A sends a handover request to base station B, and carries the context of terminal A in the handover request.
可理解的,为了便于基站B能够获知需要为哪一个终端分配无线资源,基站A需要将终端A进行通讯业务所必要的上下文信息添加到切换请求中,即上述终端A上下文可为终端A进行通讯业务所必要的上下文信息。It is understandable that in order to facilitate base station B to know which terminal needs to allocate wireless resources, base station A needs to add the context information necessary for terminal A to perform communication services to the switching request, that is, the above-mentioned terminal A context can be the context information necessary for terminal A to perform communication services.
S106,基站B根据终端A上下文,为终端A分配无线资源。S106, base station B allocates wireless resources to terminal A according to the context of terminal A.
其中,基站B为终端A分配无线资源是指为终端A分配上/下行的工作频率、频载间隔等。Among them, the base station B allocates wireless resources to the terminal A, which means allocating uplink/downlink working frequencies, frequency carrier intervals, etc. to the terminal A.
S107,基站B向基站A发送切换请求确认消息,并在切换请求确认消息中携带为终端A分配的无线资源。S107, base station B sends a handover request confirmation message to base station A, and carries the radio resources allocated to terminal A in the handover request confirmation message.
具体的,基站B在根据终端A的进行通讯业务所必要的上下文信息,为终端A分配好上/下行的工作频率、频载间隔等无线资源后,作出针对基站A发送的切换请求的切换请求确认消息,并在该切换请求确认消息中携带了为终端A分配的上述无线资源,以便终端A能够通过该无线资源向基站B发起切换接入请求。Specifically, after base station B allocates wireless resources such as uplink/downlink operating frequencies and frequency carrier intervals to terminal A based on the context information necessary for terminal A to carry out communication services, base station B makes a switching request confirmation message in response to the switching request sent by base station A, and carries the above-mentioned wireless resources allocated to terminal A in the switching request confirmation message, so that terminal A can initiate a switching access request to base station B through the wireless resources.
S108,基站A在接收到基站B发送的切换请求确认后,生成切换命令,并将切换命令发送给终端A。S108: After receiving the handover request confirmation sent by base station B, base station A generates a handover command and sends the handover command to terminal A.
具体的,基站A在接收到基站B发送的切换请求确认后,生成的切换命令中,同样携带了基站B为终端A分配的无线资源。这样,终端A在接收到基站A发送的切换命令后,就能够通过该无线资源向基站B发起切换接入请求,即执行步骤S109。Specifically, after receiving the handover request confirmation sent by base station B, base station A generates a handover command that also carries the wireless resources allocated by base station B to terminal A. In this way, after receiving the handover command sent by base station A, terminal A can initiate a handover access request to base station B through the wireless resources, that is, execute step S109.
S109,终端A响应于基站A下发的切换命令,执行切换,通过基站B分配的无线资源向基站B发送切换接入请求。S109, terminal A executes handover in response to the handover command sent by base station A, and sends a handover access request to base station B through the wireless resources allocated by base station B.
S110,基站B接收到终端A发送的切换接入请求后,针对该切换接入请求作出切换接入响应。 S110, after receiving the handover access request sent by terminal A, base station B makes a handover access response in response to the handover access request.
S111,终端A在接收到基站B发送的切换接入响应后,向基站B发送切换完成消息,完成本次切换。S111, after receiving the handover access response sent by base station B, terminal A sends a handover completion message to base station B to complete the handover.
由此,在基站A的网络质量欠佳,或者终端A与基站A之间的链路出现异常,导致终端A基于网络实现的业务速率变差时,通过将终端A从基站A切换到基站B上,就可以实现由基站B与终端之间的链路来取代基站A与终端A之间的链路,从而保证终端A的业务能够继续正常进行。Therefore, when the network quality of base station A is poor, or an abnormality occurs in the link between terminal A and base station A, causing the service rate of terminal A based on the network to deteriorate, by switching terminal A from base station A to base station B, the link between base station B and the terminal can replace the link between base station A and terminal A, thereby ensuring that the service of terminal A can continue normally.
然而,在实际作业中,可能存在终端上报的测量报告丢失,没有到达源基站,或者到达源基站后,源基站没有进行处理,这种情况下源基站就不会向终端下发切换命令,终端就无法及时切换到目标基站,导致切换异常,对终端上的业务造成影响,如业务速率不断下降,导致无法正常作业。为了更好的理解这种场景,以基站A为源基站,基站B为第一次次搜索到的基站,基站C为第二次搜索到的基站为例,结合图4进行具体说明。However, in actual operation, the measurement report reported by the terminal may be lost and not reach the source base station, or after reaching the source base station, the source base station does not process it. In this case, the source base station will not send a switching command to the terminal, and the terminal cannot switch to the target base station in time, resulting in abnormal switching and affecting the services on the terminal, such as the service rate continues to drop, resulting in failure to operate normally. In order to better understand this scenario, take base station A as the source base station, base station B as the base station searched for the first time, and base station C as the base station searched for the second time as an example, and explain it in detail in conjunction with Figure 4.
S201,基站A向终端A下发测量报告发送次数为1次的测量配置。S201, base station A sends a measurement configuration with a measurement report sending number of 1 to terminal A.
S202,终端A根据测量配置进行测量,得到包括基站B的相关信息的测量报告。S202: Terminal A performs measurement according to the measurement configuration, and obtains a measurement report including relevant information of base station B.
S203,终端A将包括基站B的相关信息的测量报告发送给基站A。S203: Terminal A sends a measurement report including relevant information of base station B to base station A.
本实施例仍以基站A下发给终端A的测量配置中reportAmount的取值为r1为例,关于该测量配置的形式,以及终端A接收到测量配置后针对第一次搜索到的基站B进行测量得到的测量报告(包括基站B的相关信息),以及终端A向基站A发送测量报告的具体细节,详见上述步骤S101至步骤S103,此处不再赘述。In this embodiment, the value of reportAmount in the measurement configuration sent by base station A to terminal A is still taken as r1. For the form of the measurement configuration, the measurement report (including relevant information of base station B) obtained by terminal A after measuring the base station B searched for the first time after receiving the measurement configuration, and the specific details of terminal A sending the measurement report to base station A, please refer to the above steps S101 to S103, which will not be repeated here.
继续参见图4,示例性的,终端A向基站A发送基站B对应的测量报告后的12s内,基站A始终没有进行处理,即没有执行上述步骤S104至步骤S108。在这种情况下,如果基站A的网络质量不稳定,且持续变差,(根据基站A的RSRP、SNR等参数确定)如图5所示,在基站A(源基站)的网络质量持续变差的情况下,在这12s内终端A的业务速率也一持续下降,甚至降为了0bps。如果后续一段时间,终端A依旧停留在产生基站B对应的测量报告的区域,终端A可能一直搜索不到其他可以接入的基站,也就不会产生新的测量报告,这样在reportAmount的取值为r1的情况下,终端A就不会再向基站A发送基站B对应的测量报告,而在此期间,如果基站A的网络依旧不可用,终端A的业务速率只能一直停留在0bps,从而导致终端A上需要使用网络的业务无法正常进行,影响用户体验。Continuing to refer to FIG. 4, illustratively, within 12 seconds after terminal A sends the measurement report corresponding to base station B to base station A, base station A does not process it, that is, does not perform the above steps S104 to S108. In this case, if the network quality of base station A is unstable and continues to deteriorate (determined according to parameters such as RSRP and SNR of base station A), as shown in FIG. 5, when the network quality of base station A (source base station) continues to deteriorate, the service rate of terminal A also continues to decrease within these 12 seconds, and even drops to 0 bps. If terminal A still stays in the area where the measurement report corresponding to base station B is generated for a period of time later, terminal A may not be able to search for other accessible base stations, and no new measurement report will be generated. In this way, when the value of reportAmount is r1, terminal A will no longer send the measurement report corresponding to base station B to base station A. During this period, if the network of base station A is still unavailable, the service rate of terminal A can only remain at 0 bps, which causes the services that need to use the network on terminal A to be unable to proceed normally, affecting the user experience.
示例性的,在发生上述情况后,即终端A向基站A发送关于基站B对应的测量报告后,如果基站A一直没有作出处理,在此期间终端A移动到图1所示的小区C边界,终端A搜索到基站C,在一种实现方式中,可如图4所示,执行步骤S204。Exemplarily, after the above situation occurs, that is, after terminal A sends a measurement report corresponding to base station B to base station A, if base station A has not taken any action, during this period terminal A moves to the boundary of cell C shown in Figure 1, and terminal A searches for base station C. In one implementation method, step S204 can be executed as shown in Figure 4.
S204,终端A根据基站A在步骤S201中发送的测量配置,对基站C进行测量,得到包括基站C的相关信息的测量报告。S204: Terminal A measures base station C according to the measurement configuration sent by base station A in step S201, and obtains a measurement report including relevant information of base station C.
S205,终端A将包括基站C的相关信息的测量报告发送给基站A。S205, terminal A sends a measurement report including relevant information of base station C to base station A.
可理解的,关于终端A向基站A发送包括基站C的相关信息的测量报告的时机,同样是在满足测量配置中配置的测量报告间隔后上传1次。It can be understood that the timing for terminal A to send a measurement report including relevant information of base station C to base station A is also to upload once after the measurement report interval configured in the measurement configuration is met.
继续参见图4,示例性的,如果基站A在接收到终端上报的包括基站C的相关信息的测量报告后,能够对该测量报告进行处理,则可以触发步骤S206至步骤S213的 执行。Continuing to refer to FIG. 4, illustratively, if base station A is able to process the measurement report after receiving the measurement report including relevant information of base station C reported by the terminal, then steps S206 to S213 may be triggered. implement.
S206,基站A根据包括基站C的相关信息的测量报告确定当前需要进行切换,并选定基站C为目标基站。S206: Base station A determines that a handover is currently required based on the measurement report including relevant information of base station C, and selects base station C as a target base station.
关于确定当前是否需要进行切换,以及基站C是否满足作为目标基站的判断过程,与上述实施例中步骤S104针对基站B进行的判断处理类似,此处不再赘述。The process of determining whether a handover is currently required and whether base station C meets the criteria for being a target base station is similar to the determination process performed on base station B in step S104 in the above embodiment, and will not be described in detail here.
S207,基站A向基站C发送切换请求,并在切换请求中携带终端A上下文。S207, base station A sends a handover request to base station C, and carries the context of terminal A in the handover request.
S208,基站C根据终端A上下文,为终端A分配无线资源。S208, base station C allocates wireless resources to terminal A according to the context of terminal A.
S209,基站C向基站A发送切换请求确认消息,并在切换请求确认消息中携带为终端A分配的无线资源。S209, base station C sends a handover request confirmation message to base station A, and carries the wireless resources allocated to terminal A in the handover request confirmation message.
S210,基站A在接收到基站C发送的切换请求确认后,生成切换命令,并将切换命令发送给终端A。S210: After receiving the handover request confirmation sent by base station C, base station A generates a handover command and sends the handover command to terminal A.
S211,终端A响应于基站A下发的切换命令,执行切换,通过基站C分配的无线资源向基站C发送切换接入请求。S211, terminal A executes handover in response to the handover command sent by base station A, and sends a handover access request to base station C through the wireless resources allocated by base station C.
S212,基站C接收到终端A发送的切换接入请求后,针对该切换接入请求作出切换接入响应。S212: After receiving the handover access request sent by terminal A, base station C makes a handover access response in response to the handover access request.
S213,终端A在接收到基站C发送的切换接入响应后,向基站C发送切换完成消息,完成本次切换。S213, after receiving the handover access response sent by the base station C, the terminal A sends a handover completion message to the base station C to complete the handover.
可理解的,关于基站C作为目标基站时,涉及的资源分配、切换流程等与上文将基站B作为目标基站时的处理类似,此处不再赘述。It is understandable that when base station C is used as the target base station, the resource allocation, switching process, etc. involved are similar to the processing when base station B is used as the target base station above, and will not be repeated here.
继续参见图5,示例性的,终端A在t1时刻向基站A发送了包括基站B的相关信息的测量报告后,终端A基于网络实现的业务速率,在基站A没有对基站B对应的测量报告作出处理的12s内持续变差,直到在t2时刻搜索到基站C,并向基站A发送了基站C对应的测量报告,收到基站A作出的处理,切换到基站C后,终端A基于网络实现的业务速率才逐渐恢复正常。Continuing to refer to Figure 5, illustratively, after terminal A sends a measurement report including relevant information of base station B to base station A at time t1, the service rate of terminal A based on the network continues to deteriorate within 12 seconds when base station A does not process the measurement report corresponding to base station B, until base station C is searched at time t2, and the measurement report corresponding to base station C is sent to base station A. After receiving the processing made by base station A and switching to base station C, the service rate of terminal A based on the network gradually returns to normal.
对于这种情况,如果在实际应用中,终端A当前进行的业务实时性要求较高,而基站A的网络质量长时间没有得到恢复,或者终端A没有搜索到其他可以接入的基站,如基站C,进而正常基站C对应的测量报告发送给基站A,又或者基站A接收到终端A发送的基站C对应的测量报告后依旧没有作出处理,那么在基站A的网络恢复前,或者终端A进入其他小区,切换到其他基站的情况下,终端A的业务将一直无法正常进行。In this case, if in actual application, the real-time requirements of the business currently being carried out by terminal A are high, and the network quality of base station A has not been restored for a long time, or terminal A has not searched for other accessible base stations, such as base station C, and then the measurement report corresponding to base station C is sent to base station A, or base station A still does not process the measurement report corresponding to base station C sent by terminal A, then before the network of base station A is restored, or terminal A enters other cells and switches to other base stations, the business of terminal A will not be able to proceed normally.
有鉴于此,本申请提供了一帧异常切换的处理方法,旨在使终端始终能够接收到源基站下发的切换命令,以使终端能够根据切换命令及时进行切换到可用的网络,保证服务质量。In view of this, the present application provides a method for processing abnormal switching of a frame, aiming to enable the terminal to always receive the switching command sent by the source base station, so that the terminal can switch to an available network in time according to the switching command to ensure service quality.
为了更好的理解本申请实施例提供的技术方案,在对本申请实施例的技术方案说明之前,首先结合附图对本申请实施例的适用于的终端设备(例如手机、平板电脑、可触控PC机等)的硬件结构进行说明。In order to better understand the technical solution provided by the embodiments of the present application, before describing the technical solution of the embodiments of the present application, the hardware structure of the terminal device (such as a mobile phone, a tablet computer, a touch-screen PC, etc.) to which the embodiments of the present application are applicable is first described in conjunction with the accompanying drawings.
参见图6,终端设备100可以包括:处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160, 音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。6 , the terminal device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, and subscriber identification module (SIM) card interface 195, etc.
示例性的,在一些实现方式中,传感器模块180可以包括压力传感器,陀螺仪传感器,气压传感器,磁传感器,加速度传感器,距离传感器,接近光传感器,指纹传感器,温度传感器,触摸传感器,环境光传感器,骨传导传感器等,此处不再一一例举,本申请对此不作限制。Exemplarily, in some implementations, 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., which are not listed one by one here and the present application does not limit this.
此外,需要说明的是,处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。In addition, it should be noted that the processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors.
可理解的,控制器可以是终端设备100的神经中枢和指挥中心。在实际应用中,控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。It is understandable that the controller may be the nerve center and command center of the terminal device 100. In practical applications, the controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
此外,还需要说明的是,处理器110中还可以设置存储器,用于存储指令和数据。在一些实现方式中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。In addition, it should be noted that a memory may be provided in the processor 110 for storing instructions and data. In some implementations, 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.
示例性的,在一些实现方式中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。For example, in some implementations, 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.
继续参见图6,示例性的,充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实现方式中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实现方式中,充电管理模块140可以通过终端设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为终端设备供电。Continuing to refer to FIG. 6 , illustratively, the charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging implementations, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging implementations, the charging management module 140 may receive wireless charging input through a wireless charging coil of the terminal device 100. While the charging management module 140 is charging the battery 142, it may also power the terminal device through the power management module 141.
继续参见图6,示例性的,电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实现方式中,电源管理模块141也可以 设置于处理器110中。在另一些实现方式中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。Continuing to refer to FIG. 6 , illustratively, the power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charging management module 140 to power the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other implementations, the power management module 141 can also be used to monitor battery capacity, battery cycle number, battery health status (leakage, impedance), etc. It is arranged in the processor 110. In some other implementations, the power management module 141 and the charging management module 140 may also be arranged in the same device.
继续参见图6,示例性的,终端设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。Continuing to refer to FIG. 6 , illustratively, the wireless communication function of the terminal device 100 may be implemented through antenna 1 , antenna 2 , mobile communication module 150 , wireless communication module 160 , a modem processor, and a baseband processor.
需要说明的是,天线1和天线2用于发射和接收电磁波信号。终端设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实现方式中,天线可以和调谐开关结合使用。It should be noted that antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in terminal 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 implementations, the antenna can be used in combination with a tuning switch.
继续参见图6,示例性的,移动通信模块150可以提供应用在终端设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实现方式中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实现方式中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。Continuing to refer to FIG. 6 , illustratively, the mobile communication module 150 can provide a solution for wireless communication including 2G/3G/4G/5G applied to the terminal device 100. The mobile communication module 150 can 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 implementations, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some implementations, 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.
此外,需要说明的是,调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实现方式中,调制解调处理器可以是独立的器件。在另一些实现方式中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。In addition, it should be noted that 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 implementations, the modem processor may be an independent device. In other implementations, 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.
继续参见图6,示例性的,无线通信模块160可以提供应用在终端设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。Continuing to refer to FIG. 6 , illustratively, the wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the terminal 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 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, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
具体到本申请实施例提供的技术方案中,终端设备100可通过移动通信模块150或无线通信模块160与接入基站组成的无线接入网络,进而基于网络实现各种业务,如音视频会议、游戏等。Specifically in the technical solution provided in the embodiment of the present application, the terminal device 100 can access the wireless access network composed of the mobile communication module 150 or the wireless communication module 160 and the access base station, and then implement various services based on the network, such as audio and video conferencing, games, etc.
此外,还需要说明的是,终端设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执 行程序指令以生成或改变显示信息。In addition, it should be noted that the terminal device 100 implements the display function through the GPU, the display screen 194, and the 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, which execute Execute program instructions to generate or change display information.
继续参见图6,示例性的,显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实现方式中,终端设备100可以包括1个或N个显示屏194,N为大于1的正整数。Continuing to refer to FIG. 6 , illustratively, the display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel may 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 implementations, the terminal device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
此外,还需要说明的是,终端设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。In addition, it should be noted that the terminal device 100 can achieve the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.
此外,还需要说明的是,ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实现方式中,ISP可以设置在摄像头193中。In addition, it should be noted that the ISP is used to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye. The ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. The ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some implementations, the ISP can be set in the camera 193.
此外,还需要说明的是,摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实现方式中,终端设备100可以包括1个或N个摄像头193,N为大于1的正整数。In addition, it should be noted that 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. The photosensitive element can be a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some implementations, the terminal device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
此外,还需要说明的是,数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当终端设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。In addition, it should be noted that the digital signal processor is used to process digital signals, and can process other digital signals in addition to digital image signals. For example, when the terminal device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
此外,还需要说明的是,视频编解码器用于对数字视频压缩或解压缩。终端设备100可以支持一种或多种视频编解码器。这样,终端设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。In addition, it should be noted that the video codec is used to compress or decompress digital video. The terminal device 100 can support one or more video codecs. In this way, the terminal device 100 can play or record videos in multiple coding formats, such as: Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
继续参见图6,示例性的,外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展终端设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。Continuing to refer to FIG. 6 , illustratively, 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 terminal device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and videos are stored in the external memory card.
继续参见图6,示例性的,内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行终端设备100的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储终端设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以 包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。Continuing to refer to FIG. 6 , illustratively, the internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the terminal device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. 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 terminal device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may It includes high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.
此外,还需要说明的是,终端设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。In addition, it should be noted that the terminal device 100 can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor.
此外,还需要说明的是,音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实现方式中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。In addition, it should be noted that the audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some implementations, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.
继续参见图6,示例性的,按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。终端设备100可以接收按键输入,产生与终端设备100的用户设置以及功能控制有关的键信号输入。Continuing to refer to FIG. 6 , illustratively, the button 190 includes a power button, a volume button, etc. The button 190 may be a mechanical button or a touch button. The terminal device 100 may receive a button input and generate a key signal input related to the user settings and function control of the terminal device 100.
继续参见图6,示例性的,马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。Continuing to refer to Figure 6, illustratively, motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
继续参见图6,示例性的,指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。Continuing to refer to FIG. 6 , illustratively, the indicator 192 may be an indicator light, which may be used to indicate the charging status, power change, or may be used to indicate messages, missed calls, notifications, and the like.
关于终端设备100的硬件结构就介绍到此,应当理解的是,图6所示终端设备100仅是一个范例,在具体实现中,终端设备100可以具有比图中所示的更多的或者更少的部件,可以组合两个或多个的部件,或者可以具有不同的部件配置。图6中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。The hardware structure of the terminal device 100 is introduced here. It should be understood that the terminal device 100 shown in FIG6 is only an example. In a specific implementation, the terminal device 100 may have more or fewer components than those shown in the figure, may combine two or more components, or may have different component configurations. The various components shown in FIG6 may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and/or application-specific integrated circuits.
此外,需要说明的是,本申请提供的异常切换的处理方法,具体是由终端设备的调制器(Modem)与源基站和目标进行交互,进而实现终端从源基站切换到目标基站。关于Modem与源基站和目标基站之间进行交互的处理逻辑,具体是在Modem对应的协议栈中完成的。In addition, it should be noted that the abnormal switching processing method provided by the present application is specifically implemented by the modulator (Modem) of the terminal device interacting with the source base station and the target, thereby implementing the terminal switching from the source base station to the target base station. The processing logic for the interaction between the Modem and the source base station and the target base station is specifically completed in the protocol stack corresponding to the Modem.
示例性的,该协议栈例如为第三代合作伙伴计划(3GPP)协议栈,关于3GPP协议栈的架构如图7所示。Exemplarily, the protocol stack is, for example, a 3rd Generation Partnership Project (3GPP) protocol stack, and the architecture of the 3GPP protocol stack is shown in FIG7 .
参加图7,示例性的,3GPP协议栈通常包括3层,分别为位于第一层的物理层(Physical Layer,PHY层),位于第二层的媒体接入控制层(Medium Access Control,MAC)、无线链路控制层(Radio Link Control,RLC层)、分组数据汇聚协议层(Packet Data Convergence Protocol,PDCP层),以及位于第三层的无线资源控制层(Radio Resource Control,RRC层)。As shown in Figure 7, illustratively, the 3GPP protocol stack generally includes three layers, namely, a physical layer (Physical Layer, PHY layer) located at the first layer, a medium access control layer (Medium Access Control, MAC) located at the second layer, a radio link control layer (Radio Link Control, RLC layer), a packet data convergence protocol layer (Packet Data Convergence Protocol, PDCP layer) located at the second layer, and a radio resource control layer (Radio Resource Control, RRC layer) located at the third layer.
继续参见图7,示例性的,物理层以物理信道为接口,接收其他设备传输的数据,并可以通过传输信道向上层提供服务,如向无需资源控制层传输源基站下发的测量配置、控制信息等。而在无需资源控制层中,则可以在控制终端向源基站发送测量报告 后,是否启动定时器,以及为定时器设置的时长,进而实现本申请提供的异常切换的处理方法的处理。Continuing to refer to FIG. 7, illustratively, the physical layer uses the physical channel as an interface to receive data transmitted by other devices, and can provide services to the upper layer through the transmission channel, such as transmitting the measurement configuration and control information sent by the source base station to the resource-free control layer. In the resource-free control layer, the control terminal can send a measurement report to the source base station. After that, whether to start the timer and the duration set for the timer are determined, thereby implementing the processing of the abnormal switching processing method provided by the present application.
参见图8,示例性的,仍以基站A为源基站,终端A根据基站A下发的测量配置首次生成的测量报告是针对基站B的为例,对本申请提供的异常切换的处理方法进行具体说明。Referring to Figure 8, for example, still taking base station A as the source base station, the measurement report generated for the first time by terminal A according to the measurement configuration sent by base station A is for base station B, and the abnormal switching processing method provided in this application is specifically described.
S301,基站A向终端A下发测量报告发送次数为1次的测量配置。S301, base station A sends a measurement configuration with a measurement report sending number of 1 to terminal A.
S302,终端A根据测量配置进行测量,得到包括基站B的相关信息的测量报告。S302: Terminal A performs measurement according to the measurement configuration, and obtains a measurement report including relevant information of base station B.
S303,终端A将包括基站B的相关信息的测量报告发送给基站A。S303, terminal A sends a measurement report including relevant information of base station B to base station A.
本实施例仍以基站A下发给终端A的测量配置中reportAmount的取值为r1为例,关于该测量配置的形式,以及终端A接收到测量配置后针对第一次搜索到的基站B进行测量得到的测量报告(包括基站B的相关信息),以及终端A向基站A发送测量报告的具体细节,详见上述步骤S101至步骤S103,此处不再赘述。In this embodiment, the value of reportAmount in the measurement configuration sent by base station A to terminal A is still taken as r1. For the form of the measurement configuration, the measurement report (including relevant information of base station B) obtained by terminal A after measuring the base station B searched for the first time after receiving the measurement configuration, and the specific details of terminal A sending the measurement report to base station A, please refer to the above steps S101 to S103, which will not be repeated here.
S304,终端A在向基站A发送了基站B对应的测量报告后,启动定时器。S304: After sending a measurement report corresponding to base station B to base station A, terminal A starts a timer.
具体的说,终端A启动定时器的条件至少需要满足测量配置中配置的reportAmount的取值不是Infinity(无限次),而是已知的固定次数,比如上述所说的r1次。Specifically, the condition for terminal A to start the timer must at least satisfy that the value of reportAmount configured in the measurement configuration is not Infinity (infinite times), but a known fixed number of times, such as r1 times mentioned above.
关于其他确定是否启动定时器的判断策略,以及启动的定时器的定时时长的设置的具体实现细节,详见下文(图11所示实施例对应内容),此处不再赘述。Regarding other judgment strategies for determining whether to start the timer, and specific implementation details of setting the timing duration of the started timer, please see below (corresponding content of the embodiment shown in Figure 11), which will not be repeated here.
此外,可理解的,在启动定时器的时候,需要为该定时器设置定时时长,为了尽可能缩短基站A对终端A发送的测量报告不处理,导致终端A持续停留在基站A的时间,从而避免终端A的业务受到影响,为定时器设置的时长可以相对较短,比如图8中设置为T1=5s。In addition, it is understandable that when starting the timer, it is necessary to set a timing duration for the timer. In order to shorten the time that base station A does not process the measurement report sent by terminal A, causing terminal A to stay at base station A continuously, thereby avoiding affecting the services of terminal A, the duration set for the timer can be relatively short, such as T1=5s in Figure 8.
继续参见图8,示例性的,终端A向基站A发送基站B对应的测量报告后的5s内,即在定时器的定时时长T1内,如果基站A始终没有进行处理(不响应该测量报告),即没有执行上述步骤S104至步骤S108。在到达定时器设置的定时时长T1后,定时器自动关闭,终端A会重新将包括基站B的相关信息的测量报告发送给基站A,即执行步骤S305。Continuing to refer to FIG8, illustratively, within 5 seconds after terminal A sends the measurement report corresponding to base station B to base station A, that is, within the timing duration T1 of the timer, if base station A does not process (does not respond to the measurement report), the above steps S104 to S108 are not executed. After reaching the timing duration T1 set by the timer, the timer is automatically turned off, and terminal A will resend the measurement report including the relevant information of base station B to base station A, that is, execute step S305.
S305,终端A重新将包括基站B的相关信息的测量报告发送给基站A。S305: Terminal A resends the measurement report including relevant information of base station B to base station A.
继续参见图8,如果终端A重新向基站A发送基站B对应的测量报告后,这次基站A作出了处理,则会执行步骤S306,并在基站B能够正常响应的情况下,可以顺序执行步骤S307至步骤S313。Continuing to refer to FIG8 , if terminal A resends the measurement report corresponding to base station B to base station A, and base station A processes it this time, step S306 will be executed, and if base station B can respond normally, steps S307 to S313 can be executed sequentially.
S306,基站A根据包括基站B的相关信息的测量报告确定当前需要进行切换,并选定基站B为目标基站。S306: Base station A determines that a handover is currently required based on the measurement report including relevant information of base station B, and selects base station B as a target base station.
关于确定当前是否需要进行切换,以及基站B是否满足作为目标基站的判断过程,与上述实施例中步骤S104针对基站B进行的判断处理类似,此处不再赘述。The process of determining whether a handover is currently required and whether base station B meets the criteria of being a target base station is similar to the determination process performed on base station B in step S104 in the above embodiment, and will not be described in detail here.
S307,基站A向基站B发送切换请求,并在切换请求中携带终端A上下文。S307, base station A sends a handover request to base station B, and carries the context of terminal A in the handover request.
S308,基站B根据终端A上下文,为终端A分配无线资源。S308, base station B allocates wireless resources to terminal A according to the context of terminal A.
S309,基站B向基站A发送切换请求确认消息,并在切换请求确认消息中携带为终端A分配的无线资源。 S309, base station B sends a handover request confirmation message to base station A, and carries the wireless resources allocated to terminal A in the handover request confirmation message.
S310,基站A在接收到基站B发送的切换请求确认后,生成切换命令,并将切换命令发送给终端A。S310: After receiving the handover request confirmation sent by base station B, base station A generates a handover command and sends the handover command to terminal A.
S311,终端A响应于基站A下发的切换命令,执行切换,通过基站B分配的无线资源向基站B发送切换接入请求。S311, terminal A executes handover in response to the handover command sent by base station A, and sends a handover access request to base station B through the wireless resources allocated by base station B.
S312,基站B接收到终端A发送的切换接入请求后,针对该切换接入请求作出切换接入响应。S312: After receiving the handover access request sent by terminal A, base station B makes a handover access response in response to the handover access request.
S313,终端A在接收到基站B发送的切换接入响应后,向基站B发送切换完成消息,完成本次切换。S313, after receiving the handover access response sent by base station B, terminal A sends a handover completion message to base station B to complete the handover.
关于步骤S306至步骤S313的操作,与上述实施例中步骤S104至步骤S111的大致类似,此处不再赘述。The operations of step S306 to step S313 are substantially similar to those of step S104 to step S111 in the above embodiment, and are not described in detail here.
由此,在基站A(源基站)给终端下A发的测量配置中的reportAmount的取值不是Infinity(无限次),而是已知的固定次数,比如上述所说的r1次时,在终端A满足测量配置中指定的上报条件,向基站A上报当前搜索到的可用基站(如基站B)对应的测量报告后,通过启动定时器,当定时时长内没有接收到基站A针对基站B对应的测量报告作出的反馈时,在定时时长结束后通过向基站A重新发送基站B对应的测量报告,使得基站A能够再次接收到终端A上报的测量报告,从而作出处理,触发终端A及时切换到网络质量较佳的基站B,使得终端A的业务速率能够及时回升,进而保证终端A的业务能够正常进行。Therefore, the value of reportAmount in the measurement configuration sent by base station A (source base station) to terminal A is not Infinity (infinite times), but a known fixed number of times, such as r1 times mentioned above. After terminal A meets the reporting conditions specified in the measurement configuration and reports the measurement report corresponding to the currently searched available base station (such as base station B) to base station A, the timer is started. When no feedback is received from base station A regarding the measurement report corresponding to base station B within the timing period, the measurement report corresponding to base station B is resent to base station A after the timing period ends, so that base station A can receive the measurement report reported by terminal A again, thereby processing and triggering terminal A to switch to base station B with better network quality in time, so that the service rate of terminal A can be restored in time, thereby ensuring that the service of terminal A can proceed normally.
参见图9,示例性的,基于本实施例提供的异常切换的处理方法,终端A在t1时刻向基站A发送基站B对应的测量报告,并启动定时器(T1=5s)后,如果在t1至t3这5s内,即定时时长内一直没有接收到基站A针对该测量报告作出的反馈,而终端A的业务速率随着基站A提供的网络的变差,也逐渐下降,在定时时长结束后,t3时刻,终端A会重新向基站A上报一次基站B对应的测量报告,如果此处上报操作后,基站A及时作出了反馈,则在t3时刻后,终端A根据基站A下发的切换命令,就可以切换到网络质量较佳的基站B上,从而使得终端A的业务速率能够呈上升趋势,进而保证终端A的业务正常进行,而不会出现图5中长时间无法接入到基站B,导致终端A的业务速率降为0bps,直到终端A搜索到新的基站,如基站C,并将基站C对应的测量报告上报给基站A,基站A作出响应,终端切换到基站C才使得业务速率恢复正常。Referring to FIG9 , illustratively, based on the abnormal switching processing method provided in this embodiment, terminal A sends a measurement report corresponding to base station B to base station A at time t1, and starts a timer (T1=5s). If no feedback from base station A regarding the measurement report is received within 5s from t1 to t3, that is, within the timing duration, and the service rate of terminal A gradually decreases as the network provided by base station A deteriorates, after the timing duration ends, at time t3, terminal A will re-report the measurement report corresponding to base station B to base station A. If base station A gives feedback in time after the reporting operation here, after time t3, terminal A can switch to base station B with better network quality according to the switching command issued by base station A, so that the service rate of terminal A can show an upward trend, thereby ensuring the normal operation of terminal A's service, and the long-term inability to access base station B in FIG5 will not occur, causing the service rate of terminal A to drop to 0bps, until terminal A searches for a new base station, such as base station C, and reports the measurement report corresponding to base station C to base station A, base station A responds, and the terminal switches to base station C to restore the service rate to normal.
应当理解的是,上述说明仅是为了更好的理解本实施例的技术方案而列举的示例,不作为对本实施例的唯一限制。It should be understood that the above description is merely an example listed for a better understanding of the technical solution of this embodiment, and is not intended to be the sole limitation to this embodiment.
此外,为了避免源基站对终端在定时时长后重新发送的测量报告依旧没有作出处理,进而导致终端不能及时切换到可用基站的情况发生,在一些实现方式中,在定时时长结束重发测量报告后,如果依旧满足重发条件,则可以再次启动定时器,如果在定时时长内依旧没有收到源基站作出的反馈,则可以再次重发测量报告。按照该实现逻辑,直到在重发测量报告后,收到源基站作出的反馈,或者终端离开源基站所在小区,或者搜索到其他可用基站生成新的测量报告时,则停止上一基站的测量报告的重发。为了便于理解,以下结合图10进行说明。In addition, in order to avoid the situation where the source base station still fails to process the measurement report resent by the terminal after the timing duration, thereby causing the terminal to be unable to switch to an available base station in time, in some implementations, after the measurement report is resent at the end of the timing duration, if the retransmission condition is still met, the timer can be started again, and if no feedback is received from the source base station within the timing duration, the measurement report can be resent again. According to this implementation logic, the retransmission of the measurement report of the previous base station is stopped until feedback is received from the source base station after the measurement report is resent, or the terminal leaves the cell where the source base station is located, or other available base stations are searched to generate a new measurement report. For ease of understanding, the following is explained in conjunction with Figure 10.
参见图10,本实施例提供的异常切换的处理方法,具体包括: Referring to FIG. 10 , the method for processing abnormal switching provided in this embodiment specifically includes:
S401,基站A向终端A下发测量报告发送次数为1次的测量配置。S401, base station A sends a measurement configuration with a measurement report sending number of 1 to terminal A.
S402,终端A根据测量配置进行测量,得到包括基站B的相关信息的测量报告。S402: Terminal A performs measurement according to the measurement configuration, and obtains a measurement report including relevant information of base station B.
S403,终端A将包括基站B的相关信息的测量报告发送给基站A。S403, terminal A sends a measurement report including relevant information of base station B to base station A.
本实施例仍以基站A下发给终端A的测量配置中reportAmount的取值为r1为例,关于该测量配置的形式,以及终端A接收到测量配置后针对第一次搜索到的基站B进行测量得到的测量报告(包括基站B的相关信息),以及终端A向基站A发送测量报告的具体细节,详见上述步骤S101至步骤S103,此处不再赘述。In this embodiment, the value of reportAmount in the measurement configuration sent by base station A to terminal A is still taken as r1. For the form of the measurement configuration, the measurement report (including relevant information of base station B) obtained by terminal A after measuring the base station B searched for the first time after receiving the measurement configuration, and the specific details of terminal A sending the measurement report to base station A, please refer to the above steps S101 to S103, which will not be repeated here.
S404,终端A在向基站A发送了基站B对应的测量报告后,启动定时器。S404: After sending a measurement report corresponding to base station B to base station A, terminal A starts a timer.
S405,终端A重新将包括基站B的相关信息的测量报告发送给基站A。S405, terminal A resends the measurement report including relevant information of base station B to base station A.
关于终端A启动定时器,以及定时时长结束后重发基站B对应的测量报告的实现细节,可参见上述实施例中的步骤S304和步骤S305,此处不再赘述。For implementation details of terminal A starting the timer and resending the measurement report corresponding to base station B after the timing duration expires, please refer to step S304 and step S305 in the above embodiment, which will not be repeated here.
S406,终端A在重新将包括基站B的相关信息的测量报告发送给基站A后,重新启动定时器。S406: After terminal A resends the measurement report including relevant information of base station B to base station A, terminal A restarts the timer.
示例性的,在一些实现方式中,在后启动的定时器的定时时长,可以小于上一次启动的定时器的定时时长,如可以将步骤S404中启动的定时器的定时时长设置为T1=5s,而步骤S406中启动的定时器的定时时长设置为T2=4s。后续如果依旧没有接收到基站A作出的处理,再次启动的定时器的定时时长可以逐渐缩小至测量配置中指定的测量报告间隔时间,如1024ms。Exemplarily, in some implementations, the timing duration of the timer started later may be shorter than the timing duration of the timer started last time, such as setting the timing duration of the timer started in step S404 to T1=5s, and setting the timing duration of the timer started in step S406 to T2=4s. If no processing is received from base station A later, the timing duration of the timer started again may be gradually reduced to the measurement report interval specified in the measurement configuration, such as 1024ms.
示例性的,在另一些实现方式中,每一次启动的定时器的定时时长可以相同。Exemplarily, in other implementations, the timing duration of the timer started each time may be the same.
应当理解的是,上述说明仅是为了更好的理解本实施例的技术方案而列举的示例,不作为对本实施例的唯一限制。It should be understood that the above description is merely an example listed for a better understanding of the technical solution of this embodiment, and is not intended to be the sole limitation to this embodiment.
继续参见图10,示例性的,如果终端A重新向基站A发送基站B的测量报告后,基站A作出了处理,如完成了与基站B之间交互,即执行了步骤S407至S411。如果步骤S407至S411的处理在定时时长T2内完成,即终端A在T2时间内,如图中的2s内接收到了基站A下发的切换命令,终端A会选关闭掉定时器,然后再执行步骤S412。Continuing to refer to FIG. 10 , illustratively, if terminal A resends the measurement report of base station B to base station A, base station A makes a process, such as completing the interaction with base station B, that is, steps S407 to S411 are executed. If the processing of steps S407 to S411 is completed within the timing duration T2, that is, terminal A receives the switching command sent by base station A within T2, such as within 2s in the figure, terminal A will choose to turn off the timer and then execute step S412.
此外,可理解的,如果终端A是在定时时长T2结束时,接收到基站A发送的切换命令,则定时器自动关闭,终端A直接响应该切换命令,即执行步骤S412。In addition, it is understandable that if terminal A receives the switching command sent by base station A when the timing duration T2 ends, the timer is automatically closed, and terminal A directly responds to the switching command, that is, executes step S412.
此外,还应当理解的是,如果终端A结束后,还未结束到基站A发送的切换命令,则可以继续判断是否满足启动定时器,并在满足时再次重复测量报告,启动定时器,设置定时时长,重新执行上述处理。In addition, it should be understood that if terminal A ends but has not yet completed sending the switching command to base station A, it can continue to determine whether the timer start conditions are met, and if so, repeat the measurement report again, start the timer, set the timing duration, and re-execute the above processing.
此外,需要说明的是,为了避免基站A收到终端A发送的测量报告进行处理,如与确定的目标基站进行交互,执行步骤S407至步骤S410的过程中,还未来得及向终端A下发切换命令,终端A的启动的定时器就到达定时时长,进而触发重发,定时器设置的定时时长需要大于基站A和基站B执行步骤S407至步骤S411的总时长。例如,正常情况下,该流程的处理时长在500ms时,则定时器的定时时长至少需要大于该处理时长一个周期,如至少为1s。In addition, it should be noted that, in order to prevent base station A from receiving the measurement report sent by terminal A for processing, such as interacting with the determined target base station, during the process of executing steps S407 to S410, before sending the handover command to terminal A in time, the timer started by terminal A reaches the timing duration, thereby triggering retransmission, and the timing duration set by the timer needs to be greater than the total duration of base station A and base station B executing steps S407 to S411. For example, under normal circumstances, when the processing duration of the process is 500ms, the timing duration of the timer needs to be at least one cycle greater than the processing duration, such as at least 1s.
应当理解的是,上述说明仅是为了更好的理解本实施例的技术方案而列举的示例,不作为对本实施例的唯一限制。 It should be understood that the above description is merely an example listed for a better understanding of the technical solution of this embodiment, and is not intended to be the sole limitation to this embodiment.
S407,基站A根据包括基站B的相关信息的测量报告确定当前需要进行切换,并选定基站B为目标基站。S407, base station A determines that switching is currently required according to the measurement report including relevant information of base station B, and selects base station B as the target base station.
关于确定当前是否需要进行切换,以及基站B是否满足作为目标基站的判断过程,与上述实施例中步骤S104针对基站B进行的判断处理类似,此处不再赘述。The process of determining whether a handover is currently required and whether base station B meets the criteria of being a target base station is similar to the determination process performed on base station B in step S104 in the above embodiment, and will not be described in detail here.
S408,基站A向基站B发送切换请求,并在切换请求中携带终端A上下文。S408, base station A sends a handover request to base station B, and carries the context of terminal A in the handover request.
S409,基站B根据终端A上下文,为终端A分配无线资源。S409, base station B allocates wireless resources to terminal A according to the context of terminal A.
S410,基站B向基站A发送切换请求确认消息,并在切换请求确认消息中携带为终端A分配的无线资源。S410, base station B sends a handover request confirmation message to base station A, and carries the radio resources allocated to terminal A in the handover request confirmation message.
S411,基站A在接收到基站B发送的切换请求确认后,生成切换命令,并将切换命令发送给终端A。S411: After receiving the handover request confirmation sent by base station B, base station A generates a handover command and sends the handover command to terminal A.
S412,终端A在第二次启动的定时器的定时时间内接收到基站A再发的切换命令,关闭第二次启动的定时器,响应于基站A下发的切换命令,执行切换,通过基站B分配的无线资源向基站B发送切换接入请求。S412, terminal A receives the switching command sent again by base station A within the timing time of the timer started for the second time, turns off the timer started for the second time, responds to the switching command sent by base station A, executes the switching, and sends a switching access request to base station B through the wireless resources allocated by base station B.
S413,基站B接收到终端A发送的切换接入请求后,针对该切换接入请求作出切换接入响应。S413, after receiving the handover access request sent by terminal A, base station B makes a handover access response in response to the handover access request.
S414,终端A在接收到基站B发送的切换接入响应后,向基站B发送切换完成消息,完成本次切换。S414, after receiving the handover access response sent by base station B, terminal A sends a handover completion message to base station B to complete the handover.
关于步骤S407至步骤414的操作,与上述实施例中步骤S104至步骤S111的大致类似,此处不再赘述。The operations of step S407 to step S414 are substantially similar to those of step S104 to step S111 in the above embodiment, and are not described in detail here.
由此,基于本实施例提供的异常切换的处理方法,在终端A当前接入的源基站,如基站A的网络没有恢复正常,终端A也没有搜索到新的可用基站,如基站C前,通过多次启动定时器,并在定时时长后重发基站B对应的测量报告,直到接收到基站A针对基站B的测量报告作出反馈后,才停止重复该测量报告,以及启动定时器,从而使终端A始终能够接收到基站A下发的切换命令,以使终端A能够根据切换命令及时进行切换到可用的网络,保证服务质量。Therefore, based on the abnormal switching processing method provided in this embodiment, when the source base station currently accessed by terminal A, such as the network of base station A has not returned to normal, and terminal A has not searched for a new available base station, such as base station C, the timer is started multiple times, and the measurement report corresponding to base station B is resent after the timed period, until feedback from base station A regarding the measurement report of base station B is received, then the measurement report is repeated and the timer is started, so that terminal A can always receive the switching command sent by base station A, so that terminal A can switch to an available network in time according to the switching command to ensure service quality.
为了更好的理解本申请实施例提供的异常切换的处理方法中合适启动定时器,以及启动的定时器的定时时长的设置的具体实现细节,以下结合图11进行具体说明。In order to better understand the specific implementation details of appropriately starting a timer and setting the timing duration of the started timer in the abnormal switching processing method provided in the embodiment of the present application, a specific description is given below in conjunction with Figure 11.
参见图11,本申请实施例提供的异常切换的处理方法,具体包括:Referring to FIG. 11 , the method for processing abnormal switching provided in the embodiment of the present application specifically includes:
S501,接收源基站发送的测量配置,测量配置中配置的测量报告发送次数为M。S501: Receive a measurement configuration sent by a source base station, where the number of measurement report transmissions configured in the measurement configuration is M.
示例性的,源基站例如上文所说的基站A,测量配置中配置的测量报告发送次数M即为上文所说的reportAmount。Exemplarily, the source base station is, for example, the base station A mentioned above, and the number of measurement report transmission times M configured in the measurement configuration is the reportAmount mentioned above.
关于源基站下发的测量配置中包括的其他配置信息,例如图3所示,具体说明可以参见上文,此处不再赘述。Regarding other configuration information included in the measurement configuration sent by the source base station, as shown in FIG. 3 , the specific description can be found above and will not be repeated here.
此外,可理解的,在M即为reportAmount时,本实施例提供的异常切换的方法的实现前提为reportAmount的取值不是Infinity(无数次),即可以上文所说的r1,r2,r4,r8,r16,r32,r64中的任意一种,故而M∈{1,2,4,8,16,32,64}。In addition, it can be understood that when M is reportAmount, the implementation premise of the abnormal switching method provided in this embodiment is that the value of reportAmount is not Infinity (countless times), that is, it can be any one of r1, r2, r4, r8, r16, r32, r64 mentioned above, so M∈{1, 2, 4, 8, 16, 32, 64}.
S502,在源基站对应的源小区内,根据测量配置对搜索到的第一基站进行测量,得到第一基站对应的第一测量报告。S502: In a source cell corresponding to the source base station, measure the searched first base station according to the measurement configuration to obtain a first measurement report corresponding to the first base station.
示例性的,在源基站为上文所说的基站A时,源小区例如为图1中所示的小区A, 当终端设备(图1中的终端A)位于图1中的区域AB时,由于区域AB在基站A覆盖的区域A中,又基站B覆盖的区域B中,因此在区域AB中可以搜索到基站B,即本实施例中所说的第一基站。Exemplarily, when the source base station is the base station A mentioned above, the source cell is, for example, the cell A shown in FIG. 1 . When the terminal device (terminal A in Figure 1) is located in area AB in Figure 1, since area AB is in area A covered by base station A and in area B covered by base station B, base station B, that is, the first base station mentioned in this embodiment, can be searched in area AB.
关于,终端设备根据源基站下发的测量配置对第一基站进行测量,进而得到第一基站对应的第一测量报告的具体实现细节,可以参见上文终端A根据基站A下发的测量配置对基站B进行测量,进而得到包括基站B的相关信息的测量报告的说明,此处不再赘述。Regarding the specific implementation details of the terminal device measuring the first base station according to the measurement configuration sent by the source base station, and then obtaining the first measurement report corresponding to the first base station, please refer to the above description of terminal A measuring base station B according to the measurement configuration sent by base station A, and then obtaining the measurement report including relevant information of base station B, which will not be repeated here.
S503,在第M-1次向源基站发送第一测量报告后,依旧没有接收到源基站针对第一测量报告作出的切换命令时,在满足测量配置中配置的测量报告上报间隔时,向源基站第M次发送第一测量报告,并启动第一定时时长的第一定时器。S503, after sending the first measurement report to the source base station for the M-1th time, when the switching command made by the source base station for the first measurement report is still not received, when the measurement report reporting interval configured in the measurement configuration is met, the first measurement report is sent to the source base station for the Mth time, and the first timer of the first timing duration is started.
为了避免所有场景下,终端设备在最后一次发送完第一测量报告后,均启动第一定时时长的第一定时器,导致源基站超负荷,同时也增加终端设备的资源的浪费。在最后一次发送第一测量报告时,可以判断当前是否满足启动第一定时器,触发终端设备执行重发第一测量报告的流程。In order to avoid that in all scenarios, the terminal device starts the first timer of the first timing duration after sending the first measurement report for the last time, which causes the source base station to be overloaded and also increases the waste of resources of the terminal device. When sending the first measurement report for the last time, it can be determined whether the first timer is currently satisfied, triggering the terminal device to execute the process of resending the first measurement report.
示例性的,在一些实现方式中,在向源基站第M次发送第一测量报告,并启动第一定时时长的第一定时器前,可以先确定终端设备是否处于移动状态,例如可以根据移动终端设备在连续时长内的位移变化确定终端设备是否在移动。Exemplarily, in some implementations, before sending the first measurement report to the source base station for the Mth time and starting the first timer of the first timing duration, it can be determined whether the terminal device is in a moving state. For example, it can be determined whether the terminal device is moving based on the displacement change of the mobile terminal device within a continuous time period.
相应地,在移动设备处于移动状态时,例如可以根据终端设备中的加速度计/加速度传感器,获取当前的移动速度,或者根据历史时长内终端设备的位置变化情况,预估终端设备接下来的移动速度,如图12中的移动速度v,以及当前位置与小区边界之间的距离,如图12中终端与小区A边界之间的距离d。Accordingly, when the mobile device is in a moving state, for example, the current moving speed can be obtained based on the accelerometer/acceleration sensor in the terminal device, or the next moving speed of the terminal device can be estimated based on the position change of the terminal device within a historical period of time, such as the moving speed v in Figure 12, and the distance between the current position and the cell boundary, such as the distance d between the terminal and the boundary of cell A in Figure 12.
继续参见图12,示例性的,在得到移动速度v和距离d后,基于速度、距离和时间的计算公式,就可以预估出移动时间(移动时间=d/v)。在得出移动时间可以,Continuing to refer to FIG. 12 , for example, after obtaining the moving speed v and the distance d, the moving time can be estimated based on the calculation formula of speed, distance and time (moving time = d/v).
相应地,在移动时间大于第一定时时长时,则可以确定满足开启第一定时器的条件,即可以执行步骤S503。反之,表明终端设备在第一定时时长结束前,就会移动出小区A,这种情况下,终端设备就会搜索到基站C,进而生成包括基站C的相关信息的测量报告(如第二测量报告),从而向源基站发送第二测量报告。因此,在移动时长不大于第一定时时长时,终端设备无需启动第一定时器,直接向源基站发送最后一次,即第M次第一测量报告即可。Accordingly, when the moving time is greater than the first timing duration, it can be determined that the condition for starting the first timer is met, that is, step S503 can be executed. On the contrary, it indicates that the terminal device will move out of cell A before the first timing duration ends. In this case, the terminal device will search for base station C, and then generate a measurement report (such as a second measurement report) including relevant information of base station C, thereby sending the second measurement report to the source base station. Therefore, when the moving duration is not greater than the first timing duration, the terminal device does not need to start the first timer, and can directly send the last, i.e., the Mth, first measurement report to the source base station.
示例性的,在另一些实现方式中,还可以先根据源基站当前的参考信号接收功率RSRP,和/或参考信号接收指令RSRQ,和/或信噪比,确定终端设备与源基站之间的信道的承载能力;进而在信道的承载能力满足重发条件时,执行向源基站第M次发送第一测量报告,并启动第一定时时长的第一定时器的步骤;反之,则仅向源基站第M次发送第一测量报告。Exemplarily, in other implementations, the carrying capacity of the channel between the terminal device and the source base station can be determined based on the current reference signal received power RSRP of the source base station, and/or the reference signal received instruction RSRQ, and/or the signal-to-noise ratio; and then when the carrying capacity of the channel meets the retransmission condition, the step of sending the first measurement report to the source base station for the Mth time and starting the first timer of the first timing duration is executed; otherwise, the first measurement report is only sent to the source base station for the Mth time.
示例性的,在另一些实现方式中,对于终端设备与源基站之间的信道的承载能力有限的情况下,还可以进一步判断当前接入该源基站的终端设备的优先级,进而根据终端设备的优先级,选择优先级高的终端设备执行向源基站第M次发送第一测量报告,并启动第一定时时长的第一定时器的步骤;而优先级低的则仅向源基站第M次发送第一测量报告。 Exemplarily, in other implementations, when the carrying capacity of the channel between the terminal device and the source base station is limited, the priority of the terminal device currently connected to the source base station can be further determined, and then based on the priority of the terminal device, a terminal device with a high priority is selected to execute the steps of sending the first measurement report to the source base station for the Mth time and starting the first timer of the first timing duration; while a terminal device with a low priority only sends the first measurement report to the source base station for the Mth time.
以当前接入源基站的终端设备包括第一终端设备和第二终端设备这两个终端设备,而源基站的承载能力仅支持一个终端设备开启定时器,重发第一测量报告。则关于该终端设备的选取可以遵循如下规则。The terminal devices currently accessing the source base station include a first terminal device and a second terminal device, and the carrying capacity of the source base station only supports one terminal device to start the timer and resend the first measurement report. The selection of the terminal device may follow the following rules.
示例性的,在第一终端设备的优先级高于第二终端设备的优先级时,第一终端设备执行向源基站第M次发送第一测量报告,并启动第一定时时长的第一定时器的步骤,第二终端设备仅向源基站第M次发送第一测量报告。Exemplarily, when the priority of the first terminal device is higher than that of the second terminal device, the first terminal device executes the steps of sending the first measurement report to the source base station for the Mth time and starting the first timer of the first timing duration, and the second terminal device only sends the first measurement report to the source base station for the Mth time.
示例性的,在第二终端设备的优先级高于第一终端设备的优先级时,第二终端设备执行向源基站第M次发送第一测量报告,并启动第一定时时长的第一定时器的步骤,第一终端设备仅向源基站第M次发送第一测量报告。Exemplarily, when the priority of the second terminal device is higher than that of the first terminal device, the second terminal device executes the steps of sending the first measurement report to the source base station for the Mth time and starting the first timer of the first timing duration, and the first terminal device only sends the first measurement report to the source base station for the Mth time.
示例性的,在另一些实现方式中,对于第一终端设备的优先级和第二终端设备的优先级相同的情况,则可以进一步判断这两个终端设当前处理的业务的优先级,进而根据业务的优先级,选择业务优先级高的终端设备执行向源基站第M次发送第一测量报告,并启动第一定时时长的第一定时器的步骤;而优先级低的则仅向源基站第M次发送第一测量报告。Exemplarily, in other implementations, when the priority of the first terminal device is the same as that of the second terminal device, the priority of the services currently processed by the two terminal devices can be further determined, and then, based on the priority of the services, the terminal device with the higher service priority is selected to execute the steps of sending the first measurement report to the source base station for the Mth time and starting the first timer for the first timing duration; while the terminal device with the lower priority only sends the first measurement report to the source base station for the Mth time.
以第一终端设备当前处理的业务为第一优先级,第二终端设备当前处理的业务为第二优先级为例,则在第一优先级高于第二高优先级时,第一终端设备执行向源基站第M次发送第一测量报告,并启动第一定时时长的第一定时器的步骤,第二终端设备仅向源基站第M次发送第一测量报告;在第二优先级高于第一高优先级时,第二终端设备执行向源基站第M次发送第一测量报告,并启动第一定时时长的第一定时器的步骤,第一终端设备仅向源基站第M次发送第一测量报告。Taking the example that the service currently processed by the first terminal device is of the first priority and the service currently processed by the second terminal device is of the second priority, when the first priority is higher than the second highest priority, the first terminal device executes the step of sending the first measurement report to the source base station for the Mth time and starting the first timer of the first timing duration, and the second terminal device only sends the first measurement report to the source base station for the Mth time; when the second priority is higher than the first highest priority, the second terminal device executes the step of sending the first measurement report to the source base station for the Mth time and starting the first timer of the first timing duration, and the first terminal device only sends the first measurement report to the source base station for the Mth time.
可理解的,终端设备当前处理的业务,例如可以是音视频业务、音视频会议业务、在线游戏业务、即时通讯业务等。It is understandable that the services currently processed by the terminal device may be, for example, audio and video services, audio and video conferencing services, online game services, instant messaging services, etc.
示例性的,根据这些业务对实时性的要求,以及对网络质量的要求可以进行优先级的划分,例如将对实时性要求高、网络质量要求高的音视频业务、音视频会议业务、在线游戏业务等业务类型,设置为高优先级,而将即时通讯业务则设置为低优先级。For example, priorities can be divided according to the real-time requirements and network quality requirements of these services. For example, audio and video services, audio and video conferencing services, online gaming services and other service types with high real-time requirements and high network quality requirements can be set to high priority, while instant messaging services can be set to low priority.
进一步地,在不同终端设备中的业务的优先级相同时,则可以结合其他判断条件,例如终端设备距离源基站的距离,以及终端设备从第一次发送第一测量报告到当前时间的等待时长等因素,然后综合选择一个适合的终端设备开启第一定时器,以触发重发第一测量报告的流程。Furthermore, when the priorities of services in different terminal devices are the same, other judgment conditions can be combined, such as the distance of the terminal device from the source base station, and the waiting time from the first time the terminal device sends the first measurement report to the current time, and then a suitable terminal device is comprehensively selected to start the first timer to trigger the process of resending the first measurement report.
例如,可以选择距离源基站近的,这样可以尽可能确保重发的第一测量报告能够达到源基站,以变源基站作出处理。For example, a base station close to the source base station may be selected, so as to ensure as much as possible that the retransmitted first measurement report can reach the source base station so that the source base station can make a processing.
还例如,可以选择等待时长较长的,这样就可以让该终端设备及时切换到目标基站,以使得该终端的业务速率能够及时恢复正常,确保其上的业务能够正常进行。For another example, a longer waiting time may be selected so that the terminal device can be switched to the target base station in time, so that the service rate of the terminal can be restored to normal in time, ensuring that the services thereon can proceed normally.
应当理解的是,上述说明仅是为了更好的理解本实施例的技术方案而列举的示例,不作为对本实施例的唯一限制。It should be understood that the above description is merely an example listed for a better understanding of the technical solution of this embodiment, and is not intended to be the sole limitation to this embodiment.
此外,还需要说明的是,为了避免源基站在接收到终端设备重新发送的第一测量报告后,依旧没有作出处理,导致终端设备无法切换到第一基站。在重新向源基站发送第一测量报告之后,还可以再次启动一个定时器,如启动第二定时时长的第二定时器,例如图10中步骤S406中启动的T2=4s的定时器。 In addition, it should be noted that in order to avoid the source base station still not processing after receiving the first measurement report resent by the terminal device, resulting in the terminal device being unable to switch to the first base station, after resending the first measurement report to the source base station, a timer can be started again, such as starting a second timer with a second timing duration, such as the timer T2=4s started in step S406 in FIG10.
相应地,在第二定时时长内未接收到源基站根据重发的第一测量报告作出的切换命令时,在第二定时时长结束后,在满足测量配置中配置的测量报告上报间隔时,可以再一次重新向源基站发送第一测量报告。Accordingly, when the switching command made by the source base station based on the retransmitted first measurement report is not received within the second timing period, after the second timing period ends, the first measurement report can be resent to the source base station when the measurement report reporting interval configured in the measurement configuration is met.
相应地,在第二定时时长结束时,若接收到源基站针对重新发送的第一测量报告作出的切换命令,则执行切换;若在第二定时时长内接收到源基站针对重新发送的第一测量报告作出的切换命令,则先关闭第二定时器,然后再执行切换。具体实现细节,可以参见图10所示实施例,此处不再赘述。Accordingly, at the end of the second timing duration, if a switching command made by the source base station for the resent first measurement report is received, the switching is performed; if a switching command made by the source base station for the resent first measurement report is received within the second timing duration, the second timer is first turned off, and then the switching is performed. For specific implementation details, please refer to the embodiment shown in Figure 10, which will not be repeated here.
此外,还需要说明的是,在实际作业时,如果需要多次启动定时器,则需要保证每一次启动的定时器对应的定时时长均大于源基站处理第一测量报告作出切换命令的时长,如上述所说的第一定时时长和第二定时时长均大于源基站处理第一测量报告作出切换命令的时长。由此,可以确保源基站对第一测量报告正常处理情况下作出的切换命令能够被终端设备接收,避免终端设备在切换命令能够正常到达时,就触发重新发送第一测量报告的操作,减少不必要的资源占用。In addition, it should be noted that in actual operation, if the timer needs to be started multiple times, it is necessary to ensure that the timing duration corresponding to each timer started is greater than the time it takes for the source base station to process the first measurement report and issue a switching command, such as the first timing duration and the second timing duration mentioned above are both greater than the time it takes for the source base station to process the first measurement report and issue a switching command. In this way, it can be ensured that the switching command issued by the source base station under normal processing of the first measurement report can be received by the terminal device, avoiding the terminal device triggering the operation of resending the first measurement report when the switching command can arrive normally, thereby reducing unnecessary resource occupation.
S504,在第一定时时长内未接收到源基站根据第一测量报告作出的切换命令时,在第一定时时长结束后,在满足测量配置中配置的测量报告上报间隔时,重新向源基站发送第一测量报告。S504: When no switching command is received from the source base station according to the first measurement report within the first timing period, after the first timing period ends and when the measurement report reporting interval configured in the measurement configuration is met, the first measurement report is resent to the source base station.
可理解的,本实施例中的步骤S504与上述实施例中的步骤S304和步骤S404类似,具体实现细节可以参见上述实施例,此处不再赘述。It can be understood that step S504 in this embodiment is similar to step S304 and step S404 in the above embodiments. The specific implementation details can be found in the above embodiments and will not be repeated here.
此外,可以理解的,如果在第一定时时长内接收到源基站针对第M次发送的第一测量报告作出的切换命令,则需要关闭第一定时器,执行切换。这样,终端设备就不会在第一定时时长结束时,执行重新向源基站发送第一测量报告的操作,从而减少对资源的占用,以及无意义的操作。In addition, it is understandable that if a switching command is received from the source base station for the first measurement report sent for the Mth time within the first timing duration, the first timer needs to be turned off to perform the switching. In this way, the terminal device will not perform the operation of re-sending the first measurement report to the source base station at the end of the first timing duration, thereby reducing resource occupation and meaningless operations.
S505,响应于源基站根据重新发送的第一测量报告作出的切换命令,执行切换。S505: In response to a handover command made by the source base station according to the resent first measurement report, perform handover.
关于终端设备响应于源基站发送的切换命令,执行切换,例如是通过切换命令中指示的无线资源,向第一基站发送切换接入请求,并在接收到第一基站针对切换接入请求作出的切换接入响应后,响应于该切换接入响应,向第一基站发送切换完成消息,从而完成本次切换。具体实现细节,可以参见上文,此处不再赘述。Regarding the terminal device responding to the handover command sent by the source base station, performing the handover, for example, sending a handover access request to the first base station through the wireless resources indicated in the handover command, and after receiving the handover access response made by the first base station to the handover access request, responding to the handover access response, sending a handover completion message to the first base station, thereby completing the handover. For specific implementation details, please refer to the above, which will not be repeated here.
由此,本申请实施例提供的异常切换的处理方法,在终端设备向源基站第M-1次发送第一测量报告后依旧没有接收到源基站针对第一测量报告作出的切换命令时,在第M次,也就是源基站下发的测量配置中配置的最后一次测量报告发送机会后,通过启动第一定时时长的第一定时器,若在第一定时时长结束时依旧没有接收到源基站下发的切换命令时,重新发送一次第一测量报告,这样即便达到了测量配置中配置的测量报告发送次数,依旧可以触发终端设备向源基站发送第一测量报告,直到接收到源基站针对第一测量报告作出的切换命令,从而确保终端设备始终能够接收到源基站下发的切换命令,进而根据切换命令及时进行切换到可用的网络,保证服务质量。Therefore, the abnormal switching processing method provided in the embodiment of the present application is that when the terminal device still does not receive the switching command made by the source base station for the first measurement report after sending the first measurement report to the source base station for the M-1th time, after the Mth time, that is, the last measurement report sending opportunity configured in the measurement configuration sent by the source base station, by starting the first timer with a first timing duration, if the switching command sent by the source base station is still not received at the end of the first timing duration, the first measurement report is resent. In this way, even if the number of measurement report sending times configured in the measurement configuration is reached, the terminal device can still be triggered to send the first measurement report to the source base station until the switching command made by the source base station for the first measurement report is received, thereby ensuring that the terminal device can always receive the switching command sent by the source base station, and then switch to an available network in time according to the switching command to ensure service quality.
此外,可以理解的是,终端设备为了实现上述功能,其包含了执行各个功能相应的硬件和/或软件模块。结合本文中所公开的实施例描述的各示例的算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技 术人员可以结合实施例对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。In addition, it is understood that in order to implement the above functions, the terminal device includes hardware and/or software modules corresponding to the execution of each function. In combination with the algorithm steps of each example described in the embodiments disclosed in this article, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. A skilled person may use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to exceed the scope of the present application.
此外,需要说明的是,在实际的应用场景中由终端设备实现的上述各实施例提供的切换异常的处理方法,也可以由终端设备中包括的一种芯片系统来执行,其中,该芯片系统可以包括处理器。该芯片系统可以与存储器耦合,使得该芯片系统运行时调用该存储器中存储的计算机程序,实现上述终端设备执行的步骤。其中,该芯片系统中的处理器可以是应用处理器也可以是非应用处理器的处理器。In addition, it should be noted that the switching anomaly processing method provided by the above embodiments implemented by the terminal device in the actual application scenario can also be executed by a chip system included in the terminal device, wherein the chip system may include a processor. The chip system can be coupled to the memory so that the chip system calls the computer program stored in the memory when it is running to implement the steps executed by the above terminal device. The processor in the chip system can be an application processor or a processor other than an application processor.
另外,本申请实施例还提供一种计算机可读存储介质,该计算机存储介质中存储有计算机指令,当该计算机指令在终端设备上运行时,使得终端设备执行上述相关方法步骤实现上述实施例中的切换异常的处理方法。In addition, an embodiment of the present application also provides a computer-readable storage medium, which stores computer instructions. When the computer instructions are executed on a terminal device, the terminal device executes the above-mentioned related method steps to implement the method for handling switching anomalies in the above-mentioned embodiment.
另外,本申请实施例还提供了一种计算机程序产品,当该计算机程序产品在终端设备上运行时,使得终端设备执行上述相关步骤,以实现上述实施例中的切换异常的处理方法。In addition, an embodiment of the present application further provides a computer program product. When the computer program product is run on a terminal device, the terminal device executes the above-mentioned related steps to implement the method for handling switching anomalies in the above-mentioned embodiment.
另外,本申请的实施例还提供一种芯片(也可以是组件或模块),该芯片可包括一个或多个处理电路和一个或多个收发管脚;其中,所述收发管脚和所述处理电路通过内部连接通路互相通信,所述处理电路执行上述相关方法步骤实现上述实施例中的切换异常的处理方法,以控制接收管脚接收信号,以控制发送管脚发送信号。In addition, an embodiment of the present application also provides a chip (which may also be a component or module), which may include one or more processing circuits and one or more transceiver pins; wherein the transceiver pins and the processing circuit communicate with each other through an internal connection path, and the processing circuit executes the above-mentioned related method steps to implement the switching exception processing method in the above-mentioned embodiment, so as to control the receiving pin to receive the signal, so as to control the sending pin to send the signal.
此外,通过上述描述可知,本申请实施例提供的终端设备、计算机可读存储介质、计算机程序产品或芯片均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。In addition, it can be seen from the above description that the terminal device, computer-readable storage medium, computer program product or chip provided in the embodiments of the present application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.
以上所述,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。 As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims (22)

  1. 一种切换异常的处理方法,其特征在于,应用于终端设备,所述方法包括:A method for handling handover anomalies, characterized in that it is applied to a terminal device, and the method comprises:
    接收源基站发送的测量配置,所述测量配置中配置的测量报告发送次数为M,M大于0;Receive a measurement configuration sent by a source base station, where the number of measurement report transmissions configured in the measurement configuration is M, and M is greater than 0;
    在源基站对应的源小区内,根据所述测量配置对搜索到的第一基站进行测量,得到所述第一基站对应的第一测量报告;In a source cell corresponding to the source base station, measuring the searched first base station according to the measurement configuration, and obtaining a first measurement report corresponding to the first base station;
    在第M次向所述源基站发送所述第一测量报告前,依旧没有接收到所述源基站针对所述第一测量报告作出的切换命令时,在满足所述测量配置中配置的测量报告上报间隔时,向所述源基站第M次发送所述第一测量报告,并启动第一定时时长的第一定时器;Before sending the first measurement report to the source base station for the Mth time, when no switching command made by the source base station for the first measurement report is received, when the measurement report reporting interval configured in the measurement configuration is met, sending the first measurement report to the source base station for the Mth time, and starting a first timer of a first timing duration;
    在所述第一定时时长内未接收到所述源基站根据所述第一测量报告作出的切换命令时,在所述第一定时时长结束后,在满足所述测量配置中配置的测量报告上报间隔时,重新向所述源基站发送所述第一测量报告;When no handover command made by the source base station according to the first measurement report is received within the first timing duration, after the first timing duration ends and when the measurement report reporting interval configured in the measurement configuration is met, resending the first measurement report to the source base station;
    响应于所述源基站根据重新发送的第一测量报告作出的切换命令,执行切换。In response to a handover command made by the source base station according to the resent first measurement report, a handover is performed.
  2. 根据权利要求1所述的方法,其特征在于,在所述向所述源基站第M次发送所述第一测量报告,并启动第一定时时长的第一定时器之前,所述方法还包括:The method according to claim 1 is characterized in that, before sending the first measurement report to the source base station for the Mth time and starting the first timer of the first timing duration, the method further comprises:
    在所述终端设备处于移动状态时,获取当前的移动速度,以及当前位置与所述源小区边界之间的距离;When the terminal device is in a moving state, obtaining a current moving speed and a distance between a current position and a boundary of the source cell;
    根据所述移动速度和距离,预估所述终端设备按照所述移动速度,从所述当前位置移动到所述源小区边界的移动时间;According to the moving speed and distance, estimating the moving time of the terminal device moving from the current position to the border of the source cell at the moving speed;
    在所述移动时间大于所述第一定时时长时,执行所述向所述源基站第M次发送所述第一测量报告,并启动第一定时时长的第一定时器的步骤;When the moving time is greater than the first timing duration, executing the step of sending the first measurement report to the source base station for the Mth time and starting a first timer of the first timing duration;
    否则,仅向所述源基站第M次发送所述第一测量报告。Otherwise, the first measurement report is only sent to the source base station for the Mth time.
  3. 根据权利要求1所述的方法,其特征在于,在所述向所述源基站第M次发送所述第一测量报告,并启动第一定时时长的第一定时器之前,所述方法还包括:The method according to claim 1 is characterized in that, before sending the first measurement report to the source base station for the Mth time and starting the first timer of the first timing duration, the method further comprises:
    根据所述源基站当前的参考信号接收功率RSRP,和/或参考信号接收指令RSRQ,和/或信噪比,确定所述终端设备与源基站之间的信道的承载能力;Determine the carrying capacity of the channel between the terminal device and the source base station according to the current reference signal received power RSRP of the source base station, and/or the reference signal received instruction RSRQ, and/or the signal-to-noise ratio;
    在所述信道的承载能力满足重发条件时,执行所述向所述源基站第M次发送所述第一测量报告,并启动第一定时时长的第一定时器的步骤;When the carrying capacity of the channel meets the retransmission condition, executing the step of sending the first measurement report to the source base station for the Mth time and starting a first timer with a first timing duration;
    在所述信道的承载能力不满足重发条件时,仅向所述源基站第M次发送所述第一测量报告。When the carrying capacity of the channel does not meet the retransmission condition, only the first measurement report is sent to the source base station for the Mth time.
  4. 根据权利要求3所述的方法,其特征在于,接入所述源基站的终端设备包括第一终端设备和第二终端设备;The method according to claim 3, characterized in that the terminal device accessing the source base station includes a first terminal device and a second terminal device;
    在所述信道的承载能力仅支持一个终端设备启动定时器,重发第一测量报告时,在所述向所述源基站第M次发送所述第一测量报告,并启动第一定时时长的第一定时器之前,所述方法还包括: When the carrying capacity of the channel supports only one terminal device to start a timer and resend the first measurement report, before sending the first measurement report to the source base station for the Mth time and starting a first timer of a first timing duration, the method further includes:
    在所述第一终端设备的优先级高于所述第二终端设备的优先级时,所述第一终端设备执行所述向所述源基站第M次发送所述第一测量报告,并启动第一定时时长的第一定时器的步骤,所述第二终端设备仅向所述源基站第M次发送所述第一测量报告;When the priority of the first terminal device is higher than the priority of the second terminal device, the first terminal device performs the step of sending the first measurement report to the source base station for the Mth time and starting the first timer of the first timing duration, and the second terminal device only sends the first measurement report to the source base station for the Mth time;
    在所述第二终端设备的优先级高于所述第一终端设备的优先级时,所述第二终端设备执行所述向所述源基站第M次发送所述第一测量报告,并启动第一定时时长的第一定时器的步骤,所述第一终端设备仅向所述源基站第M次发送所述第一测量报告。When the priority of the second terminal device is higher than that of the first terminal device, the second terminal device executes the step of sending the first measurement report to the source base station for the Mth time and starting the first timer of the first timing duration, and the first terminal device only sends the first measurement report to the source base station for the Mth time.
  5. 根据权利要求4所述的方法,其特征在于,所述方法还包括:The method according to claim 4, characterized in that the method further comprises:
    在所述第一终端设备的优先级等于所述第二终端设备的优先级时,确定所述第一终端设备当前处理的业务的第一优先级和所述第二终端设备当前处理的业务的第二优先级;When the priority of the first terminal device is equal to the priority of the second terminal device, determining a first priority of a service currently processed by the first terminal device and a second priority of a service currently processed by the second terminal device;
    在所述第一优先级高于所述第二优先级时,所述第一终端设备执行所述向所述源基站第M次发送所述第一测量报告,并启动第一定时时长的第一定时器的步骤,所述第二终端设备仅向所述源基站第M次发送所述第一测量报告;When the first priority is higher than the second priority, the first terminal device performs the step of sending the first measurement report to the source base station for the Mth time and starting a first timer of a first timing duration, and the second terminal device only sends the first measurement report to the source base station for the Mth time;
    在所述第二优先级高于所述第一优先级时,所述第二终端设备执行所述向所述源基站第M次发送所述第一测量报告,并启动第一定时时长的第一定时器的步骤,所述第一终端设备仅向所述源基站第M次发送所述第一测量报告。When the second priority is higher than the first priority, the second terminal device executes the step of sending the first measurement report to the source base station for the Mth time and starting the first timer of the first timing duration, and the first terminal device only sends the first measurement report to the source base station for the Mth time.
  6. 根据权利要求1所述的方法,其特征在于,在所述重新向所述源基站发送所述第一测量报告之后,所述方法还包括:The method according to claim 1, characterized in that after the resending of the first measurement report to the source base station, the method further comprises:
    启动第二定时时长的第二定时器;Start a second timer with a second timing duration;
    在所述第二定时时长内未接收到所述源基站根据重发的所述第一测量报告作出的切换命令时,在所述第二定时时长结束后,在满足所述测量配置中配置的测量报告上报间隔时,重新向所述源基站发送所述第一测量报告;When no handover command made by the source base station according to the retransmitted first measurement report is received within the second timing duration, after the second timing duration ends and when the measurement report reporting interval configured in the measurement configuration is met, resending the first measurement report to the source base station;
    在所述第二定时时长结束时,接收到所述源基站针对重新发送的所述第一测量报告作出的切换命令时,执行切换;When the second timing duration ends, upon receiving a handover command made by the source base station in response to the resent first measurement report, performing handover;
    在所述第二定时时长内接收到所述源基站针对重新发送的所述第一测量报告作出的切换命令时,关闭所述第二定时器,执行切换。When a switching command made by the source base station in response to the resent first measurement report is received within the second timing duration, the second timer is turned off and the switching is performed.
  7. 根据权利要求6所述的方法,其特征在于,所述第一定时时长和所述第二定时时长均大于所述源基站处理所述第一测量报告作出所述切换命令的时长。The method according to claim 6 is characterized in that both the first timing duration and the second timing duration are greater than the duration for the source base station to process the first measurement report and make the switching command.
  8. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, characterized in that the method further comprises:
    在所述第一定时时长内接收到所述源基站针对第M次发送的所述第一测量报告作出的切换命令时,关闭所述第一定时器,执行切换。When a switching command made by the source base station in response to the first measurement report sent for the Mth time is received within the first timing duration, the first timer is turned off and the switching is performed.
  9. 根据权利要求1至8任一项所述的方法,其特征在于,所述执行切换,包括:The method according to any one of claims 1 to 8, characterized in that the performing switching comprises:
    通过所述切换命令中指示的无线资源,向所述第一基站发送切换接入请求;Sending a handover access request to the first base station by using the wireless resources indicated in the handover command;
    响应于所述第一基站针对所述切换接入请求作出的切换接入响应,向所述第一基站发送切换完成消息,完成切换。 In response to a handover access response made by the first base station to the handover access request, a handover completion message is sent to the first base station to complete the handover.
  10. 根据权利要求1至8任一项所述的方法,其特征在于,M∈{1,2,4,8,16,32,64}。The method according to any one of claims 1 to 8, characterized in that M∈{1, 2, 4, 8, 16, 32, 64}.
  11. 一种切换异常的处理方法,其特征在于,应用于终端设备,所述方法包括:A method for handling handover anomalies, characterized in that it is applied to a terminal device, and the method comprises:
    接收源基站发送的测量配置,所述测量配置中配置的测量报告发送次数为M,M为大于0的整数;Receive a measurement configuration sent by a source base station, where the number of measurement report transmissions configured in the measurement configuration is M, where M is an integer greater than 0;
    在源基站对应的源小区内,根据所述测量配置对搜索到的第一基站进行测量,得到所述第一基站对应的第一测量报告;In a source cell corresponding to the source base station, measuring the searched first base station according to the measurement configuration, and obtaining a first measurement report corresponding to the first base station;
    向所述源基站发送所述第一测量报告,并启动第一定时时长的第一定时器;Sending the first measurement report to the source base station, and starting a first timer with a first timing duration;
    在所述第一定时时长内未接收到所述源基站根据所述第一测量报告作出的切换命令时,在所述第一定时时长结束后,重新向所述源基站发送所述第一测量报告;如果M大于1,则所述第一定时时长不大于所述测量配置中配置的测量报告发送间隔时长;When a handover command made by the source base station according to the first measurement report is not received within the first timing duration, after the first timing duration ends, the first measurement report is resent to the source base station; if M is greater than 1, the first timing duration is not greater than the measurement report sending interval configured in the measurement configuration;
    响应于所述源基站根据重新发送的所述第一测量报告作出的切换命令,执行切换。In response to a handover command made by the source base station according to the resent first measurement report, a handover is performed.
  12. 根据权利要求11所述的方法,其特征在于,在所述向所述源基站发送所述第一测量报告,并启动第一定时时长的第一定时器之前,所述方法还包括:The method according to claim 11, characterized in that before sending the first measurement report to the source base station and starting the first timer of the first timing duration, the method further comprises:
    在所述终端设备处于移动状态时,获取当前的移动速度,以及当前位置与所述源小区边界之间的距离;When the terminal device is in a moving state, obtaining a current moving speed and a distance between a current position and a boundary of the source cell;
    根据所述移动速度和距离,预估所述终端设备按照所述移动速度,从所述当前位置移动到所述源小区边界的移动时间;According to the moving speed and distance, estimating the moving time of the terminal device moving from the current position to the border of the source cell at the moving speed;
    在所述移动时间大于所述第一定时时长时,执行所述向所述源基站发送所述第一测量报告,并启动第一定时时长的第一定时器的步骤;When the moving time is greater than the first timing duration, executing the step of sending the first measurement report to the source base station and starting a first timer of the first timing duration;
    否则,仅向所述源基站发送所述第一测量报告。Otherwise, only the first measurement report is sent to the source base station.
  13. 根据权利要求11所述的方法,其特征在于,在所述向所述源基站发送所述第一测量报告,并启动第一定时时长的第一定时器之前,所述方法还包括:The method according to claim 11, characterized in that before sending the first measurement report to the source base station and starting the first timer of the first timing duration, the method further comprises:
    根据所述源基站当前的参考信号接收功率RSRP,和/或参考信号接收指令RSRQ,和/或信噪比,确定所述终端设备与源基站之间的信道的承载能力;Determine the carrying capacity of the channel between the terminal device and the source base station according to the current reference signal received power RSRP of the source base station, and/or the reference signal received instruction RSRQ, and/or the signal-to-noise ratio;
    在所述信道的承载能力满足重发条件时,执行所述向所述源基站发送所述第一测量报告,并启动第一定时时长的第一定时器的步骤;When the carrying capacity of the channel meets the retransmission condition, executing the step of sending the first measurement report to the source base station and starting a first timer with a first timing duration;
    在所述信道的承载能力不满足重发条件时,仅向所述源基站发送所述第一测量报告。When the carrying capacity of the channel does not meet the retransmission condition, only the first measurement report is sent to the source base station.
  14. 根据权利要求13所述的方法,其特征在于,接入所述源基站的终端设备包括第一终端设备和第二终端设备;The method according to claim 13, characterized in that the terminal device accessing the source base station includes a first terminal device and a second terminal device;
    在所述信道的承载能力仅支持一个终端设备启动定时器,重发第一测量报告时,在所述向所述源基站发送所述第一测量报告,并启动第一定时时长的第一定时器之前,所述方法还包括: When the carrying capacity of the channel supports only one terminal device to start a timer and resend the first measurement report, before sending the first measurement report to the source base station and starting a first timer of a first timing duration, the method further includes:
    在所述第一终端设备的优先级高于所述第二终端设备的优先级时,所述第一终端设备执行所述向所述源基站发送所述第一测量报告,并启动第一定时时长的第一定时器的步骤,所述第二终端设备仅向所述源基站发送所述第一测量报告;When the priority of the first terminal device is higher than the priority of the second terminal device, the first terminal device performs the step of sending the first measurement report to the source base station and starting the first timer of the first timing duration, and the second terminal device only sends the first measurement report to the source base station;
    在所述第二终端设备的优先级高于所述第一终端设备的优先级时,所述第二终端设备执行所述向所述源基站发送所述第一测量报告,并启动第一定时时长的第一定时器的步骤,所述第一终端设备仅向所述源基站发送所述第一测量报告。When the priority of the second terminal device is higher than that of the first terminal device, the second terminal device executes the steps of sending the first measurement report to the source base station and starting the first timer of the first timing duration, and the first terminal device only sends the first measurement report to the source base station.
  15. 根据权利要求14所述的方法,其特征在于,所述方法还包括:The method according to claim 14, characterized in that the method further comprises:
    在所述第一终端设备的优先级等于所述第二终端设备的优先级时,确定所述第一终端设备当前处理的业务的第一优先级和所述第二终端设备当前处理的业务的第二优先级;When the priority of the first terminal device is equal to the priority of the second terminal device, determining a first priority of a service currently processed by the first terminal device and a second priority of a service currently processed by the second terminal device;
    在所述第一优先级高于所述第二优先级时,所述第一终端设备执行所述向所述源基站发送所述第一测量报告,并启动第一定时时长的第一定时器的步骤,所述第二终端设备仅向所述源基站发送所述第一测量报告;When the first priority is higher than the second priority, the first terminal device performs the step of sending the first measurement report to the source base station and starting a first timer of a first timing duration, and the second terminal device only sends the first measurement report to the source base station;
    在所述第二优先级高于所述第一优先级时,所述第二终端设备执行所述向所述源基站发送所述第一测量报告,并启动第一定时时长的第一定时器的步骤,所述第一终端设备仅向所述源基站发送所述第一测量报告。When the second priority is higher than the first priority, the second terminal device executes the steps of sending the first measurement report to the source base station and starting the first timer of the first timing duration, and the first terminal device only sends the first measurement report to the source base station.
  16. 根据权利要求11所述的方法,其特征在于,在所述重新向所述源基站发送所述第一测量报告之后,所述方法还包括:The method according to claim 11, characterized in that after the resending of the first measurement report to the source base station, the method further comprises:
    启动第二定时时长的第二定时器;Start a second timer with a second timing duration;
    在所述第二定时时长内未接收到所述源基站根据重发的所述第一测量报告作出的切换命令时,在所述第二定时时长结束后,在满足所述测量配置中配置的测量报告上报间隔时,重新向所述源基站发送所述第一测量报告;When no handover command made by the source base station according to the retransmitted first measurement report is received within the second timing duration, after the second timing duration ends and when the measurement report reporting interval configured in the measurement configuration is met, resending the first measurement report to the source base station;
    在所述第二定时时长结束时,接收到所述源基站针对重新发送的所述第一测量报告作出的切换命令时,执行切换;When the second timing duration ends, upon receiving a handover command made by the source base station in response to the resent first measurement report, performing handover;
    在所述第二定时时长内接收到所述源基站针对重新发送的所述第一测量报告作出的切换命令时,关闭所述第二定时器,执行切换。When a switching command made by the source base station in response to the resent first measurement report is received within the second timing duration, the second timer is turned off and the switching is performed.
  17. 根据权利要求16所述的方法,其特征在于,所述第一定时时长和所述第二定时时长均大于所述源基站处理所述第一测量报告作出所述切换命令的时长。The method according to claim 16 is characterized in that both the first timing duration and the second timing duration are greater than the duration for the source base station to process the first measurement report and make the switching command.
  18. 根据权利要求11所述的方法,其特征在于,所述方法还包括:The method according to claim 11, characterized in that the method further comprises:
    在所述第一定时时长内接收到所述源基站发送的所述第一测量报告作出的切换命令时,关闭所述第一定时器,执行切换。When a switching command issued by the first measurement report sent by the source base station is received within the first timing duration, the first timer is turned off and the switching is performed.
  19. 根据权利要求11至18任一项所述的方法,其特征在于,所述执行切换,包括:The method according to any one of claims 11 to 18, characterized in that the performing switching comprises:
    通过所述切换命令中指示的无线资源,向所述第一基站发送切换接入请求;Sending a handover access request to the first base station by using the wireless resources indicated in the handover command;
    响应于所述第一基站针对所述切换接入请求作出的切换接入响应,向所述第一基站发送切换完成消息,完成切换。 In response to a handover access response made by the first base station to the handover access request, a handover completion message is sent to the first base station to complete the handover.
  20. 根据权利要求11至18任一项所述的方法,其特征在于,M∈{1,2,4,8,16,32,64}。The method according to any one of claims 11 to 18, characterized in that M∈{1, 2, 4, 8, 16, 32, 64}.
  21. 一种终端设备,其特征在于,所述终端设备包括:存储器和处理器,所述存储器和所述处理器耦合;所述存储器存储有程序指令,所述程序指令由所述处理器执行时,使得所述终端设备执行如权利要求1至10任意一项所述的切换异常的处理方法,或者执行如权利要求11至20任意一项所述的切换异常的处理方法。A terminal device, characterized in that the terminal device includes: a memory and a processor, the memory and the processor are coupled; the memory stores program instructions, and when the program instructions are executed by the processor, the terminal device executes the method for handling switching anomalies as described in any one of claims 1 to 10, or executes the method for handling switching anomalies as described in any one of claims 11 to 20.
  22. 一种计算机可读存储介质,其特征在于,包括计算机程序,当所述计算机程序在终端设备上运行时,使得所述终端设备执行如权利要求1至10任意一项所述的切换异常的处理方法,或者执行如权利要求11至20任意一项所述的切换异常的处理方法。 A computer-readable storage medium, characterized in that it includes a computer program, which, when executed on a terminal device, enables the terminal device to execute the method for handling a switching anomaly as described in any one of claims 1 to 10, or to execute the method for handling a switching anomaly as described in any one of claims 11 to 20.
PCT/CN2023/117643 2022-11-06 2023-09-08 Handover exception processing method, device, and storage medium WO2024093521A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211381159.3 2022-11-06
CN202211381159.3A CN115426667B (en) 2022-11-06 2022-11-06 Processing method and device for switching exception and storage medium

Publications (2)

Publication Number Publication Date
WO2024093521A1 true WO2024093521A1 (en) 2024-05-10
WO2024093521A9 WO2024093521A9 (en) 2024-07-04

Family

ID=84207210

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/117643 WO2024093521A1 (en) 2022-11-06 2023-09-08 Handover exception processing method, device, and storage medium

Country Status (2)

Country Link
CN (1) CN115426667B (en)
WO (1) WO2024093521A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115426667B (en) * 2022-11-06 2023-03-24 荣耀终端有限公司 Processing method and device for switching exception and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102369760A (en) * 2011-08-31 2012-03-07 华为技术有限公司 Cell switching method, base station, user device and communication system
US20190281509A1 (en) * 2016-09-30 2019-09-12 Telefonaktiebolaget Lm Ericsson (Publ) Methods And Arrangements For Measurement Based Mobility
WO2021003616A1 (en) * 2019-07-05 2021-01-14 Oppo广东移动通信有限公司 Method for switching network devices, and terminal device
CN113965969A (en) * 2021-11-17 2022-01-21 中国电信股份有限公司 Cell switching method, device, base station and communication system
CN115426667A (en) * 2022-11-06 2022-12-02 荣耀终端有限公司 Processing method and device for switching exception and storage medium

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008069618A2 (en) * 2006-12-07 2008-06-12 Lg Electronics Inc. Method and user equipment of performing status report in mobile communication system
CN101742579B (en) * 2008-11-10 2012-12-12 华为技术有限公司 Method, device and system for reporting measuring results
CN101931984B (en) * 2009-06-18 2013-06-26 华为技术有限公司 Method, user equipment and base station for drive test measurement
CN102104926B (en) * 2009-12-18 2014-05-07 华为技术有限公司 Switching trigger method and device
CN102378236A (en) * 2010-08-13 2012-03-14 电信科学技术研究院 Minimizing drive test (MDT) method, system and equipment
CN104811995B (en) * 2014-01-29 2018-05-01 阿尔卡特朗讯 The transmission of levels of repetition measurement report is controlled to strengthen the method and apparatus of covering
CN108738095A (en) * 2017-04-21 2018-11-02 北京佰才邦技术有限公司 The method of data forwarding and base station in a kind of handoff procedure
CN112243260B (en) * 2019-07-18 2022-04-01 大唐移动通信设备有限公司 Terminal switching method, satellite base station, device and medium
CN112118607B (en) * 2020-10-12 2023-04-18 中国联合网络通信集团有限公司 Cell switching method, terminal and base station

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102369760A (en) * 2011-08-31 2012-03-07 华为技术有限公司 Cell switching method, base station, user device and communication system
US20190281509A1 (en) * 2016-09-30 2019-09-12 Telefonaktiebolaget Lm Ericsson (Publ) Methods And Arrangements For Measurement Based Mobility
WO2021003616A1 (en) * 2019-07-05 2021-01-14 Oppo广东移动通信有限公司 Method for switching network devices, and terminal device
CN113965969A (en) * 2021-11-17 2022-01-21 中国电信股份有限公司 Cell switching method, device, base station and communication system
CN115426667A (en) * 2022-11-06 2022-12-02 荣耀终端有限公司 Processing method and device for switching exception and storage medium

Also Published As

Publication number Publication date
CN115426667B (en) 2023-03-24
CN115426667A (en) 2022-12-02

Similar Documents

Publication Publication Date Title
US11895583B2 (en) Network connection processing method, related device, and computer storage medium
CN114390337B (en) Screen projection method and system and electronic equipment
WO2021168664A1 (en) Communication method and apparatus, and computer storage medium
US11647437B2 (en) Method and system for base station handover
EP4024806A1 (en) Data transceiving method, electronic device, and computer-readable storage medium
EP4236434A1 (en) Channel switching method, electronic device, and storage medium
US11991631B2 (en) Monitoring method, signaling issuing method, and communication device
US20230209438A1 (en) Data Transmission Method and Electronic Device
WO2021104115A1 (en) Cell measurement method, measurement apparatus, terminal device, chip, and storage medium
WO2024093521A1 (en) Handover exception processing method, device, and storage medium
US20240073870A1 (en) Bandwidth part switching method, and communication device
US20230262607A1 (en) State control method and communication device
US20230388170A1 (en) Method and Apparatus for Determining Minimum Slot Offset Value
CN112291833B (en) Equipment control method, system and related device
US20240064641A1 (en) Information configuration method and apparatus, and communication device and storage medium
CN111149388B (en) Communication processing method, device and computer storage medium
CN114070369A (en) Antenna selection method and device
WO2022111718A1 (en) Method for sharing radio frequency channel and related device
CN113810965B (en) Channel switching method, electronic device and storage medium
WO2022120649A1 (en) Access control method and apparatus, communication device, and medium
US20230071861A1 (en) Data transmission methods and communication device
US20240098768A1 (en) Information transmission methods, and communication devices
RU2805992C2 (en) Method of processing network connection, corresponding device and computer media

Legal Events

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

Ref document number: 23884456

Country of ref document: EP

Kind code of ref document: A1