摘要
针对基于网络短信息服务的有效数据长度控制的问题,提出了"逐字修正"和"超阈回滚"2种实现算法,并设计了2种算法的实现脚本。针对2种算法流程的不同,结合实际使用中数据的特点,比较了2种算法的优缺点;并针对可能出现的错误,提出了优化后的算法。借助浏览器插件,设计实验进行了定量分析,实验结果证实了算法分析阶段的预测结果。
This paper focuses on the effective data length control of network-based short message service. Two algorithms of "Always Correct" and "Over-threshold Rollback" are proposed. The advantages and disadvantages of these two algorithms are compared in combination with their individual arithmetic and features in use. An optimized algorithm is considered according to the possible errors in applications. The experiments for quantitative analysis are designed and the results verify the effectiveness of proposed algorithm.
出处
《成都电子机械高等专科学校学报》
2011年第3期18-22,共5页
Journal of Chengdu Electromechanical College