Custom Internet TV http protocol method based on Netty encapsulation
The invention discloses a custom Internet TV http protocol method based on Netty encapsulation. In the invention, the Netty is used as a core framework, the interface information, identity information and the like are encapsulated to a header of a custom http protocol, a secret key of the header is...
Gespeichert in:
Hauptverfasser: | , , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a custom Internet TV http protocol method based on Netty encapsulation. In the invention, the Netty is used as a core framework, the interface information, identity information and the like are encapsulated to a header of a custom http protocol, a secret key of the header is used for the first content encryption of http request content, and finally, the http request content is converted into a binary code for the second content encryption and transmission. The custom http protocol includes a main thread pool, a child thread pool and a request receiver. The invention is advantageous in that the custom Internet TV http protocol method based on the Netty encapsulation is reasonable in design and high in security, and can greatly improve the transmit-receive speed and security of the server-side http protocol.
本发明公开了基于Netty封装的自定义互联网电视http协议方法,以Netty作为核心框架,将接口信息,身份信息等封装到自定义http协议的包头中,利用包头的秘钥对http请求内容进行第次内容加密,最后将http请求内容装换为二进制码进行第二次内容加密并传输出去;所述自定义http协议包括主线程池、子线程池和请求接收器;本发明的优点在于:基于Netty封装的自定 |
---|