KR-102963109-B1 - QUIC-based CoAP message delivery system in Internet of Things network environment
Abstract
The present invention relates to a system for relaying messages of the CoAP protocol, which is typically used in an Internet of Things (IoT) network environment, through a QUIC-based multi-stream. A QUIC-based CoAP message relay system according to one embodiment of the present invention is a system for relaying messages between an IoT server and a plurality of clients that constitute an IoT network, and is characterized by comprising: a client proxy that encodes CoAP messages collected from the plurality of clients into QUIC messages and transmits the QUIC messages through a stream pool allocated to each client; and a server proxy that receives the QUIC messages from the client proxy, decodes the QUIC messages into CoAP messages, and transmits them to the IoT server.
Inventors
- 고석주
- 정중화
- 남혜빈
- 최동규
- 김민지
Assignees
- 경북대학교 산학협력단
Dates
- Publication Date
- 20260508
- Application Date
- 20231213
Claims (12)
- In a system for relaying messages between an IoT server and multiple clients constituting an Internet of Things network, A client proxy that encodes CoAP messages collected from the plurality of clients into QUIC messages and transmits the QUIC messages through a stream pool allocated to each client; and A server proxy that receives the QUIC message from the client proxy, decodes the QUIC message into a CoAP message, and transmits it to the IoT server, wherein The client proxy transmits the QUIC message through a stream corresponding to the token value of the CoAP message in the stream pool if the CoAP message includes an observe option, and transmits the QUIC message through a default stream in the stream pool if the CoAP message does not include an observe option. QUIC-based CoAP message relay system.
- In paragraph 1, The above client proxy sends a registration request message to the above IoT server, receives identification information of the above server proxy from the above IoT server, and establishes a connection with the above server proxy based on the identification information. QUIC-based CoAP message relay system.
- In paragraph 2, The socket connecting the client proxy and the server proxy is the same as the socket to which the client proxy sent the registration request message. QUIC-based CoAP message relay system.
- In paragraph 3, The client proxy further receives a first access token corresponding to the socket from the IoT server, and transmits the first access token to the server proxy through the established connection, The server proxy transmits identification information of the socket to which the first access token was received to the IoT server, receives a second access token corresponding to the identification information from the IoT server, and maintains the established connection if the first and second access tokens are identical. QUIC-based CoAP message relay system.
- In paragraph 1, The above client proxy identifies a stream pool assigned to the identifier of the client that sent the CoAP message, and sends the QUIC message through at least one stream within the identified stream pool. QUIC-based CoAP message relay system.
- In paragraph 1, The above client proxy allocates a new stream pool to the identifier if there is no stream pool corresponding to the identifier of the client that sent the CoAP message. QUIC-based CoAP message relay system.
- delete
- In paragraph 1, If a stream corresponding to the token value does not exist, the above client proxy creates a new stream corresponding to the token value in the stream pool. QUIC-based CoAP message relay system.
- In paragraph 1, When temporally consecutive first and second CoAP messages are collected by the client proxy, if the second CoAP message contains the same header frame as the first CoAP message, the client proxy encodes the remaining frames of the second CoAP message, excluding the header frame, into a QUIC message. QUIC-based CoAP message relay system.
- In Paragraph 9, The above client proxy encodes the remaining frames of the second CoAP message, excluding the header frame and the option frame, into a QUIC message when the second CoAP message contains the same option frame as the first CoAP message. QUIC-based CoAP message relay system.
- In Paragraph 9, When the server proxy receives a QUIC message with the header frame excluded, it decodes the QUIC message so that the CoAP message to be delivered to the IoT server includes the header frame of the first CoAP message. QUIC-based CoAP message relay system.
- In Paragraph 10, When the server proxy receives a QUIC message excluding a header frame and an option frame, it decodes the QUIC message so that the CoAP message transmitted to the IoT server includes the header frame and an option frame of the first CoAP message. QUIC-based CoAP message relay system.
Description
A system for relaying CoAP messages based on QUIC in an Internet of Things network environment The present invention relates to a system for relaying messages of the CoAP protocol, which is typically used in an Internet of Things network environment, through a QUIC-based multi-stream. Internet of Things (IoT) technology serves as the foundation for next-generation services such as artificial intelligence and the metaverse, and its scope of application is continuously expanding. Consequently, there is a growing need for network performance and connection stability in IoT environments. Against this backdrop, Quick UDP Internet Connections (QUIC), a next-generation protocol, was developed to overcome the limitations of existing TCP-based communication. Although QUIC is a universally applicable protocol, technology development has so far been concentrated on web services, and attempts to utilize QUIC in environments with communication standards different from web services, such as the Internet of Things, are lacking. Accordingly, there is a need for a method to transmit messages of the CoAP protocol, which is commonly used in IoT network environments, based on QUIC. FIG. 1 is a diagram illustrating an Internet of Things network constructed according to an embodiment of the present invention. FIG. 2 is a diagram illustrating the connection relationships of a QUIC-based CoAP message relay system according to an embodiment of the present invention on an Internet of Things network illustrated in FIG. 1. Figure 3 is a flowchart illustrating the process of a QUIC-based CoAP message relay system being registered in an Internet of Things network. Figure 4 is a diagram illustrating the structure of a CoAP message. FIG. 5 is a diagram illustrating the transmission of CoAP messages based on QUIC through a stream pool allocated per client. Figure 6 is a diagram illustrating a QUIC stream frame defined for compression encoding of a CoAP message. FIG. 7 is a diagram illustrating the compression transmission operation of a CoAP message in a QUIC-based CoAP message relay system. The aforementioned objectives, features, and advantages are described in detail below with reference to the attached drawings, thereby enabling those skilled in the art to easily implement the technical concept of the present invention. In describing the present invention, detailed descriptions of known technologies related to the present invention are omitted if it is determined that such descriptions would unnecessarily obscure the essence of the invention. Hereinafter, preferred embodiments according to the present invention will be described in detail with reference to the attached drawings. In the drawings, the same reference numerals are used to indicate the same or similar components. In this specification, terms such as "first," "second," etc. are used to describe various components, but these components are not limited by these terms. These terms are used merely to distinguish one component from another, and unless specifically stated otherwise, the first component may be the second component. Additionally, in this specification, the statement that any configuration is disposed on the "upper (or lower)" or "upper (or lower)" of a component may mean not only that any configuration is disposed in contact with the upper (or lower) surface of said component, but also that another configuration may be interposed between said component and any configuration disposed on (or below) said component. Furthermore, where it is stated in this specification that one component is "connected," "coupled," or "connected" to another component, it should be understood that while the components may be directly connected or connected to each other, another component may be "interposed" between each component, or each component may be "connected," "coupled," or "connected" through another component. Additionally, singular expressions used in this specification include plural expressions unless the context clearly indicates otherwise. In this application, terms such as "composed of" or "comprising" should not be interpreted as necessarily including all of the various components or steps described in the specification, and should be interpreted as meaning that some of the components or steps may not be included, or that additional components or steps may be included. Additionally, in this specification, "A and/or B" means A, B, or A and B unless specifically stated otherwise, and "C to D" means C or more and D or less, unless specifically stated otherwise. The present invention relates to a system for relaying messages of the CoAP protocol, which is typically used in an Internet of Things network environment, through a QUIC-based multi-stream. Hereinafter, a QUIC-based CoAP message relay system according to an embodiment of the present invention will be described with reference to FIGS. 1 to 7. FIG. 1 is a diagram illustrating an Internet of Things network constructed