KR19990031323A - Operation Method of Session and Resource Management Processor in On-demand Video System - Google Patents

Operation Method of Session and Resource Management Processor in On-demand Video System Download PDF

Info

Publication number
KR19990031323A
KR19990031323A KR1019970051989A KR19970051989A KR19990031323A KR 19990031323 A KR19990031323 A KR 19990031323A KR 1019970051989 A KR1019970051989 A KR 1019970051989A KR 19970051989 A KR19970051989 A KR 19970051989A KR 19990031323 A KR19990031323 A KR 19990031323A
Authority
KR
South Korea
Prior art keywords
message
state
flag
session
encoder
Prior art date
Application number
KR1019970051989A
Other languages
Korean (ko)
Inventor
임태범
Original Assignee
전주범
대우전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 전주범, 대우전자 주식회사 filed Critical 전주범
Priority to KR1019970051989A priority Critical patent/KR19990031323A/en
Publication of KR19990031323A publication Critical patent/KR19990031323A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2387Stream processing in response to a playback request from an end-user, e.g. for trick-play
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/143Termination or inactivation of sessions, e.g. event-controlled end of session
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2385Channel allocation; Bandwidth allocation

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

본 발명은 DSM-CC프로토롤로 운영되는 주문형 비디오시스템에 있어서 사용자-대-네트워크 환경에서 운영되는 세션 및 자원운용 프로세서의 기능을 파이프라인(Pipeline)기법으로 운영하여 실시간에 근접한 서비스를 제공할 수 있는 세션 및 자원운용 프로세서 운영방법에 관한 것이다. 이를 위하여 본 방법은 수신된 메시지에 대한 디코딩 메시지를 상태머신의 상태플래그가 아이들상태일 때에만 디코딩된 메시지를 전송함과 동시에 자신은 새로운 메시지를 수신할 수 있는 대기상태로 리턴되도록 메시지 디코더를 운영하고, 소정의 메시지가 인가되면 상태플래그를 비지상태로 설정하여 해당 기능을 수행하고 소정의 송출메시지가 발생되면, 메시지 엔코더의 상태플래그가 아이들한 상태일 때에만 송출메시지를 전송함과 동시에 자신의 상태 플래그를 아이들한 상태로 설정하도록 상태머신을 운영하고, 소정의 메시지가 인가되면 상태 플래그를 비지상태로 설정하고 에코딩을 수행하고, 해당 메시지가 출력되면, 자신의 상태 플래그를 아이들상태로 설정하도록 메시지 엔코더를 운영하는 방식으로 수행된다.The present invention can provide a near-real-time service by operating the function of a session and resource management processor operating in a user-to-network environment with a pipeline technique in an on-demand video system operated by a DSM-CC protocol. Session and resource management processor operating method. To this end, the method operates the message decoder so that the decoded message for the received message is transmitted only when the status flag of the state machine is in the idle state and at the same time it is returned to the standby state for receiving a new message. If a predetermined message is applied, the status flag is set to busy status to perform the corresponding function. If a predetermined transmission message is generated, the transmission message is transmitted only when the status flag of the message encoder is idle. Operate the state machine to set the state flag to the idle state, set the state flag to busy state when the prescribed message is approved, perform echoing, and if the message is output, set its state flag to the idle state. This is done by operating a message encoder.

Description

주문형 비디오시스템에 있어서 세션 및 자원운용 프로세서 운영방법Operation Method of Session and Resource Management Processor in On-demand Video System

본 발명은 주문형 비디오시스템(Video On Demand)에 있어서 네트워크(Network)측에 존재하는 세션 및 자원운용(Session & Resource Manager, 이하 SRM이라 약함) 프로세서의 운영방법에 관한 것으로서, 특히, DSM-CC(Digital Storage Media Command and Control, 이하 DSM-CC라고 약함)프로토콜로 서비스를 지원하는 주문형 비디오시스템에 있어서 파이프라인(Pipeline) 기법으로 메시지를 처리하도록 세션 및 자원운용프로세서를 운영하는 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of operating a Session & Resource Manager (SRM) processor existing on a network side in a Video On Demand, and in particular, a DSM-CC ( Digital Storage Media Command and Control (hereinafter, referred to as DSM-CC) is a method for operating a session and resource management processor to process a message using a pipeline technique in an on-demand video system supporting a protocol.

주문형 비디오시스템은 잘알려져 있는 바와 같이 소정의 클라이언트(Client)가 요구한 비디오정보를 보고 싶은 시간에 즉시 볼 수 있도록 제공하는 것으로, 정보의 저장 및 전송능력을 갖춘 대용량 서버로 이루어진 정보공급자(Information Provider), 실제 정보를 이용하는 TV사용자인 클라이언트 및 정보공급자와 클라이언트간에 정보의 전송을 가능하게 하는 네트워크가 연동되어 운영된다.On-demand video system is a well-known video provider that provides the video information required by a given client immediately at the time you want to see, information provider consisting of a large server with the ability to store and transmit information ), A network that enables the transmission of information between the client and the information provider and the client, which is a TV user using the actual information, is operated in conjunction.

DSM-CC는 상술한 주문형 비디오시스템을 운영하기 위해 ISO에서 규정한 것으로, 근거리 또는 원거리 지역상에서 사용된 디지탈 저장미디어가 무엇이든지 관계없이 미디어에 저장된 비트스트림을 관리하기 위한 공통적인 운용 및 제어기능을 규정해 놓은 프로토콜의 집합이다. 이러한 DSM-CC프로토콜은 도 1에 도시된 바와 같이 클라이언트(또는 클라이언트 유저, 이하 클라이언트로 통일함)와 서버(또는 서버 유저, 이하 서버로 통일함)간에 직접적으로 데이터를 송수신하는 경로로 운영되는 사용자-대-사용자(User to User, 이하 UU라고 약함) 환경과 네트워크와 클라이언트 또는 네트워크와 서버간에 데이터를 송수신하는 경로로 운영되는 사용자-대-네트워크(User to Network, 이하 UN이라 약함) 환경이 존재한다.DSM-CC is defined by ISO to operate the on-demand video system described above, and has a common operation and control function for managing bitstreams stored in media regardless of the digital storage media used in the near or far area. It is a set of protocols. As shown in FIG. 1, the DSM-CC protocol is a user operating as a path for directly transmitting and receiving data between a client (or a client user, hereinafter referred to as a client) and a server (or a server user, hereinafter referred to as a server). There is a user-to-network environment, which operates as a path for transmitting and receiving data between the network and the client or between the network and the server. do.

즉, 도 1에서 알 수 있는 바와 같이 UN환경은 클라이언트, 네트워크, 및 서버에 환경기능 개체 유형이 상주되어 운영되는 것이고, UU환경은 클라이언트와 서버에만 환경기능 개체유형이 상주되어 운영되는 것이다. 이러한 UN환경과 UU환경은 소정의 클라이언트 또는 서버가 세션셋업을 요구(SessionSetUpRequest)하면서부터 세션셋업 확인(SessionSetUpConfirm)정보가 네트워크로부터 해당 클라이언트 또는 서버로 전송되어 해당 세션이 활성화되는 세션셋업(또는 세션설치) 이벤트와 클라이언트 또는 서버로부터 릴리즈요구(ReleaseRequest)가 발생되어 해당 세션울 끊는 세션끊음 이벤트 및 클라이언트와 서버간에 MPEG(Motion Picture Expert Group)채널을 형성하기 위하여 서버로부터 발생되는 추가자원요구(ServerAdd ResourceRequest)가 발생되면서 해당 확인정보가 네트워크로부터 해당 서버로 전송되는 자원할당 이벤트는 각각 상술한 UN환경에서 이루어지고, 세션이 활성화되고 상술한 추가자원요구가 발생되기 전에 이루어지는 과정과 추가자원요구에 대한 채널형성 후, 실질적인 MPEG데이타를 전송하는 과정은 UU환경에서 이루어진다.That is, as shown in FIG. 1, the UN environment is an environment function entity type resident in a client, a network, and a server. The UU environment is an environment function entity type only in a client and a server. In such UN environment and UU environment, a session setup (or session installation) in which a predetermined client or server requests a session setup (SessionSetUpRequest) and session set up confirmation information is transmitted from the network to the client or server and the corresponding session is activated. ) A session disconnect event that causes a release request (ReleaseRequest) from an event and a client or server, and an additional resource request (ServerAdd ResourceRequest) originated from the server to form a Motion Picture Expert Group (MPEG) channel between the client and the server. Resource allocation events, in which the confirmation information is transmitted from the network to the corresponding server, are generated in the above-described UN environment, and the channel is formed before the session is activated and the additional resource request is generated. After that, the actual MPEG data The transfer is done in the UU environment.

이러한 UU환경과 UN환경에서 운영되는 주문형 비디오시스템은 UN환경에서 운영되는 SRM이 서비스 기본단위인 세션단위로 순차적으로 처리하도록 구성되어 있어 멀티사용자환경을 지원하기 어려운 문제가 있었다.On-demand video system operating in UU environment and UN environment has a problem that it is difficult to support multi-user environment because SRM operating in UN environment is configured to be processed by session unit which is basic service.

이를 해결하기 위하여 세션별로 현재 진행상태를 저장하도록 하고, 트랜잭션간에 아이들(Idle)한 상태가 존재하면 새로운 세션 또는 다른 세션에 대한 접근이 가능하도록한 방식이 제안된 바 있다. 그러나 이 또한 멀티 사용자 환경을 지원하기는 하나 사용자로부터 발생되는 메시지에 대한 트랜잭션(Transaction)이 완료되기까지 새로운 메시지에 대한 수신처리를 할 수 없도록 되어 있어, 실시간 서비스를 제공하는데 있어서 어느 정도 한계가 있었다.In order to solve this problem, a method of storing a current progress for each session and allowing access to a new session or another session when there is an idle state between transactions has been proposed. However, this also supports a multi-user environment, but it is not able to receive a new message until the transaction for the message originating from the user is completed, which has some limitations in providing a real-time service. .

본 발명은 상술한 문제를 해결하기 위하여 안출한 것으로서, DSM-CC프로토롤로 운영되는 주문형 비디오시스템에 있어서 사용자-대-네트워크 환경에서 운영되는 세션 및 자원운용 프로세서의 기능을 파이프라인(Pipeline)기법으로 운영하여 실시간에 근접한 서비스를 제공할 수 있는 세션 및 자원운용 프로세서 운영방법을 제공하는데 그 목적이 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and in the video-on-demand system operated by the DSM-CC protocol, the function of a session and resource management processor operating in a user-to-network environment is a pipeline technique. Its purpose is to provide a session and resource management processor operating method that can provide services in close proximity to real time.

상기 목적들을 달성하기 위하여 본 발명에 따른 세션 및 자원운용프로세서 운영방법은, 메시지 디코더, 상태머신 및 메시지 엔코더를 포함하도록 구성되어, 사용자-대-네트워크 환경하에서 비동기 통신망(ATM)을 통해 적어도 1개 이상의 서버 UN프로세서와 적어도 1개 이상의 클라이언트 UN프로세서를 수용하는 세션 및 자원운용장치를 구비한 주문형 비디오시스템에 있어서, 비동기 통신망을 통해 서버 UN프로세서 또는 클라이언트 UN프로세서중 어느 한 곳으로부터 소정의 메시지가 수신되면, 메시지 디코더는 수신된 메시지의 헤더를 분석하여 해당 메시지가 유효한 지를 체크하는 제 1 체크단계; 제 1 체크단계 수행결과, 수신된 메시지가 유효한 경우에는 수신된 메시지에 대한 디코딩을 수행하는 단계; 디코딩 수행후, 상태머신에 대한 상태 플래그가 비지상태인 지를 체크하는 제 2 체크단계; 제 2 체크단계 수행결과, 상태머신의 상태플래그가 비지상태인 경우에는, 상태머신의 상태 플래그가 아이들상태로 설정될 때까지 디코딩된 메시지의 전송을 보류하는 제 1 전송보류단계; 제 2 체크단계 수행결과, 상태머신의 상태플래그가 아이들상태인 경우에는 디코딩된 메시지를 전송함과 동시에 메시지 디코더가 새로운 메시지를 수신할 수 있는 상태로 리턴되는 단계; 메시지 디코더로부터 소정의 메시지가 전송되면, 상태머신의 상태플래그를 아이들한 상태로 설정하고, 전송된 메시지에 해당되는 상태머신의 기능을 수행하는 단계; 수행결과, 소정의 송출메시지가 발생되면, 메시지 엔코더의 상태 플래그를 체크하는 제 3 체크단계; 제 3 체크단계 수행결과, 메시지 엔코더의 상태 플래그가 비지상태인 경우에는 메시지 엔코더의 상태 플래그가 아이들상태로 전환될 때까지 상기 송출메시지의 전송을 보류하는 제 2 전송보류단계; 제 3 체크단계 수행결과, 메시지 엔코더의 상태 플래그가 아이들한 상태인 경우에는 메시지 엔코더로 송출메시지를 전송함과 동시에 상태머신의 상태 플래그를 아이들한 상태로 설정하는 단계; 송출메시지가 전송되면, 메시지 엔코더의 상태 플래그를 비지상태로 설정하고, 상기 송출메시지에 대한 엔코딩을 수행하는 단계; 엔코딩 수행결과, 엔코딩된 메시지가 출력되면, 메시지 엔코더의 상태 플래그를 아이들한 상태로 설정하는 단계를 포함하여 수행되는 것을 특징으로 한다.In order to achieve the above objects, a method of operating a session and a resource management processor according to the present invention is configured to include a message decoder, a state machine and a message encoder, so that at least one is connected through an asynchronous network (ATM) in a user-to-network environment. In an on-demand video system having a session and resource management device for accommodating at least one server UN processor and at least one client UN processor, a predetermined message is received from either the server UN processor or the client UN processor via an asynchronous communication network. The message decoder checks whether the message is valid by analyzing a header of the received message; Performing decoding on the received message if the received message is valid as a result of performing the first check step; A second checking step of checking whether a state flag for the state machine is busy after decoding; If the state flag of the state machine is busy, as a result of performing the second check step, a first transmission hold step of suspending transmission of the decoded message until the state flag of the state machine is set to an idle state; When the state flag of the state machine is in the idle state, transmitting the decoded message and returning to the state where the message decoder can receive a new message; When a predetermined message is transmitted from the message decoder, setting a state flag of the state machine to an idle state and performing a function of the state machine corresponding to the transmitted message; A third checking step of checking a state flag of a message encoder when a predetermined transmission message is generated as a result of the execution; A second transmission-holding step of suspending transmission of the outgoing message until the status flag of the message encoder is switched to the idle state as a result of performing the third check step; When the state flag of the message encoder is idle as a result of performing the third check step, transmitting a transmission message to the message encoder and setting the state flag of the state machine to the idle state; If the outgoing message is transmitted, setting a status flag of the message encoder to the busy state and performing encoding on the outgoing message; As a result of the encoding, when the encoded message is output, the step of setting the state flag of the message encoder to the idle state is performed.

도 1은 DSM-CC프로토콜로 운영되는 주문형 비디오시스템의 개념도,1 is a conceptual diagram of an on-demand video system operated by the DSM-CC protocol;

도 2는 본 발명에 따른 방법을 수행하기 위한 사용자-대-네트워크 환경에서의 주문형 비디오시스템의 블럭도,2 is a block diagram of an on-demand video system in a user-to-network environment for performing a method according to the present invention;

도 3은 본 발명에 따른 세션 및 자원운용방법에 대한 동작 흐름도.3 is a flowchart illustrating a session and a resource management method according to the present invention.

<도면의 주요부분에 대한 부호의 설명><Description of Symbols for Main Parts of Drawings>

200:서버 UN(User to Network)프로세서 210:클라이언트 UN 프로세서200: server UN (user to network) processor 210: client UN processor

220:ATM 스위치 230:세션 및 자원운용 프로세서220: ATM switch 230: session and resource management processor

231:ATM 네트워크 카드 232:세션 운용부231: ATM network card 232: Session operator

233:자원 운용부 2321:메시지 디코더233: resource manager 2321: message decoder

2322:상태머신(State Machine) 2324:메시지 엔코더2322: State Machine 2324: Message Encoder

2324:세션정보 저장기2324: session information saver

이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 실시예를 상세하게 설명하기로 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 2는 본 발명에 따른 방법을 수행하기 위한 사용자-대-네트워크(이하 UN이라 약함)환경에서의 주문형 비디오시스템의 블록도로서, 서버측에 존재하는 서버 UN 프로세서(200), 클라이언트측에 존재하는 클라이언트 UN 프로세서(210), 네트워크측에 존재하면서 클라이언트 UN 프로세서(210)와 서버 UN프로세서(200)간의 세션의 생성, 자원 할당 및 해제처리를 하는 세션 및 자원운용(Session & Resource Manager, 이하 SRM이라 약함) 프로세서(230) 및 ATM망으로 서버 UN프로세서(200)와 SRM프로세서(230) 및 클라이언트 UN프로세서(210)와 SRM 프로세서(230)간의 데이터 통신이 이루어지도록 연결하는 ATM스위치(220)로 구성된다.FIG. 2 is a block diagram of an on-demand video system in a user-to-network (weakly referred to as UN) environment for carrying out the method according to the present invention, wherein the server UN processor 200, which resides on the server side, resides on the client side. The session and resource management (Session & Resource Manager, hereinafter referred to as SRM), which exists on the network side of the client UN processor 210 and which is present on the network side, creates a session between the client UN processor 210 and the server UN processor 200, and allocates and releases resources. Weak)) to the processor 230 and the ATM network to the server UN processor 200 and the SRM processor 230 and the client UN processor 210 and the ATM switch 220 to connect the data communication between the SRM processor 230 is performed. It is composed.

특히, SRM프로세서(230)는 ATM스위치(220)를 통해 데이터 송수신이 가능하도록 인터페이스처리를 하는 ATM 네트워크 카드(231), SRM 프로세서(230)의 전반적인 기능을 제어하는 세션 운용부(Session Manager)(232), 세션 운용부(232)에 의해 제어되어 자원의 할당 및 해제처리가 이루어지도록 해당 정보를 ATM네트워크 카드(231)로 전송하는 자원 운용부(233)로 구성되어 운영된다. 그리고 세션 운용부(232)는 메시지 디코더(2321), 상태 머신(2322), 메시지 엔코더(2323), 및 세션별로 정보를 저장하는 세션정보 저장기(2324)로 구성된다.In particular, the SRM processor 230 is an ATM network card 231 that interfaces with the ATM switch 220 to allow data transmission and reception, and a session manager (Session Manager) for controlling the overall functions of the SRM processor 230 ( 232, the resource manager 233 is controlled by the session manager 232 and transmits the information to the ATM network card 231 so that resource allocation and release processing is performed. The session operating unit 232 includes a message decoder 2321, a state machine 2322, a message encoder 2323, and a session information storage 2324 for storing information for each session.

도 3은 본 발명에 따른 방법에 대한 동작 흐름도이다.3 is an operational flow diagram for the method according to the invention.

그러면, 도 2를 참조하여 도 3에 도시된 흐름도의 동작을 상세하게 설명하기로 한다.Next, the operation of the flowchart shown in FIG. 3 will be described in detail with reference to FIG. 2.

우선, 제 301 단계에서 메시지가 수신되면, 제 302 단계로 진행되어 세션운용부(232)내의 메시지 디코더(2321)는 수신된 메시지의 헤더를 분석한다. 분석결과, ProtocolDiscriminator정보가 유효한 데이터로 전송되었는 지를 체크한다. Protocol Discriminator정보는 해당 메시지가 DSM-CC메시지인지를 나타내는 것이다. 체크결과, ProtocolDiscriminator정보가 유효한 데이터가 아닌 것으로 판단되면, 제 303 단계를 통해 제 304 단계로 진행되어 에러발생처리를 수행하고, 제 301 단계로 리턴된다.First, when a message is received in step 301, the process proceeds to step 302, and the message decoder 2321 in the session manager 232 analyzes the header of the received message. As a result of the analysis, it is checked whether ProtocolDiscriminator information is transmitted as valid data. Protocol Discriminator information indicates whether the message is a DSM-CC message. As a result of the check, if it is determined that the ProtocolDiscriminator information is not valid data, the process proceeds to step 304 through step 303 to perform error generation processing and returns to step 301.

그러나 체크결과, ProtocolDiscriminator정보가 유효한 데이터인 것으로 판단되면, 제 303 단계를 통해 제 305 단계로 진행된다. 제 305 단계에서 메시지 디코더(2321)는 메시지 헤더를 분석한 결과에 따라 dsmccType정보가 유효한 데이터로 전송되었는 지를 체크한다. 여기서 dsmccType정보는 현재 인가된 메시지가 UN환경에서 사용되는 메시지임을 나타낼 경우에, 유효한 것으로 판단한다.However, if it is determined that the ProtocolDiscriminator information is valid data, the process proceeds to step 305 through step 303. In step 305, the message decoder 2321 checks whether the dsmccType information is transmitted as valid data according to the result of analyzing the message header. Here, the dsmccType information is determined to be valid when indicating that the currently authorized message is used in the UN environment.

체크결과, dsmccType정보가 유효하지 않은 경우에는 제 303 단계로 진행되어 상술한 바와 같이 에러발생처리를 한다. 그러나 제 305 단계의 체크결과, dsmccType정보가 유효한 경우에는 제 306 단계로 진행되어 메시지 식별자(messageId)를 분석한 결과에 따라 현재 수신된 메시지가 클라이언트 UN프로세서(210)로부터 송출된 것인지 서버 UN프로세서(200)로부터 송출된 메시지인지를 체크한다.If the dsmccType information is invalid as a result of the check, the flow proceeds to step 303 to perform error generation processing as described above. However, if the check result of step 305 is valid, if the dsmccType information is valid, it proceeds to step 306 to determine whether the currently received message is sent from the client UN processor 210 according to the result of analyzing the message identifier (messageId). Check whether the message is sent from 200).

체크결과, 수신된 메시지가 클라이언트 UN 프로세서(210)로부터 송출된 메시지인 경우에는 제 306 단계를 통해 제 308 단계로 진행된다. 그러나 체크결과, 수신된 메시지가 서버 UN프로세서(200)로부터 송출된 메시지인 경우에는 제 306 단계에서 제 307 단계를 경유하여 제 308 단계로 진행된다. 이 때, 수신된 메시지가 클라이언트 UN 프로세서(210) 또는 서버 UN 프로세서(200)중 어느 곳에서도 송출된 메시지가 아닌 경우에는 제 304 단계로 진행되어 에러발생처리를 한다.As a result of the check, if the received message is a message sent from the client UN processor 210, the process proceeds to step 308 through step 306. However, if the received message is a message sent from the server UN processor 200, the process proceeds from step 306 to step 308 via step 307. At this time, if the received message is not a message sent from any of the client UN processor 210 or the server UN processor 200, the process proceeds to step 304 to perform an error generation process.

제 308 단계에서 메시지 디코더(2321)는 수신된 메시지에 대한 디코딩을 수행한다. 그리고 제 309 단계로 진행되어 상태머신(2322)에 대한 상태플래그(이하 StateM_busy라고 함)가 1로 설정되어 있는 지를 체크한다. 여기서 StateM_busy는 현재 상태머신(2322)이 임의의 기능을 실행중인지 여부를 나타내는 것으로, 본 예에서는 StateM_busy가 1로 설정된 경우에는 상태머신(2322)이 임의의 기능을 수행중인 경우이고, StateM_busy가 0으로 설정된 경우에는 상태머신(2322)이 어떠한 기능도 수행하고 있지 않은 경우이다.In step 308, the message decoder 2321 performs decoding on the received message. In step 309, it is checked whether the state flag (hereinafter, referred to as StateM_busy) for the state machine 2322 is set to one. Here, StateM_busy indicates whether the current state machine 2232 is executing an arbitrary function. In this example, when StateM_busy is set to 1, the state machine 2232 is performing an arbitrary function, and StateM_busy is 0. If set, the state machine 2232 is not performing any function.

따라서 제 309 단계의 체크결과, StateM_busy가 1인 경우에는 디코딩된 메시지의 전송을 보류하면서 계속해서 StateM_busy의 상태를 체크하는 상태를 유지한다. 그러나 제 309 단계의 체크결과, StateM_busy가 0인 경우에는 제 310 단계로 진행되어 상태머신(2322)으로 디코딩된 정보에 대한 전송처리를 함과 동시에 메시지 디코더(2321)의 동작은 제 301 단계로 리턴되어 새로운 메시지를 수신할 수 있는 상태가 된다.Accordingly, as a result of checking in step 309, when StateM_busy is 1, transmission of the decoded message is suspended while the state of StateM_busy is continuously checked. However, if the state M_busy is 0 as a result of the check in step 309, the process proceeds to step 310 and transfers the decoded information to the state machine 2322 and the operation of the message decoder 2321 returns to step 301. And the new message can be received.

한편, 상태머신(2322)은 메시지 디코더(2321)로부터 메시지가 전송되면, 제 311 단계에서 StateM_busy를 1로 설정하고, 제 312 단계로 진행되어 현재 인가된 메시지에 해당되는 세션정보를 참조하여 해당 이벤트를 발생하여 종래와 같이 동작된다. 이 때 참조할 세션정보는 세션정보 저장기(2324)에 저장되어 있는데, 세션정보 저장기(2324)는 세션별로 현재 진행상태와 해당 세션이 어느 서버와 어느 클라이언트간에 존재하는 세션인지 등의 정보가 수록되어 있고, 수록된 세션정보는 상태머신(2322)으로부터 송출메시지가 출력될 때마다 갱신되게 된다.On the other hand, when the message is transmitted from the message decoder 2321, the state machine 2322 sets StateM_busy to 1 in step 311, and proceeds to step 312 with reference to session information corresponding to the currently authorized message. It is operated as in the conventional way. At this time, the session information to be referred to is stored in the session information store 2324. The session information store 2324 has information such as the current progress status of each session and which session is present between which server and which client. The recorded session information is updated each time a transmission message is output from the state machine 2322.

제 312 단계에서의 상태머신(2322)의 동작에 따라 상태머신(2322)으로부터 소정의 송출메시지가 발생하면 제 313 단계를 통해 제 314 단계로 진행되어 메시지 엔코더(2323)에 대한 상태플래그(이하 Encoding_busy라고 함)의 상태를 체크한다.When a predetermined transmission message is generated from the state machine 2232 according to the operation of the state machine 2322 in step 312, the flow proceeds to step 314 through step 313 to describe the status flag for the message encoder 2323 (hereinafter referred to as Encoding_busy). Check status).

Encoding_busy도 상술한 StateM_busy과 같이 메시지 엔코더(2323)가 현재 엔코딩동작을 수행하고 있는 지 여부를 나타내 주는 것으로, Encoding_busy가 1로 설정된 경우에는 메시지 엔코더(2323)가 현재 엔코딩동작을 수행하고 있는 상태이고, Encoding_busy가 0으로 설정된 경우에는 메시지 엔코더(2323)가 현재 엔코딩동작을 수행하고 있지 않은 상태이다.Encoding_busy also indicates whether the message encoder 2323 is currently performing an encoding operation as in the above-described StateM_busy, and when Encoding_busy is set to 1, the message encoder 2323 is currently performing an encoding operation. If Encoding_busy is set to 0, the message encoder 2323 is not currently performing an encoding operation.

따라서 제 314 단계의 체크결과, Encoding_busy가 1인 경우에는 송출메시지에 대한 전송을 보류하면서 제 314 단계에서의 체크를 계속 수행한다. 그러나 제 314 단계의 체크결과, Encoding_busy가 0인 경우에는 제 315 단계로 진행되어 발생된 송출메시지를 메시지 엔코더(2323)로 전송함과 동시에 StateM_busy를 0으로 설정하고 제 310 단계로 리턴되어 전송될 메시지에 대한 대기상태를 유지한다.Therefore, when the result of the check in step 314 is Encoding_busy of 1, the check in step 314 is continued while the transmission of the outgoing message is suspended. However, as a result of checking in step 314, if Encoding_busy is 0, the process proceeds to step 315 and transmits the generated outgoing message to the message encoder 2323, and sets the StateM_busy to 0 and returns to step 310 to be transmitted. Maintain a wait for.

제 315 단계를 통해 소정의 메시지가 인가되면, 메시지 엔코더(2323)는 제 316 단계에서 Encoding_busy를 1로 설정하고, 제 317 단계로 진행되어 인가된 메시지에 대한 엔코딩을 수행한다. 그리고 엔코딩이 완료되어 해당 메시지가 출력되면, 제 318 단계를 통해 제 319 단계로 진행되어 Encoding_busy플래그를 0으로 설정하고, 제 315 단계로 진행되어 상태머신(2322)로부터 전송될 메시지에 대한 엔코딩 대기상태를 유지하게 된다.If a predetermined message is applied in step 315, the message encoder 2323 sets Encoding_busy to 1 in step 316, and proceeds to step 317 to perform encoding on the authorized message. When the encoding is completed and the corresponding message is output, the process proceeds to step 319 through step 318 to set the Encoding_busy flag to 0, and proceeds to step 315 to wait for encoding for a message to be transmitted from the state machine 2232. Will be maintained.

이상에서 설명한 바와 같이 본 발명은 DSM-CC프로토콜로 운영되는 주문형 비디오시스템에 있어서 사용자-대-네트워크 환경에서 운영되는 세션 및 자원운용 프로세서에서 이루어지는 메시지 디코딩과정, 상태머신 수행과정, 및 메시지 엔코딩과정을 파이프라인기법으로 운영함으로써, 멀티 사용자에 환경을 지원할 수 있을 뿐아니라 동시에 3개의 메시지를 처리할 수 있어 세션 및 자원운용 프로세서의 메시지 처리능력도 증대시킬 수 있어 멀티사용자에 대해 실시간에 근접한 서비스를 제공할 수 있는 효과가 있다.As described above, the present invention provides a message decoding process, a state machine performing process, and a message encoding process performed in a session and resource management processor operating in a user-to-network environment in an on-demand video system operated by a DSM-CC protocol. By operating by pipeline method, it is possible not only to support the environment for multi-users but also to process 3 messages at the same time, thereby increasing the message processing capability of the session and resource management processor to provide near real-time service for multi-users. It can work.

Claims (1)

메시지 디코더, 상태머신 및 메시지 엔코더를 포함하도록 구성되어, 사용자-대-네트워크 환경하에서 비동기 통신망(ATM)을 통해 적어도 1개 이상의 서버 UN프로세서와 적어도 1개 이상의 클라이언트 UN프로세서를 수용하는 세션 및 자원운용장치를 구비한 주문형 비디오시스템에 있어서,Session and resource management configured to include at least one server UN processor and at least one client UN processor over an asynchronous network (ATM) in a user-to-network environment, configured to include a message decoder, a state machine, and a message encoder In an on-demand video system with a device, 상기 비동기 통신망을 통해 상기 서버 UN프로세서 또는 클라이언트 UN프로세서중 어느 한 곳으로부터 소정의 메시지가 수신되면, 상기 메시지 디코더는 수신된 메시지의 헤더를 분석하여 해당 메시지가 유효한 지를 체크하는 제 1 체크단계;When a predetermined message is received from either the server UN processor or the client UN processor through the asynchronous communication network, the message decoder analyzes a header of the received message and checks whether the message is valid; 상기 제 1 체크단계 수행결과, 수신된 메시지가 유효한 경우에는 수신된 메시지에 대한 디코딩을 수행하는 단계;If the received message is valid as a result of performing the first check step, decoding the received message; 상기 디코딩 수행후, 상기 상태머신에 대한 상태 플래그가 비지상태인 지를 체크하는 제 2 체크단계;A second checking step of checking whether a state flag for the state machine is busy after performing the decoding; 상기 제 2 체크단계 수행결과, 상기 상태머신의 상태플래그가 비지상태인 경우에는, 상기 상태머신의 상태 플래그가 아이들상태로 설정될 때까지 디코딩된 메시지의 전송을 보류하는 제 1 전송보류단계;A first transmission hold step of suspending transmission of the decoded message until the state flag of the state machine is set to an idle state as a result of performing the second check step; 상기 제 2 체크단계 수행결과, 상기 상태머신의 상태플래그가 아이들상태인 경우에는 디코딩된 메시지를 전송함과 동시에 상기 메시지 디코더가 새로운 메시지를 수신할 수 있는 상태로 리턴되는 단계;When the state flag of the state machine is in the idle state, transmitting the decoded message and returning to the state where the message decoder can receive a new message; 상기 메시지 디코더로부터 소정의 메시지가 전송되면, 상기 상태머신의 상태플래그를 아이들한 상태로 설정하고, 전송된 메시지에 해당되는 상기 상태머신의 기능을 수행하는 단계;When a predetermined message is transmitted from the message decoder, setting a state flag of the state machine to an idle state and performing a function of the state machine corresponding to the transmitted message; 수행결과, 소정의 송출메시지가 발생되면, 상기 메시지 엔코더의 상태 플래그를 체크하는 제 3 체크단계;A third checking step of checking a state flag of the message encoder when a predetermined transmission message is generated as a result of the execution; 상기 제 3 체크단계 수행결과, 상기 메시지 엔코더의 상태 플래그가 비지상태인 경우에는 상기 메시지 엔코더의 상태 플래그가 아이들상태로 전환될 때까지 상기 송출메시지의 전송을 보류하는 제 2 전송보류단계;A second transmission-holding step of suspending transmission of the outgoing message until the status flag of the message encoder is switched to an idle state as a result of performing the third check step; 상기 제 3 체크단계 수행결과, 상기 메시지 엔코더의 상태 플래그가 아이들한 상태인 경우에는 상기 메시지 엔코더로 송출메시지를 전송함과 동시에 상기 상태머신의 상태 플래그를 아이들한 상태로 설정하는 단계;When the state flag of the message encoder is idle as a result of performing the third check step, transmitting a transmission message to the message encoder and setting the state flag of the state machine to the idle state; 상기 송출메시지가 전송되면, 상기 메시지 엔코더의 상태 플래그를 비지상태로 설정하고, 상기 송출메시지에 대한 엔코딩을 수행하는 단계;When the transmission message is transmitted, setting a status flag of the message encoder to a busy state and performing encoding on the transmission message; 상기 엔코딩 수행결과, 엔코딩된 메시지가 출력되면, 상기 메시지 엔코더의 상태 플래그를 아이들한 상태로 설정하는 단계를 포함하여 수행되는 것을 특징으로 하는 세션 및 자원운용 프로세서 운영방법.And when the encoded message is output as a result of the encoding, setting the state flag of the message encoder to an idle state.
KR1019970051989A 1997-10-10 1997-10-10 Operation Method of Session and Resource Management Processor in On-demand Video System KR19990031323A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970051989A KR19990031323A (en) 1997-10-10 1997-10-10 Operation Method of Session and Resource Management Processor in On-demand Video System

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970051989A KR19990031323A (en) 1997-10-10 1997-10-10 Operation Method of Session and Resource Management Processor in On-demand Video System

Publications (1)

Publication Number Publication Date
KR19990031323A true KR19990031323A (en) 1999-05-06

Family

ID=66042123

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970051989A KR19990031323A (en) 1997-10-10 1997-10-10 Operation Method of Session and Resource Management Processor in On-demand Video System

Country Status (1)

Country Link
KR (1) KR19990031323A (en)

Similar Documents

Publication Publication Date Title
US7260599B2 (en) Supporting the exchange of data by distributed applications
US5742607A (en) Method and apparatus for controlling two way communication via disparate physical media
CN113067882A (en) Message processing method and device, electronic equipment and medium
EP1877924A2 (en) Network data distribution system and method
KR100303087B1 (en) Session and resource manager and manage method in a video on demand system
KR19990031323A (en) Operation Method of Session and Resource Management Processor in On-demand Video System
KR100252350B1 (en) Session &amp; resource manager in the video on demand and method thereof
JP3383524B2 (en) Video server system
KR100252351B1 (en) Method for operating srm in the video on demand
KR19990027483A (en) Server User-to-Network Processor Operation in On-Demand Video System
KR20000021864A (en) Apparatus for adjusting video on demand server load
KR100261813B1 (en) Method for transmitting additional data using out-of channel of transport control protocol
JPH1196091A (en) Method and device for controlling communication and recording medium recording communication control program
KR0174917B1 (en) How to cancel session release in DSM protocol
KR100258632B1 (en) Data transfer device of client/server system
WO1993018464A1 (en) Distributed processing system
KR100233534B1 (en) Session material managing system having protocol transformer
KR0174944B1 (en) How to cancel erased resources in DMC protocol
CN117061636A (en) Message exchange method and device
GB2330035A (en) A method and apparatus for managing sessions and resources in a video-on-demand system
KR100856258B1 (en) Charging data collection method by group service in mobile switching system
KR100739306B1 (en) Processing method of multi-media message
RU2127900C1 (en) Method for transmission and method for reception of data, method for x
WO2001050683A1 (en) Telecommunication network management with mobile workstation
KR100416028B1 (en) How to implement real-time davic service through web

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
NORF Unpaid initial registration fee