Disclosure of Invention
In order to solve the foregoing technical problem, embodiments of the present invention provide a method and an apparatus for detecting a fallback result of a CSFB, and a computer storage medium.
The CSFB fallback result detection method provided by the embodiment of the invention comprises the following steps:
triggering a terminal to send an attachment request message to an LTE base station, and receiving an attachment acceptance message sent by the LTE base station, wherein the attachment acceptance message carries indication information used for indicating the terminal to adopt a preset CSFB optimization scheme for voice service;
when the terminal receives a paging message sent by an LTE base station, controlling the terminal to execute a CSFB process based on the indication information, wherein in the CSFB process, the terminal receives a redirection command sent by the LTE base station, and the redirection command does not carry frequency point information of a target Global System for Mobile Communication (GSM);
detecting whether the terminal sends a channel request message to a GSM cell or not in the CSFB process executed by the terminal;
when the terminal sends a channel request message to a GSM cell and a voice call link is successfully established, determining that the fallback result of the CSFB is successful; and when the terminal does not send a channel request message to the GSM cell, determining that the fallback result of the CSFB is fallback failure.
In the embodiment of the present invention, the method further includes:
when detecting that the terminal sends a channel request message to a GSM cell, analyzing an access request reason value from the channel request message;
judging whether an access request reason value carried by the channel request message is a preset value or not;
and when the access request reason value is the preset value, controlling the terminal to continuously execute the CSFB process.
In this embodiment of the present invention, when the terminal sends a channel request message to a GSM cell and successfully establishes a voice call link, determining that a fallback result of the CSFB is a fallback success includes:
when the terminal sends a channel request message to a GSM cell and the reason value of the access request is the preset value, whether a voice call link is established successfully is detected;
and when the voice call link is successfully established, determining that the fallback result of the CSFB is successful.
In the embodiment of the present invention, the method further includes:
when the access request cause value is not the preset value, determining that the fallback result of the CSFB is fallback failure;
and when the voice call link is not established successfully, determining that the fallback result of the CSFB is fallback failure.
In this embodiment of the present invention, the detecting whether the terminal sends the channel request message to the GSM cell includes:
setting a timer, and detecting whether the terminal sends a channel request message to a GSM cell before the timer is overtime.
The CSFB fallback result detection device provided by the embodiment of the invention comprises:
the attachment unit is configured to trigger a terminal to send an attachment request message to an LTE base station and receive an attachment acceptance message sent by the LTE base station, wherein the attachment acceptance message carries indication information used for indicating the terminal to adopt a preset CSFB optimization scheme for voice service;
a CSFB fallback unit configured to control the terminal to execute a CSFB procedure based on the indication information when the terminal receives a paging message sent by an LTE base station, where in the CSFB procedure, the terminal receives a redirection command sent by the LTE base station, and the redirection command does not carry frequency point information of a GSM cell;
a detecting unit configured to detect whether the terminal sends a channel request message to a GSM cell in a CSFB procedure performed by the terminal;
a result determining unit, configured to determine that a fallback result of the CSFB is a fallback success when the terminal sends a channel request message to a GSM cell and successfully establishes a voice call link; and when the terminal does not send a channel request message to the GSM cell, determining that the fallback result of the CSFB is fallback failure.
In the embodiment of the present invention, the apparatus further includes:
the analysis unit is configured to analyze an access request reason value from the channel request message when the terminal is detected to send the channel request message to the GSM cell;
the judging unit is configured to judge whether an access request reason value carried by the channel request message is a preset value;
the CSFB fallback unit is further configured to control the terminal to continue to execute the CSFB procedure when the access request cause value is the preset value.
In the embodiment of the present invention, the detecting unit is further configured to detect whether the voice call link is established successfully when the terminal sends a channel request message to a GSM cell and the access request cause value is the preset value;
the result determining unit is further configured to determine that the fallback result of the CSFB is a fallback success when the voice call link is successfully established.
In this embodiment of the present invention, the result determining unit is further configured to determine that the fallback result of the CSFB is a fallback failure when the access request cause value is not the preset value; and when the voice call link is not established successfully, determining that the fallback result of the CSFB is fallback failure.
In the embodiment of the present invention, the apparatus further includes:
a setting unit configured to set a timer;
the detecting unit is further configured to detect whether the terminal sends a channel request message to a GSM cell before the timer expires.
The computer storage medium provided by the embodiment of the invention stores computer executable instructions, and the computer executable instructions are executed by the processor to realize the abnormal frequency point detection method.
In the technical scheme of the embodiment of the invention, a trigger terminal sends an attachment request message to an LTE base station and receives an attachment acceptance message sent by the LTE base station, wherein the attachment acceptance message carries indication information used for indicating the terminal to adopt a preset CSFB optimization scheme for voice service; when the terminal receives a paging message sent by an LTE base station, controlling the terminal to execute a CSFB process based on the indication information, wherein in the CSFB process, the terminal receives a redirection command sent by the LTE base station, and the redirection command does not carry frequency point information of a target GSM cell; detecting whether the terminal sends a channel request message to a GSM cell or not in the CSFB process executed by the terminal; when the terminal sends a channel request message to a GSM cell and a voice call link is successfully established, determining that the fallback result of the CSFB is successful; and when the terminal does not send a channel request message to the GSM cell, determining that the fallback result of the CSFB is fallback failure. By adopting the technical scheme of the embodiment of the invention, the channel request result in the CSFB process can be detected under the scene that the network side is leaked to distribute the GSM cell information, so that the fallback result of the CSFB can be finally determined, and thus, in the subsequent CSFB process, the optimization scheme can be further perfected to improve the success probability of the CSFB process so as to improve the call experience of users.
Detailed Description
So that the manner in which the features and aspects of the embodiments of the present invention can be understood in detail, a more particular description of the embodiments of the invention, briefly summarized above, may be had by reference to the embodiments, some of which are illustrated in the appended drawings.
Under normal conditions, the terminal with the CSFB function can search the LTE network when being started, complete the joint registration of the LTE/2G network and carry out voice calling and called.
The CSFB procedure comprises three phases: 1) the UE initiates a call (corresponding to MO) in the LTE network or receives a paging (corresponding to MT); 2) the UE falls back under the guidance of the LTE network and searches a proper GSM cell for access; 3) and the UE reads the broadcast message of the GSM cell system and establishes a voice call.
In addition, one of the more important procedures in the CSFB procedure is a channel acquisition procedure, which is explained below.
Fig. 1 is a channel acquisition flow chart according to an embodiment of the present invention, and as shown in fig. 1, the channel acquisition flow includes the following steps:
step 101: the UE boots up and performs an Evolved Packet System (EPS)/International Mobile Subscriber Identity (IMSI) attach.
Step 102: the UE receives the CS paging message and starts to perform the CSFB procedure.
Step 103: and the UE receives a redirection command issued by the network side, and the redirection command carries the frequency point information of the GSM cell.
Here, the redirection command is implemented through LTE _ RRCConnectionRelease signaling.
Step 104: and the UE scans the frequency points of the GSM cell based on the frequency point information of the GSM cell carried in the redirection command, and selects one frequency point of the GSM cell for communication.
Here, the frequency point of the selected GSM cell is referred to as a target frequency point.
Step 105: and the UE sends a CHANNEL REQUEST message (CHANNEL _ REQUEST) to the network based on the target frequency point.
Here, after the terminal initially transmits CHANNEL _ REQUEST, a T3120 timer is started to count the number of times CHANNEL _ REQUEST is retransmitted through the random access procedure, and a maximum number of retransmissions is preset. When the timer T3120 expires and reaches "maximum retransmission times", the terminal will start the T3126 timer to count the time when the terminal is silent and does not transmit CHANNEL _ REQUEST; if the T3126 timer expires (the timed time is reached) the network has not yet responded to the terminal's channel request, the terminal abandons the request attempt.
Step 106: and the UE receives the IM message replied by the network and obtains the channel allocated by the network through the IM message.
With the continuous expansion of the LTE base station scale and the network quitting and re-cultivation of some old GSM/TDSCDMA base stations, the configuration of the original network deployment on the signaling side of the base station is not updated in real time, and the configuration information issued by the network to the UE is inconsistent with the actual deployment situation, so that various abnormal situations, such as unavailable connection, failed repeated connection, etc., occur in the voice call across systems (inter rat) such as CSFB.
In order to solve the call problem caused by the incompatible situation of network deployment, various optimization means are adopted by terminal manufacturers to improve the call experience, and in order to verify the rationality of the CSFB optimization scheme, it is necessary to detect the CSFB process in an abnormal scene so as to improve the CSFB optimization scheme in a targeted manner.
The CSFB fallback scheme adopts a 3GPP R8 redirection fallback scheme, and during a CSFB deployment process, a CSFB procedure is probabilistically abnormal due to a problem of parameter configuration. Therefore, the embodiment of the invention provides a method for detecting a CSFB fallback result under the scene of distributing GSM cell information by network side leakage.
Fig. 2 is a schematic flow chart of a method for detecting a fallback result of a CSFB according to an embodiment of the present invention, where as shown in fig. 2, the method for detecting a fallback result of a CSFB includes the following steps:
step 201: the method comprises the steps of triggering a terminal to send an attachment request message to an LTE base station and receiving an attachment acceptance message sent by the LTE base station, wherein the attachment acceptance message carries indication information used for indicating the terminal to adopt a preset CSFB optimization scheme to carry out voice service.
In the embodiment of the present invention, a network environment may be constructed by a simulation platform, including: TDD-LTE cell, TDSCDMA/GSM cell, in this embodiment, a GSM cell is used as a cell for implementing CS voice, wherein GSM neighbor cell information is configured in LTE SIB, and LTE neighbor cell information is configured in GSM SI. Then, the CSFB procedure is performed based on the constructed network environment.
According to the technical scheme of the embodiment of the invention, the following abnormal scenes are configured in the CSFB process: and the network side is configured to send the cell information of the GSM. Because the network environment of the embodiment of the invention is constructed based on the simulation platform, the CSFB abnormal scene with small probability in the network can be stably reproduced, and the feasibility and the stability of the optimized CSFB scheme are verified, namely: and verifying the feasibility and stability of the CSFB optimization scheme under the cell information of the GSM leaked from the network side.
In the embodiment of the invention, a terminal refers to an MT, and after the terminal is started, joint EPS/IMSI attachment is executed firstly, wherein the joint EPS/IMSI attachment comprises the steps of triggering the terminal to send an attachment Request message (Attach Request) to an LTE base station and receiving an attachment acceptance message (Attach Accept) sent by the LTE base station, wherein the attachment acceptance message carries indication information for indicating the terminal to adopt a preset CSFB optimization scheme for voice service. Fig. 3 is a first schematic diagram of simulation code displayed through a computer display interface according to an embodiment of the present invention, where: IMS voice over PS (V) ═ Not supported (0), and represents the instruction information.
Step 202: and when the terminal receives a paging message sent by an LTE base station, controlling the terminal to execute a CSFB process based on the indication information, wherein in the CSFB process, the terminal receives a redirection command sent by the LTE base station, and the redirection command does not carry frequency point information of a target global system for mobile communications (GSM) cell.
In the embodiment of the invention, a terminal receives a Paging message (Paging) sent by a network side. Here, the MO is required to initiate a call to the MT first, and then the MT receives the paging message sent by the network side.
Specifically, after receiving an initial address REQUEST (IAM) incoming message, a Mobile Switching Center (MSC) in the network sends an SGsAP-PAGING-REQUEST message to an Mobility Management Entity (MME) according to existing SGs association and MME information, where the SGsAP-PAGING-REQUEST message carries the following information: IMSI, Temporary Mobile Subscriber Identity (TMSI), Service identifier (Service indicator), calling number, location area information. The MME sends a Paging message to the base station, and the base station initiates a Paging process of an air interface. UE establishes connection and sends Extended Service Request message to MME, MME sends SGsAP-Service-Request message to MSC, MSC receives the message, and MSC does not resend paging Request message to MME. In order to avoid the overlong waiting time of the calling party in the call connection process, the MSC receives the SGs Service Request message containing the idle state indication and firstly informs the calling party that the calling party is in the connection process. The MME sends an Initial UE Context Setup message to a base station, wherein the Initial UE Context Setup message carries a CS feedback Indicator, and the CS feedback Indicator is used for indicating that the base station UE needs to fall back to a UMTS Terrestrial Radio Access Network (UTRAN) or a GSM/EDGE Radio Access Network (GERAN, GSM EDGE Radio Access Network) due to CSFB service.
In the embodiment of the invention, in the CSFB execution process, the terminal receives a redirection command sent by an LTE base station, and the redirection command does not carry frequency point information of a target GSM cell. Here, the redirection command is also LTE _ RRCConnectionRelease signaling. As shown in fig. 4, in the emulation code identification, the base station issues an R8 redirection command (rrcConnectionRelease _ R8(0)) to the terminal, but the command does not carry the frequency point information of the target GSM cell, and such an abnormal scenario cannot guide the terminal to fall back to the target GSM cell.
Step 203: and in the CSFB process executed by the terminal, detecting whether the terminal sends a channel request message to a GSM cell.
In the embodiment of the invention, the simulation platform starts to detect whether the terminal initiates a Channel Request message (Channel Request) or not at a GSM layer.
Here, a timer is first set, and it is detected whether the terminal sends a channel request message to the GSM cell before the timer expires. Here, the timer functions to prevent the detection time from being too long.
Step 204: when the terminal sends a channel request message to a GSM cell and a voice call link is successfully established, determining that the fallback result of the CSFB is successful; and when the terminal does not send a channel request message to the GSM cell, determining that the fallback result of the CSFB is fallback failure.
When the terminal sends a channel request message to a GSM cell, analyzing an access request cause value (cause) from the channel request message; judging whether an access request reason value carried by the channel request message is a preset value or not; and when the access request reason value is the preset value (namely, the correct access request reason value), controlling the terminal to continue to execute the CSFB process.
In the subsequent CSFB process, whether the voice call link is established successfully is detected; if the voice call link is successfully established, the fallback result of the CSFB is the fallback success, that is, the preset CSFB optimization scheme adopted by the terminal is a reasonable CSFB fallback scheme. When the terminal does not send the channel request message to the GSM cell, that is, the fallback result of the CSFB is a fallback failure, the preset CSFB optimization scheme adopted by the terminal is an unreasonable CSFB fallback scheme.
In the above scheme, the fall-back failure condition further includes the following two conditions: when the access request cause value is not the preset value, determining that the fallback result of the CSFB is fallback failure; and when the voice call link is not established successfully, determining that the fallback result of the CSFB is fallback failure.
Fig. 5 is a first structural schematic diagram of a fall-back result detection apparatus of a CSFB according to an embodiment of the present invention, as shown in fig. 5, the fall-back result detection apparatus of the CSFB includes:
an attachment unit 501 configured to trigger a terminal to send an attachment request message to an LTE base station and receive an attachment acceptance message sent by the LTE base station, where the attachment acceptance message carries indication information for indicating that the terminal performs a voice service by using a preset CSFB optimization scheme;
a CSFB fallback unit 502 configured to control the terminal to execute a CSFB procedure based on the indication information when the terminal receives a paging message sent by an LTE base station, where in the CSFB procedure, the terminal receives a redirection command sent by the LTE base station, and the redirection command does not carry frequency point information of a GSM cell;
a detecting unit 503, configured to detect whether the terminal sends a channel request message to a GSM cell in a CSFB procedure performed by the terminal;
a result determining unit 504, configured to determine that a fallback result of the CSFB is a fallback success when the terminal sends a channel request message to a GSM cell and successfully establishes a voice call link; and when the terminal does not send a channel request message to the GSM cell, determining that the fallback result of the CSFB is fallback failure.
It should be understood by those skilled in the art that the implementation functions of each unit in the fallback result detection apparatus of the CSFB shown in fig. 5 can be understood by referring to the related description of the fallback result detection method of the CSFB. The functions of the units in the fall-back result detection apparatus of the CSFB shown in fig. 5 can be realized by a program running on a processor, and can also be realized by a specific logic circuit.
Fig. 6 is a schematic structural diagram of a second embodiment of a fall-back result detection apparatus of a CSFB, as shown in fig. 6, the fall-back result detection apparatus of the CSFB includes:
an attachment unit 601 configured to trigger a terminal to send an attachment request message to an LTE base station and receive an attachment acceptance message sent by the LTE base station, where the attachment acceptance message carries indication information for indicating that the terminal performs a voice service by using a preset CSFB optimization scheme;
a CSFB fallback unit 602 configured to control the terminal to execute a CSFB procedure based on the indication information when the terminal receives a paging message sent by an LTE base station, where in the CSFB procedure, the terminal receives a redirection command sent by the LTE base station, and the redirection command does not carry frequency point information of a GSM cell;
a detecting unit 603, configured to detect whether the terminal sends a channel request message to a GSM cell in a CSFB procedure performed by the terminal;
a result determining unit 604, configured to determine that a fallback result of the CSFB is a fallback success when the terminal sends a channel request message to a GSM cell and successfully establishes a voice call link; and when the terminal does not send a channel request message to the GSM cell, determining that the fallback result of the CSFB is fallback failure.
In the embodiment of the present invention, the apparatus further includes:
an analyzing unit 605, configured to analyze an access request cause value from a channel request message when it is detected that the terminal sends the channel request message to a GSM cell;
a determining unit 606 configured to determine whether an access request cause value carried by the channel request message is a preset value;
the CSFB fallback unit 602 is further configured to control the terminal to continue to execute the CSFB procedure when the access request cause value is the preset value.
In this embodiment of the present invention, the detecting unit 603 is further configured to detect whether the voice call link is established successfully when the terminal sends a channel request message to a GSM cell and the access request cause value is the preset value;
the result determining unit 604 is further configured to determine that the fallback result of the CSFB is a fallback success when the voice call link is successfully established.
In this embodiment of the present invention, the result determining unit 604 is further configured to determine that the fallback result of the CSFB is a fallback failure when the access request cause value is not the preset value; and when the voice call link is not established successfully, determining that the fallback result of the CSFB is fallback failure.
In the embodiment of the present invention, the apparatus further includes:
a setting unit 607 configured to set a timer;
the detecting unit 603 is further configured to detect whether the terminal sends a channel request message to a GSM cell before the timer expires.
It should be understood by those skilled in the art that the implementation functions of each unit in the fallback result detection apparatus of the CSFB shown in fig. 6 can be understood by referring to the related description of the fallback result detection method of the CSFB. The functions of the units in the fall-back result detection apparatus of the CSFB shown in fig. 6 can be realized by a program running on a processor, and can also be realized by a specific logic circuit.
The CSFB fallback result detection apparatus according to the embodiment of the present invention may also be stored in a computer readable storage medium if the CSFB fallback result detection apparatus is implemented in the form of a software functional module and sold or used as an independent product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, or an optical disk. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
Accordingly, an embodiment of the present invention further provides a computer storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, the method for detecting a CSFB fallback result in the foregoing embodiment of the present invention is implemented.
The technical schemes described in the embodiments of the present invention can be combined arbitrarily without conflict.
In the embodiments provided in the present invention, it should be understood that the disclosed method and intelligent device may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one second processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention.