The invention discloses a short message sending method, a short message sending device and a computer readable storage medium, which relates to the field of communication technology. The method of the invention includes: receiving the short message sent by the sender; querying the short message forwarding rules of the recipient according to the mobile identity of the recipient carried in the short message; forwarding the short message to the account of the Internet application of the recipient according to the short message forwarding rules of the recipient; and the short message forwarding rules include the Internet application identification and the user identification of the recipient in the Internet application. According to the short message forwarding rules of the recipient, the short message sent by the sender is forwarded to the Internet application account of the recipient. Even if the recipient user is offline or other inconvenient to receive short messages and inconvenient to use mobile phones, the short message can be received through the Internet application, so that the short message can be sent directly to the recipient in time, and the short message can be sent more effectively. Timeliness, reduce the occupancy of short message service center resources, avoid the loss of short message information.
【技术实现步骤摘要】
短信发送方法、短信发送装置以及计算机可读存储介质
本专利技术涉及通信
,特别涉及一种短信发送方法、短信发送装置以及计算机可读存储介质。
技术介绍
手机在离线状态(例如关机或无服务)下无法与网络进行通信,因此不能接收短信。现有技术中,在接收方的处于离线状态的情况下,发送方请求发送的短信会被短信服务中心打上标签放入缓存,短信服务中心周期性向HLR(HomeLocationRegister,归属位置寄存器)查询接收方的手机是否在线,在HLR搜索发现接收方手机在线后,短信服务中心得从缓存中取出带标签的短信,发送至接收方手机。如果在超过预设时间后接收方的手机仍然没有上线,短信服务中心则会将缓存的短信进行清除。
技术实现思路
专利技术人发现:现有技术的方案,只能被动等待接收方手机上线后才能再次发送短信,无法及时将短信发送至接收方,时效性差;并且缓存短信占用短信服务中心的缓存资源;超出短信服务中心存储时限仍未发出的短信还会被清除,造成信息丢失。本专利技术所要解决的一个技术问题是:提出一种新的短信发送方法,提高短信发送的时效性,减少短信服务中心的资源占用,减少短信的信息丢失。根据本专利技术的一个实施例,提供的一种短信发送方法,包括:接收发送方发送的短信;根据短信中携带的接收方的移动标识查询接收方的短信转发规则;根据接收方的短信转发规则将短信转发至接收方的互联网应用的账户,短信转发规则包括互联网应用标识和接收方在互联网应用的用户标识。在一个实施例中,当短信转发规则还包括在接收方离线的情况下将发送至接收方的短信进行转发时,根据接收方的短信转发规则将短信转发至接收方的互联网应 ...
【技术保护点】
1.一种短信发送方法,其特征在于,包括:接收发送方发送的短信;根据所述短信中携带的接收方的移动标识查询所述接收方的短信转发规则;根据所述接收方的短信转发规则将所述短信转发至所述接收方的互联网应用的账户,所述短信转发规则包括所述互联网应用标识和所述接收方在所述互联网应用的用户标识。
【技术特征摘要】
1.一种短信发送方法,其特征在于,包括:接收发送方发送的短信;根据所述短信中携带的接收方的移动标识查询所述接收方的短信转发规则;根据所述接收方的短信转发规则将所述短信转发至所述接收方的互联网应用的账户,所述短信转发规则包括所述互联网应用标识和所述接收方在所述互联网应用的用户标识。2.根据权利要求1所述的方法,其特征在于,当所述短信转发规则还包括在所述接收方离线的情况下将发送至所述接收方的短信进行转发时,所述根据所述接收方的短信转发规则将所述短信转发至所述接收方的互联网应用的账户包括:在确定所述接收方为离线状态的情况下,将所述短信转发至所述接收方的互联网应用的账户。3.根据权利要求1所述的方法,其特征在于,当所述短信转发规则还包括将在预设时间段内发送至所述接收方的短信进行转发时,所述根据所述接收方的短信转发规则将所述短信转发至所述接收方的互联网应用的账户包括:在确定当前时间在预设时间段内的情况下,将所述短信转发至所述接收方的互联网应用的账户。4.根据权利要求1所述的方法,其特征在于,当所述短信转发规则还包括当所述接收方的地理位置在预设范围之外将发送至所述接收方的短信进行转发时,所述根据所述接收方的短信转发规则将所述短信转发至所述接收方的互联网应用的账户包括:在确定所述接收方的地理位置在预设范围之外的情况下,将所述短信转发至所述接收方的互联网应用的账户。5.根据权利要求2所述的方法,其特征在于,所述确定所述接收方为离线状态包括:每隔预设周期向归属位置寄存器发送用户状态查询请求,所述用户状态查询请求包括所述接收方的移动标识;根据所述归属位置寄存器返回的接收方为离线状态的信息,确定所述接收方为离线状态。6.根据权利要求1-5任一项所述的方法,其特征在于,还包括:接收互联网应用服务器返回的所述接收方的回复信息,所述回复信息中携带所述发送方的移动标识、所述接收方的用户标识;根据所述接收方的用户标识和所述互联网应用标识查找所述接收方的移动标识;将所述回复信息转换为回复短信发送至所述发送方,所述回复短信携带所述接收方的移动标识。7.根据权利要求1-5任一项所述的方法,其特征在于,所述用户标识包括:网址、邮箱地址、即时聊天工具账号中的一种或多种。8.一种短信发送装置,其特征在于,包括:短信接收模块,用于接收发送方发送的短信;规则查询模块,用于根据...
【专利技术属性】
技术研发人员:唐宏,范云凌,
申请(专利权)人:中国电信股份有限公司,
类型:发明
国别省市:北京,11
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。