따라서, 본 발명은 상기의 문제점들을 해결하기 위해 창출된 것으로, 본 발명의 목적은 소정의 근거리 영역에 대해 방송하기 위한 컨텐츠를 유선 네트워크를 통해 근거리 영역과 대응되는 AP(Access Point)에 전달한 후 근거리 무선방식으로 근거리 영역에 컨텐츠를 방송함에 있어서, 근거리 영역에 대해 방송하기 위한 컨텐츠를 효율적으로 전달하기 위하여 근거리 무선방식의 프로토콜 규격 중 시퀀스(Sequence) 넘버 또는 포트넘버에 대한 필드를 더욱 적은 비트율로 압축할 수 있도록 하기 위한 근거리 무선통신 기반 프로토콜의 상위에 탑재되는 전송계층의 헤더정보 중 시퀀스 넘버 및 포트넘버를 압축 및 해제하기 위한 시스템 및 방법, 그리고 이에 적용되는 장치를 제공하는 데 있다.Accordingly, the present invention has been created to solve the above problems, and an object of the present invention is to deliver content for broadcasting on a predetermined short range area to a AP (Access Point) corresponding to the short range area through a wired network, and then In broadcasting contents in the near area by wireless method, in order to efficiently deliver the content for broadcasting in the near area, the field for sequence number or port number of the short range wireless protocol standard is compressed at a lower bit rate. The present invention provides a system and method for compressing and decompressing a sequence number and a port number among header information of a transport layer mounted on a short range wireless communication based protocol for enabling the present invention, and an apparatus applied thereto.
또한, 본 발명의 다른 목적은 근거리 영역에 대해 방송하기 위한 컨텐츠를 효율적으로 전달하기 위하여 근거리 무선방식의 프로토콜 규격 중 시퀀스(Sequence) 넘버 또는 포트넘버에 대한 필드를 더욱 적은 비트율로 압축한 후, 이를 에러없이 데이터 복구하여 압축 해제하기 위한 근거리 무선통신 기반 프로토콜의 상위에 탑재되는 전송계층의 헤더정보 중 시퀀스 넘버 및 포트넘버를 압축 및 해제하기 위한 시스템 및 방법, 그리고 이에 적용되는 장치를 제공하는 데 있다.In addition, another object of the present invention is to compress the field for the sequence number or port number of the short-range wireless protocol specification to a smaller bit rate in order to efficiently deliver the content for broadcasting in the short-range area, and then The present invention provides a system and method for compressing and decompressing a sequence number and a port number among header information of a transport layer mounted on a short-range wireless communication based protocol for recovering and decompressing data without error, and an apparatus applied thereto. .
상기 목적을 달성하기 위한 본 발명의 일 실시예에 따른 근거리 무선통신 기반 프로토콜의 상위에 탑재되는 전송계층의 헤더정보를 압축 및 해제하기 위한 시스템은 근거리 영역에 방송하기 위한 컨텐츠를 유선 네트워크의 전송 프로토콜에 기반하여 수신한 후 상기 전송 프로토콜에 대응되는 전송계층의 헤더정보 중 특정필드에 포함된 넘버인 고유넘버에 대한 압축을 통해 상기 전송계층의 페이로드를 확장하여 근거리 무선방식의 네트워크에 적응되도록 프로토콜 전환한 상기 컨텐츠의 데이터 전송량을 늘려 상기 근거리 영역에 방송하는 무선송출 장치; 및In order to achieve the above object, a system for compressing and decompressing header information of a transport layer mounted on a short range wireless communication based protocol according to an embodiment of the present invention is a transmission protocol of a wired network. After receiving based on the protocol to be adapted to the short-range wireless network by extending the payload of the transport layer by compressing the unique number which is the number included in a specific field of the header information of the transport layer corresponding to the transport protocol A radio transmitting apparatus for increasing the amount of data transmission of the converted content and broadcasting it to the short range region; And
상기 근거리 영역에 위치하여 상기 컨텐츠를 수신한 후 상기 시퀀스 넘버에 대한 압축을 해제하여 상기 컨텐츠를 이루는 데이터 복구를 실행하기 위한 적어도 하나 이상의 사용자 단말장치;를 포함한다.And at least one user terminal device located in the local area to receive the content, decompress the sequence number, and perform data recovery to form the content.
그리고 상기 고유넘버는 전송계층의 헤더정보 중 시퀀스 넘버인 것을 특징으로 하고, 상기 무선송출 장치는 상기 시퀀스 넘버의 수신을 위한 통신 초기연결 또는 상기 시퀀스 넘버에 대한 압축이 이루어지지 않은 경우에 상기 시퀀스 넘버에 설정된 제 1 연결값을 저장하고, 이후의 상기 컨텐츠에 대한 패킷이 발생하는 경우에는 상기 시퀀스 넘버에 설정된 제 2 연결값에서 상기 제 1 연결값을 뺀 증가분을 상기 시퀀스 넘버에 표기하여 압축 실행하는 것이 바람직하다.The unique number may be a sequence number of header information of a transport layer, and the wireless transmission apparatus may transmit the sequence number when the initial connection for the reception of the sequence number or the compression is not performed for the sequence number. Storing the first connection value set in step S, and if there is a packet for the content thereafter, performing compression by noting an increase value obtained by subtracting the first connection value from the second connection value set in the sequence number in the sequence number. It is preferable.
또한 상기 사용자 단말장치는 상기 제 1 연결값에 대응하는 패킷의 상기 시퀀스 넘버에는 상기 제 1 연결값을 그대로 표기하고, 상기 제 2 연결값에 대응하는 패킷의 상기 시퀀스 넘버에는 상기 증가분에 상기 제 1 연결값을 더하여 데이터 복구하는 압축 해제로 형성되는 상기 제 2 연결값을 표기하는 것이 바람직하다.In addition, the user terminal device directly indicates the first connection value in the sequence number of the packet corresponding to the first connection value, and the first increment value in the increment in the sequence number of the packet corresponding to the second connection value. It is preferable to designate the second connection value formed by decompression to add data and restore the data.
그리고 상기 고유넘버는 전송계층의 헤더정보 중 포트넘버인 것을 특징으로 하고, 상기 무선송출 장치는 상기 포트넘버에 설정된 포트넘버값 및 포트용도에 따라 상기 포트넘버에 대한 압축을 차별적으로 실행하는 것이 바람직하다.The unique number may be a port number of header information of a transport layer, and the wireless transmission apparatus may perform compression on the port number differentially according to a port number value and a port usage set in the port number. Do.
또한 상기 사용자 단말장치는 상기 포트넘버에 설정된 포트넘버값 및 포트용도에 따라 상기 포트넘버에 대한 압축 해제를 차별적으로 실행하는 것이 바람직하다.In addition, the user terminal device preferably performs decompression on the port number according to the port number value and the port usage set in the port number.
한편 본 발명의 일 실시예에 따른 근거리 무선통신 기반 프로토콜의 상위에 탑재되는 전송계층의 헤더정보를 압축 및 해제하기 위한 시스템 중 무선송출 장치는 근거리 영역에 방송하기 위한 컨텐츠를 유선 네트워크의 전송 프로토콜에 기반하여 수신하는 수신부; 상기 전송 프로토콜에 대응되는 전송계층의 헤더정보 중 특정필드에 포함된 넘버인 고유넘버에 대한 압축을 실행하기 위한 압축부; 상기 컨텐츠를 근거리 무선방식의 네트워크에 적응되도록 프로토콜 전환하기 위한 프로토콜 전환부; 및 상기 압축을 통해 상기 전송계층의 페이로드를 확장하여 상기 프로토콜 전환한 컨텐츠의 데이터 전송량을 늘려 상기 근거리 영역에 방송하는 송출부;를 포함한다.Meanwhile, among the systems for compressing and decompressing header information of a transport layer that is mounted on a short range wireless communication based protocol according to an embodiment of the present invention, a wireless transmitting apparatus may transmit content for broadcasting in a short range to a transport protocol of a wired network. Receiving unit for receiving based on; A compression unit for performing compression on a unique number which is a number included in a specific field of header information of a transport layer corresponding to the transport protocol; A protocol switching unit for protocol switching of the contents to be adapted to a short range wireless network; And a transmitter configured to expand the payload of the transport layer through the compression to increase the data transmission amount of the protocol-switched content and to broadcast it to the local area.
그리고 상기 고유넘버는 전송계층의 헤더정보 중 시퀀스 넘버인 것을 특징으로 하고, 상기 압축부는 상기 시퀀스 넘버의 수신을 위한 통신 초기연결 또는 상기 시퀀스 넘버에 대한 압축이 이루어지지 않은 경우, 상기 헤더정보의 시퀀스 넘버 플래그를 제 1 플래그 값으로 설정한 후 상기 시퀀스 넘버에 설정된 제 1 연결값에 대한 압축을 실행하지 않고 저장하는 것이 바람직하다.And the unique number is a sequence number of header information of a transport layer, and the compression unit is a sequence of the header information when the communication initial connection for receiving the sequence number or the compression is not performed for the sequence number. After setting the number flag to the first flag value, it is preferable to store the first connection value set in the sequence number without performing compression.
또한 상기 압축부는 상기 제 1 연결값과 대응되는 상기 시퀀스 넘버 이후에 상기 컨텐츠에 대한 패킷이 발생하는 경우, 상기 헤더정보의 시퀀스 넘버 플래그를 제 2 플래그 값으로 설정하는 것이 바람직하다.In addition, when the packet for the content is generated after the sequence number corresponding to the first connection value, the compression unit sets the sequence number flag of the header information to a second flag value.
그리고 상기 압축부는 상기 헤더정보의 시퀀스 넘버 플래그에 상기 제 2 플래그 값이 설정되는 경우, 상기 시퀀스 넘버에 설정된 제 2 연결값에서 상기 제 1 연결값을 뺀 증가분을 상기 시퀀스 넘버에 표기하여 압축 실행하는 것이 바람직하다.When the second flag value is set in the sequence number flag of the header information, the compression unit compresses and writes an increment obtained by subtracting the first connection value from the second connection value set in the sequence number to the sequence number. It is preferable.
또한 상기 고유넘버는 전송계층의 헤더정보 중 포트넘버인 것을 특징으로 하고, 상기 포트넘버는 소스 포트넘버에 대한 필드 및 목적지 포트넘버에 대한 필드를 포함하는 것이 바람직하다.In addition, the unique number is characterized in that the port number of the header information of the transport layer, the port number preferably includes a field for the source port number and a field for the destination port number.
그리고 상기 압축부는 상기 포트넘버에 설정된 포트넘버값 또는 포트용도에 따라 상기 포트넘버에 대한 압축을 차별적으로 실행하는 것이 바람직하다.Preferably, the compression unit differentially compresses the port number according to the port number value or the port usage set in the port number.
또한 상기 압축부는 상기 포트용도가 FTP, TELNET 및 HTML 중 어느 하나를 포함하는 경우, 상기 포트넘버에 예정된 제 1 레벨의 비트를 설정하여 압축하는 것이 바람직하다.In addition, when the port usage includes any one of FTP, TELNET, and HTML, it is preferable to set and compress a bit of a predetermined first level in the port number.
그리고 상기 압축부는 상기 근거리 무선방식의 네트워크가 IEEE 802.15.4 스펙에 의하는 경우, 상기 압축 후의 포트넘버값으로 0 내지 255 중 어느 하나의 할당된 숫자를 표기하는 것이 바람직하다.When the short-range wireless network is based on the IEEE 802.15.4 specification, the compression unit may indicate an assigned number of 0 to 255 as the port number value after the compression.
또한 상기 압축부는 상기 근거리 영역에 상기 컨텐츠를 방송하기 위한 서비스와 대응하여 기 설정된 제 1 할당 값들 중 어느 하나가 상기 포트넘버값에 설정되어 있는 경우, 상기 포트넘버에 예정된 제 2 레벨의 비트를 설정하여 압축하는 것이 바람직하다.The compression unit may set a bit of a second level predetermined in the port number when any one of first preset values corresponding to a service for broadcasting the content in the short range area is set in the port number. It is preferable to compress.
그리고 상기 압축부는 상기 제 1 할당 값들 중 어느 하나가 이루는 값에서 상기 제 1 할당 값들이 공통으로 가지는 기준 값을 빼어 형성되는 나머지 잔여 값을 상기 압축 후의 포트넘버값인 것으로 설정하는 것이 바람직하다.The compression unit may set the remaining residual value formed by subtracting a reference value that the first allocation values have in common from a value formed by any one of the first allocation values to be a port number value after the compression.
또한 상기 압축부는 상기 제 1 할당 값들이 16비트로 이루어지고, 상기 기준값이 12비트인 경우로 상기 압축 후의 포트넘버값이 4비트의 값으로 형성되는 것이 바람직하다.In addition, when the first allocation values are 16 bits and the reference value is 12 bits, the compression unit preferably has a port number value after the compression having a value of 4 bits.
그리고 상기 압축부는 상기 포트넘버값에 기 설정된 제 2 할당 값 중 어느 하나가 설정되어 있는 경우, 상기 포트넘버에 예정된 제 1 레벨의 비트를 설정하여 압축하는 것이 바람직하다.In addition, when any one of a second allocation value preset to the port number is set, the compression unit sets and compresses a bit of a first level predetermined in the port number.
또한 상기 압축부는 상기 제 2 할당 값들 중 어느 하나가 이루는 값에서 상기 제 2 할당 값들이 공통으로 가지는 기준 값을 빼어 형성되는 나머지 잔여 값을 상기 압축 후의 포트넘버값인 것으로 설정하는 것이 바람직하다.In addition, the compression unit may set the remaining residual value formed by subtracting a reference value which the second allocation values have in common from a value formed by any one of the second allocation values to be a port number value after the compression.
그리고 상기 압축부는 상기 포트넘버값 또는 상기 포트용도 이외인 경우, 상기 포트넘버에 대한 압축을 실행하지 않는 것이 바람직하다.If the compression unit is other than the port number value or the port use, it is preferable that the compression unit does not perform compression on the port number.
또한 상기 압축부는 상기 소스 포트넘버에 대한 필드 및 상기 목적지 포트넘버에 대한 필드에 대한 모드 설정이 완료된 후 옥택(octet)을 맞추기 위한 패딩(padding) 필드를 추가하는 것이 바람직하다.In addition, the compression unit preferably adds a padding field for fitting an octet after mode setting for the field for the source port number and the field for the destination port number is completed.
그리고 상기 압축부는 상기 소스 포트넘버에 대한 필드가 이루는 모드 및 상기 목적지 포트넘버에 대한 필드가 이루는 모드 중 어느 하나가 나머지와 다른 주소체계로 이루어지는 경우, 상기 패딩(padding) 필드를 추가하지 않는 것이 바람직하다.The compressor may not add the padding field when any one of the mode of the field for the source port number and the mode of the field for the destination port number is different from the rest. Do.
한편 본 발명의 일 실시예에 따른 근거리 무선통신 기반 프로토콜의 상위에 탑재되는 전송계층의 헤더정보를 압축 및 해제하기 위한 시스템 중 사용자 단말장치는 근거리 영역으로 방송되는 컨텐츠를 근거리 무선통신 기반 프로토콜에 기반하여 수신하는 수신부; 상기 근거리 무선통신 기반 프로토콜의 상위에 탑재되는 전송계층의 헤더정보 중 특정필드에 포함된 넘버인 고유넘버에 설정된 압축을 해제하기 위한 압축 해제부; 상기 고유넘버에 대한 압축 해제 후, 상기 컨텐츠를 방송하기 위한 포맷으로 코딩하는 코딩부; 및 상기 컨텐츠를 방송수신 화면에 디스플레이하기 위한 응용 프로그램 실행부; 를 포함한다.Meanwhile, a user terminal device of the system for compressing and decompressing header information of a transport layer mounted on a short range wireless communication based protocol according to an embodiment of the present invention is based on a short range wireless communication based protocol. Receiving unit for receiving; A decompression unit for releasing compression set to a unique number which is a number included in a specific field among header information of a transport layer mounted on the short range wireless communication based protocol; A coding unit for coding the content in a format for broadcasting after decompression of the unique number; And an application program execution unit for displaying the contents on a broadcast reception screen. It includes.
그리고 상기 고유넘버는 전송계층의 헤더정보 중 시퀀스 넘버인 것을 특징으로 하고, 상기 압축 해제부는 상기 헤더정보의 시퀀스 넘버 플래그가 압축되지 않은 것을 나타내는 제 1 플래그 값으로 설정된 경우, 상기 시퀀스 넘버에 설정된 제 1 연결값에 대한 압축 해제를 실행하지 않는 것이 바람직하다.And the unique number is a sequence number of header information of a transport layer, and the decompression unit is set to the first flag value indicating that the sequence number flag of the header information is not compressed. It is preferable not to decompress the 1 connection value.
또한 상기 압축 해제부는 상기 헤더정보의 시퀀스 넘버 플래그가 압축된 것으로 나타내는 제 2 플래그 값으로 설정된 경우, 상기 시퀀스 넘버에 설정된 압축 실행값에 상기 제 1 연결값을 더하여 데이터 복구하는 압축 해제로 형성되는 제 2 연결값을 표기하는 것이 바람직하다.The decompression unit may include a decompression unit configured to decompress data by adding the first connection value to a compression execution value set to the sequence number when the sequence number flag of the header information is set to the compressed value. 2 It is preferable to indicate the connection value.
그리고 상기 고유넘버는 전송계층의 헤더정보 중 포트 넘버인 것을 특징으로 하고, 상기 압축 해제부는 상기 헤더정보의 포트넘버 플래그가 압축되지 않은 것을 나타내는 제 1 플래그 값으로 설정된 경우, 상기 포트넘버에 설정된 포트넘버값에 대한 압축 해제를 실행하지 않는 것이 바람직하다.And the unique number is a port number of header information of a transport layer, and the decompressor is a port set to the port number when the port number flag of the header information is set to a first flag value indicating that the header number is not compressed. It is preferable not to perform decompression on the number value.
또한 상기 압축 해제부는 상기 헤더정보의 포트넘버 플래그가 FTP, TELNET 및 HTML 중 어느 하나의 포트용도에 적용하기 위해 제 2 플래그 값으로 설정된 경우, 예정된 제 1 레벨의 비트로 압축된 값의 압부분에 상기 제 2 플래그 값과 대응되어 공통된 기준 값을 추가함에 따라 압축 해제의 비트 수로 복구하는 것이 바람직하다.When the port number flag of the header information is set to a second flag value to apply to any one of FTP, TELNET, and HTML, the decompression unit may be configured to press the compressed portion of the value compressed to a bit of a predetermined first level. It is desirable to recover to the number of bits of decompression as adding a common reference value corresponding to the second flag value.
그리고 상기 압축 해제부는 상기 헤더정보의 포트넘버 플래그가 상기 근거리 영역에 상기 컨텐츠를 방송하기 위한 서비스와 대응하여 압축 실행된 것을 나타내는 제 3 플래그 값으로 설정된 경우, 예정된 제 2 레벨의 비트로 압축된 값의 앞부분에 상기 제 3 플래그 값과 대응되어 공통된 기준 값을 추가함에 따라 압축 해제의 비트 수로 복구하는 것이 바람직하다.And when the port number flag of the header information is set to a third flag value indicating that the port number flag of the header information is compressed in correspondence with a service for broadcasting the content in the short range region, It is preferable to recover to the number of bits of decompression by adding a common reference value corresponding to the third flag value earlier.
한편 본 발명의 일 실시예에 따른 근거리 무선통신 기반 프로토콜의 상위에 탑재되는 전송계층의 헤더정보 중 시퀀스 넘버를 압축하기 위한 방법은 근거리 영역에 방송하기 위한 컨텐츠를 유선 네트워크의 전송 프로토콜에 기반하여 수신하는 컨텐츠 수신 단계; 상기 전송 프로토콜에 대응되는 전송계층의 헤더정보 중 시퀀스 넘버에 대한 압축을 실행하기 위한 압축 실행 단계; 상기 컨텐츠를 근거리 무선방식의 네트워크에 적응되도록 프로토콜 전환하기 위한 프로토콜 전환 단계; 및 상기 압축을 통해 상기 전송계층의 페이로드를 확장하여 상기 프로토콜 전환한 컨텐츠의 데이터 전송량을 늘려 상기 근거리 영역에 방송하기 위한 송출 단계;를 포함한다.On the other hand, the method for compressing the sequence number of the header information of the transport layer on top of the short-range wireless communication based protocol according to an embodiment of the present invention receives the content for broadcasting in the short-range area based on the transmission protocol of the wired network Receiving a content; A compression execution step of performing compression on a sequence number of header information of a transport layer corresponding to the transport protocol; A protocol switching step for protocol switching of the contents to be adapted to a short range wireless network; And transmitting the broadcast to the short-range area by increasing the data transmission amount of the protocol-switched content by extending the payload of the transport layer through the compression.
그리고 상기 압축 실행 단계는 상기 시퀀스 넘버의 수신을 위한 통신 초기연결 또는 상기 시퀀스 넘버에 대한 압축이 이루어지지 않은 경우, 상기 헤더정보의 시퀀스 넘버 플래그를 제 1 플래그 값으로 설정한 후 상기 시퀀스 넘버에 설정된 제 1 연결값에 대한 압축을 실행하지 않고 저장하는 것이 바람직하다.In the compressing step, if the communication initial connection for receiving the sequence number or the compression for the sequence number is not performed, the sequence number flag of the header information is set to a first flag value and then set to the sequence number. It is preferable to store the data without performing compression on the first connection value.
또한 상기 압축 실행 단계는 상기 제 1 연결값과 대응되는 상기 시퀀스 넘버 이후에 상기 컨텐츠에 대한 패킷이 발생하는 경우, 상기 헤더정보의 시퀀스 넘버 플래그에 제 2 플래그 값을 설정하여 상기 시퀀스 넘버에 압축이 실행된 것을 나타내는 것이 바람직하다.In the compressing step, when a packet for the content occurs after the sequence number corresponding to the first connection value, the compression is performed by setting a second flag value to a sequence number flag of the header information. It is preferable to indicate that it is performed.
그리고 상기 압축 실행 단계는 상기 헤더정보의 시퀀스 넘버 플래그에 상기 제 2 플래그 값이 설정되는 경우, 상기 시퀀스 넘버에 설정된 제 2 연결값에서 상기 제 1 연결값을 뺀 증가분을 상기 시퀀스 넘버에 표기하여 압축 실행하는 것이 바람직하다.In the compressing step, when the second flag value is set in the sequence number flag of the header information, the compression is performed by noting the second connection value set from the sequence number by subtracting the first connection value from the sequence number. It is preferable to carry out.
또한 상기 압축 실행 단계는 상기 제 1 연결값 및 상기 제 2 연결값이 32 비트로 설정되면 상기 증가분은 16비트로 형성되는 것이 바람직하다.In the compression execution step, when the first connection value and the second connection value are set to 32 bits, the increment is preferably formed to 16 bits.
한편 본 발명의 다른 일 실시예에 따른 근거리 무선통신 기반 프로토콜의 상위에 탑재되는 전송계층의 헤더정보 중 시퀀스 넘버를 압축 해제하기 위한 방법은 근거리 영역으로 방송되는 컨텐츠를 근거리 무선통신 기반 프로토콜에 기반하여 수신하는 컨텐츠 수신 단계; 상기 근거리 무선통신 기반 프로토콜의 상위에 탑재되는 전송계층의 헤더정보 중 시퀀스 넘버에 설정된 압축을 해제하기 위한 압축 해제 단계; 상기 시퀀스 넘버에 대한 압축 해제 후, 상기 컨텐츠를 방송하기 위한 포맷으로 코딩하는 코딩적용 단계; 및 상기 컨텐츠를 방송수신 화면에 디스플레이하기 위한 응용 프로그램 실행 단계;를 포함한다.On the other hand, a method for decompressing a sequence number of header information of a transport layer mounted on top of a short range wireless communication based protocol according to another embodiment of the present invention is based on a short range wireless communication based protocol. Receiving content receiving step; A decompression step of releasing compression set in a sequence number among header information of a transport layer mounted on the short range wireless communication based protocol; A coding applying step of decompressing the sequence number and coding the content in a format for broadcasting; And executing an application program for displaying the contents on a broadcast reception screen.
그리고 상기 압축 해제 단계는 상기 헤더정보의 시퀀스 넘버 플래그가 압축되지 않은 것을 나타내는 제 1 플래그 값으로 설정된 경우, 상기 시퀀스 넘버에 설정된 제 1 연결값에 대한 압축 해제를 실행하지 않는 것이 바람직하다.In the decompressing step, when the sequence number flag of the header information is set to a first flag value indicating that the header is not compressed, it is preferable not to decompress the first connection value set in the sequence number.
또한 상기 압축 해제 단계는 상기 시퀀스 넘버의 수신을 위한 통신 초기연결 또는 상기 시퀀스 넘버에 대한 압축이 이루어지지 않은 경우에 한정적으로 상기 헤더정보의 시퀀스 넘버 플래그에 상기 제 1 플래그 값을 설정하는 것이 바람직하다.In the decompression step, it is preferable to set the first flag value to a sequence number flag of the header information only when communication initial connection for receiving the sequence number or compression is not performed on the sequence number. .
그리고 상기 압축 해제 단계는 상기 헤더정보의 시퀀스 넘버 플래그가 압축된 것으로 나타내는 제 2 플래그 값으로 설정된 경우, 상기 시퀀스 넘버에 설정된 압축 실행값에 상기 제 1 연결값을 더하여 데이터 복구하는 압축 해제로 형성되는 제 2 연결값을 표기하는 것이 바람직하다.The decompressing step may include decompression to recover data by adding the first connection value to a compression execution value set to the sequence number when the sequence number flag of the header information is set to a compressed value. It is preferable to indicate the second connection value.
또한 상기 압축 해제 단계는 상기 헤더정보의 시퀀스 넘버 플래그에 상기 제 2 플래그 값을 설정하는 경우는, 상기 제 1 연결값과 대응되는 상기 시퀀스 넘버 이후에 순차적으로 발생하는 상기 컨텐츠에 대한 패킷을 그 대상으로 하는 것이 바람직하다.In the decompressing step, when the second flag value is set in a sequence number flag of the header information, the decompression step may include a packet for the content sequentially generated after the sequence number corresponding to the first connection value. It is preferable to set it as.
한편 본 발명의 일 실시예에 따른 근거리 무선통신 기반 프로토콜의 상위에 탑재되는 전송계층의 헤더정보 중 포트넘버를 압축하기 위한 방법은 근거리 영역에 방송하기 위한 컨텐츠를 유선 네트워크의 전송 프로토콜에 기반하여 수신하는 컨텐츠 수신 단계; 상기 전송 프로토콜에 대응되는 전송계층의 헤더정보 중 포트넘버에 대한 압축을 실행하기 위한 압축 실행 단계; 상기 컨텐츠를 근거리 무선방식의 네트워크에 적응되도록 프로토콜 전환하기 위한 프로토콜 전환 단계; 및 상기 압축을 통해 상기 전송계층의 페이로드를 확장하여 상기 프로토콜 전환한 컨텐츠의 데이터 전송량을 늘려 상기 근거리 영역에 방송하기 위한 송출 단계;를 포함한다.On the other hand, the method for compressing the port number of the header information of the transport layer on top of the short-range wireless communication based protocol according to an embodiment of the present invention receives the content for broadcasting in the short-range area based on the transmission protocol of the wired network Receiving a content; A compression execution step of performing compression on a port number of header information of a transport layer corresponding to the transport protocol; A protocol switching step for protocol switching of the contents to be adapted to a short range wireless network; And transmitting the broadcast to the short-range area by increasing the data transmission amount of the protocol-switched content by extending the payload of the transport layer through the compression.
한편 본 발명의 일 실시예에 따른 근거리 무선통신 기반 프로토콜의 상위에 탑재되는 전송계층의 헤더정보 중 포트넘버를 압축 해제하기 위한 방법은 근거리 영역으로 방송되는 컨텐츠를 근거리 무선통신 기반 프로토콜에 기반하여 수신하는 컨텐츠 수신 단계; 상기 근거리 무선통신 기반 프로토콜의 상위에 탑재되는 전송계층의 헤더정보 중 포트넘버에 설정된 압축을 해제하기 위한 압축 해제 단계; 상기 포트넘버에 대한 압축 해제 후, 상기 컨텐츠를 방송하기 위한 포맷으로 코딩하는 코딩적용 단계; 및 상기 컨텐츠를 방송수신 화면에 디스플레이하기 위한 응용 프로그램 실행 단계;를 포함하는 것이 바람직하다.On the other hand, the method for decompressing the port number of the header information of the transport layer on top of the short-range wireless communication protocol according to an embodiment of the present invention receives the content broadcasted in the short-range area based on the short-range wireless communication protocol Receiving a content; A decompression step of releasing compression set to a port number among header information of a transport layer mounted on the short range wireless communication based protocol; A coding applying step of decompressing the port number and coding the content in a format for broadcasting; And executing an application program for displaying the contents on a broadcast reception screen.
따라서, 본 발명에서는 소정의 근거리 영역에 대해 방송하기 위한 컨텐츠를 유선 네트워크를 통해 근거리 영역과 대응되는 AP(Access Point)에 전달한 후 근거리 무선방식으로 근거리 영역에 컨텐츠를 방송함에 있어서, 근거리 영역에 대해 방송하기 위한 컨텐츠를 효율적으로 전달하기 위하여 근거리 무선방식의 프로토콜 규격 중 시퀀스(Sequence) 넘버 및 포트넘버에 대한 필드를 더욱 적은 비트율로 압축 및 해제할 수 있도록 구현됨으로써, 유선 네트워크 및 근거리 무선통신 네트워크 간에 연계된 네트워크 상에서 보다 효율적으로 상위계층의 헤더정보를 압축하여 전송하고자 하는 데이터의 전송효율을 크게 향상시킬 수 있는 이점이 있다.Accordingly, in the present invention, after delivering content for broadcasting in a predetermined short range area to an AP (Access Point) corresponding to the short range area through a wired network, the content is broadcast in the short range area in a short range wireless manner. In order to efficiently deliver contents for broadcasting, the fields for the sequence number and the port number of the short range wireless protocol standard can be compressed and decompressed at a lower bit rate. There is an advantage in that the transmission efficiency of data to be transmitted can be greatly improved by compressing header information of a higher layer more efficiently on an associated network.
이하, 첨부도면들을 참조하여 본 발명에 따른 근거리 무선통신 기반 프로토콜의 상위에 탑재되는 전송계층의 헤더정보를 압축 및 해제하기 위한 시스템의 바람직한 실시예를 보다 상세히 설명하면 다음과 같다.Hereinafter, a preferred embodiment of a system for compressing and decompressing header information of a transport layer mounted on a short range wireless communication based protocol according to the present invention will be described in detail with reference to the accompanying drawings.
도 1은 본 발명의 일실시 예에 따른 근거리 무선통신 기반 프로토콜의 상위에 탑재되는 전송계층의 헤더정보를 압축 및 해제하기 위한 시스템의 구성도이다. 도 1에 단지 예로써 도시된 바와 같이, 근거리 무선통신 기반 프로토콜의 상위에 탑재되는 전송계층의 헤더정보를 압축 및 해제하기 위한 시스템은 근거리 무선통신 네트워크이 IEEE 802.15.4 스펙으로 이루어지는 경우, 물리 계층(PHY Layer)에서는 물리계층 헤더를 제외한 페이로드의 크가가 최대 127 바이트이기 때문에 상위계층의 헤더와 페이로드는 127 바이트 이내에 들어와야 한다.1 is a block diagram of a system for compressing and decompressing header information of a transport layer mounted on a short range wireless communication based protocol according to an embodiment of the present invention. As shown by way of example only in FIG. 1, a system for compressing and decompressing header information of a transport layer that is mounted on a short range wireless communication based protocol includes a physical layer (when the short range wireless communication network is configured according to the IEEE 802.15.4 specification). In the PHY Layer, the maximum payload value excluding the physical layer header is 127 bytes, so the header and the payload of the upper layer should be within 127 bytes.
 IEEE 802.15.4 스펙의 일반적인 MAC 헤더를 보면 기본적인 3 바이트의 주소필드, 0 ~ 20 바이트의 보안 필드 및 0 ~ 14 바이트의 옵션 필드로 구성되어서 전체 헤더의 크기는 최소 3 바이트에서 옵션에 따라 최대 37 바이트를 가질 수 있다. The general MAC header of the IEEE 802.15.4 specification consists of a basic 3 byte address field, a 0 to 20 byte security field, and an 0 to 14 byte option field so that the total header size can range from a minimum of 3 bytes to an option of 37 It can have a byte.
이에 따라, 전송효율을 높이기 위해서는 페이로드 중 헤더의 크기를 줄여서 데이터에 할당되는 페이로드 길이를 늘리기 위한 방안으로, 상위계층의 헤더정보에 대한 압축을 실행하여 근거리 무선통신 네트워크 기반의 프로토롤 전환 계층인 PAL(Protocol Adaptation Layer)에서의 페이로드에 더 많은 데이터 정보를 실어서 데이터 전송효율을 증가시키는 방안을 제시한다.Accordingly, in order to increase the transmission efficiency, a method for increasing the payload length allocated to data by reducing the size of the header of the payload, and compressing the header information of the upper layer to perform the protocol switching layer based on the short range wireless communication network This paper proposes a method to increase data transmission efficiency by loading more data information in payload in PAL (Protocol Adaptation Layer).
이러한 방안을 기본으로 하는 근거리 무선통신 기반 프로토콜의 상위에 탑재되는 전송계층의 헤더정보를 압축 및 해제하기 위한 시스템은 소정의 근거리 영역에 방송하기 위한 컨텐츠를 유선 네트워크(예컨대, 인터넷)의 전송 프로토콜(예컨대, TCP/IP)에 기반하여 수신한 후 상기 전송 프로토콜(예컨대, TCP/IP)에 대응되는 전송계층의 헤더정보 중 시퀀스(Sequence) 넘버 및 포트넘버에 대한 압축을 통해 전송계층의 페이로드를 확장하여 근거리 무선방식의 네트워크에 적응되도록 프로토콜 전환한 컨텐츠의 데이터 전송량을 늘려 근거리 영역에 방송방식으로 전송하는 무선송출 장치, 및 근거리 영역에 위치하여 컨텐츠를 수신한 후 수신한 컨텐츠의 헤더정보 중 시퀀스 넘버 또는 포트넘버에 설정된 압축을 해제하기 위한 적어도 하나 이상의 사용자 단말장치(200)를 포함한다.A system for compressing and decompressing header information of a transport layer that is mounted on top of a short range wireless communication based protocol based on such a scheme includes a transmission protocol of a wired network (for example, the Internet) for broadcasting content to a predetermined short range region. For example, after receiving based on TCP / IP, the payload of the transport layer is compressed by compressing a sequence number and a port number among header information of the transport layer corresponding to the transport protocol (eg, TCP / IP). Wireless transmission device that extends the data transmission amount of contents of protocol-switched content to be adapted to short-range wireless network, and transmits it by broadcasting method to short-range area, and sequence of header information of received content after receiving content located in short-range area At least one user terminal for decompressing the number orport number Tooth 200.
도 2는 도 1에 도시된 무선 송출장치의 구성도이다. 도 2에 단지 예로써 도시된 바와 같이, 무선 송출장치(100)의 상세 구성은 근거리 영역에 방송하기 위한 컨텐츠를 유선 네트워크의 전송 프로토콜(예컨대, TCP/IP)에 기반하여 수신하는 수신부(110), 전송 프로토콜(예컨대, TCP/IP)에 대응되는 전송계층의 헤더정보에 대한 압축을 실행하기 위한 압축부(120), 컨텐츠를 근거리 무선방식의 네트워크에 적응되도록 프로토콜 전환하기 위한 프로토콜 전환부(130), 및 압축을 통해 전송계층의 페이로드를 확장하여 프로토콜 전환한 컨텐츠의 데이터 전송량을 늘려 근거리 영역에 방송하는 송출부(140)를 포함한다.2 is a block diagram of the wireless transmitting apparatus shown in FIG. 1. As shown by way of example only in FIG. 2, the detailed configuration of thewireless transmitting apparatus 100 includes a receivingunit 110 for receiving content for broadcasting in a local area based on a transmission protocol (eg, TCP / IP) of a wired network. Acompression unit 120 for performing compression on header information of a transport layer corresponding to a transport protocol (for example, TCP / IP), and a protocol switching unit 130 for protocol switching to adapt contents to a short-range wireless network. And atransmitter 140 that extends the payload of the transport layer through compression to increase the amount of data transmission of the protocol-switched content and broadcast it to the local area.
도 3는 도 1에 도시된 사용자 단말장치의 구성도이다. 도 3에 단지 예로써 도시된 바와 같이, 사용자 단말장치는 근거리 영역으로 방송되는 컨텐츠를 근거리 무선통신 기반 프로토콜에 기반하여 수신하는 수신부, 근거리 무선통신 기반 프로토콜의 상위에 탑재되는 전송계층의 헤더정보에 설정된 압축을 해제하기 위한 압축 해제부, 헤더정보에 대한 압축 해제 후 컨텐츠를 방송하기 위한 포맷으로 코딩하는 코딩부 및 컨텐츠를 방송수신 화면에 디스플레이하기 위한 응용 프로그램 실행부를 포함한다.3 is a configuration diagram of the user terminal device shown in FIG. 1. As shown only as an example in FIG. 3, the user terminal device receives a content broadcasted in a short range area based on a short range wireless communication based protocol and includes header information of a transport layer mounted on the short range wireless communication based protocol. A decompression unit for decompressing the set compression, a coding unit for coding the content after the decompression of the header information in a format for broadcasting, and an application program execution unit for displaying the content on the broadcast receiving screen.
이하에서는 도 4 내지 도 6을 통해서 상기 헤더정보 중에서 시퀀스 넘버에 대한 압축 및 해제하는 방법에 대해서 보다 더 자세히 후술한다.Hereinafter, a method of compressing and decompressing a sequence number in the header information will be described in more detail with reference to FIGS. 4 through 6.
도 4은 도 1에 도시된 무선 송출장치가 일실시 예로 헤더정보 중 시퀀스 넘버를 압축 실행한 것을 나타내는 테이블이다.FIG. 4 is a table showing that the wireless transmitter of FIG. 1 compresses a sequence number of header information according to an embodiment.
도 4에 도시된 바와 같이 압축 실행하는 일례를 나타내는 테이블을 토대로 압축 실행 절차를 살펴보면, 무선 송출장치(100)가 시퀀스 넘버의 수신을 위한 통신 초기연결 또는 시퀀스 넘버에 대한 압축이 이루어지지 않은 경우(예컨대, 시퀀스 넘버 플래그가 '0b0'으로 설정), 시퀀스 넘버에 설정된 제 1 연결값(예컨대, 32비트로 이루어지는 값)에 대한 압축을 실행하지 않고 별도 메모리에 저장한다.Referring to the compression execution procedure based on the table showing an example of performing compression as shown in Figure 4, when thewireless transmitter 100 is not compressed for the communication initial connection or sequence number for receiving the sequence number ( For example, the sequence number flag is set to '0b0' and the first connection value (for example, a value composed of 32 bits) set in the sequence number is stored in a separate memory without performing compression.
다른 경우로, 통신 초기연결로 전달되는 패킷 이후의 패킷이 전달되는 경우에는 시퀀스 넘버에 설정된 제 2 연결값에서 상기의 제 1 연결값을 뺀 증가분(예컨대, 제 1 연결값이 32비트로 이루어지는 값이면 16비트로 표기되는 값이 됨)을 시퀀스 넘버에 표기하여 압축 실행한다.In another case, when a packet subsequent to a packet transmitted to a communication initial connection is delivered, an increment obtained by subtracting the first connection value from the second connection value set in the sequence number (for example, when the first connection value is 32 bits). Compression is performed by writing 16 bits) to the sequence number.
테이블을 토대로 일례를 들면, IP 패킷이 10개가 발생하는 경우에 발생 순서별로 시퀀스 넘버 초기 연결값이 '0x1111 0050'이고, 100바이트의 데이터 크기가 지속적으로 발생하게 되면 다음 시퀀스 넘버값은 '0x1111 00B4', '0x1111 0118', '0x1111 017C', '0x1111 01E0', '0x1111 0244', '0x1111 02A8', '0x1111 030C', '0x1111 0370', '0x1111 03D4'의 값이 오게 된다.For example, based on the table, if 10 IP packets occur, the sequence number initial connection value is '0x1111 0050' for each occurrence order, and if the data size of 100 bytes is continuously generated, the next sequence number value is '0x1111 00B4'. ',' 0x1111 0118 ',' 0x1111 017C ',' 0x1111 01E0 ',' 0x1111 0244 ',' 0x1111 02A8 ',' 0x1111 030C ',' 0x1111 0370 'and' 0x1111 03D4 '.
이들 패킷의 시퀀스 넘버에 대한 압축 예로, 테이블의 4번째 패킷의 헤더에 대한 시퀀스 넘버는 '0x1111 017C'이다. 하지만 압축 과정을 거치면 시퀀스 넘버 플래그는 '0b1'로 압축된 16비트를 사용하게 되고, 최초 연결된 값인 '0x1111 0050'을 뺀 '0x012C'가 시퀀스 넘버값으로 표기된다.As an example of compression for the sequence numbers of these packets, the sequence number for the header of the fourth packet of the table is '0x1111 017C'. However, after the compression process, the sequence number flag uses 16 bits compressed with '0b1', and '0x012C' is subtracted from '0x1111 0050', which is the first concatenated value, as the sequence number value.
도 5는 도 4에 도시된 압축 실행된 테이블과 대응되는 압축 해제의 실행을 나타내는 테이블이다. 더욱 상세하게, 도 5에 도시된 바와 같이 압축 실행된 테이블과 대응되는 압축 해제의 실행을 나타내는 테이블을 토대로 압축 해제하는 절차를 설명하면, 시퀀스 넘버 플래그 값이 제 1 플래그 값(예컨대, '0b0')이면 압축을 하지 않거나 초기 연결된 시퀀스 넘버를 뜻하며, 이에 대한 복구는 압축하지 않은 32비트의 시퀀스 넘버를 그대로 표기한다.FIG. 5 is a table showing execution of decompression corresponding to the compressed table shown in FIG. 4. In more detail, when the decompression procedure is described based on the decompression table corresponding to the decompressed table as shown in FIG. 5, the sequence number flag value is the first flag value (eg, '0b0'). ) Means no compression or the initial concatenated sequence number, and recovery for this is the 32-bit uncompressed sequence number.
아울러, 시퀀스 넘버 플래그 값이 제 2 플래그 값(예컨대, '0b1')이면 압축을 한 시퀀스 넘버를 뜻하며 이에 대한 복구는 압축된 시퀀스 넘버의 16비트에 해당하는 값과 초기 연결할 때 저장된 32비트의 제 1 연결값을 더하여 32비트의 압축 해제된 데이터로 복구한다.In addition, if the sequence number flag value is the second flag value (for example, '0b1'), it means the compressed sequence number, and the recovery of the sequence number flag value is 16 bits of the compressed sequence number. Add 1 concatenation to recover 32-bit decompressed data.
테이블의 첫번째 패킷을 보면, 시퀀스 넘버 플래그가 제 1 플래그 값(예컨대, '0b0')이고, 비압축 헤더의 시퀀스 넘버는 '0x1111 0050'의 값을 가지고 이 값을 가지고 복구하게 되면, 헤더의 시퀀스 넘버값은 비압축 헤더의 시퀀스 넘버 값과 같은 '0x1111 0050'의 값을 가진다.Looking at the first packet in the table, if the sequence number flag is the first flag value (eg '0b0') and the sequence number of the uncompressed header has a value of '0x1111 0050' and recovers with this value, then the sequence of the header The number value has a value of '0x1111 0050' which is the same as the sequence number value of the uncompressed header.
반면에, 네 번째 패킷을 보면, 시퀀스 넘버 플래그가 제 2 플래그 값(예컨대, '0b1')이고, 비압축 헤더의 시퀀스 넘버는 '0x012C'이다. 이 값에 대한 복구를 하게 되면 시퀀스 넘버 값은 압축 헤더의 시퀀스 넘버 값에 초기 연결할 때의 값인 것으로 메모리에 저장되어 있는 시퀀스 넘버값을 더하여 나온 값을 표기한다.On the other hand, looking at the fourth packet, the sequence number flag is the second flag value (eg, '0b1') and the sequence number of the uncompressed header is '0x012C'. When recovering this value, the sequence number value is the value at the time of initial connection to the sequence number value of the compression header and indicates the value obtained by adding the sequence number value stored in the memory.
즉, '0x012C + 0x1111 0050 = 0x1111 017C' 값이 시퀀스 넘버에 표기된다.That is, the value '0x012C +0x1111 0050 = 0x1111 017C' is indicated in the sequence number.
도 6은 도 1에 도시된 근거리 무선통신 기반 프로토콜의 상위에 탑재되는 전송계층의 헤더정보 중 시퀀스 넘버를 압축 및 해제하기 위한 시스템의 동작과정을 나타내는 순서도이다. 근거리 무선통신 기반 프로토콜의 상위에 탑재되는 전송계층의 헤더정보 중 시퀀스 넘버를 압축 및 해제하기 위한 방법은 시퀀스 넘버를 압축하여 송출하는 송신 측 중 하나인 무선송출 장치가 유선 네트워크로부터 근거리 영역에 방송하기 위한 컨텐츠를 수신하는 것으로 진행된다(S100).FIG. 6 is a flowchart illustrating an operation process of a system for compressing and decompressing a sequence number of header information of a transport layer mounted on a short range wireless communication based protocol shown in FIG. 1. A method for compressing and decompressing a sequence number among header information of a transport layer mounted on a high-level wireless communication-based protocol is performed by a wireless transmitting apparatus, which is one of a transmitting side that compresses and transmits a sequence number, from a wired network to a near field. Proceed to receiving the content for (S100).
이후로, 컨텐츠의 해당 패킷에 대한 헤더정보를 판별하여 시퀀스 넘버 플래그에 설정된 값을 판별한다(S102 및 S104).Thereafter, the header information of the corresponding packet of the content is determined to determine the value set in the sequence number flag (S102 and S104).
판별한 시퀀스 넘버 플래그에 설정된 값이 통신에서 초기 연결된 값이거나 압축하지 않은 경우에 해당하는 값인 경우에는, 해당 시퀀스 넘버에 대한 압축을 미실행한 채로 컨텐츠의 해당 패킷을 근거리 영역에 전송한다(S106 내지 S110).If the value set in the determined sequence number flag is a value initially connected in communication or a value corresponding to a case in which no compression is performed, the corresponding packet of the content is transmitted to the local area without performing compression on the sequence number (S106 to S1). S110).
이후로, 상기 S106 단계에서 판별한 시퀀스 넘버 플래그가 통신에서 초기 연결된 값이거나 압축하지 않은 경우에 해당하는 값이 아닌 경우에는, 해당 시퀀스 넘버에 대한 압축을 실행하여 형성되는 압축된 시퀀스 넘버 값을 패킷으로 근거리 영역에 전송한다(S112 및 S114).Subsequently, if the sequence number flag determined in step S106 is not a value initially connected in communication or a value that is not compressed, the compressed sequence number value formed by performing compression on the sequence number is a packet. In step S112 and S114, transmission is performed to the short range area.
이에, 근거리 영역에 위치하는 사용자 단말장치(200)는 근거리 영역으로 송출되는 컨텐츠의 각 패킷을 수신하고(S116), 패킷의 헤더정보 중 시퀀스 넘버와 관련된 값을 판별하여 압축 실행 여부, 압축된 방식 등을 확인하여 확인한 결과에 대응되는 압축 해제를 실행한다(S118).Accordingly, theuser terminal device 200 located in the short range area receives each packet of content transmitted to the short range area (S116), determines whether to perform compression by determining a value related to a sequence number in the header information of the packet, and a compressed method. The decompression corresponding to the result of confirming the confirmation and the like is executed (S118).
이하에서는 도 7 내지 도 11을 통해서, 다른 일 실시예에 따라 상기 헤더정보 중에서 포트 넘버에 대한 압축 및 해제하는 방법에 대해서 보다 더 자세히 후술한다.Hereinafter, a method of compressing and decompressing a port number in the header information according to another embodiment will be described in more detail with reference to FIGS. 7 through 11.
도 7은 도 1에 도시된 무선송출 장치 및 사용자 단말장치 간에 구비되는 소스 포트의 모드에 대한 테이블이다.FIG. 7 is a table of modes of source ports provided between the wireless transmitting apparatus and the user terminal illustrated in FIG. 1.
먼저, 포트넘버 중 소스 포트넘버에 관한 압축을 도 7에 도시된 소스 포트의 모드에 대한 테이블을 참고로 일례를 들어 설명하면, 16비트인 소스 포트는 포트넘버값 또는 포트용도에 따라 소스 포트넘버에 대한 압축이 차별적으로 실행된다.First, the compression of the source port number of the port number is described with reference to the table of the mode of the source port shown in Fig. 7 as an example, the source port number of 16 bits according to the port number value or port usage Compression is performed differentially.
포트용도가 FTP, TELNET, HTML 등의 용도로 설정되는 경우, 근거리 무선방식의 네트워크가 IEEE 802.15.4 스펙에 기반으로 이루어질 때 포트넘버값이 0~255로 할당되어서 보내진다.When the port is set for FTP, TELNET, HTML, etc., when the short range wireless network is based on the IEEE 802.15.4 specification, the port number is assigned with 0 to 255.
이때에 소스 포트의 모드는 '0b01'이 되고 소스 포트넘버는 예정된 제 1 레벨의 비트(예컨대, 8비트)로 설정되고, 포트넘버값은 0~255 중 어느 하나의 할당된 숫자를 그대로 표기한다.At this time, the mode of the source port is '0b01', the source port number is set to a predetermined first level bit (for example, 8 bits), and the port number value indicates an allocated number of 0 to 255 as it is. .
또한, 근거리 영역에 컨텐츠를 방송하기 위한 서비스와 대응하여 기 설정된 제 1 할당 값들(예컨대, 0xF0B0 ~ OxF0BF의 16개 소스 포트넘버값) 중 어느 하나가 포트넘버값에 설정되어 있는 경우, 소스 포트의 모드는 ob10이 되고 소스 포트넘버에는 예정된 제 2 레벨의 비트(예컨대, 4비트)로 설정된다.In addition, when any one of the preset first allocation values (eg, 16 source port number values of 0xF0B0 to OxF0BF) is set to the port number value in correspondence with the service for broadcasting the content to the local area, The mode is ob10 and the source port number is set to a predetermined second level of bits (e.g. 4 bits).
상기의 소스 포트넘버 값은 제 1 할당 값들(예컨대, 0xF0B0 ~ OxF0BF)에서 제 1 할당 값들이 공통으로 가지는 기준 값(예컨대, '0xF0B0')을 뺀 나머지 4비트 값인 0x0 ~ 0xF의 값만을 표기하여 압축 후의 포트넘버 값을 설정한다.The source port number value indicates only the values of 0x0 to 0xF, which are 4-bit values other than the reference value (for example, '0xF0B0') that the first allocation values have in common from the first allocation values (for example, 0xF0B0 to OxF0BF). Set the port number value after compression.
더 나아가, 포트넘버값에 기 설정된 제 2 할당 값들(예컨대, 0xF000 ~ 0xF0FF)의 값이 오게 되면, 포트 넘버에는 예정된 제 1 레벨의 비트(예컨대, 8비트)가 설정되고, 그 값은 제 2 할당 값들(예컨대, 0xF000 ~ 0xF0FF)에서 공통으로 가지는 기준 값(예컨대, '0xF000')을 뺀 나머지 8비트 값인 0x00 ~0xFF의 값만을 표기하여 압축 후의 포트넘버 값을 설정한다.Furthermore, when the preset second allocation values (eg, 0xF000 to 0xF0FF) come to the port number value, the bit number of the predetermined first level (eg, 8 bits) is set to the port number, and the value is set to the second value. The port number value after compression is set by expressing only the values of 0x00 to 0xFF, which are the remaining 8-bit values minus the reference value (for example, '0xF000') that is common among the allocation values (for example, 0xF000 to 0xF0FF).
한편, 위의 경우와 다른 값이 소스 포트넘버에 오는 경우에는 압축을 실행하지 않기 위한 모드인 '0b00'이 되고, 포트넘버의 비트 수는 16비트로 설정된다.On the other hand, when a value different from the above case comes to the source port number, the mode is '0b00', which is a mode for not performing compression, and the number of bits of the port number is set to 16 bits.
따라서, 송신 측의 포트넘버를 제 1 할당 값들(예컨대, 0xF0B0 ~ OxF0BF) 상이로 선택하여 송출하는 것이 가장 적은 오버헤드로 보낼 수 있으므로 유리하다.Therefore, it is advantageous to select and transmit the port number on the transmitting side differently from the first allocation values (e.g., 0xF0B0 to OxF0BF) so that it can be sent with the least overhead.
아울러, 목적지 포트넘버에 대한 압축방식도 소스 포트넘버와 동일하며 자세한 모드 설정은 도 7에 도시된 바와 같다.In addition, the compression method for the destination port number is also the same as the source port number, and detailed mode settings are as shown in FIG. 7.
도 9는 도 1에 도시된 무선송출 장치(100)가 일실시 예로 압축 실행한 것을 나타내는 테이블이다. 도 9에 단지 예로써 도시된 바와 같이, 포트넘버를 압축하여 송출하는 송신 측 중 하나인 무선송출 장치(100)가 상기에 언급된 바와 같이 포트넘버에 설정된 포트넘버값 또는 포트용도에 따라 포트넘버에 대한 압축을 차별적으로 실행함에 따라, 각 포트넘버에는 각기 다른 비트 수로 압축되어져 있다.9 is a table showing that thewireless transmission apparatus 100 shown in FIG. 1 performs compression as an example. As shown only as an example in Fig. 9, thewireless transmitting apparatus 100, which is one of the transmitting sides that compresses and transmits the port number, is used according to the port number value or port usage set in the port number as mentioned above. As compression is performed differentially, each port number is compressed with a different number of bits.
이와 더불어, 패딩 필드는 소스 포트와 목적지 포트에 대한 모드 설정이 끝나면 옥탯(octet)을 맞추기 위한 추가 필드이다. 대부분의 경우에는 4비트 패딩 필드가 추가되지만, 소스 포트의 모드와 목적지 포트의 모드 둘 중 어떠것 하나만 '0b10' 즉 4비트의 주소를 가지고, 나머지 하나는 '0b10'이 아닌 다른 주소체계를 가지고 있는 경우에만 패딩 필드의 추가가 없다.In addition, the padding field is an additional field for matching the octet after setting the mode for the source port and the destination port. In most cases, a 4-bit padding field is added, but only one of the mode of the source port and the mode of the destination port has an address of '0b10' or 4 bits, and the other has an address system other than '0b10'. There is no addition of padding fields only if present.
만일, 위의 경우를 제외한 나머지 경우에는 '0b1111'의 4비트의 패딩 필드를 추가하여야 한다.In the other cases except for the above case, a 4-bit padding field of '0b1111' should be added.
도 10은 도 9에 도시된 압축 실행된 테이블과 대응되는 압축 해제의 실행을 나타내는 테이블이다. 도 10에 단지 예로써 도시된 바와 같이, 압축 해제를 실행하는 압축 해제부는 헤더 정보 중 소스 포트의 모드를 나타내는 포트넘버 플래그가 압축되지 않은 것을 나타내는 제 1 플래그 값(예컨대, '0b00')으로 설정되어 있는 경우, 소스 포트넘버에 설정된 포트넘버값에 대한 압축 해제를 실행하지 않는다.FIG. 10 is a table showing execution of decompression corresponding to the compression performed table shown in FIG. 9. As shown only as an example in FIG. 10, the decompression unit for performing decompression is set to a first flag value (eg, '0b00') indicating that the port number flag indicating the mode of the source port of the header information is not compressed. If it is, do not decompress the port number set in the source port number.
또한, 헤더정보의 포트넘버 플래그가 FTP, TELNET, HTML 중 어느 하나의 포트용도에 적용하기 위해 제 2 플래그 값(예컨대, '0b01')으로 설정된 경우, 예정된 제 1 레벨의 비트(예컨대, 8비트)로 압축된 앞부분에 제 2 플래그 값과 대응되어 공통된 기준 값(예컨대, '0x00')을 추가함에 따라 압축 해제의 비트 수로 복원한다.In addition, when the port number flag of the header information is set to the second flag value (for example, '0b01') to apply to any one of FTP, TELNET, and HTML port, the bit of the predetermined first level (for example, 8 bits). ) Is restored to the number of bits of decompression by adding a common reference value (for example, '0x00') corresponding to the second flag value at the beginning of the compression.
또한, 헤더정보의 포트넘버 플래그가 근거리 영역에 컨텐츠를 방송하기 위한 서비스와 대응하여 압축 실행된 것으로 나타내는 제 3 플래그 값(예컨대, '0b10')으로 설정된 경우, 예정된 제 2 레벨의 비트(예컨대, 4비트)로 압축된 값에 제 3 플래그 값과 대응되는 공통된 기준 값(예컨대, '0xF0B0')을 더하여 데이터 복구한다.In addition, when the port number flag of the header information is set to a third flag value (eg, '0b10') indicating that compression is performed in correspondence with a service for broadcasting content in the near field, the bit of the predetermined second level (eg, Data is recovered by adding a common reference value (eg, '0xF0B0') corresponding to the third flag value to a value compressed to 4 bits.
목적지 포트의 모드도 소스 포트의 모드와 동일한 방식으로 압축 해제가 이루어진다.The mode of the destination port is decompressed in the same way as the mode of the source port.
또한, 4비트의 패딩 필드는 옥탯을 맞추기 위한 추가 비트로 소스 포트의 모드와 목적지 포트의 모드에 따라서 존재 여부가 정해진다. 이들에 대한 복구는 추가 비트이므로 별도로 복구하지는 않고 삭제한다.In addition, the 4-bit padding field is an additional bit for matching the octet, and is determined according to the mode of the source port and the mode of the destination port. Recovery for these is an additional bit, so delete them without recovering them separately.
도 11은 도 1에 도시된 근거리 무선통신 기반 프로토콜의 상위에 탑재되는 전송계층의 헤더정보 중 포트넘버를 압축 및 해제하기 위한 시스템이 동작하는 과정을 나타내는 순서도이다. 도 3에 단지 예로써 도시된 바와 같이, 근거리 무선통신 기반 프로토콜의 상위에 탑재되는 전송계층의 헤더정보 중 포트넘버를 압축 및 해제하는 방법은 유선 네트워크와 연결된 무선 송출장치가 유선 네트워크로부터 근거리 영역에 방송하기 위한 컨텐츠를 수신하는 것으로 진행된다(S300).FIG. 11 is a flowchart illustrating a process of operating a system for compressing and decompressing port numbers among header information of a transport layer mounted on the short range wireless communication based protocol shown in FIG. 1. As shown only as an example in FIG. 3, a method of compressing and decompressing port numbers among header information of a transport layer mounted on a short range wireless communication based protocol is performed by a wireless transmitter connected to a wired network from a wired network to a short range region. Proceeds to receiving the content for broadcasting (S300).
이후로, 유선 네트워크의 전송 프로토콜에 대응되는 전송계층의 헤더정보를 판별하여 소스 포트 및 목적지 포트를 포함하는 포트넘버의 포트용도 및 포트설정값을 기 저장중인 테이블을 활용하여 확인한다(S302 및 S304).Subsequently, the header information of the transport layer corresponding to the transmission protocol of the wired network is determined, and the port usage and port setting values of the port number including the source port and the destination port are checked by using a table that is stored in advance (S302 and S304). ).
확인된 모드에 따라, 차별적으로 포트넘버에 대한 압축을 실행함으로써 전송계층의 페이로드를 확정하여 프로토콜 전환한 컨텐츠의 데이터 전송량을 늘린 후, 방송방식으로 해당 컨텐츠를 송출한다(S306 내지 S310).According to the confirmed mode, the payload of the transport layer is determined by differentially compressing the port number to increase the data transmission amount of the protocol-switched content, and then the content is transmitted in a broadcast manner (S306 to S310).
이에, 근거리 영역 내에 위치하는 사용자 단말장치(200)가 컨텐츠를 수신한 후, 컨텐츠의 헤더정보 중 포트넘버에 대해 입력된 모드를 판별하여 압축 실행 여부, 압축된 방식 등을 확인하고, 확인한 결과에 대응하여 차별적으로 압축 해제를 실행한다(S312 내지 S316).Accordingly, after theuser terminal device 200 located in the short range area receives the content, theuser terminal device 200 determines whether the compression mode or the compressed method is performed by determining the mode input for the port number among the header information of the content. Correspondingly, decompression is executed differentially (S312 to S316).
상기에서는 본 발명의 바람직한 실시예를 참조하여 설명하였지만, 해당기술 분야의 숙련된 당업자는 하기의 특허 청구의 범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.Although the above has been described with reference to a preferred embodiment of the present invention, those skilled in the art will be variously modified and changed within the scope of the invention without departing from the spirit and scope of the invention described in the claims below. I can understand that you can.