Method and system for sharing multi-protocol port, and server
AssigneeWangsu Science & Technology Co., Ltd.
InventorsXiangxiang Chen, Xiaochuan Zhuang
Life of this patent
Estimating the term…
Loading patent…
AssigneeWangsu Science & Technology Co., Ltd.
InventorsXiangxiang Chen, Xiaochuan Zhuang
Estimating the term…
The present disclosure discloses a method and system for sharing a multi-protocol port and a server, where a designated field for storing a listening structure is newly added to a listening structure of an HTTP protocol. The method includes: writing, with respect to a target port, a listening structure of an RTMP protocol into the designated field of the HTTP protocol if the HTTP protocol and the RTMP protocol share the target port; detecting a target protocol corresponding to a connection request when the connection request is received by the target port; and reading the listening structure of the RTMP protocol from the designated field to obtain configuration information of the RTMP protocol if the target protocol is the RTMP protocol, and processing the connection request using the configuration information of the RTMP protocol.
A method for processing connection requests received at a multi-protocol port, wherein a designated field for storing a listening structure is newly added to a listening structure of an HTTP protocol;
A server in which an Nginx system is deployed, comprising a memory and a processor, wherein the memory is configured to store a computer program which, when executed by the processor, causes the processor to perform a method for processing connection requests received at a multi-protocol port;
Dependencies are inferred from the claim text.