CN106412859A - Short message automatic resending method and terminal - Google Patents
Short message automatic resending method and terminal Download PDFInfo
- Publication number
- CN106412859A CN106412859A CN201510449781.7A CN201510449781A CN106412859A CN 106412859 A CN106412859 A CN 106412859A CN 201510449781 A CN201510449781 A CN 201510449781A CN 106412859 A CN106412859 A CN 106412859A
- Authority
- CN
- China
- Prior art keywords
- wireless link
- note
- layer
- network side
- waiting
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 77
- 230000008569 process Effects 0.000 claims description 43
- 230000005540 biological transmission Effects 0.000 claims description 27
- 230000011664 signaling Effects 0.000 claims description 26
- 238000011084 recovery Methods 0.000 claims description 19
- 238000005259 measurement Methods 0.000 claims description 18
- 238000012545 processing Methods 0.000 claims description 18
- 230000004044 response Effects 0.000 claims description 12
- 238000011897 real-time detection Methods 0.000 claims 5
- 230000001143 conditioned effect Effects 0.000 claims 3
- 238000007726 management method Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 7
- 238000001514 detection method Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000002159 abnormal effect Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 2
- 230000009365 direct transmission 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
- 238000012546 transfer Methods 0.000 description 2
- 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
- 230000001960 triggered effect Effects 0.000 description 1
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 a 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; In , if the wireless link is released, the short message will be sent again after the wireless link is restored. The scheme provided by the present invention waits for the sending report fed back by the network side within a preset period of time after sending the short message. If the wireless link is released, the short message is automatically resent after the wireless link is restored without waiting. When the timing time of the timer ends, the delay time for resending the short message is greatly shortened, and the user experience is improved.
Description
技术领域technical field
本发明涉及无线技术领域,特别是指一种自动重发短信的方法及终端。The invention relates to the field of wireless technology, in particular to a method and terminal for automatically resending short messages.
背景技术Background technique
针对现有技术中短信的发送以及重发情况介绍如下:For the sending and resending of short messages in the prior art, the introduction is as follows:
一.电路域回落(CSFB)手机的短信发送机制1. Short message sending mechanism of circuit domain fallback (CSFB) mobile phone
LTE(Long Term Evolution)作为3G后续演进技术以其高数据速率、低时延、灵活的带宽配置等独特技术优势,被业界公认为是下一代移动通信的演进方向。2/3G时代短信业务在电路域承载,而LTE只有分组域,没有电路域,若要继续支持短信,需有特别方案支持。CSFB手机短信采用SMS over SGs(短信SMS通过移动交换中心和移动性管理实体之间的接口SGs传输)方案,SMSover 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 the next generation of mobile communications due to its unique technical advantages such as high data rate, low latency, and flexible bandwidth configuration. In the 2/3G era, SMS services are carried in the circuit domain, while LTE only has a packet domain and no circuit domain. To continue to support SMS, a special solution is required. The SMS over SGs (short message SMS is transmitted through the interface SGs between the mobile switching center and the mobility management entity) scheme is adopted for the CSFB mobile phone short message. The core idea of the SMSover SGs scheme is that LTE and the circuit domain cooperate to provide short messages, that is, the mobile phone is accessed by the LTE network. The routing and delivery of short messages is implemented by the circuit domain.
其中,短信业务协议栈如图1所示,可分为SM-AL(Short Message ApplicationLayer,短信应用层),SM-TL(Short Message Transfer Layer,短信传输层),SM-RL(Short Message Relay Layer,短信中继层),CM sublayer(ConnectionManagement sublayer,连接管理子层),AS layer(接入层)。终端编制短信在SM-RL层封装为中继层数据信令(RP-Data),然后在CM sublayer层封装为控制层数据信令(CP-Data)。MSC为移动交换机,MS为移动终端,SMR为短信中继,SMC为短信连接管理,SM-RP protocol为短信中继协议,SM-CP protocol为短信连接管理协议,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 (ConnectionManagement 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 a mobile switch, MS is a mobile terminal, SMR is a short message relay, SMC is a short message connection management, SM-RP protocol is a short message relay protocol, SM-CP protocol is a short message connection management protocol, and SMS is a (Short Message) short message.
SMS over SGs方案的业务流程可分为MO(Mobile Originating,移动终端发起)和MT(Mobile Terminating,移动终端接收)两种情况,MO SMS流程如图2所示,其中,EPS/IMSI attach procedure为EPS/IMSI附着过程,UE triggerdService Request为终端触发的业务请求,Uplink NAS Transport为上行NAS直传,NAS为非接入层,Uplink Unitdata为上行单元数据,Forward Short Message为转发短信,Message transfer为消息转发,Delivery report为发送报告,DownlinkUnitdata为下行单元数据,Downlink NAS Transport为下行NAS直传,ReleaseRequest为释放请求,HLR/HSS为归属位置寄存器/归属用户服务器;SMS-IWMSC为短消息服务互通移动交换中心,SC为短信中心,MSC/VLR为移动交换机/拜访位置寄存器,MME为移动性管理实体。The service 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 reception). The MO SMS process is shown in Figure 2, where the EPS/IMSI attach procedure is EPS/IMSI attachment process, UE triggeredService Request is the service request triggered by the terminal, Uplink NAS Transport is the uplink NAS direct transmission, NAS is the non-access layer, Uplink Unitdata is the uplink unit data, Forward Short Message is forwarding short messages, and Message transfer is message Forwarding, Delivery report is delivery report, DownlinkUnitdata is downlink unit data, Downlink NAS Transport is downlink NAS direct transmission, ReleaseRequest is release request, HLR/HSS is home location register/home subscriber server; SMS-IWMSC is short message service interworking mobile switching Center, SC is short message center, MSC/VLR is mobile exchange/visitor location register, MME is mobility management entity.
对应于图2,终端处于空闲态情况下的完整流程如下:Corresponding to Figure 2, the complete process when the terminal is in the 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 compiled 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 layer (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 transmits 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 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 returns a sending report, which is encapsulated at the SM-RL layer as relay layer correct response signaling (RP-Ack).
29、MSC/VLR向MME转发接收到的发送报告。29. The MSC/VLR forwards the received delivery 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 receipt of the transmission report to the MSC/VLR.
213、MSC/VLR向MME发送释放请求消息,告知短信发送完毕。213. The MSC/VLR sends a release request message to the MME, notifying 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) issued by the SMS center, that is, the Delivery Report, the terminal will only display it after receiving the RP-ACK. SMS sent successfully. After the terminal sends the short message CP-Data (encapsulated RP-Data) in step 3, it will start a timer on the SM-RL layer for about 45 seconds, waiting to receive the CP-Data (encapsulated RP-Ack) issued by the SMS center, If the timer expires and has not received the RP-Ack, the terminal starts automatic retransmission.
二.LTE异系统重定向2. LTE different system redirection
LTE网络需要通过与2G、3G间互操作,解决LTE网络覆盖不足、初期部分业务不支持和网络间负载均衡等需求。当LTE终端处于连接态时,可以通过重定向方式接入3G网络:网络侧为终端指示目标网络信息,如频点等,终端在网络的帮助下在目标网络进行接入。The LTE network needs to interoperate with 2G and 3G to solve the needs of insufficient coverage of the LTE network, lack of support for some services in the early stage, 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 the target network information for the terminal, such as frequency point, etc., and the terminal accesses the target network with the help of the network.
LTE到3G重定向信令流程如图3所示,其中,RRC ConnectionReconfiguration(MeasConfig)为RRC连接重配置(携带测量配置),MeasurementReport为测量报告,Redirect to EUTRAN determined by NW为由网络决定重定向到EUTRAN,RRC Connection Release(RedirectedCarrierInfo)为RRC连接释放(携带重定向频点信息),4G to 3G reselection procedure为4G到3G的小区重选过程,S1Release为S1接口释放,Service request为业务请求,RAB Assignment Request为RAB指派请求,RAB Assignment Response为RAB指派响应,Update PDPRequest为更新PDP上下文请求,Update PDP Response为更新PDP上下文响应;The signaling process of LTE to 3G redirection is shown in Figure 3, where RRC ConnectionReconfiguration (MeasConfig) is RRC connection reconfiguration (carrying measurement configuration), MeasurementReport is a measurement report, and Redirect to EUTRAN determined by NW is determined by the network to redirect to EUTRAN, RRC Connection Release (RedirectedCarrierInfo) is RRC connection release (carrying redirection frequency point information), 4G to 3G reselection procedure is 4G to 3G cell reselection procedure, S1Release is S1 interface release, Service request is service request, RAB Assignment Request is the RAB assignment request, RAB Assignment Response is the RAB assignment response, Update PDPRequest is the update PDP context request, and 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 radio access bearer, PDP is packet data protocol, GnGp SGSN is serving GPRS support node based on Gn interface and Gp interface, Serving Gw is serving gateway, PDN GW is packet data gateway, HSS is home user server, RNC is wireless A network controller, UE is user equipment, and eNodeB is a base station.
具体步骤说明如下:The specific steps are as follows:
31、eNodeB给UE下发测量控制,即RRC Connection Reconfiguration消息(携带异系统测量事件的配置);31. The eNodeB sends the measurement control to the UE, that is, the RRC Connection Reconfiguration message (carrying the configuration of different system measurement events);
32、当测量的信号质量满足异系统事件门限时,UE向eNodeB发送异系统测量报告;32. When the measured signal quality meets the different system event threshold, the UE sends a different 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发送UE Context Release Command消息,释放S1连接;eNodeB返回UE ContextRelease 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 UE ContextRelease 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 a PDP context update request to the PDN GW;
320b、PDN GW向GnGp SGSN反馈更新PDP上下文响应。320b. The PDN GW feeds back a PDP context update response to the GnGp SGSN.
另外,众所周知在一些异常场景下会出现终端收不到RP-Ack导致重发短信的情况:In addition, it is well known that in some abnormal scenarios, the terminal fails to receive the RP-Ack and resends the SMS:
场景一,上述的重定向场景,例如LTE到3G/2G的重定向场景,当LTE终端发送短信控制层数据信令CP-Data(封装中继层数据信令RP-Data)后立即发生LTE到3G/2G的重定向时,网络无法将RP-Ack下发给终端,具体为:重定向过程中,终端收到eNB下发的RRC connection 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, when the LTE terminal sends the short message control layer data signaling CP-Data (encapsulating the relay layer data signaling RP-Data) to the LTE terminal immediately During 3G/2G redirection, the network cannot deliver the RP-Ack to the terminal, specifically: during the redirection process, the terminal receives the RRC connection Release message from the eNB to release the RRC connection and access the 3G/2G network, while The MSC that forwards the SMS does not know the RAT change, and receives the SMSC's downlink message (RP-Ack) and sends it to the MME, but the MME releases the connection due to the redirection process, and the MME has no terminal context, so it cannot send the RP-Ack to the terminal, as shown in Figure 4. For the redirection between base stations in the LTE system, there is a similar situation. Due to the release of the RRC connection, 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 is off-network immediately after sending the short message CP-Data (encapsulated RP-Data), the RRC connection is automatically released. As shown in Figure 4, the network cannot connect the RP -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 scheme in the industry is that after the terminal sends the SMS CP-Data (encapsulated RP-Data), it will start a timer at the SM-RL layer for about 45 seconds, waiting to receive the CP-Data sent by the SMS center. Data (encapsulating the relay layer to correctly respond to the signaling RP-Ack), if the timer expires and has not received the RP-Ack, the terminal will start automatic resending, resulting in a long delay in sending the message, and the user needs to wait for one minute or more after sending the message The above text messages can only be sent (the screen of the mobile phone shows that the message is being sent).
发明内容Contents of the invention
本发明的目的在于提供一种自动重发短信的方法及终端,解决现有技术中在无线链路释放导致网络侧无法下发发送报告的场景下,终端发送短信延迟时间较长的问题。The purpose of the present invention is to provide a method and a terminal for automatically resending short messages, so as to solve the problem in the prior art that the delay time for sending short messages by the terminal is long in the scenario where the wireless link is released and the network side cannot send a transmission report.
为了解决上述技术问题,本发明实施例提供一种自动重发短信的方法,包括:In order to solve the above technical problems, an embodiment of the present invention provides a method for automatically resending short messages, 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 sent again 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 short message relay layer, it is then encapsulated into control layer data signaling through the connection management sublayer, and finally encapsulated into a non-access layer message through the access layer and sent to the network side;
通过短信中继层启动等待网络侧反馈的中继层正确应答信令的定时器。The timer for waiting for the correct response signaling of the relay layer fed back by the network side is started by the short message relay layer.
可选地,所述在等待的过程中,若释放了无线链路,则在无线链路恢复后,重新发送短信的步骤包括:Optionally, during the waiting process, 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 releasing the wireless link are met, the wireless link is released through the access layer, and it is detected in real time whether the wireless link is restored;
在检测结果为是时,重新发送短信。When the detection result is yes, resend the short message.
可选地,所述在等待的过程中,若满足无线链路释放的预设条件,则通过接入层释放无线链路的步骤包括:Optionally, during the waiting process, if the preset condition for releasing the wireless link is met, the step of releasing the wireless link through the access layer includes:
在等待的过程中,若本小区的信号强度值小于或等于预设值,则通过接入层释放无线链路。During the waiting process, if the signal strength value of the 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 cell is less than or equal to the preset value, the step of releasing the wireless link through the access layer includes:
在等待的过程中,若本小区的信号强度值小于邻系统或邻小区的信号强度值,则通过接入层向基站上报异系统或异频的测量报告,以使所述基站判决重定向;During the waiting process, if the signal strength value of the current cell is smaller than the signal strength value of the neighboring system or the neighboring cell, report the measurement report of the different system or different frequency to the base station through the access layer, so that the base station decides to redirect;
通过接入层接收所述基站根据所述测量报告下发的无线资源控制连接释放指令,并根据所述无线资源控制连接释放指令释放无线链路。receiving the radio resource control connection release instruction issued by the base station according to the measurement report through the access layer, and releasing the radio link according to the radio resource control connection release instruction.
可选地,所述在等待的过程中,若本小区的信号强度值小于或等于预设值,则通过接入层释放无线链路的步骤包括:Optionally, during the waiting process, if the signal strength value of the cell is less than or equal to the preset value, the step of releasing the wireless link through the access layer includes:
在等待的过程中,若本小区的信号强度值等于零,则通过接入层自动释放无线链路。During the waiting process, if the signal strength value of the cell is equal to zero, the wireless link is automatically released through the access layer.
可选地,所述实时检测无线链路是否恢复的步骤具体为:Optionally, the step of detecting in real time whether the wireless link is restored is specifically:
实时检测是否搜索到满足条件的小区并驻留成功。Check in real time whether a cell that meets the conditions is found and resides successfully.
可选地,在释放了无线链路之后,在无线链路恢复之前,所述方法还包括:Optionally, after the wireless link is released, before the wireless link is restored, the method further includes:
停止等待网络侧反馈的发送报告。Stop waiting for the transmission report fed back by the network side.
可选地,所述停止等待网络侧反馈的发送报告的步骤包括:Optionally, the step of stopping waiting for the transmission report fed back by the network side includes:
通过接入层生成无线链路释放通知;Generate a wireless 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 recovered, the step of resending the short message includes:
在无线链路恢复后,通过接入层生成无线链路恢复通知;After the wireless link is restored, a wireless link recovery notification is generated through the access layer;
通过短信中继层根据所述无线链路恢复通知重新发送短信。The short message is resent through the short message relay layer according to the wireless link recovery notification.
本发明还提供了一种终端,包括:The present invention also provides a terminal, including:
短信发送模块,用于向网络侧发送短信,并在预设时间段内等待网络侧反馈的发送报告;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 resending module is used to resend the short message after the wireless link is restored if the wireless link is released during the waiting process.
可选地,所述短信发送模块包括:Optionally, the short message sending module includes:
第一处理子模块,用于通过短信中继层将短信封装为中继层数据信令后,再通过连接管理子层封装为控制层数据信令,最后通过接入层封装为非接入层消息向网络侧发送;The first processing sub-module 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 starting sub-module is used to start a timer for waiting for the correct response signaling of the relay layer fed back from the network side through the short message relay layer.
可选地,所述短信重发模块包括:Optionally, the short message resending module includes:
第二处理子模块,用于在等待的过程中,若满足无线链路释放的预设条件,则通过接入层释放无线链路,并实时检测无线链路是否恢复;The second processing submodule is used to release the wireless link through the access layer if the preset condition for wireless link release is met during the waiting process, and detect whether the wireless link is restored 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 sub-module is used 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 different frequency to the base station through the access layer if the signal strength value of the cell is lower than the signal strength value of the neighboring system or the neighboring cell during the waiting process, so that all The base station judges redirection;
接收释放子模块,用于通过接入层接收所述基站根据所述测量报告下发的无线资源控制连接释放指令,并根据所述无线资源控制连接释放指令释放无线链路。The receiving and releasing submodule is configured to receive, through the access layer, a radio resource control connection release instruction issued by the base station according to the measurement report, and release a 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 configured to:
实时检测是否搜索到满足条件的小区并驻留成功。Check in real time whether a cell that meets the conditions is found and resides successfully.
可选地,所述短信重发模块还用于在释放了无线链路之后,在无线链路恢复之前,停止等待网络侧反馈的发送报告。Optionally, the short message resending module is further configured to stop waiting for a sending report fed back by the network side after the wireless link is released and before the wireless link is restored.
可选地,所述短信重发模块包括:Optionally, the short message resending module includes:
第一生成子模块,用于通过接入层生成无线链路释放通知;The first generation submodule is used to generate a wireless link release notification through the access layer;
停止子模块,用于通过短信中继层根据所述无线链路释放通知停止等待网络侧反馈的发送报告。The stop sub-module is used to stop waiting for the sending report fed back by the network side through the short message relay layer according to the wireless link release notification.
可选地,所述短信重发模块包括:Optionally, the short message resending module includes:
第二生成子模块,用于在无线链路恢复后,通过接入层生成无线链路恢复通知;The second generation submodule is used to generate a wireless link recovery notification through the access layer after the wireless link is recovered;
第二重发子模块,用于通过短信中继层根据所述无线链路恢复通知重新发送短信。The second resending submodule is used to resend the short message according to the wireless link recovery notification through the short message relay layer.
本发明的上述技术方案的有益效果如下:The beneficial effects of above-mentioned technical scheme of the present invention are as follows:
上述方案中,所述自动重发短信的方法通过在发送短信后,预设时间段内等待网络侧反馈的发送报告的过程中,若释放了无线链路,则在无线链路恢复后,自动重新发送短信,不用再等待定时器的定时时间结束,大大缩短了短信重发的延迟时间,提高了用户体验。In the above scheme, the method for automatically resending the short message is to wait for the sending report fed back by the network side within a preset period of time after sending the short message. If the wireless link is released, after the wireless link is restored, the automatic To resend the SMS, there is no need to wait for the end of the timer, which greatly shortens the delay time for resending the SMS and improves the user experience.
附图说明Description of drawings
图1为现有技术的短信业务协议栈示意图;Fig. 1 is the schematic diagram of the short message service protocol stack of prior art;
图2为现有技术的MO SMS流程示意图;Fig. 2 is the MO SMS flow diagram of prior art;
图3为现有技术的LTE到3G重定向信令流程示意图;Fig. 3 is a schematic flow chart of the prior art LTE to 3G redirection signaling;
图4为现有技术的LTE终端收不到RP-Ack的场景示意图;FIG. 4 is a schematic diagram of a scenario in which an LTE terminal in the prior art fails to receive an RP-Ack;
图5为本发明实施例一的自动重发短信的方法流程示意图;FIG. 5 is a schematic flow diagram of a method for automatically resending a short message according to Embodiment 1 of the present invention;
图6为本发明实施例二的自动重发短信的方法流程示意图;FIG. 6 is a schematic flow diagram of a method for automatically resending a short message according to Embodiment 2 of the present invention;
图7为本发明实施例三的自动重发短信的方法流程示意图;FIG. 7 is a schematic flow diagram of a method for automatically resending short messages according to Embodiment 3 of the present invention;
图8为本发明实施例四的终端结构示意图。FIG. 8 is a schematic diagram of a terminal structure according to Embodiment 4 of the present invention.
具体实施方式detailed description
为使本发明要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。In order to make the technical problems, technical solutions and advantages to be solved by the present invention clearer, the following will describe in detail with reference to the drawings and specific embodiments.
本发明针对现有的技术中在无线链路释放导致网络侧无法下发发送报告的场景下,终端发送短信延迟时间较长的问题,提供了多种解决方案,具体如下:The present invention provides a variety of solutions for the problem that the terminal sends a short message with a long delay in the scenario where the wireless link is released and the network side cannot issue a transmission report in the existing technology, and the details are as follows:
实施例一Embodiment one
如图5所示,本发明实施例一中自动重发短信的方法包括:As shown in Figure 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, resend the short message after the wireless link is restored.
本发明实施例一提供的所述自动重发短信的方法通过在发送短信后,预设时间段内等待网络侧反馈的发送报告的过程中,若释放了无线链路,则在无线链路恢复后,自动重新发送短信,不用再等待定时器的定时时间结束,大大缩短了短信重发的延迟时间,提高了用户体验。The method for automatically resending a short message provided in Embodiment 1 of the present invention is to wait for the transmission report fed back by the network side within a preset period of time after sending a short message. After that, the SMS will be resent automatically without waiting for the end of the timer, which greatly shortens the delay time for resending the SMS 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 expired.
具体的,所述向网络侧发送短信,并在预设时间段内等待网络侧反馈的发送报告的步骤包括:通过短信中继层将短信封装为中继层数据信令后,再通过连接管理子层封装为控制层数据信令,最后通过接入层封装为非接入层消息向网络侧发送;通过短信中继层启动等待网络侧反馈的中继层正确应答信令的定时器。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 the short message is encapsulated into a relay layer data signaling through the short message relay layer, and then through 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; through the SMS relay layer, the timer for waiting for the relay layer to correctly respond to the signaling fed back by the network side is started.
其中,所述在等待的过程中,若释放了无线链路,则在无线链路恢复后,重新发送短信的步骤包括:在等待的过程中,若满足无线链路释放的预设条件,则通过接入层释放无线链路,并实时检测无线链路是否恢复;在检测结果为是时,重新发送短信。Wherein, during the waiting process, 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 condition for wireless link release is met, then Release the wireless link through the access layer, and detect whether the wireless link is restored in real time; when the detection result is yes, resend the short message.
具体的,所述在等待的过程中,若满足无线链路释放的预设条件,则通过接入层释放无线链路的步骤包括:在等待的过程中,若本小区的信号强度值小于或等于预设值,则通过接入层释放无线链路。Specifically, during the waiting process, if the preset condition for releasing the wireless link is met, the step of releasing the wireless link through the access layer includes: during the waiting process, if the signal strength value of the cell is less than or If it is equal to the preset value, the wireless link is released through the access layer.
对应于重定向的情况,所述在等待的过程中,若本小区的信号强度值小于或等于预设值,则通过接入层释放无线链路的步骤包括:在等待的过程中,若本小区的信号强度值小于邻系统或邻小区的信号强度值,则通过接入层向基站上报异系统或异频的测量报告,以使所述基站判决重定向;通过接入层接收所述基站根据所述测量报告下发的无线资源控制连接释放指令,并根据所述无线资源控制连接释放指令释放无线链路。Corresponding to the situation of redirection, 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 wireless link through the access layer includes: during 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 different frequency is reported to the base station through the access layer, so that the base station decides to redirect; the base station is received through the access layer and release the radio link according to the radio resource control connection release instruction delivered according to the measurement report.
对应于脱网的情况,所述在等待的过程中,若本小区的信号强度值小于或等于预设值,则通过接入层释放无线链路的步骤包括:在等待的过程中,若本小区的信号强度值等于零,则通过接入层自动释放无线链路。Corresponding to the situation of disconnecting from the network, 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 wireless link through the access layer includes: during the waiting process, if the local cell If the signal strength value of the cell is equal to zero, the wireless link is automatically released by the access layer.
其中,所述实时检测无线链路是否恢复的步骤具体为:实时检测是否搜索到满足条件的小区并驻留成功。Wherein, the step of detecting in real time whether the wireless link is restored specifically includes: detecting in real time whether a cell satisfying the conditions is found and camped on successfully.
具体的,所述在无线链路恢复后,重新发送短信的步骤包括:在无线链路恢复后,通过接入层生成无线链路恢复通知;通过短信中继层根据所述无线链路恢复通知重新发送短信。Specifically, after the wireless link is restored, the step of resending the short message includes: after the wireless link is restored, generating a wireless link restoration notification through the access layer; through the short message relay layer according to the wireless link restoration notification Resend the text message.
实施例二Embodiment two
如图6所示,本发明实施例二中自动重发短信的方法包括:As shown in FIG. 6, the method for automatically resending short messages 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 transmission report fed back by the network side, and resend the short message after the wireless link is restored.
本发明实施例二提供的所述自动重发短信的方法通过在发送短信后,预设时间段内等待网络侧反馈的发送报告的过程中,若释放了无线链路,则停止等待网络侧反馈的发送报告,并在无线链路恢复后,自动重新发送短信,不用再等待定时器的定时时间结束,大大缩短了短信重发的延迟时间,并且避免了发生无线链路恢复后定时器超时再次重复发送短信的情况,高质量的满足了用户需求,提高了用户体验。The method for automatically resending short messages provided by Embodiment 2 of the present invention is to stop waiting for the feedback from the network side if the wireless link is released during the process of waiting for the sending report fed back by the network side within a preset period of time after sending the short message After the wireless link is restored, it will automatically resend the SMS without waiting for the end of the timer, which greatly shortens the delay time for resending the SMS, and avoids the occurrence of timer overtime 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 sending report fed back by the network side includes: generating a wireless link release notification through the access layer; stopping waiting for the sending report fed back by the network side through the short message relay layer according to the wireless link release notification.
本发明实施例二的方案中除“停止等待网络侧反馈的发送报告”外的其他步骤均可采用与实施例一一致的实现实施例。In the solution of the second embodiment of the present invention, other steps except "stop waiting for the transmission report fed back by the network side" can adopt the implementation embodiment consistent with the first embodiment.
实施例三Embodiment Three
如图7所示,本发明实施例三中自动重发短信的方法包括:As shown in FIG. 7, the method for automatically resending short messages in Embodiment 3 of the present invention includes:
步骤71:终端的SM-RL层将短信封装在RP-Data后,交给CM-sublayer层由底层发出,并启动等待RP-ACK的定时器;Step 71: The SM-RL layer of the terminal encapsulates the short message in RP-Data, sends it to the CM-sublayer layer to be sent by the bottom layer, and starts a timer waiting for RP-ACK;
步骤72:判断在定时器期间,是否收到RP-ACK,若否,进入步骤74,若是,进入步骤73;Step 72: judge whether to receive RP-ACK during the timer, if not, go to step 74, if so, go to step 73;
步骤73:终端显示发送短信成功;Step 73: The terminal displays that sending the short message is successful;
步骤74:判断在等待定时器期间,是否出现终端的AS层通知SM-RL层无线链路释放,若是,进入步骤76,若否,进入步骤75;Step 74: Judging whether the AS layer of the terminal notifies the SM-RL layer of radio link release during the waiting timer, if so, enter step 76, if not, enter step 75;
步骤75:等待定时器超时,返回步骤71;Step 75: wait for the timer to expire, and return to step 71;
步骤76:终端的SM-RL层停止等待RP-ACK的定时器;Step 76: The SM-RL layer of the terminal stops waiting for the RP-ACK timer;
步骤77:终端重新成功驻留小区后,终端的AS层上报给SM-RL层,通知无线链路恢复,返回步骤71。Step 77: After the terminal successfully camps in the cell again, the AS layer of the terminal reports to the SM-RL layer to notify the radio link to recover, and returns to step 71.
由上可知,本发明针对在无线链路释放导致网络无法下发RP-Ack的场景下,终端发送短信延迟较长的问题,提出了一种通过建立AS层和SM-RL层的交互,实现终端自动重发短信的机制。As can be seen from the above, the present invention aims at the problem that the terminal sends a short message with a long delay in the scenario where the wireless link release causes the network to fail to issue an RP-Ack, and proposes a method of establishing interaction between the AS layer and the SM-RL layer to realize The mechanism for the terminal to automatically resend the SMS.
方案概括来说就是,当终端发送短信后未收到短信中心下发的发送报告时,若发生无线链路释放,则终端停止等待发送报告,并在无线链路恢复后立即自动重发短信。无线链路释放的场景可以是但不限于LTE到3G/2G的重定向,或者是LTE系统内基站间的重定向,或者是脱网场景。In summary, when the terminal does not receive the delivery report from the SMS center after sending the message, if the wireless link is released, the terminal stops waiting for the delivery report, and automatically resends the message immediately after the wireless link is restored. The scenario of radio 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 described below with examples for 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 and sent by the bottom layer (AS layer), and the SM-RL layer starts a timer waiting for RP-Ack, and judges that during the timer Whether to receive RP-Ack;
2)基站根据AS层在本小区信号弱、邻系统或邻小区的信号强时,上报的异系统/异频测量报告判决重定向,可以是LTE到3G/2G的重定向,或者是LTE系统内基站间的重定向,下发RRC Connection Release无线资源控制连接释放消息给AS层;2) The base station judges the redirection according to the inter-system/inter-frequency measurement report reported by the AS layer when the signal of the local cell is weak and the signal of the adjacent system or adjacent cell is strong, which can be the redirection from LTE to 3G/2G, or the LTE system For redirection between internal base stations, send an RRC Connection Release radio resource control connection release message 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 release of the wireless link;
5)SM-RL层判断定时器未超时,且还没有收到RP-Ack,则停止等待RP-Ack的定时器;5) The SM-RL layer judges that the timer is not overtime, and has not received the RP-Ack, then stops waiting for the timer of the RP-Ack;
6)若是LTE到3G/2G的重定向,终端AS层搜索到3G/2G小区并驻留成功后,上报给SM-RL层,通知无线链路恢复;若是LTE系统内基站间的重定向,终端AS层搜索到LTE小区并驻留成功后,上报给SM-RL层,通知无线链路恢复;6) If it is redirection from LTE to 3G/2G, after the AS layer of the terminal searches for a 3G/2G cell and resides successfully, it reports to the SM-RL layer to notify the wireless link to resume; if it is a redirection between base stations in the LTE system, After the AS layer of the terminal searches for the LTE cell and resides successfully, it reports to the SM-RL layer and notifies the wireless link recovery;
7)终端的SM-RL层重新将短信封装在RP-Data后,交给CM sublayer层由底层(AS层)发出。7) The SM-RL layer of the terminal re-encapsulates the short message in RP-Data, and hands it to the CM sublayer layer to be sent by the bottom layer (AS layer).
场景二、脱网场景Scenario 2. Off-network 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 RP-Data, it is handed over to the CM sublayer layer to be sent by the bottom layer (AS layer), and the timer for waiting for RP-Ack is started by the SM-RL layer;
2)终端AS层失步(收不到信号,跟踪不到下行信号)导致无线链路失败,AS层自动释放RRC连接,进入脱网状态;2) The AS layer of the terminal is out of sync (no signal received, no downlink signal tracked) leading to wireless link failure, 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 release of the wireless link;
4)SM-RL层判断定时器未超时,且还没有收到RP-Ack,则停止等待RP-Ack的定时器;4) The SM-RL layer judges that the timer is not overtime, and has not received the RP-Ack, then stops waiting for the timer of the RP-Ack;
5)当终端AS层搜索到合适小区并驻留成功后,上报给SM-RL层,通知无线链路恢复;5) After the AS layer of the terminal searches for a suitable cell and successfully resides in it, it reports to the SM-RL layer and notifies the wireless link recovery;
6)终端的SM-RL层重新将短信封装在RP-Data后,交给CM sublayer层由底层(AS层)发出。6) The SM-RL layer of the terminal re-encapsulates the short message in RP-Data, and hands it to the CM sublayer layer to be sent by the bottom layer (AS layer).
本发明实施例三提供的方案从缩短重发短信延迟时间的角度出发,不用等待接收RP-Ack的定时器超时,在重定向完成或脱网消失后终端可以立即重发短信,较大的缩短了重发短信延迟时间(缩短了几十秒以上),改善了用户体验。The solution provided by Embodiment 3 of the present invention starts from the perspective of shortening the delay time of resending short messages, without waiting for the timer for receiving RP-Ack to expire, and the terminal can immediately resend short messages after the redirection is completed or the offline disappears, which greatly shortens the delay time. The delay time for resending text messages has been shortened (shortened by more than tens of seconds), and the user experience has been improved.
本发明实施例三提供的方案可适用于LTE终端、3G终端和2G终端。The solution provided by Embodiment 3 of the present invention is applicable to LTE terminals, 3G terminals and 2G terminals.
实施例四Embodiment Four
如图8所示,本发明实施例四中终端包括:As shown in Figure 8, the terminal in Embodiment 4 of the present invention includes:
短信发送模块81,用于向网络侧发送短信,并在预设时间段内等待网络侧反馈的发送报告;The short message sending module 81 is used to send short messages to the network side, and waits for the sending report fed back by the network side within a preset time period;
短信重发模块82,用于在等待的过程中,若释放了无线链路,则在无线链路恢复后,重新发送短信。The short message resending module 82 is used for resending the short message after the wireless link is restored if the wireless link is released during the waiting process.
本发明实施例四提供的所述终端通过在发送短信后,预设时间段内等待网络侧反馈的发送报告的过程中,若释放了无线链路,则在无线链路恢复后,自动重新发送短信,不用再等待定时器的定时时间结束,大大缩短了短信重发的延迟时间,提高了用户体验。The terminal provided in Embodiment 4 of the present invention waits for the sending report fed back by the network side within a preset period of time after sending the short message. If the wireless link is released, it will automatically resend the message after the wireless link is restored. SMS, no need to wait for the end of the timer time, which greatly shortens the delay time for resending SMS and improves 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 expired.
具体的,所述短信发送模块包括:第一处理子模块,用于通过短信中继层将短信封装为中继层数据信令后,再通过连接管理子层封装为控制层数据信令,最后通过接入层封装为非接入层消息向网络侧发送;启动子模块,用于通过短信中继层启动等待网络侧反馈的中继层正确应答信令的定时器。Specifically, the short message sending module includes: a first processing submodule, which is used to encapsulate the short message into relay layer data signaling through the short message relay layer, and then encapsulate it into control layer data signaling through the connection management sublayer, and finally Encapsulate it into a non-access layer message through the access layer and send it to the network side; the startup submodule is used to start a timer for the correct response signaling of the relay layer that is fed back by the network side through the short message relay layer.
其中,所述短信重发模块包括:第二处理子模块,用于在等待的过程中,若满足无线链路释放的预设条件,则通过接入层释放无线链路,并实时检测无线链路是否恢复;Wherein, the short message resending module includes: a second processing submodule, which is used to release the wireless link through the access layer if the preset condition for wireless link release is 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 submodule includes: a third processing submodule, configured to release the wireless link through the access layer if the signal strength value of the current cell is less than or equal to a preset value during the waiting process.
对应于重定向的情况,所述第三处理子模块包括:上报子模块,用于在等待的过程中,若本小区的信号强度值小于邻系统或邻小区的信号强度值,则通过接入层向基站上报异系统或异频的测量报告,以使所述基站判决重定向;接收释放子模块,用于通过接入层接收所述基站根据所述测量报告下发的无线资源控制连接释放指令,并根据所述无线资源控制连接释放指令释放无线链路。Corresponding to the case of redirection, the third processing sub-module includes: a reporting sub-module, which is used to pass the access The layer reports a different system or different frequency measurement report to the base station, so that the base station decides to redirect; the receiving release submodule is used to receive the radio resource control connection release issued by the base station according to the measurement report through the access layer instruction, and release the radio link according to the radio resource control connection release instruction.
对应于脱网的情况,所述第三处理子模块包括:自动释放子模块,用于在等待的过程中,若本小区的信号强度值等于零,则通过接入层自动释放无线链路。Corresponding to the off-network situation, the third processing submodule includes: an automatic release submodule, configured 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.
其中,所述第二处理子模块具体用于:实时检测是否搜索到满足条件的小区并驻留成功。Wherein, the second processing submodule is specifically configured to: detect in real time whether a cell satisfying the conditions is found and camped on successfully.
避免了发生无线链路恢复后定时器超时再次重复发送短信的情况,高质量的满足了用户需求,所述短信重发模块还用于在释放了无线链路之后,在无线链路恢复之前,停止等待网络侧反馈的发送报告。It avoids the situation that the timer overtime repeats to send short messages again after the wireless link is restored, and satisfies the needs of users with high quality. The short message resending module is also used to Stop waiting for the transmission report fed back by the network side.
具体的,所述短信重发模块包括:第一生成子模块,用于通过接入层生成无线链路释放通知;停止子模块,用于通过短信中继层根据所述无线链路释放通知停止等待网络侧反馈的发送报告。Specifically, the short message resending module includes: a first generation submodule, configured to generate a wireless link release notification through the access layer; a stop submodule, used to stop 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 resending module includes: a second generating submodule, used to generate a wireless link recovery notification through the access layer after the wireless link is restored; a second resending submodule, used to relay The layer resends the short message according to the wireless link recovery notification.
其中,上述自动重发短信的方法的所述实现实施例均适用于该终端的实施例中,也能达到相同的技术效果。Wherein, the implementation embodiments of the above-mentioned method for automatically resending short messages are all applicable to the embodiment of the terminal, and can also achieve the same technical effect.
此说明书中所描述的许多功能部件都被称为模块/子模块,以便更加特别地强调其实现方式的独立性。Many functional components described in this specification are referred to as modules/submodules in order to more particularly emphasize the independence of their implementation.
本发明实施例中,模块/子模块可以用软件实现,以便由各种类型的处理器执行。举例来说,一个标识的可执行代码模块可以包括计算机指令的一个或多个物理或者逻辑块,举例来说,其可以被构建为对象、过程或函数。尽管如此,所标识模块的可执行代码无需物理地位于一起,而是可以包括存储在不同位里上的不同的指令,当这些指令逻辑上结合在一起时,其构成模块并且实现该模块的规定目的。In the embodiments of the present invention, the modules/submodules may be implemented by software so as to be executed by various types of processors. An identified module of executable code may, by way of example, comprise one or more physical or logical blocks of computer instructions which may, for example, be structured as an object, procedure, or function. Notwithstanding, the executable code of an identified module need not be physically located together, but may include distinct instructions stored in different bits which, when logically combined, constitute the module and implement the specified Purpose.
实际上,可执行代码模块可以是单条指令或者是许多条指令,并且甚至可以分布在多个不同的代码段上,分布在不同程序当中,以及跨越多个存储器设备分布。同样地,操作数据可以在模块内被识别,并且可以依照任何适当的形式实现并且被组织在任何适当类型的数据结构内。所述操作数据可以作为单个数据集被收集,或者可以分布在不同位置上(包括在不同存储设备上),并且至少部分地可以仅作为电子信号存在于系统或网络上。Indeed, a module of executable code may be a single instruction, or many instructions, and may even be distributed over several 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 in different locations (including on different storage devices), and may exist, at least in part, only as electronic signals on a system or network.
在模块可以利用软件实现时,考虑到现有硬件工艺的水平,所以可以以软件实现的模块,在不考虑成本的情况下,本领域技术人员都可以搭建对应的硬件电路来实现对应的功能,所述硬件电路包括常规的超大规模集成(VLSI)电路或者门阵列以及诸如逻辑芯片、晶体管之类的现有半导体或者是其它分立的元件。模块还可以用可编程硬件设备,诸如现场可编程门阵列、可编程阵列逻辑、可编程逻辑设备等实现。When the module can be realized by software, considering the level of the existing hardware technology, the module that can be realized by software, regardless of the cost, those skilled in the art can build the corresponding hardware circuit to realize the corresponding function. The hardware circuit includes conventional very large scale integration (VLSI) circuits or gate arrays as well as existing 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.
以上所述的是本发明的优选实施方式,应当指出对于本技术领域的普通人员来说,在不脱离本发明所述原理前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。What has been described above is a preferred embodiment of the present invention. It should be pointed out that for those skilled in the art, some improvements and modifications can also be made without departing from the principle of the present invention. These improvements and modifications should also be considered as Be the protection scope of the present invention.
Claims (20)
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 true CN106412859A (en) | 2017-02-15 |
CN106412859B 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) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107277786A (en) * | 2017-05-26 | 2017-10-20 | 广东欧珀移动通信有限公司 | SMS processing and Related product |
CN108134989A (en) * | 2017-12-21 | 2018-06-08 | 广东欧珀移动通信有限公司 | LTE network is resident the detection method and device of result, computer storage media |
US10271185B1 (en) | 2017-10-20 | 2019-04-23 | Mediatek Singapore Pte. Ltd. | Method and apparatus for short message service re-transmission in mobile communications |
CN109688621A (en) * | 2019-02-27 | 2019-04-26 | 武汉虹信通信技术有限责任公司 | A kind of redirection localization method and device |
CN109769272B (en) * | 2018-11-22 | 2021-04-16 | 京信通信系统(中国)有限公司 | Method and device for sending customized information, computer storage medium and equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101060719A (en) * | 2006-04-18 | 2007-10-24 | 三星电子株式会社 | Method and apparatus for controlling transmission of message during handover in mobile communication terminal |
CN102316426A (en) * | 2010-07-09 | 2012-01-11 | 中国移动通信集团广东有限公司 | Short message retransmission method and network equipment |
CN102783191A (en) * | 2011-06-14 | 2012-11-14 | 华为技术有限公司 | Method and terminal for sending message afte terminal switchover |
CN103188751A (en) * | 2011-12-30 | 2013-07-03 | 联芯科技有限公司 | Method and system of improving call completing rate of mobile communication terminal |
-
2015
- 2015-07-28 CN CN201510449781.7A patent/CN106412859B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101060719A (en) * | 2006-04-18 | 2007-10-24 | 三星电子株式会社 | Method and apparatus for controlling transmission of message during handover in mobile communication terminal |
CN102316426A (en) * | 2010-07-09 | 2012-01-11 | 中国移动通信集团广东有限公司 | Short message retransmission method and network equipment |
CN102783191A (en) * | 2011-06-14 | 2012-11-14 | 华为技术有限公司 | Method and terminal for sending message afte terminal switchover |
CN103188751A (en) * | 2011-12-30 | 2013-07-03 | 联芯科技有限公司 | Method and system of improving call completing rate of mobile communication terminal |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107277786A (en) * | 2017-05-26 | 2017-10-20 | 广东欧珀移动通信有限公司 | SMS processing and Related product |
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 |
WO2019076006A1 (en) * | 2017-10-20 | 2019-04-25 | Mediatek Singapore Pte. Ltd. | Method and apparatus for short message service re-transmission in mobile communications |
CN108134989A (en) * | 2017-12-21 | 2018-06-08 | 广东欧珀移动通信有限公司 | LTE network is resident the detection method and device of result, computer storage media |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN106412859B (en) | 2020-01-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9763281B2 (en) | Communication method, mobile network system and device | |
CN102340754B (en) | Data transmission and receiving methods and equipment | |
KR102344162B1 (en) | Dedicated Bearer Deployment Method, Mobility Management Entity and Packet Data Network Gateway | |
KR102241735B1 (en) | Methods and apparatuses for storage of UE contexts in a radio access network for inactive user equipments | |
EP3100516B1 (en) | Efficient session management method and apparatus guaranteeing terminal mobility | |
US10912141B2 (en) | Method for establishing a communication and communication device | |
CN106412859B (en) | A method and terminal for automatically resending a short message | |
WO2013066074A1 (en) | Method and apparatus for releasing delay tolerant access user equipment in wireless communication system | |
WO2023120174A1 (en) | Base station, network node, first core network node, second core network node, and methods performed by them | |
KR102034225B1 (en) | Method to use existing nas signaling connection for pending uplink signaling/data after tau accept | |
RU2670602C9 (en) | Mobile communication system, sgw, terminal, method of receiving mobile communication system, method of receiving sgw and method of receiving terminal | |
CN102301755B (en) | SMS transport resource control | |
WO2024027956A1 (en) | Apparatus, method, and computer program | |
WO2020200136A1 (en) | Gateway selection system and method | |
GB2511540A (en) | Wireless communication system and method | |
WO2019206248A1 (en) | Method and device for circuit switched fallback | |
CN117769031A (en) | Communication method, device and computer readable storage medium | |
WO2016070926A1 (en) | Handling of quality of service modification triggered by charging entity | |
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 |