CN106412859B - A method and terminal for automatically resending a short message - Google Patents
A method and terminal for automatically resending a short message Download PDFInfo
- Publication number
- CN106412859B CN106412859B CN201510449781.7A CN201510449781A CN106412859B CN 106412859 B CN106412859 B CN 106412859B CN 201510449781 A CN201510449781 A CN 201510449781A CN 106412859 B CN106412859 B CN 106412859B
- Authority
- CN
- China
- Prior art keywords
- short message
- wireless link
- layer
- network side
- access layer
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 89
- 230000008569 process Effects 0.000 claims abstract description 57
- 230000011664 signaling Effects 0.000 claims description 26
- 238000012545 processing Methods 0.000 claims description 22
- 238000005259 measurement Methods 0.000 claims description 19
- 238000011084 recovery Methods 0.000 claims description 15
- 230000004044 response Effects 0.000 claims description 14
- 230000005540 biological transmission Effects 0.000 claims description 10
- 238000001514 detection method Methods 0.000 claims description 5
- 239000007858 starting material Substances 0.000 claims description 2
- 238000007726 management method Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 238000012546 transfer Methods 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 230000009365 direct transmission Effects 0.000 description 2
- 238000005538 encapsulation Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 230000004913 activation Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 239000013256 coordination polymer Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/12—Messaging; Mailboxes; Announcements
- H04W4/14—Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/0005—Control or signalling for completing the hand-off
- H04W36/0011—Control or signalling for completing the hand-off for data sessions of end-to-end connection
- H04W36/0022—Control or signalling for completing the hand-off for data sessions of end-to-end connection for transferring data sessions between adjacent core network technologies
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明提供了一种自动重发短信的方法及终端,其中,自动重发短信的方法包括:向网络侧发送短信,并在预设时间段内等待网络侧反馈的发送报告;在等待的过程中,若释放了无线链路,则在无线链路恢复后,重新发送短信。本发明提供的方案通过在发送短信后,预设时间段内等待网络侧反馈的发送报告的过程中,若释放了无线链路,则在无线链路恢复后,自动重新发送短信,不用再等待定时器的定时时间结束,大大缩短了短信重发的延迟时间,提高了用户体验。
The present invention provides a method and terminal for automatically resending a short message, wherein the method for automatically resending a short message includes: sending a short message to the network side, and waiting for a sending report fed back by the network side within a preset time period; , if the wireless link is released, the short message will be resent after the wireless link is restored. In the solution provided by the present invention, if the wireless link is released during the process of waiting for the sending report fed back by the network side within a preset time period after sending the short message, after the wireless link is restored, the short message will be automatically re-sent, and there is no need to wait any longer. When the time limit of the timer expires, the delay time of retransmission of the short message is greatly shortened, and the user experience is improved.
Description
技术领域technical field
本发明涉及无线技术领域,特别是指一种自动重发短信的方法及终端。The present invention relates to the field of wireless technology, in particular to a method and a terminal for automatically resending a short message.
背景技术Background technique
针对现有技术中短信的发送以及重发情况介绍如下:The sending and retransmission of short messages in the prior art are introduced as follows:
一.电路域回落(CSFB)手机的短信发送机制1. SMS sending mechanism of circuit domain fallback (CSFB) mobile phone
LTE(Long Term Evolution)作为3G后续演进技术以其高数据速率、低时延、灵活的带宽配置等独特技术优势,被业界公认为是下一代移动通信的演进方向。2/3G时代短信业务在电路域承载,而LTE只有分组域,没有电路域,若要继续支持短信,需有特别方案支持。CSFB手机短信采用SMS over SGs(短信SMS通过移动交换中心和移动性管理实体之间的接口SGs传输)方案,SMS over SGs方案核心思路是LTE与电路域协作提供短信,即手机由LTE网络接入,而短信的路由和投递由电路域实现。LTE (Long Term Evolution), as a follow-up evolution technology of 3G, is recognized by the industry as the evolution direction of next-generation mobile communications due to its unique technical advantages such as high data rate, low latency, and flexible bandwidth configuration. In the 2/3G era, the short message service is carried in the circuit domain, while LTE only has the packet domain and no circuit domain. To continue to support short messages, special solutions are required. CSFB mobile phone short messages adopt the SMS over SGs (the short message SMS is transmitted through the interface SGs between the mobile switching center and the mobility management entity). , and the routing and delivery of short messages are implemented by the circuit domain.
其中,短信业务协议栈如图1所示,可分为SM-AL(Short Message ApplicationLayer,短信应用层),SM-TL(Short Message Transfer Layer,短信传输层),SM-RL(ShortMessage Relay Layer,短信中继层),CM sublayer(Connection Management sublayer,连接管理子层),AS layer(接入层)。终端编制短信在SM-RL层封装为中继层数据信令(RP-Data),然后在CM sublayer层封装为控制层数据信令(CP-Data)。MSC为移动交换机,MS为移动终端,SMR为短信中继,SMC为短信连接管理,SM-RP protocol为短信中继协议,SM-CPprotocol为短信连接管理协议,SMS为(Short Message)短信。Among them, the short message service protocol stack is shown in Figure 1, which can be divided into SM-AL (Short Message Application Layer, short message application layer), SM-TL (Short Message Transfer Layer, short message transmission layer), SM-RL (Short Message Relay Layer, SMS relay layer), CM sublayer (Connection Management sublayer, connection management sublayer), AS layer (access layer). The short message compiled by the terminal is encapsulated as relay layer data signaling (RP-Data) at the SM-RL layer, and then encapsulated as control layer data signaling (CP-Data) at the CM sublayer layer. MSC is mobile exchange, MS is mobile terminal, SMR is short message relay, SMC is short message connection management, SM-RP protocol is short message relay protocol, SM-CP protocol is short message connection management protocol, and SMS is (Short Message) short message.
SMS over SGs方案的业务流程可分为MO(Mobile Originating,移动终端发起)和MT(Mobile Terminating,移动终端接收)两种情况,MO SMS流程如图2所示,其中,EPS/IMSIattach procedure为EPS/IMSI附着过程,UE triggerd Service Request为终端触发的业务请求,Uplink NAS Transport为上行NAS直传,NAS为非接入层,Uplink Unitdata为上行单元数据,Forward Short Message为转发短信,Message transfer为消息转发,Deliveryreport为发送报告,Downlink Unitdata为下行单元数据,Downlink NAS Transport为下行NAS直传,Release Request为释放请求,HLR/HSS为归属位置寄存器/归属用户服务器;SMS-IWMSC为短消息服务互通移动交换中心,SC为短信中心,MSC/VLR为移动交换机/拜访位置寄存器,MME为移动性管理实体。The business process of the SMS over SGs solution can be divided into two cases: MO (Mobile Originating, mobile terminal initiation) and MT (Mobile Terminating, mobile terminal receiving). The MO SMS process is shown in Figure 2, where EPS/IMSIattach procedure is EPS /IMSI attach process, UE triggered Service Request is the service request triggered by the terminal, Uplink NAS Transport is the uplink NAS direct transmission, NAS is the non-access stratum, Uplink Unitdata is the uplink unit data, Forward Short Message is the forwarding of short messages, and Message transfer is the message Forwarding, Deliveryreport is the sending report, Downlink Unitdata is the downlink unit data, Downlink NAS Transport is the downlink NAS direct transmission, Release Request is the release request, HLR/HSS is the home location register/home user server; SMS-IWMSC is the short message service interworking mobile Switching center, SC is short message center, MSC/VLR is mobile exchange/visited location register, MME is mobility management entity.
对应于图2,终端处于空闲态情况下的完整流程如下:Corresponding to Figure 2, the complete process when the terminal is in an idle state is as follows:
21、终端完成联合EPS/IMSI附着过程。21. The terminal completes the joint EPS/IMSI attach process.
22、终端发起短信业务请求。22. The terminal initiates a short message service request.
23、终端编制短信在SM-RL层封装为RP-Data,然后在CM sublayer层封装为CP-Data,最后封装在非接入层(NAS)消息里发往MME。23. The short message prepared by the terminal is encapsulated as RP-Data at the SM-RL layer, then encapsulated as CP-Data at the CM sublayer layer, and finally encapsulated in a non-access stratum (NAS) message and sent to the MME.
24、MME向MSC/VLR发送上行单元数据(Uplink Unitdata)消息,将短信传递给MSC/VLR。24. The MME sends an Uplink Unitdata (Uplink Unitdata) message to the MSC/VLR, and delivers the short message to the MSC/VLR.
24a、MSC/VLR发送下行单元数据(Downlink Unitdata)消息,向终端确认短信的接收。24a. The MSC/VLR sends a downlink unit data (Downlink Unitdata) message to confirm the receipt of the short message to the terminal.
25-28、短信被发送至短信中心处理,并返回发送报告,发送报告在SM-RL层封装为中继层正确应答信令(RP-Ack)。25-28. The short message is sent to the short message center for processing, and a sending report is returned. The sending report is encapsulated in the SM-RL layer as a relay layer correct response signaling (RP-Ack).
29、MSC/VLR向MME转发接收到的发送报告。29. The MSC/VLR forwards the received transmission report to the MME.
210、MME将发送报告封装为NAS消息,并发给终端。210. The MME encapsulates the sending report into a NAS message, and sends it to the terminal.
211-212、终端向MSC/VLR确认发送报告的接收。211-212, the terminal confirms the receipt of the sending report to the MSC/VLR.
213、MSC/VLR向MME发送释放请求消息,告知短信发送完毕。213. The MSC/VLR sends a release request message to the MME, informing that the sending of the short message is completed.
终端显示短信已发送成功的触发点是第210步当终端收到短信中心下发的CP-Data(封装RP-Ack),即Delivery Report时,只有当终端收到RP-ACK后终端才会显示短信发送成功。终端在第3步发送短信CP-Data(封装RP-Data)后,就会在SM-RL层启动45秒左右的定时器,等待接收短信中心下发的CP-Data(封装RP-Ack),若定时器超时还没有收到RP-Ack,则终端启动自动重发。The trigger point for the terminal to display that the SMS has been successfully sent is step 210. When the terminal receives the CP-Data (encapsulated RP-Ack), that is, the Delivery Report, sent by the SMS center, the terminal will display the message only after the terminal receives the RP-ACK. SMS sent successfully. After the terminal sends the SMS CP-Data (encapsulated RP-Data) in step 3, it will start a timer of about 45 seconds at the SM-RL layer, waiting to receive the CP-Data (encapsulated RP-Ack) sent by the SMS center. If the timer expires and the RP-Ack has not been received, the terminal starts automatic retransmission.
二.LTE异系统重定向2. LTE inter-system redirection
LTE网络需要通过与2G、3G间互操作,解决LTE网络覆盖不足、初期部分业务不支持和网络间负载均衡等需求。当LTE终端处于连接态时,可以通过重定向方式接入3G网络:网络侧为终端指示目标网络信息,如频点等,终端在网络的帮助下在目标网络进行接入。The LTE network needs to interoperate with 2G and 3G to solve the needs of insufficient LTE network coverage, unsupported initial services, and load balancing between networks. When the LTE terminal is in the connected state, it can access the 3G network through redirection: the network side indicates target network information, such as frequency points, to the terminal, and the terminal accesses the target network with the help of the network.
LTE到3G重定向信令流程如图3所示,其中,RRC Connection Reconfiguration(MeasConfig)为RRC连接重配置(携带测量配置),Measurement Report为测量报告,Redirect to EUTRAN determined by NW为由网络决定重定向到EUTRAN,RRC ConnectionRelease(RedirectedCarrierInfo)为RRC连接释放(携带重定向频点信息),4G to 3Greselection procedure为4G到3G的小区重选过程,S1Release为S1接口释放,Servicerequest为业务请求,RAB Assignment Request为RAB指派请求,RAB Assignment Response为RAB指派响应,Update PDP Request为更新PDP上下文请求,Update PDP Response为更新PDP上下文响应;The LTE to 3G redirection signaling process is shown in Figure 3, where RRC Connection Reconfiguration (MeasConfig) is the RRC connection reconfiguration (carries the measurement configuration), Measurement Report is the measurement report, and Redirect to EUTRAN determined by NW is determined by the network. Directed to EUTRAN, RRC ConnectionRelease (RedirectedCarrierInfo) is RRC connection release (carries redirected frequency information), 4G to 3Greselection procedure is 4G to 3G cell reselection procedure, S1Release is S1 interface release, Servicerequest is service request, RAB Assignment Request For the RAB assignment request, the RAB Assignment Response is the RAB assignment response, the Update PDP Request is the update PDP context request, and the Update PDP Response is the update PDP context response;
RAB为无线接入承载,PDP为分组数据协议,GnGp SGSN为基于Gn接口、Gp接口的服务GPRS支持节点,Serving Gw为服务网关,PDN GW为分组数据网关,HSS为归属用户服务器,RNC为无线网络控制器,UE为用户设备,eNodeB为基站。RAB is a wireless access bearer, PDP is a packet data protocol, GnGp SGSN is a serving GPRS support node based on Gn interface and Gp interface, Serving Gw is a serving gateway, PDN GW is a packet data gateway, HSS is a home user server, and RNC is a wireless The network controller, the UE is the user equipment, and the eNodeB is the base station.
具体步骤说明如下:The specific steps are described as follows:
31、eNodeB给UE下发测量控制,即RRC Connection Reconfiguration消息(携带异系统测量事件的配置);31. The eNodeB sends a measurement control, that is, an RRC Connection Reconfiguration message (carrying a configuration of measurement events of different systems) to the UE;
32、当测量的信号质量满足异系统事件门限时,UE向eNodeB发送异系统测量报告;32. When the measured signal quality meets the inter-system event threshold, the UE sends an inter-system measurement report to the eNodeB;
33、eNodeB进行重定向判决并向UE发送携带重定向信息的RRC connectionRelease消息;33. The eNodeB makes a redirection decision and sends an RRC connectionRelease message carrying redirection information to the UE;
34-316、4G到3G的小区重选过程;34-316, 4G to 3G cell reselection process;
317、eNodeB向MME发送UE Context Release Request消息;MME向eNodeB发送UEContext Release Command消息,释放S1连接;eNodeB返回UE Context Release Complete,S1连接释放成功;317. The eNodeB sends a UE Context Release Request message to the MME; the MME sends a UE Context Release Command message to the eNodeB to release the S1 connection; the eNodeB returns the UE Context Release Complete, and the S1 connection is released successfully;
318、UE向GnGp SGSN发送业务请求;318. The UE sends a service request to the GnGp SGSN;
319a、GnGp SGSN向RNC发送RAB指派请求;319a, the GnGp SGSN sends a RAB assignment request to the RNC;
319b、RNC向GnGp SGSN反馈RAB指派响应;319b, the RNC feeds back the RAB assignment response to the GnGp SGSN;
320a、GnGp SGSN向PDN GW发送更新PDP上下文请求;320a, the GnGp SGSN sends an update PDP context request to the PDN GW;
320b、PDN GW向GnGp SGSN反馈更新PDP上下文响应。320b, the PDN GW feeds back the update PDP context response to the GnGp SGSN.
另外,众所周知在一些异常场景下会出现终端收不到RP-Ack导致重发短信的情况:In addition, it is well known that in some abnormal scenarios, the terminal cannot receive the RP-Ack, resulting in re-sending the text message:
场景一,上述的重定向场景,例如LTE到3G/2G的重定向场景,当LTE终端发送短信控制层数据信令CP-Data(封装中继层数据信令RP-Data)后立即发生LTE到3G/2G的重定向时,网络无法将RP-Ack下发给终端,具体为:重定向过程中,终端收到eNB下发的RRCconnection Release消息释放RRC连接,接入3G/2G网络,而前转短信的MSC不知道RAT改变,收到SMSC的下行消息(RP-Ack)向MME下发,而MME因重定向过程释放了连接,MME无终端的上下文context,导致无法下发RP-Ack给终端,如图4所示。对于LTE系统内基站间的重定向,也有类似情况,由于RRC连接释放导致MME无法下发RP-Ack给终端。Scenario 1, the above redirection scenario, such as the redirection scenario from LTE to 3G/2G, occurs immediately after the LTE terminal sends the SMS control layer data signaling CP-Data (encapsulation relay layer data signaling RP-Data). During 3G/2G redirection, the network cannot deliver the RP-Ack to the terminal. Specifically, during the redirection process, the terminal receives the RRCconnection Release message sent by the eNB to release the RRC connection and access the 3G/2G network. The MSC that transfers the SMS does not know the RAT change, and receives the downlink message (RP-Ack) from the SMSC and sends it to the MME, but the MME releases the connection due to the redirection process. terminal, as shown in Figure 4. For the redirection between base stations in the LTE system, there is a similar situation. Due to the RRC connection release, the MME cannot deliver the RP-Ack to the terminal.
场景二,脱网场景,当LTE终端发送短信CP-Data(封装RP-Data)后立即发生脱网时,RRC连接自动释放,如图4所示,由于终端和网络失去连接,网络无法将RP-Ack下发给终端。Scenario 2, off-network scenario, when the LTE terminal sends the short message CP-Data (encapsulated with RP-Data) and immediately goes off the network, the RRC connection is automatically released, as shown in Figure 4, because the terminal and the network lose connection, the network cannot -Ack is sent to the terminal.
对于这些异常场景,目前业界的实现方案是终端在发送短信CP-Data(封装RP-Data)后,就会在SM-RL层启动45秒左右的定时器,等待接收短信中心下发的CP-Data(封装中继层正确应答信令RP-Ack),若定时器超时还没有收到RP-Ack,则终端启动自动重发,导致短信发送延迟较长,用户发出短信后需要等待一分钟或以上短信才能发出(手机屏幕显示消息正在发送画面)。For these abnormal scenarios, the current implementation solution in the industry is that after the terminal sends SMS CP-Data (encapsulating RP-Data), it will start a timer of about 45 seconds at the SM-RL layer, waiting to receive the CP-Data sent by the SMS center. Data (encapsulation relay layer correct response signaling RP-Ack), if the timer expires and the RP-Ack has not been received, the terminal will start automatic retransmission, resulting in a long delay in sending the short message, and the user needs to wait for one minute or The above text messages can only be sent (the screen of the mobile phone shows the message is being sent).
发明内容SUMMARY OF THE INVENTION
本发明的目的在于提供一种自动重发短信的方法及终端,解决现有技术中在无线链路释放导致网络侧无法下发发送报告的场景下,终端发送短信延迟时间较长的问题。The purpose of the present invention is to provide a method and terminal for automatically resending a short message, which solves the problem of a long delay time for the terminal to send a short message in the scenario where the network side cannot send a transmission report due to the release of the wireless link in the prior art.
为了解决上述技术问题,本发明实施例提供一种自动重发短信的方法,包括:In order to solve the above technical problems, an embodiment of the present invention provides a method for automatically resending a short message, including:
向网络侧发送短信,并在预设时间段内等待网络侧反馈的发送报告;Send a short message to the network side, and wait for the sending report fed back by the network side within a preset time period;
在等待的过程中,若释放了无线链路,则在无线链路恢复后,重新发送短信。During the waiting process, if the wireless link is released, the short message will be resent after the wireless link is restored.
可选地,所述向网络侧发送短信,并在预设时间段内等待网络侧反馈的发送报告的步骤包括:Optionally, the step of sending a short message to the network side and waiting for a sending report fed back by the network side within a preset time period includes:
通过短信中继层将短信封装为中继层数据信令后,再通过连接管理子层封装为控制层数据信令,最后通过接入层封装为非接入层消息向网络侧发送;After the short message is encapsulated into relay layer data signaling through the SMS relay layer, it is then encapsulated into the control layer data signaling through the connection management sublayer, and finally encapsulated into the non-access layer message through the access layer and sent to the network side;
通过短信中继层启动等待网络侧反馈的中继层正确应答信令的定时器。A timer that waits for the correct response signaling of the relay layer fed back by the network side is started through the short message relay layer.
可选地,所述在等待的过程中,若释放了无线链路,则在无线链路恢复后,重新发送短信的步骤包括:Optionally, in the process of waiting, if the wireless link is released, after the wireless link is restored, the step of resending the short message includes:
在等待的过程中,若满足无线链路释放的预设条件,则通过接入层释放无线链路,并实时检测无线链路是否恢复;During the waiting process, if the preset conditions for the release of the wireless link are met, the wireless link is released through the access layer, and whether the wireless link is recovered in real time is detected;
在检测结果为是时,重新发送短信。When the test result is yes, resend the text message.
可选地,所述在等待的过程中,若满足无线链路释放的预设条件,则通过接入层释放无线链路的步骤包括:Optionally, during the waiting process, if a preset condition for releasing the wireless link is satisfied, the step of releasing the wireless link through the access layer includes:
在等待的过程中,若本小区的信号强度值小于或等于预设值,则通过接入层释放无线链路。During the waiting process, if the signal strength value of the local cell is less than or equal to the preset value, the wireless link is released through the access layer.
可选地,所述在等待的过程中,若本小区的信号强度值小于或等于预设值,则通过接入层释放无线链路的步骤包括:Optionally, during the waiting process, if the signal strength value of the local cell is less than or equal to the preset value, the step of releasing the radio link through the access layer includes:
在等待的过程中,若本小区的信号强度值小于邻系统或邻小区的信号强度值,则通过接入层向基站上报异系统或异频的测量报告,以使所述基站判决重定向;During the waiting process, if the signal strength value of the local cell is smaller than the signal strength value of the neighboring system or neighboring cell, the access layer reports the measurement report of the different system or the different frequency to the base station, so that the base station decides to redirect;
通过接入层接收所述基站根据所述测量报告下发的无线资源控制连接释放指令,并根据所述无线资源控制连接释放指令释放无线链路。The radio resource control connection release instruction issued by the base station according to the measurement report is received by the access layer, and the radio link is released according to the radio resource control connection release instruction.
可选地,所述在等待的过程中,若本小区的信号强度值小于或等于预设值,则通过接入层释放无线链路的步骤包括:Optionally, during the waiting process, if the signal strength value of the local cell is less than or equal to the preset value, the step of releasing the radio link through the access layer includes:
在等待的过程中,若本小区的信号强度值等于零,则通过接入层自动释放无线链路。During the waiting process, if the signal strength value of the local cell is equal to zero, the wireless link is automatically released through the access layer.
可选地,所述实时检测无线链路是否恢复的步骤具体为:Optionally, the step of detecting whether the wireless link is recovered in real time is specifically:
实时检测是否搜索到满足条件的小区并驻留成功。Detect in real time whether a cell that meets the conditions is found and the camping is successful.
可选地,在释放了无线链路之后,在无线链路恢复之前,所述方法还包括:Optionally, after the wireless link is released, and before the wireless link is restored, the method further includes:
停止等待网络侧反馈的发送报告。Stop waiting for the sending report fed back by the network side.
可选地,所述停止等待网络侧反馈的发送报告的步骤包括:Optionally, the step of stopping waiting for the sending report fed back by the network side includes:
通过接入层生成无线链路释放通知;Generate a radio link release notification through the access layer;
通过短信中继层根据所述无线链路释放通知停止等待网络侧反馈的发送报告。The short message relay layer stops waiting for the sending report fed back by the network side according to the wireless link release notification.
可选地,所述在无线链路恢复后,重新发送短信的步骤包括:Optionally, after the wireless link is restored, the step of resending the short message includes:
在无线链路恢复后,通过接入层生成无线链路恢复通知;After the radio link is restored, a radio link restoration notification is generated through the access layer;
通过短信中继层根据所述无线链路恢复通知重新发送短信。The short message is resent by the short message relay layer according to the wireless link recovery notification.
本发明还提供了一种终端,包括:The present invention also provides a terminal, comprising:
短信发送模块,用于向网络侧发送短信,并在预设时间段内等待网络侧反馈的发送报告;The short message sending module is used to send short messages to the network side and wait for the sending report fed back by the network side within a preset time period;
短信重发模块,用于在等待的过程中,若释放了无线链路,则在无线链路恢复后,重新发送短信。The short message retransmission module is used to resend the short message after the wireless link is recovered if the wireless link is released during the waiting process.
可选地,所述短信发送模块包括:Optionally, the short message sending module includes:
第一处理子模块,用于通过短信中继层将短信封装为中继层数据信令后,再通过连接管理子层封装为控制层数据信令,最后通过接入层封装为非接入层消息向网络侧发送;The first processing submodule is used to encapsulate the short message into the relay layer data signaling through the short message relay layer, then encapsulate it into the control layer data signaling through the connection management sublayer, and finally encapsulate it into the non-access layer through the access layer. The message is sent to the network side;
启动子模块,用于通过短信中继层启动等待网络侧反馈的中继层正确应答信令的定时器。The starter submodule is used to start the timer of the relay layer's correct response signaling that is fed back by the network side through the short message relay layer.
可选地,所述短信重发模块包括:Optionally, the short message retransmission module includes:
第二处理子模块,用于在等待的过程中,若满足无线链路释放的预设条件,则通过接入层释放无线链路,并实时检测无线链路是否恢复;The second processing submodule is configured to release the wireless link through the access layer if the preset condition for releasing the wireless link is satisfied during the waiting process, and detect whether the wireless link is recovered in real time;
第一重发子模块,用于在检测结果为是时,重新发送短信。The first resending submodule is used to resend the short message when the detection result is yes.
可选地,所述第二处理子模块包括:Optionally, the second processing submodule includes:
第三处理子模块,用于在等待的过程中,若本小区的信号强度值小于或等于预设值,则通过接入层释放无线链路。The third processing submodule is configured to release the wireless link through the access layer if the signal strength value of the local cell is less than or equal to the preset value during the waiting process.
可选地,所述第三处理子模块包括:Optionally, the third processing submodule includes:
上报子模块,用于在等待的过程中,若本小区的信号强度值小于邻系统或邻小区的信号强度值,则通过接入层向基站上报异系统或异频的测量报告,以使所述基站判决重定向;The reporting sub-module is used to report the measurement report of the different system or the different frequency to the base station through the access layer if the signal strength value of the local cell is less than the signal strength value of the neighboring system or the neighboring cell during the waiting process, so that all The base station decides to redirect;
接收释放子模块,用于通过接入层接收所述基站根据所述测量报告下发的无线资源控制连接释放指令,并根据所述无线资源控制连接释放指令释放无线链路。The receiving and releasing sub-module is configured to receive, through the access layer, the radio resource control connection release instruction issued by the base station according to the measurement report, and release the radio link according to the radio resource control connection release instruction.
可选地,所述第三处理子模块包括:Optionally, the third processing submodule includes:
自动释放子模块,用于在等待的过程中,若本小区的信号强度值等于零,则通过接入层自动释放无线链路。The automatic release sub-module is used to automatically release the wireless link through the access layer if the signal strength value of the local cell is equal to zero during the waiting process.
可选地,所述第二处理子模块具体用于:Optionally, the second processing submodule is specifically used for:
实时检测是否搜索到满足条件的小区并驻留成功。Detect in real time whether a cell that meets the conditions is found and the camping is successful.
可选地,所述短信重发模块还用于在释放了无线链路之后,在无线链路恢复之前,停止等待网络侧反馈的发送报告。Optionally, the short message retransmission module is further configured to stop waiting for the sending report fed back by the network side before the wireless link is recovered after the wireless link is released.
可选地,所述短信重发模块包括:Optionally, the short message retransmission module includes:
第一生成子模块,用于通过接入层生成无线链路释放通知;a first generating submodule, configured to generate a radio link release notification through the access layer;
停止子模块,用于通过短信中继层根据所述无线链路释放通知停止等待网络侧反馈的发送报告。The stop sub-module is configured to stop waiting for the sending report fed back by the network side according to the wireless link release notification through the short message relay layer.
可选地,所述短信重发模块包括:Optionally, the short message retransmission module includes:
第二生成子模块,用于在无线链路恢复后,通过接入层生成无线链路恢复通知;The second generating submodule is configured to generate a wireless link recovery notification through the access layer after the wireless link is recovered;
第二重发子模块,用于通过短信中继层根据所述无线链路恢复通知重新发送短信。The second resending submodule is configured to resend the short message through the short message relay layer according to the wireless link recovery notification.
本发明的上述技术方案的有益效果如下:The beneficial effects of the above-mentioned technical solutions of the present invention are as follows:
上述方案中,所述自动重发短信的方法通过在发送短信后,预设时间段内等待网络侧反馈的发送报告的过程中,若释放了无线链路,则在无线链路恢复后,自动重新发送短信,不用再等待定时器的定时时间结束,大大缩短了短信重发的延迟时间,提高了用户体验。In the above solution, the method for automatically resending a short message is that after the short message is sent, in the process of waiting for the sending report fed back by the network side within a preset time period, if the wireless link is released, after the wireless link is restored, the automatic When resending a short message, there is no need to wait for the timer to expire, which greatly shortens the delay time for resending short messages and improves user experience.
附图说明Description of drawings
图1为现有技术的短信业务协议栈示意图;1 is a schematic diagram of a short message service protocol stack in the prior art;
图2为现有技术的MO SMS流程示意图;Fig. 2 is the MO SMS flow diagram of the prior art;
图3为现有技术的LTE到3G重定向信令流程示意图;Fig. 3 is a schematic diagram of a prior art LTE to 3G redirection signaling flow;
图4为现有技术的LTE终端收不到RP-Ack的场景示意图;4 is a schematic diagram of a scenario in which an LTE terminal in the prior art cannot receive an RP-Ack;
图5为本发明实施例一的自动重发短信的方法流程示意图;5 is a schematic flowchart of a method for automatically resending a short message according to Embodiment 1 of the present invention;
图6为本发明实施例二的自动重发短信的方法流程示意图;6 is a schematic flowchart of a method for automatically resending a short message according to Embodiment 2 of the present invention;
图7为本发明实施例三的自动重发短信的方法流程示意图;7 is a schematic flowchart of a method for automatically resending a short message according to Embodiment 3 of the present invention;
图8为本发明实施例四的终端结构示意图。FIG. 8 is a schematic structural diagram of a terminal according to Embodiment 4 of the present invention.
具体实施方式Detailed ways
为使本发明要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, the following will be described in detail with reference to the accompanying drawings and specific embodiments.
本发明针对现有的技术中在无线链路释放导致网络侧无法下发发送报告的场景下,终端发送短信延迟时间较长的问题,提供了多种解决方案,具体如下:The present invention provides a variety of solutions for the problem that the delay time for the terminal to send a short message is relatively long under the scenario that the network side cannot issue a transmission report due to the release of the wireless link in the prior art, and the details are as follows:
实施例一Example 1
如图5所示,本发明实施例一中自动重发短信的方法包括:As shown in FIG. 5 , the method for automatically resending a short message in Embodiment 1 of the present invention includes:
步骤51:向网络侧发送短信,并在预设时间段内等待网络侧反馈的发送报告;Step 51: Send a short message to the network side, and wait for a sending report fed back by the network side within a preset time period;
步骤52:在等待的过程中,若释放了无线链路,则在无线链路恢复后,重新发送短信。Step 52: During the waiting process, if the wireless link is released, the short message is resent after the wireless link is recovered.
本发明实施例一提供的所述自动重发短信的方法通过在发送短信后,预设时间段内等待网络侧反馈的发送报告的过程中,若释放了无线链路,则在无线链路恢复后,自动重新发送短信,不用再等待定时器的定时时间结束,大大缩短了短信重发的延迟时间,提高了用户体验。The method for automatically resending a short message provided by the first embodiment of the present invention is that after the short message is sent, in the process of waiting for the sending report fed back by the network side within a preset time period, if the wireless link is released, the wireless link is restored when the wireless link is restored. After the message is sent, the short message is automatically resent, and there is no need to wait for the timing of the timer to end, which greatly shortens the delay time for resending the short message and improves the user experience.
其中,“在等待的过程中”表明是在针对接收网络侧反馈的发送报告设定的定时器未超时的情况下。Wherein, "in the process of waiting" indicates that the timer set for receiving the transmission report fed back by the network side has not timed out.
具体的,所述向网络侧发送短信,并在预设时间段内等待网络侧反馈的发送报告的步骤包括:通过短信中继层将短信封装为中继层数据信令后,再通过连接管理子层封装为控制层数据信令,最后通过接入层封装为非接入层消息向网络侧发送;通过短信中继层启动等待网络侧反馈的中继层正确应答信令的定时器。Specifically, the step of sending a short message to the network side and waiting for a sending report fed back by the network side within a preset time period includes: after encapsulating the short message into relay layer data signaling through the short message relay layer, and then using the connection management The sublayer is encapsulated into control layer data signaling, and finally encapsulated into a non-access layer message through the access layer and sent to the network side; the short message relay layer starts a timer that waits for the correct response signaling of the relay layer fed back by the network side.
其中,所述在等待的过程中,若释放了无线链路,则在无线链路恢复后,重新发送短信的步骤包括:在等待的过程中,若满足无线链路释放的预设条件,则通过接入层释放无线链路,并实时检测无线链路是否恢复;在检测结果为是时,重新发送短信。Wherein, if the wireless link is released during the waiting process, after the wireless link is restored, the step of resending the short message includes: during the waiting process, if the preset conditions for releasing the wireless link are satisfied, then Release the wireless link through the access layer, and detect whether the wireless link is recovered in real time; when the detection result is yes, re-send the short message.
具体的,所述在等待的过程中,若满足无线链路释放的预设条件,则通过接入层释放无线链路的步骤包括:在等待的过程中,若本小区的信号强度值小于或等于预设值,则通过接入层释放无线链路。Specifically, during the waiting process, if the preset conditions for releasing the radio link are met, the step of releasing the wireless link through the access layer includes: during the waiting process, if the signal strength value of the local cell is less than or equal to If it is equal to the preset value, the wireless link is released through the access layer.
对应于重定向的情况,所述在等待的过程中,若本小区的信号强度值小于或等于预设值,则通过接入层释放无线链路的步骤包括:在等待的过程中,若本小区的信号强度值小于邻系统或邻小区的信号强度值,则通过接入层向基站上报异系统或异频的测量报告,以使所述基站判决重定向;通过接入层接收所述基站根据所述测量报告下发的无线资源控制连接释放指令,并根据所述无线资源控制连接释放指令释放无线链路。Corresponding to the situation of redirection, in the waiting process, if the signal strength value of the local cell is less than or equal to the preset value, the step of releasing the wireless link through the access layer includes: in the waiting process, if the local cell If the signal strength value of the cell is smaller than the signal strength value of the adjacent system or adjacent cell, the measurement report of the different system or frequency is reported to the base station through the access layer, so that the base station decides to redirect; the base station receives the base station through the access layer. Release the radio link according to the radio resource control connection release instruction issued according to the measurement report, and release the radio link according to the radio resource control connection release instruction.
对应于脱网的情况,所述在等待的过程中,若本小区的信号强度值小于或等于预设值,则通过接入层释放无线链路的步骤包括:在等待的过程中,若本小区的信号强度值等于零,则通过接入层自动释放无线链路。Corresponding to the case of disconnection, in the waiting process, if the signal strength value of the local cell is less than or equal to the preset value, the step of releasing the wireless link through the access layer includes: in the waiting process, if the local cell is If the signal strength value of the cell is equal to zero, the wireless link is automatically released through the access layer.
其中,所述实时检测无线链路是否恢复的步骤具体为:实时检测是否搜索到满足条件的小区并驻留成功。The step of detecting whether the wireless link is recovered in real time is specifically: detecting in real time whether a cell that satisfies the conditions is searched and the camping is successful.
具体的,所述在无线链路恢复后,重新发送短信的步骤包括:在无线链路恢复后,通过接入层生成无线链路恢复通知;通过短信中继层根据所述无线链路恢复通知重新发送短信。Specifically, the step of resending the short message after the wireless link is restored includes: after the wireless link is restored, generating a wireless link recovery notification through the access layer; and using the short message relay layer according to the wireless link recovery notification Resend the text message.
实施例二Embodiment 2
如图6所示,本发明实施例二中自动重发短信的方法包括:As shown in FIG. 6 , the method for automatically resending a short message in Embodiment 2 of the present invention includes:
步骤61:向网络侧发送短信,并在预设时间段内等待网络侧反馈的发送报告;Step 61: Send a short message to the network side, and wait for a sending report fed back by the network side within a preset time period;
步骤62:在等待的过程中,若释放了无线链路,则停止等待网络侧反馈的发送报告,并在无线链路恢复后,重新发送短信。Step 62: During the waiting process, if the wireless link is released, stop waiting for the sending report fed back by the network side, and resend the short message after the wireless link is restored.
本发明实施例二提供的所述自动重发短信的方法通过在发送短信后,预设时间段内等待网络侧反馈的发送报告的过程中,若释放了无线链路,则停止等待网络侧反馈的发送报告,并在无线链路恢复后,自动重新发送短信,不用再等待定时器的定时时间结束,大大缩短了短信重发的延迟时间,并且避免了发生无线链路恢复后定时器超时再次重复发送短信的情况,高质量的满足了用户需求,提高了用户体验。The method for automatically resending a short message provided by the second embodiment of the present invention stops waiting for the network side feedback if the wireless link is released during the process of waiting for the sending report fed back by the network side within a preset time period after sending the short message After the wireless link is restored, it will automatically resend the short message without waiting for the timer to expire, which greatly shortens the delay time of the short message resending, and avoids the occurrence of the timer timeout again after the wireless link is restored. In the case of repeatedly sending short messages, the high-quality requirements of users are met, and the user experience is improved.
具体的,所述停止等待网络侧反馈的发送报告的步骤包括:通过接入层生成无线链路释放通知;通过短信中继层根据所述无线链路释放通知停止等待网络侧反馈的发送报告。Specifically, the step of stopping waiting for the transmission report fed back by the network side includes: generating a radio link release notification through the access layer; and stopping waiting for the transmission report fed back by the network side through the short message relay layer according to the radio link release notification.
本发明实施例二的方案中除“停止等待网络侧反馈的发送报告”外的其他步骤均可采用与实施例一一致的实现实施例。In the solution of the second embodiment of the present invention, the other steps except "stop waiting for the sending report fed back by the network side" may adopt the implementation embodiment consistent with the first embodiment.
实施例三Embodiment 3
如图7所示,本发明实施例三中自动重发短信的方法包括:As shown in FIG. 7 , the method for automatically resending a short message in Embodiment 3 of the present invention includes:
步骤71:终端的SM-RL层将短信封装在RP-Data后,交给CM-sublayer层由底层发出,并启动等待RP-ACK的定时器;Step 71: After the SM-RL layer of the terminal encapsulates the short message in RP-Data, it is sent to the CM-sublayer layer by the bottom layer, and a timer waiting for RP-ACK is started;
步骤72:判断在定时器期间,是否收到RP-ACK,若否,进入步骤74,若是,进入步骤73;Step 72: Determine whether the RP-ACK is received during the timer period, if not, go to
步骤73:终端显示发送短信成功;Step 73: The terminal displays that the sending of the short message is successful;
步骤74:判断在等待定时器期间,是否出现终端的AS层通知SM-RL层无线链路释放,若是,进入步骤76,若否,进入步骤75;Step 74: Determine whether the AS layer of the terminal notifies the SM-RL layer of the release of the radio link during the waiting timer period, if yes, go to
步骤75:等待定时器超时,返回步骤71;Step 75: Wait for the timer to expire, and return to
步骤76:终端的SM-RL层停止等待RP-ACK的定时器;Step 76: The SM-RL layer of the terminal stops the timer waiting for the RP-ACK;
步骤77:终端重新成功驻留小区后,终端的AS层上报给SM-RL层,通知无线链路恢复,返回步骤71。Step 77: After the terminal successfully camps on the cell again, the AS layer of the terminal reports to the SM-RL layer to notify the radio link recovery, and returns to step 71.
由上可知,本发明针对在无线链路释放导致网络无法下发RP-Ack的场景下,终端发送短信延迟较长的问题,提出了一种通过建立AS层和SM-RL层的交互,实现终端自动重发短信的机制。As can be seen from the above, the present invention proposes a method by establishing the interaction between the AS layer and the SM-RL layer to realize the problem that the terminal sends a short message with a long delay in the scenario where the network cannot deliver the RP-Ack due to the release of the wireless link. The mechanism for the terminal to automatically resend SMS messages.
方案概括来说就是,当终端发送短信后未收到短信中心下发的发送报告时,若发生无线链路释放,则终端停止等待发送报告,并在无线链路恢复后立即自动重发短信。无线链路释放的场景可以是但不限于LTE到3G/2G的重定向,或者是LTE系统内基站间的重定向,或者是脱网场景。In general, when the terminal sends a short message and does not receive the sending report from the SMS center, if the wireless link is released, the terminal stops waiting for the sending report, and automatically resends the short message immediately after the wireless link is restored. The scenario of wireless link release may be, but not limited to, redirection from LTE to 3G/2G, or redirection between base stations in an LTE system, or an offline scenario.
下面针对不同的场景对本发明实施例三提供的方案进行举例说明。The solution provided by Embodiment 3 of the present invention is illustrated below with respect to different scenarios.
场景一、LTE到3G/2G的重定向,或者是LTE系统内基站间的重定向Scenario 1. Redirection from LTE to 3G/2G, or redirection between base stations in the LTE system
1)终端的SM-RL层将短信封装在RP-Data后,交给CM sublayer层由底层(AS层)发出,并由SM-RL层启动等待RP-Ack的定时器,判断在定时器期间是否收到RP-Ack;1) After the SM-RL layer of the terminal encapsulates the short message in RP-Data, it is handed over to the CM sublayer layer to be sent by the bottom layer (AS layer), and the SM-RL layer starts the timer waiting for the RP-Ack, and judges that the timer is during the timer period. Whether RP-Ack is received;
2)基站根据AS层在本小区信号弱、邻系统或邻小区的信号强时,上报的异系统/异频测量报告判决重定向,可以是LTE到3G/2G的重定向,或者是LTE系统内基站间的重定向,下发RRC Connection Release无线资源控制连接释放消息给AS层;2) The base station decides to redirect according to the inter-system/inter-frequency measurement report reported by the AS layer when the signal of the local cell is weak, the signal of the adjacent system or the adjacent cell is strong, which can be the redirection of LTE to 3G/2G, or the LTE system For redirection between intra-base stations, the RRC Connection Release radio resource control connection release message is sent to the AS layer;
3)AS层收到RRC Connection Release消息后释放RRC连接;3) The AS layer releases the RRC connection after receiving the RRC Connection Release message;
4)AS层上报给SM-RL层,通知无线链路释放;4) The AS layer reports to the SM-RL layer to notify the radio link release;
5)SM-RL层判断定时器未超时,且还没有收到RP-Ack,则停止等待RP-Ack的定时器;5) The SM-RL layer judges that the timer has not timed out and has not received the RP-Ack, then stops the timer waiting for the RP-Ack;
6)若是LTE到3G/2G的重定向,终端AS层搜索到3G/2G小区并驻留成功后,上报给SM-RL层,通知无线链路恢复;若是LTE系统内基站间的重定向,终端AS层搜索到LTE小区并驻留成功后,上报给SM-RL层,通知无线链路恢复;6) In the case of redirection from LTE to 3G/2G, after the terminal AS layer searches for a 3G/2G cell and successfully camps on it, it reports to the SM-RL layer to notify the radio link recovery; if it is redirection between base stations in the LTE system, After the terminal AS layer searches for the LTE cell and successfully camps on it, it reports to the SM-RL layer to notify the radio link recovery;
7)终端的SM-RL层重新将短信封装在RP-Data后,交给CM sublayer层由底层(AS层)发出。7) After the SM-RL layer of the terminal re-encapsulates the short message in RP-Data, it is handed over to the CM sublayer layer to be sent by the bottom layer (AS layer).
场景二、脱网场景Scenario 2. Off-net scenario
1)终端的SM-RL层将短信封装在RP-Data后,交给CM sublayer层由底层(AS层)发出,并由SM-RL层启动等待RP-Ack的定时器;1) After the SM-RL layer of the terminal encapsulates the short message in the RP-Data, it is sent to the CM sublayer layer by the bottom layer (AS layer), and the SM-RL layer starts the timer waiting for the RP-Ack;
2)终端AS层失步(收不到信号,跟踪不到下行信号)导致无线链路失败,AS层自动释放RRC连接,进入脱网状态;2) The terminal AS layer loses synchronization (can not receive the signal, and cannot track the downlink signal), causing the wireless link to fail, and the AS layer automatically releases the RRC connection and enters the off-network state;
3)终端的AS层上报给SM-RL层,通知无线链路释放;3) The AS layer of the terminal reports to the SM-RL layer to notify the radio link release;
4)SM-RL层判断定时器未超时,且还没有收到RP-Ack,则停止等待RP-Ack的定时器;4) The SM-RL layer determines that the timer has not expired and the RP-Ack has not been received, and then stops the timer waiting for the RP-Ack;
5)当终端AS层搜索到合适小区并驻留成功后,上报给SM-RL层,通知无线链路恢复;5) After the terminal AS layer searches for a suitable cell and successfully camps on it, it reports to the SM-RL layer to notify the radio link recovery;
6)终端的SM-RL层重新将短信封装在RP-Data后,交给CM sublayer层由底层(AS层)发出。6) After the SM-RL layer of the terminal re-encapsulates the short message in RP-Data, it is handed over to the CM sublayer layer to be sent by the bottom layer (AS layer).
本发明实施例三提供的方案从缩短重发短信延迟时间的角度出发,不用等待接收RP-Ack的定时器超时,在重定向完成或脱网消失后终端可以立即重发短信,较大的缩短了重发短信延迟时间(缩短了几十秒以上),改善了用户体验。The solution provided by the third embodiment of the present invention is from the perspective of shortening the delay time of re-sending a short message, without waiting for the timer for receiving the RP-Ack to expire, and the terminal can immediately re-send the short message after the redirection is completed or the disconnection disappears, which greatly shortens the time. The delay time for resending SMS messages is shortened by more than tens of seconds, and the user experience is improved.
本发明实施例三提供的方案可适用于LTE终端、3G终端和2G终端。The solution provided by the third embodiment of the present invention is applicable to LTE terminals, 3G terminals and 2G terminals.
实施例四Embodiment 4
如图8所示,本发明实施例四中终端包括:As shown in FIG. 8 , the terminal in Embodiment 4 of the present invention includes:
短信发送模块81,用于向网络侧发送短信,并在预设时间段内等待网络侧反馈的发送报告;A short
短信重发模块82,用于在等待的过程中,若释放了无线链路,则在无线链路恢复后,重新发送短信。The short
本发明实施例四提供的所述终端通过在发送短信后,预设时间段内等待网络侧反馈的发送报告的过程中,若释放了无线链路,则在无线链路恢复后,自动重新发送短信,不用再等待定时器的定时时间结束,大大缩短了短信重发的延迟时间,提高了用户体验。The terminal provided in Embodiment 4 of the present invention automatically re-sends the wireless link after the wireless link is recovered after the wireless link is released during the process of waiting for the sending report fed back by the network side within a preset time period after sending the short message. For SMS, there is no need to wait for the end of the timer, which greatly shortens the delay time of SMS retransmission and improves the user experience.
其中,“在等待的过程中”表明是在针对接收网络侧反馈的发送报告设定的定时器未超时的情况下。Wherein, "in the process of waiting" indicates that the timer set for receiving the transmission report fed back by the network side has not timed out.
具体的,所述短信发送模块包括:第一处理子模块,用于通过短信中继层将短信封装为中继层数据信令后,再通过连接管理子层封装为控制层数据信令,最后通过接入层封装为非接入层消息向网络侧发送;启动子模块,用于通过短信中继层启动等待网络侧反馈的中继层正确应答信令的定时器。Specifically, the short message sending module includes: a first processing submodule for encapsulating the short message into relay layer data signaling through the short message relay layer, and then encapsulating it into control layer data signaling through the connection management sublayer, and finally The access layer is encapsulated as a non-access layer message and sent to the network side; the activation submodule is used to start a timer waiting for the relay layer correct response signaling fed back by the network side through the short message relay layer.
其中,所述短信重发模块包括:第二处理子模块,用于在等待的过程中,若满足无线链路释放的预设条件,则通过接入层释放无线链路,并实时检测无线链路是否恢复;Wherein, the short message retransmission module includes: a second processing sub-module, configured to release the wireless link through the access layer if the preset conditions for releasing the wireless link are met during the waiting process, and detect the wireless link in real time whether the road is restored;
第一重发子模块,用于在检测结果为是时,重新发送短信。The first resending submodule is used to resend the short message when the detection result is yes.
具体的,所述第二处理子模块包括:第三处理子模块,用于在等待的过程中,若本小区的信号强度值小于或等于预设值,则通过接入层释放无线链路。Specifically, the second processing sub-module includes: a third processing sub-module, configured to release the wireless link through the access layer if the signal strength value of the local cell is less than or equal to the preset value during the waiting process.
对应于重定向的情况,所述第三处理子模块包括:上报子模块,用于在等待的过程中,若本小区的信号强度值小于邻系统或邻小区的信号强度值,则通过接入层向基站上报异系统或异频的测量报告,以使所述基站判决重定向;接收释放子模块,用于通过接入层接收所述基站根据所述测量报告下发的无线资源控制连接释放指令,并根据所述无线资源控制连接释放指令释放无线链路。Corresponding to the situation of redirection, the third processing sub-module includes: a reporting sub-module, which is used in the waiting process, if the signal strength value of the local cell is smaller than the signal strength value of the neighboring system or the neighboring cell, then access The layer reports the measurement report of different systems or different frequencies to the base station, so that the base station decides to redirect; the receiving and releasing sub-module is used to receive, through the access layer, the radio resource control connection release issued by the base station according to the measurement report. instruction, and release the radio link according to the radio resource control connection release instruction.
对应于脱网的情况,所述第三处理子模块包括:自动释放子模块,用于在等待的过程中,若本小区的信号强度值等于零,则通过接入层自动释放无线链路。Corresponding to the off-network situation, the third processing sub-module includes: an automatic release sub-module for automatically releasing the wireless link through the access layer if the signal strength value of the local cell is equal to zero during the waiting process.
其中,所述第二处理子模块具体用于:实时检测是否搜索到满足条件的小区并驻留成功。Wherein, the second processing sub-module is specifically used for: detecting in real time whether a cell that satisfies the conditions is searched and the camping is successful.
避免了发生无线链路恢复后定时器超时再次重复发送短信的情况,高质量的满足了用户需求,所述短信重发模块还用于在释放了无线链路之后,在无线链路恢复之前,停止等待网络侧反馈的发送报告。It avoids the situation of repeating the sending of the short message after the timer expires after the wireless link is restored, and meets the needs of users with high quality. Stop waiting for the sending report fed back by the network side.
具体的,所述短信重发模块包括:第一生成子模块,用于通过接入层生成无线链路释放通知;停止子模块,用于通过短信中继层根据所述无线链路释放通知停止等待网络侧反馈的发送报告。Specifically, the short message retransmission module includes: a first generating sub-module for generating a wireless link release notification through the access layer; a stopping sub-module for stopping according to the wireless link release notification through the short message relay layer Wait for the sending report fed back by the network side.
详细的,所述短信重发模块包括:第二生成子模块,用于在无线链路恢复后,通过接入层生成无线链路恢复通知;第二重发子模块,用于通过短信中继层根据所述无线链路恢复通知重新发送短信。In detail, the short message retransmission module includes: a second generation submodule for generating a wireless link recovery notification through the access layer after the wireless link is recovered; a second retransmission submodule for relaying through the short message The layer resends the short message according to the wireless link recovery notification.
其中,上述自动重发短信的方法的所述实现实施例均适用于该终端的实施例中,也能达到相同的技术效果。Wherein, the above-mentioned implementation embodiments of the method for automatically resending a short message are all applicable to the embodiments of the terminal, and the same technical effect can also be achieved.
此说明书中所描述的许多功能部件都被称为模块/子模块,以便更加特别地强调其实现方式的独立性。Many of the functional components described in this specification are referred to as modules/sub-modules to more particularly emphasize the independence of their implementation.
本发明实施例中,模块/子模块可以用软件实现,以便由各种类型的处理器执行。举例来说,一个标识的可执行代码模块可以包括计算机指令的一个或多个物理或者逻辑块,举例来说,其可以被构建为对象、过程或函数。尽管如此,所标识模块的可执行代码无需物理地位于一起,而是可以包括存储在不同位里上的不同的指令,当这些指令逻辑上结合在一起时,其构成模块并且实现该模块的规定目的。In this embodiment of the present invention, the modules/sub-modules may be implemented in software so as to be executed by various types of processors. For example, an identified executable code module may comprise one or more physical or logical blocks of computer instructions, which may be structured as objects, procedures, or functions, for example. Nonetheless, the executable code of the identified module need not be physically located together, but may include different instructions stored in different bits that, when logically combined, constitute the module and implement the specification of the module Purpose.
实际上,可执行代码模块可以是单条指令或者是许多条指令,并且甚至可以分布在多个不同的代码段上,分布在不同程序当中,以及跨越多个存储器设备分布。同样地,操作数据可以在模块内被识别,并且可以依照任何适当的形式实现并且被组织在任何适当类型的数据结构内。所述操作数据可以作为单个数据集被收集,或者可以分布在不同位置上(包括在不同存储设备上),并且至少部分地可以仅作为电子信号存在于系统或网络上。In practice, an executable code module may be a single instruction or many instructions, and may even be distributed over multiple different code segments, among different programs, and across multiple memory devices. Likewise, operational data may be identified within modules, and may be implemented in any suitable form and organized within any suitable type of data structure. The operational data may be collected as a single data set, or may be distributed over different locations (including over different storage devices), and may exist at least in part only as electronic signals on a system or network.
在模块可以利用软件实现时,考虑到现有硬件工艺的水平,所以可以以软件实现的模块,在不考虑成本的情况下,本领域技术人员都可以搭建对应的硬件电路来实现对应的功能,所述硬件电路包括常规的超大规模集成(VLSI)电路或者门阵列以及诸如逻辑芯片、晶体管之类的现有半导体或者是其它分立的元件。模块还可以用可编程硬件设备,诸如现场可编程门阵列、可编程阵列逻辑、可编程逻辑设备等实现。When a module can be implemented by software, considering the level of existing hardware technology, a module that can be implemented by software, regardless of cost, can build corresponding hardware circuits to implement corresponding functions. The hardware circuits include conventional very large scale integration (VLSI) circuits or gate arrays as well as off-the-shelf semiconductors such as logic chips, transistors, or other discrete components. A module may also be implemented in programmable hardware devices, such as field programmable gate arrays, programmable array logic, programmable logic devices, and the like.
以上所述的是本发明的优选实施方式,应当指出对于本技术领域的普通人员来说,在不脱离本发明所述原理前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above are the preferred embodiments of the present invention. It should be pointed out that for those skilled in the art, several improvements and modifications can be made without departing from the principles of the present invention, and these improvements and modifications should also be considered as It is the protection scope of the present invention.
Claims (16)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510449781.7A CN106412859B (en) | 2015-07-28 | 2015-07-28 | A method and terminal for automatically resending a short message |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510449781.7A CN106412859B (en) | 2015-07-28 | 2015-07-28 | A method and terminal for automatically resending a short message |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106412859A CN106412859A (en) | 2017-02-15 |
| CN106412859B true CN106412859B (en) | 2020-01-17 |
Family
ID=58009074
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510449781.7A Active CN106412859B (en) | 2015-07-28 | 2015-07-28 | A method and terminal for automatically resending a short message |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106412859B (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107277786B (en) * | 2017-05-26 | 2020-04-10 | Oppo广东移动通信有限公司 | Short message processing method, mobile terminal and storage medium |
| US10271185B1 (en) | 2017-10-20 | 2019-04-23 | Mediatek Singapore Pte. Ltd. | Method and apparatus for short message service re-transmission in mobile communications |
| CN108134989B (en) * | 2017-12-21 | 2021-04-27 | Oppo广东移动通信有限公司 | Method and device for detecting LTE network residency result, and computer storage medium |
| CN109769272B (en) * | 2018-11-22 | 2021-04-16 | 京信通信系统(中国)有限公司 | Method and device for sending customized information, computer storage medium and equipment |
| CN109688621A (en) * | 2019-02-27 | 2019-04-26 | 武汉虹信通信技术有限责任公司 | A kind of redirection localization method and device |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100727398B1 (en) * | 2006-04-18 | 2007-06-12 | 삼성전자주식회사 | Method for controlling transmission of short message during handover in mobile communication terminal |
| CN102316426A (en) * | 2010-07-09 | 2012-01-11 | 中国移动通信集团广东有限公司 | Short message retransmission method and network equipment |
| CN102783191B (en) * | 2011-06-14 | 2016-01-20 | 华为技术有限公司 | Method and the terminal of note is sent after terminal switch |
| CN103188751B (en) * | 2011-12-30 | 2015-07-22 | 联芯科技有限公司 | Method and system of improving call completing rate of mobile communication terminal |
-
2015
- 2015-07-28 CN CN201510449781.7A patent/CN106412859B/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| CN106412859A (en) | 2017-02-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102340754B (en) | Data transmission and receiving methods and equipment | |
| JP4985880B2 (en) | Communication method, mobile network system and apparatus | |
| KR102241735B1 (en) | Methods and apparatuses for storage of UE contexts in a radio access network for inactive user equipments | |
| KR102344162B1 (en) | Dedicated Bearer Deployment Method, Mobility Management Entity and Packet Data Network Gateway | |
| US10448297B2 (en) | Network node, mobile terminal, base station and methods performed therein | |
| CN106412859B (en) | A method and terminal for automatically resending a short message | |
| US10912141B2 (en) | Method for establishing a communication and communication device | |
| US9596635B2 (en) | Method and apparatus for releasing delay tolerant access user equipment in wireless communication system | |
| JP2019503114A (en) | Lightweight RRC connection setup in multi-RAT network | |
| JP2020511869A (en) | Radio resource configuration method and apparatus, user equipment, and network element | |
| RU2670602C9 (en) | Mobile communication system, sgw, terminal, method of receiving mobile communication system, method of receiving sgw and method of receiving terminal | |
| KR20140136463A (en) | Method to use existing nas signaling connection for pending uplink signaling/data after tau accept | |
| CN109429348B (en) | Data processing method, mobility management equipment and terminal equipment | |
| EP4566417A1 (en) | Apparatus, method, and computer program | |
| CN102301755B (en) | SMS transport resource control | |
| WO2019140561A1 (en) | Handover method and apparatus, and computer storage medium | |
| GB2511540A (en) | Wireless communication system and method | |
| KR101451419B1 (en) | Method for redirecting network, base station and mobile terminal for performing the same | |
| US8274982B2 (en) | Method for packet data session release in ultra mobile broadband access network | |
| CN115152270A (en) | A method for service continuity | |
| KR20130131772A (en) | Method and apparatus of processing csfb service for improving voice call success rate |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |