默认
发表评论 5
想开发IM:买成品怕坑?租第3方怕贵?找开源自已撸?尽量别走弯路了... 找站长给点建议
看京东推送的这是啥,短信居然能自动全屏显示?
阅读(37042) | 评论(5 收藏 淘帖
在京东上买书,取完货后,发现手机显示了这么个东西,见下图:

看京东推送的这是啥,短信居然能自动全屏显示?_QQ20160302-0.png

跟系统的推送不同,这条推送内容是全屏且置于桌面最上。也不是短信或者彩信,短信收件箱里也没有。
我也问了其他人,这种推送不区分手机型号都可收到推送。只要快递员缴纳20元给公司即可。

我想问下这是个啥子东西,如何做到的呢?

即时通讯网 - 即时通讯开发者社区! 来源: - 即时通讯开发者社区!

标签:推送
上一篇:开源免费的实时信息推送服务器DDPush介绍下一篇:绝对干货:基于Netty实现海量接入的推送服务技术要点
推荐方案
评论 5
很奇怪的东西,有人知道吗
真没见过,这到底是啥技术,APNS的推送?看着也不像
看起来很炫酷,不了解的人很可能会被吓一跳,但这真的只是一个古老的GSM SMS功能,实现这个功能并不需要通过运营商。事实上,只要你有一台可以控制短信格式的手机终端(比如root过的安卓,或者越狱后的iPhone),你自己下个App后也可以发送这种短信。而对于接收方而言,目前的大部分手机都能够接收,包括iPhone和大部分Android设备


以下转引自wiki:

Flash SMS A Flash SMS is a type of SMS that appears directly on the main screen without user interaction and is not automatically stored in the inbox. It can be useful in emergencies, such as a fire alarm or cases of confidentiality, as in delivering one-time passwords.


其实在GSM中一共定义了4种不同Class的短信类型,这种短信只是其中的第一种:

Classes identify the message's importance as well as the location where it should be stored. There are 4 message classes.
- Class 0: Indicates that this message is to be displayed on the MS immediately and a message delivery report is to be sent back to the SC. The message does not have to be saved in the MS or on the SIM card (unless selected to do so by the mobile user).
- Class 1: Indicates that this message is to be stored in the MS memory or the SIM card (depending on memory availability).
- Class 2: This message class is Phase 2 specific and carries SIM card data. The SIM card data must be successfully transferred prior to sending acknowledgement to the SC. An error message will be sent to the SC if this transmission is not possible.
- Class 3: Indicates that this message will be forwarded from the receiving entity to an external device. The delivery acknowledgement will be sent to the SC regardless of whether or not the message was forwarded to the external device.


实现这个功能,其实就是向对方发送一个Class 0的短信而已。
看京东推送的这是啥,短信居然能自动全屏显示?_f504a48c4bf5289d8a49328b2fdb12e2_b.png
引用:傅若愚 发表于 2016-03-02 17:02
看起来很炫酷,不了解的人很可能会被吓一跳,但这真的只是一个古老的GSM SMS功能,实现这个功能并不需要通 ...

原来如此。
打赏楼主 ×
使用微信打赏! 使用支付宝打赏!

返回顶部