起点阅读APP

 2022-06-13 10:06

论文总字数:16519字

摘 要

在以文学阅读为核心业务的阅文集团公司下,存在着包括起点中文网、QQ阅读、小说改编等等诸多业务线,各个业务线都有自己独立的线上平台。随着集团业务发展和业务整合的需要,对于各独立线上业务平台的集成工作也越来越紧迫。其中,统一登录SDK对于降低系统维护复杂度、统一内部合作规范、提高安全管理水平尤为重要,本文针对该问题设计实现阅文集团统一登录SDK系统。本文的主要内容如下:

本文讨论开发该统一登录SDK中遇到的问题并提出了解决方案。本文的主要内容如下:

首先对该SDK从业务需求以及技术需求进行分析。

接着对该SDK设计总体架构,并且进行模块拆分。

然后阐述具体实现过程中遇到的问题,并分成业务需求与技术需求:

业务需求中对滑块验证码的设计进行了讨论;对解耦UI页面与网络请求接口逻辑;实现了自动续期模块,细分续期错误的处理,对特殊第三方做出处理。

技术需求中,对包名的重复问题使用加前缀的方式进行了解决;对公用库进行了选择;使用Runtime解决了不link第三方SDK静态包的问题,同时跳过了编译器检查。

最后对本SDK上线后的情况进行概述,与预期效果进行对比。

关键词:iOS, Objective-C,登陆模块

Abstract

Since Yuewen Group The group has been established, many subsidiaries and various businesses are complex, and the cost of management is rising. At the same time, the Internet economy is booming in China. The company is also actively expanding its business. It follows the trend to launch the starting point Chinese network, QQ reading and so on aiming at the APP in the reading market. At the same time, it also actively develops the entertainment industry, and carries out the two creation of the novel IP adaptation, such as remaking TV dramas, comics, games and other business.

Therefore, there is a need to create a unified logging group SDK. 1: this can reduce each APP to maintain the original login of the reading group and the third party logon codes separately, and it can also unify the specification of the group internal partners. 2: for the purpose of the unification of the product group, a highly recognizable group consciousness is established among users. 3: access to Tencent group internal risk management network management.

This paper discusses the problems encountered in developing the unified login SDK and proposes solutions. The main contents of this paper are as follows:

The duplication of the package and the choice of the shared library. Add prefix to function, class name and so on to solve namespace conflict problem; abandon Masonary and select AFNetWorking.

The interface design of block verification code.

Static packets without link third party SDK, write the bottom Runtime directly and skip compiler checking.

Decoupling UI page and network request interface logic, encapsulating network interfaces safely.

The realization of the automatic renewal module provides WeChat with a separate interface, a renewal of error handling, and an improvement to reduce the cost of the access party.

Key words:iOS, Objective-C, Login part

目录

摘要 III

Abstract IV

第一章 绪论 6

1.1 研究背景及意义 7

1.2 研究内容及研究目标 7

第二章 滑块验证码需求分析与设计 9

2.1 滑块验证码需求分析 9

2.2 滑块验证码设计 9

第三章 设计UI层与网络层交互方式 12

第四章 自动续期的具体步骤与实现 13

4.1 调起第三方APP 13

4.2 切回本APP,并分两步登陆 13

4.3 续期功能的实现 13

4.4 对微信续期的特殊处理 13

4.5 关于续期错误的分类鉴别与对应操作 14

4.6 实现减少接入方使用成本的部分功能 14

4.7 部分特殊情况的预防 14

第五章 公用库选择与架构设计 16

5.1 公用库选择 16

5.2 架构设计 17

第六章 第三方静态库解耦设计与实现 18

第七章 总结与展望 20

7.1 总结 20

7.2 展望 20

致谢 21

参考文献 22

绪论

2018年手机终端已经取代了电脑PC成为了人们获取信息,消费碎片化时间的工具。互联网的浪潮也就因此在手机终端上兴起了。在当前的世界上,共有两大操作系统iOS与Android,iOS是苹果开发的封闭系统,刚在最近发布了iOS12,同时还发布了新的iWatch系统,为生态圈的完善又迈出了重要的一步。Android也已经到了8.1的版本号,在完善通知中心,增加用户安全性,改善低内存老机型的内存使用,为用户体验做出进一步改进。我们可以看到当前iOS与Android系统已经不是iOS 4.3.3 对标 Android 2.3.5的时代了,当时iOS的设计语言与用户体验都远优与Android,国内还有大批使用Nokia智能机,运行着塞班S60系统的机型。当今,两大系统已经大致达到了平分秋色的程序,新系统的发布往往是两个系统的相互借鉴,共同改善用户体验。我们很高兴得看到iOS11加入了期待已久的“文件管理器”系统,Android也加入了Files-Go。这两大系统都不可被放弃,因此大部分互联网产品都登陆了这两个系统。而我参与的是iOS端的开发。

iOS开发与Android最大的不同是,苹果的审核机制十分严格,同时底层代码不开源,这会加大双端更新迭代的压力,这对于要求双端同时更新的大部分公司压力较大。

剩余内容已隐藏,请支付后下载全文,论文总字数:16519字

您需要先支付 80元 才能查看全部内容!立即支付

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;