The present invention relates to the technical field of communication, and discloses a Internet traffic and push device, feeding method using include: the terminal receives the reported current use of Internet traffic information; if the terminal is currently using the Internet traffic information push to meet the traffic rules, according to the terminal identification, obtaining the terminal from the cache history of Internet traffic information; according to the current use of the Internet traffic information terminal and the terminal of the history of Internet traffic information, determining the terminal has been used in Internet traffic information, and the terminal has the Internet traffic information pushed to the terminal with the. The invention is used to solve the problem that the user has the time delay in accessing the Internet traffic in the prior art.
【技术实现步骤摘要】
一种上网流量使用情况推送方法及装置
本专利技术涉及通信
,尤其涉及一种上网流量使用情况推送方法及装置。
技术介绍
用户通过终端上网后产生流量,为了对用户的上网流量进行计费,现有的业务系统对用户上网产生的流量生成话单,并对用户使用的流量进行累计,将累计的结果存放在数据库中。终端可以通过APP(应用程序,Application)调用流量查询接口,查询用户的流量使用情况。其中,终端的APP采用轮询方式,每隔10分钟查询一次。随着4G(第四代移动通信技术,the4th-Generationmobilecommunicationtechnology)时代的到来,网速越来越快。现有的2G(第二代手机通信技术规格,the2nd-Generationwirelesstelephonetechnology)/3G(第三代移动通信技术,the3rd-Generationmobilecommunicationtechnology)网络模式下用户上网流量的展示与查询方式已经不适合4G网络模式。终端的APP每隔10分钟查询一次,在这段时间内,对于2G或3G网络模式下的用户,由于网络速 ...
【技术保护点】
一种上网流量使用情况推送方法,其特征在于,包括:接收网元上报的终端当前使用的上网流量信息;若所述终端当前使用的上网流量信息满足流量推送规则,则根据所述终端的标识,从缓存中获取所述终端的历史上网流量信息;根据所述终端当前使用的上网流量信息和所述终端的历史上网流量信息,确定所述终端已使用的上网流量信息,并将所述终端已使用的上网流量信息推送给所述终端。
【技术特征摘要】
1.一种上网流量使用情况推送方法,其特征在于,包括:接收网元上报的终端当前使用的上网流量信息;若所述终端当前使用的上网流量信息满足流量推送规则,则根据所述终端的标识,从缓存中获取所述终端的历史上网流量信息;根据所述终端当前使用的上网流量信息和所述终端的历史上网流量信息,确定所述终端已使用的上网流量信息,并将所述终端已使用的上网流量信息推送给所述终端。2.如权利要求1所述的方法,其特征在于,所述根据所述终端的标识,从缓存中获取所述终端的历史上网流量信息之前,还包括:将所述终端的标识和所述终端当前使用的上网流量信息推送到消息队列中。3.如权利要求1所述的方法,其特征在于,所述根据所述终端当前使用的上网流量信息和所述终端的历史上网流量信息,确定所述终端已使用的上网流量信息之后,还包括:将所述已使用的上网流量信息作为所述终端的历史上网流量信息,存储至缓存和数据库中,所述数据库中存储的终端的历史上网流量信息用于在从所述缓存中无法获取所述终端的历史上网流量信息时使用。4.如权利要求1-3任一项所述的方法,其特征在于,所述接收网元上报的终端当前使用的上网流量信息之后,所述根据所述终端的标识,从缓存中获取所述终端的历史上网流量信息之前,还包括:确定所述终端当前登记在线。5.如权利要求4所述的方法,其特...
【专利技术属性】
技术研发人员:王鑫,
申请(专利权)人:中国移动通信集团江苏有限公司,
类型:发明
国别省市:江苏,32
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。