CN1155890C - Connection management method for managing connections between devices in a network system - Google Patents
Connection management method for managing connections between devices in a network system Download PDFInfo
- Publication number
- CN1155890C CN1155890C CNB001217801A CN00121780A CN1155890C CN 1155890 C CN1155890 C CN 1155890C CN B001217801 A CNB001217801 A CN B001217801A CN 00121780 A CN00121780 A CN 00121780A CN 1155890 C CN1155890 C CN 1155890C
- Authority
- CN
- China
- Prior art keywords
- connection
- devices
- information
- change
- format
- Prior art date
- Legal status (The legal status 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 status listed.)
- Expired - Fee Related
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/40052—High-speed IEEE 1394 serial bus
- H04L12/40117—Interconnection of audio or video/imaging devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/24—Negotiation of communication capabilities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/30—Definitions, standards or architectural aspects of layered protocol stacks
- H04L69/32—Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
- H04L69/322—Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
- H04L69/327—Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the session layer [OSI layer 5]
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
Abstract
一种管理网络系统中设备之间连接的连接管理方法,该系统中一个或多个使用预定数据传送格式传送数据的设备与一个或多个接收数据的设备通过预定数字接口连接起来,该方法包括以下步骤:(a)由一个控制设备对多个设备进行控制,将在该多个设备中发生的涉及到已建立连接的状态变化通知给该控制设备,所述的将已建立连接的状态变化通知给控制设备的步骤是响应于发送给被控设备的连接管理命令而执行的,其中,如果在传送信息设备中所改变的连接计数器比特字段表明用于从传送设备接收信息的设备数量发生了变化,则想要接收信息的设备的连接被断开或连上,并且,如果用于从传送信息设备接收信息的多个设备改变并且建立了专用连接,则除了最初与建立连接有关的一个或多个接收设备之外的设备都停止接收信息。
A connection management method for managing connections between devices in a network system. In the system, one or more devices that transmit data using a predetermined data transmission format are connected with one or more devices that receive data through a predetermined digital interface. The method includes The following steps: (a) A control device controls a plurality of devices, and notifies the control device of state changes involving established connections that occur in the plurality of devices, and the state changes of established connections are notified to the control device. The step of notifying the controlling device is performed in response to a connection management command sent to the controlled device, wherein if the changed connection counter bit field in the transmitting information device indicates that the number of devices used to receive information from the transmitting device occurs change, the connection of the device intended to receive the information is disconnected or connected, and, if multiple devices for receiving information from the transmitting device change and a dedicated connection is established, all but the one or Devices other than multiple receiving devices stop receiving messages.
Description
技术领域 technical field
本发明涉及数据传送控制领域,特别涉及一种连接管理方法及相应的命令结构,其中,用户能被告知由数字接口连接的设备之间连接管理状态的变化。The invention relates to the field of data transmission control, in particular to a connection management method and a corresponding command structure, wherein the user can be notified of the change of the connection management state between devices connected by a digital interface.
背景技术 Background technique
家用或工业装置可以通过预定数字接口格式的总线互相连接,以便彼此传送或接收实时数据,预定数字接口格式例如电气电子工程师学会(IEEE)1394标准。例如,当数字电视(DTV)、数字便携式摄像机、机顶盒(STB)以及类似的设备经由IEEE 1394互相连接以组成一个网络时,实时数据,如视频和音频信息,就会在这些设备之间进行传送。Home or industrial devices can be connected to each other by a bus in a predetermined digital interface format, such as the Institute of Electrical and Electronics Engineers (IEEE) 1394 standard, to transmit or receive real-time data with each other. For example, when digital televisions (DTVs), digital camcorders, set-top boxes (STBs), and similar devices are interconnected via IEEE 1394 to form a network, real-time data, such as video and audio information, is transmitted between these devices .
图1是表示一个经由IEEE 1394连接的常规网络系统的示意性视图,其中,实时数据从一个设备的虚拟输出插头(plug)输出并输入到另一个设备的输入插头。在这种情况下,是概念地建立连接而不是物理地建立。用于传送信息的具有输出插头101的源设备(在此是STB 100),包括一个输出插头控制寄存器(oPCR)111,用于控制通过输出插头输出的信息流,而用于接收信息的具有输入插头201的信宿设备(在此是DTV 200),包括一个输入插头控制寄存器(iPCR)211,用于控制输入到输入插头201的信息流。具有控制器300的控制设备可以是STB 100和DTV 200之一或者另一个第三方设备,并且该控制设备用于建立一个连接从而可以控制所述oPCR 111和iPCR 211的控制值,来传送数据或断开连接。1 is a schematic view showing a conventional network system connected via IEEE 1394, in which real-time data is output from a virtual output plug of one device and input to an input plug of another device. In this case, the connection is established conceptually rather than physically. A source device (here STB 100) having an
因此,实时数据从输出插头101传送到输入插头201。在这种情况下,对应于每个插头,相关的控制信息被写入oPCR 111和iPCR 211,并且所述控制器读取写在oPCR 111和iPCR 211中的值或者在那里写入一个控制值,以控制实时数据流。Therefore, real-time data is transmitted from the
下面将结合附图2和3描述写入oPCR 111和iPCR 211的控制值。图2中表示的32比特oPCR 111的格式描述如下。数字表示分配的比特数。“在线”表示相应的输出插头是在线(值“1”)还是脱机(值“0”)。“广播连接计数器”表示在输出插头中存在(值“1”)还是不存在(值“0”)广播输出(broadcast-out)连接,而“点对点连接计数器”表示在输出插头中存在的点对点(p2p)连接的数目。“信道号”表示当输出插头被激活时可用于输出插头传送等时数据流的信道号。“数据率”表示当输出插头被激活时输出插头传送等时数据流的等时分组所要求的传送速度(或比特率)。“开销ID”表示除了传送等时分组的净荷所要求的带宽以外及其它要求的带宽。“净荷”表示当输出插头被激活时从输出插头输出的等时数据的最大长度。The control values written into oPCR 111 and iPCR 211 will be described below in conjunction with accompanying
图3所示的32比特iPCR211的格式描述如下。数字表示分配的比特数。“在线”表示相应的输入插头是在线(值“1”)还是脱机(值“0”)。“广播连接计数器”表示在输入插头中存在(值“1”)还是不存在(值“0”)广播输入(broadcast-in)连接,而“点对点连接计数器”表示在输入插头中存在的p2p连接的数目。“信道号”表示可用于输入插头接收等时数据流的信道号。The format of the 32-bit iPCR211 shown in FIG. 3 is described as follows. The numbers indicate the number of bits allocated. "Online" indicates whether the corresponding input plug is online (value "1") or offline (value "0"). The "broadcast connection counter" indicates the presence (value "1") or absence (value "0") of a broadcast-in connection in the input plug, while the "point-to-point connection counter" indicates the presence (value "0") of a p2p connection in the input plug Number of. "Channel number" indicates the channel number available for the input plug to receive the isochronous data stream.
因此,如果具有控制器的控制设备被分配了一个信道值,用于在图2和图3所示的信道号中写入在oPCR 111和iPCR 211中分配的每个信道值,并在oPCR 111和iPCR 211中写入其它的控制值(即,在线比特值、连接计数器值等等),那么相应的源设备和信宿设备依据这些值对信息进行传送或者停止传送。Therefore, if a control device with a controller is assigned a channel value for writing each channel value assigned in oPCR 111 and iPCR 211 in the channel numbers shown in Figures 2 and 3, and in oPCR 111 Write other control values (that is, online bit value, connection counter value, etc.) into iPCR 211, then the corresponding source device and sink device transmit or stop transmitting information according to these values.
如图2和图3所示,有两类用于传送信息的连接:p2p连接和广播连接。在p2p连接的情况下,仅有一个建立连接的控制设备能够断开连接。因此,在第三方控制设备建立p2p连接的情况下,其间建立连接的源设备和信宿设备,即使不要求,也必须各自传送和接收信息。As shown in Figure 2 and Figure 3, there are two types of connections used to transmit information: p2p connections and broadcast connections. In the case of a p2p connection, only one controlling device that establishes the connection can disconnect. Therefore, in the case where a third-party control device establishes a p2p connection, the source device and the sink device between which the connection is established must each transmit and receive information, even if not required.
为了克服上述问题,当任一个设备不再要求接收或传送数据时,已在通过在音频-视频/控制命令事务集(audio-video/control command transaction set:AV/C CTS)中定义一个新的控制命令来提出一种算法,该算法用于向控制设备或连接的其它设备通知这个事实。具体地说,当在一个传送或接收实时数据的设备中发生任何变化时,在AV/C CTS中定义一个新的控制命令来表示这个变化。按照所述的AV/C CTS,可以得到关于每个输入插头是否要求接收任意输入和每个输出插头是否要求输出的信息。另外,当一个从输出插头输出的信号变换时,也可得知该信息。然而,当使用所述AV/C CTS的命令时,存在这样一个问题,即用于控制数据流的其它因素的变化是不可得到的,其它因素如带宽和关于多少设备被连接到所涉及的连接的信息。In order to overcome the above problems, when any device no longer requires to receive or transmit data, a new one has been defined in the audio-video/control command transaction set (audio-video/control command transaction set: AV/C CTS) Control commands to propose an algorithm for informing the controlling device or other connected devices of this fact. Specifically, when any change occurs in a device that transmits or receives real-time data, a new control command is defined in AV/CCTS to represent the change. According to the AV/C CTS, information can be obtained on whether each input plug is required to receive any input and whether each output plug is required to output. In addition, when a signal output from the output plug changes, the information can also be known. However, when using the commands of the AV/C CTS, there is a problem that the variation of other factors used to control the flow of data is not available, other factors such as bandwidth and information about how many devices are connected to the connection involved Information.
发明内容 Contents of the invention
为了解决上述问题,本发明的一个目的是提供一种连接管理方法,在实时数据传送期间指示关于数据传送流的各种连接状态的变化,例如数据传送和接收的状态、数据处理能力以及数据的带宽,其中数据传送在由预定数字接口格式连接的设备之间进行。In order to solve the above-mentioned problems, an object of the present invention is to provide a connection management method that indicates changes in various connection states with respect to data transfer streams during real-time data transfer, such as the status of data transfer and reception, data processing capabilities, and data availability. Bandwidth in which data transfer takes place between devices connected by a predetermined digital interface format.
本发明的另一个目的是提供一种连接管理方法,用于产生一个连接管理命令以响应于其来传送数据传输流的各种连接状态的变化。Another object of the present invention is to provide a connection management method for generating a connection management command in response to changes in various connection states through which data transport streams are transmitted.
本发明的又一个目的是提供一种连接管理命令结构,用于指示当在由预定数字接口格式连接的设备之间传送实时信息时,数据传输流中各种连接状态的变化。Still another object of the present invention is to provide a connection management command structure for indicating changes in various connection states in a data transmission stream when real-time information is transferred between devices connected by a predetermined digital interface format.
因此,为了实现本发明的上述目的,提供了一种管理网络系统中设备之间连接的连接管理方法,该系统中一个或多个使用预定数据传送格式传送数据的设备与一个或多个接收数据的设备通过预定数字接口连接起来,该方法包括以下步骤:(a)由一个控制设备对多个设备进行控制,将在该多个设备中发生的涉及到已建立连接的状态变化通知给该控制设备,所述的将已建立连接的状态变化通知给控制设备的步骤是响应于发送给被控设备的连接管理命令而执行的,其中,如果在传送信息设备中所改变的连接计数器比特字段表明用于从传送设备接收信息的设备数量发生了变化,则想要接收信息的设备的连接被断开或连上,并且,如果用于从传送信息设备接收信息的多个设备改变并且建立了专用连接,则除了最初与建立连接有关的一个或多个接收设备之外的设备都停止接收信息。。Therefore, in order to achieve the above objects of the present invention, a connection management method for managing connections between devices in a network system is provided, in which one or more devices that transmit data using a predetermined data transmission format and one or more devices that receive data The device is connected through a predetermined digital interface, the method includes the following steps: (a) a control device controls a plurality of devices, and notifies the control device of a state change that occurs in the plurality of devices and involves an established connection device, the step of notifying the controlling device of the state change of the established connection is performed in response to a connection management command sent to the controlled device, wherein, if the changed connection counter bit field in the transmitting information device indicates If the number of devices for receiving information from the transmitting device is changed, the connection of the device that wants to receive connection, all devices other than the one or more receiving devices originally associated with establishing the connection cease to receive information. .
为了实现本发明的另一个目的,提供了一种管理网络系统中设备之间连接的连接管理方法,包括以下步骤:(a)在通过预定数据传送格式传送信息的设备和接收信息的设备之间建立连接,两者由预定数字接口连接;(b)发送一条连接管理命令,用于控制连接管理状态;和(c)当接收到对连接管理状态变化的响应时,根据连接管理命令控制这个连接。In order to achieve another object of the present invention, a connection management method for managing connections between devices in a network system is provided, including the following steps: (a) between a device that transmits information in a predetermined data transmission format and a device that receives information Establishing a connection, the two are connected by a predetermined digital interface; (b) sending a connection management command for controlling the connection management state; and (c) when receiving a response to the connection management state change, controlling the connection according to the connection management command .
附图说明 Description of drawings
通过结合附图对本发明的优选实施例进行详细描述,本发明的上述目的和优点将会变得更加清楚,其中:By describing in detail preferred embodiments of the present invention in conjunction with the accompanying drawings, the above-mentioned purpose and advantages of the present invention will become more clear, wherein:
图1是表示经由常规IEEE 1394总线连接的网络系统的示意性视图;Fig. 1 is a schematic view representing a network system connected via a conventional IEEE 1394 bus;
图2是表示图1中所示的输出插头控制寄存器(oPCR)格式的图表;FIG. 2 is a diagram representing the format of an output plug control register (oPCR) shown in FIG. 1;
图3是表示图1中所示的输入插头控制寄存器(iPCR)格式的图表;FIG. 3 is a diagram representing the format of the input plug control register (iPCR) shown in FIG. 1;
图4是表示根据本发明的连接管理命令结构的图表;FIG. 4 is a diagram representing a connection management command structure according to the present invention;
图5是根据本发明实施例的连接管理方法的流程图。Fig. 5 is a flowchart of a connection management method according to an embodiment of the present invention.
具体实施方式 Detailed ways
根据本发明,当在IEC 61883(电子音频/视频装置的数字接口规范,第一部分,1995年12月,HD数字VCR会议)的格式中定义的输出插头控制寄存器(oPCR)和输入插头寄存器(iPCR)的控制值发生变化时,如图4所示地定义一个连接管理命令结构,用于向一个控制设备或另一个连接到此的设备通知这个变化,同时它与定义在音频-视频/控制命令事务集(AV/C CTS)中命令形式的一致,其中,IEC 61883是使用IEEE 1394格式的设备的数据传送格式。According to the present invention, when the output plug control register (oPCR) and the input plug register (iPCR) defined in the format of IEC 61883 (Digital Interface Specification for Electronic Audio/Video Apparatus,
在图4中,操作码定义为连接管理,并且一个操作数[0]被分配一个字节。1字节的字段包括:最高有效位(MSB),表示连接寄存器类型(iPCR/oPCR);接着是被保留的1比特;剩余的6比特,表示关于建立连接的插头号的插头标识信息。向操作数[0]加上其它的操作数(操作数[1]--操作数[4])允许传送关于连接管理的各种信息。In Figure 4, opcodes are defined for connection management, and one operand[0] is allocated one byte. The 1-byte field includes: the most significant bit (MSB), indicating the connection register type (iPCR/oPCR); followed by 1 bit that is reserved; and the remaining 6 bits, indicating the plug identification information about the plug number that establishes the connection. Adding other operands (operand[1] - operand[4]) to operand[0] allows the transfer of various information about connection management.
具体地说,可以通过仅指定图2所示的oPCR格式中的某些比特字段(在线、广播连接计数器、点对点连接、信道号、数据率、开销ID与净荷)和仅指定图3所示的iPCR格式中的某些比特字段(在线、广播连接计数器、点对点连接、信道号)来预防不必要响应的传送。因此,当一个控制设备要求知道32比特oPCR或iPCR中的某些比特字段的变化时,控制设备仅须使用操作数(操作数[1]-操作数[4])设置相应比特字段的比特位置为“1”,从而使用通知命令向源设备或信宿设备传送设置的操作数。例如,如果仅要求在线比特字段,则只有想得到的比特能被指定。换句话说,如果对应于在线的比特位置是b0,则传送的方式为:仅将在操作数(例如,操作数[1])中对应于b0的比特位置设置为“1”并且将其余比特都设置为“0”。Specifically, it is possible by specifying only certain bit fields in the oPCR format shown in Figure 2 (online, broadcast connection counter, point-to-point connection, channel number, data rate, overhead ID, and payload) and only specifying Certain bit fields in the iPCR format (online, broadcast connection counter, point-to-point connection, channel number) are used to prevent the transmission of unnecessary responses. Therefore, when a control device requires to know the changes of some bit fields in the 32-bit oPCR or iPCR, the control device only needs to use the operand (operand[1]-operand[4]) to set the bit position of the corresponding bit field is "1" to transmit the set operand to the source device or the sink device using the notify command. For example, if only the in-line bit field is required, only the desired bits can be specified. In other words, if the bit position corresponding to the line is b0, transfer is done by setting only the bit position corresponding to b0 in the operand (eg, operand[1]) to "1" and setting the remaining bits Both are set to "0".
除了包含在例如图2和图3所示的连接管理格式中的因素,关于连接是否仅用于专用目的的操作数[n]可以添加到图4所示的连接管理结构中。因此,一个经由IEEE 1394连接的设备(控制设备)通过用图4所示的连接管理命令指定一个输出插头或一个输入插头向另一个设备(源设备或信宿设备)进行传送。在这种情况下,连接管理命令可以被定义为AV/C CTS中定义的通知命令的一种新命令。有几种类型的AV/C CTS命令,通知命令是其中一种,如果当控制器要求知道一个状态未来的变化时其传送一个通知命令,那么在接收通知命令的设备(也叫做目标)首先通过向控制器发送它自己当前状态来进行响应,如果状态后来变化了,则目标通过向控制器再一次发送变化后的状态来进行响应。In addition to the factors contained in eg the connection management formats shown in Figs. 2 and 3, an operand [n] as to whether the connection is only for a dedicated purpose can be added to the connection management structure shown in Fig. 4 . Therefore, a device (control device) connected via IEEE 1394 performs transmission to another device (source device or sink device) by designating an output plug or an input plug with the connection management command shown in FIG. 4 . In this case, the connection management command can be defined as a new command of the notification command defined in AV/C CTS. There are several types of AV/C CTS commands, and the notify command is one of them. If the controller sends a notify command when it needs to know about a future change in state, the device (also called the target) that receives the notify command first passes the The controller responds by sending its own current state, and if the state changes later, the target responds by sending the changed state again to the controller.
在本发明中,如果传送如图4所示的连接管理通知命令,并且在由连接管理通知命令指定的插头控制寄存器的任意比特中发生了变化,则接收通知命令的设备向传送通知命令的设备重新传送这个变化作为响应。接收这个响应的设备读取有关另一设备对应插头控制寄存器的信息,检查哪个比特字段变化了,并根据变化的比特字段采取适当的措施。In the present invention, if a connection management notification command as shown in FIG. 4 is transmitted, and a change occurs in any bit of the plug control register specified by the connection management notification command, the device receiving the notification command sends a message to the device that transmitted the notification command. Resend the change in response. A device receiving this response reads information about the corresponding plug control register of the other device, checks which bit field has changed, and takes appropriate action depending on the changed bit field.
具体地说,在接收通知命令的设备是一个具有oPCR的源设备的情况下,如果几种比特字段中的在线比特字段从“1”变成“0”,则可以解释为源设备没有传送输出或不要求这么做,所以控制设备断开与这个源设备的连接。相反地,如果在线比特字段从“0”变成“1”,则源设备要求传送输出,所以控制设备建立与源设备的连接。例如,如果一台DTV在正常的广播节目结束时没有输出信号,那么控制设备就断开与DTV的连接。Specifically, in the case where the device receiving the notify command is a source device with oPCR, if the on-line bit field in several bit fields changes from "1" to "0", it can be interpreted that the source device did not transmit the output Or it is not required to do so, so the controlling device disconnects the source device. Conversely, if the on-line bit field changes from "0" to "1", the source device requests to transmit an output, so the control device establishes a connection with the source device. For example, if a DTV does not output a signal at the end of a normal broadcast program, the control device disconnects the DTV.
在广播连接计数器或p2p连接计数器的值发生变化的情况下,这表明连接状态的变化是由在已经建立的连接上重叠(overlay)其它设备或者断开已重叠的连接造成的。当由于具有控制设备的源设备建立了连接从而p2p连接计数器的值为“1”时,如果这个值变成“2”,则可认为是另一个设备接收从源设备输出的信息。在这种情况下,如果仅为了专用目的建立连接,则用户能被通知由他/她存取的信息也能被其它人存取,从而使用户能恰当地处理这种情况。In the case of a change in the value of the broadcast connection counter or the p2p connection counter, this indicates that the change in connection status is caused by overlaying other devices on an already established connection or disconnecting an already overlapped connection. When the value of the p2p connection counter is "1" because the source device with the control device has established a connection, if the value becomes "2", it can be considered that another device receives the information output from the source device. In this case, if a connection is established only for an exclusive purpose, the user can be notified that information accessed by him/her can also be accessed by others, thereby allowing the user to properly handle the situation.
如果表示oPCR比特字段中输出信息带宽的净荷值发生了变化,则基于源设备变化的输出信息带宽和信宿设备能够输入的带宽,控制设备能够采取适当的措施。例如,如果由源设备传送的输出信息的带宽超过信宿设备能够接收和处理的带宽,则控制设备可以断开信宿设备的连接,从而防止信宿设备接收进一步的信息。If the payload value representing the output information bandwidth in the oPCR bit field changes, the control device can take appropriate measures based on the changed output information bandwidth of the source device and the bandwidth that the sink device can input. For example, if the bandwidth of the output information transmitted by the source device exceeds the bandwidth that the sink device can receive and process, the control device may disconnect the sink device, thereby preventing the sink device from receiving further information.
采用同样的方式,在接收通知命令的设备是一个具有iPCR的信宿设备的情况下,如果在线比特字段从“0”变成“1”,则被认为是信宿设备要求接收一个输入,从而控制设备建立信宿设备的连接。相反地,信宿设备不能被认为再要求输入,从而控制设备就可以断开信宿设备的连接。例如,当一个盒式磁带录像机(信宿设备)用完了录像带的所有可录区域并进入空白信号区时,用户就会被立即告知这种情况以便退出或更换磁带。In the same way, in the case that the device receiving the notification command is a sink device with iPCR, if the on-line bit field changes from "0" to "1", it is considered that the sink device requires to receive an input, thereby controlling the device Establish a connection with the sink device. Conversely, the sink device can no longer be considered to require input, so that the control device can disconnect the sink device. For example, when a videocassette recorder (sink device) runs out of all recordable area of the tape and enters a blank signal area, the user is immediately notified of this situation in order to eject or replace the tape.
图5是根据本发明实施例的连接管理方法的流程图,其中,连接管理方法由包含控制器的控制设备执行。参考图5,根据IEC 61883中定义的过程,在源设备和信宿设备之间建立连接(步骤S101)。在这种情况下,连接或者是点对点的或者是广播连接。然后,连接管理通知命令被发送到源设备和/或信宿设备(步骤S102)。同时等待(步骤S103),直到对连接管理变化的通知响应到达,在从接收通知命令的设备接收到对当前状态的响应之后,就接收到通知命令接收方设备的对应插头控制寄存器的比特字段变化的通知响应(步骤S104)。Fig. 5 is a flowchart of a connection management method according to an embodiment of the present invention, wherein the connection management method is executed by a control device including a controller. Referring to FIG. 5, according to the procedure defined in IEC 61883, a connection is established between the source device and the sink device (step S101). In this case, the connection is either point-to-point or a broadcast connection. Then, a connection management notification command is sent to the source device and/or the sink device (step S102). Wait at the same time (step S103) until the notification response to the connection management change arrives, after receiving the response to the current state from the device receiving the notification command, the bit field change of the corresponding plug control register of the notification command receiver device is received notification response (step S104).
当在步骤S104接收到响应时,首先检查在线比特字段的变化(步骤S105)。如果对应插头控制寄存器中的比特字段中的在线比特字段变成“0”,则断开连接(步骤S106)。另一方面,如果在步骤S105中在线比特字段仍保持为“1”并建立一个专用连接,那么就检查广播连接计数器或p2p计数器的值是否发生变化(步骤S107)。如果发生变化,用户就被告知这是一个重叠连接,从而应采取适当的措施(S108)。如果步骤S107中连接计数器的值没有发生变化,则检查对应插头控制寄存器的比特字段中的净荷是否发生变化(步骤S109),如果净荷变化了,则应调整带宽(步骤S110)。然后,检查调整后的带宽是否能被信宿设备接收用于输入数据(步骤S112),否则,步骤S102继续进行,从而传送连接管理命令。When a response is received in step S104, the change of the online bit field is first checked (step S105). If the online bit field in the bit field in the corresponding plug control register becomes "0", the connection is disconnected (step S106). On the other hand, if the online bit field remains "1" and a dedicated connection is established in step S105, it is checked whether the value of the broadcast connection counter or the p2p counter changes (step S107). If there is a change, the user is notified that this is an overlapping connection and appropriate measures should be taken (S108). If the value of the connection counter does not change in step S107, then check whether the payload in the bit field of the corresponding plug control register changes (step S109), if the payload changes, then the bandwidth should be adjusted (step S110). Then, check whether the adjusted bandwidth can be received by the sink device for inputting data (step S112), otherwise, step S102 continues to transmit the connection management command.
根据本发明,当由数字接口连接的多个设备中的某个不再要求传送输出或接收输入时,允许断开连接。因此,不会由于建立不必要连接而浪费带宽,并仅仅使用需要的带宽,这样就提高了带宽使用效率。According to the invention, disconnection is allowed when one of the plurality of devices connected by the digital interface is no longer required to transmit output or receive input. Therefore, the bandwidth will not be wasted by establishing unnecessary connections, and only the required bandwidth is used, thus improving the bandwidth usage efficiency.
另外,在本发明中,能够立即通知一个设备几种类型的状态变化(例如,数据传送和接收状态,数据处理性能),这些变化可能在另一个设备进行的数据处理过程中发生,从而允许用户迅速了解在连接的设备中发生的状态变化,并处理这些变化。Also, in the present invention, one device can be immediately notified of several types of status changes (for example, data transmission and reception status, data processing performance) that may occur during data processing by another device, thereby allowing the user Quickly understand state changes that occur in connected devices and act on them.
另外,本发明能够指明关于源设备是否要求传送数据的信息,也能指明连接到源设备的信宿设备数量的变化及源设备和信宿设备分别输出和输入带宽的变化。例如,如果增加连接到源设备的信宿设备的数量,则用户被告知这个变化,从而如果另一个设备不希望连接到那里,则另一个设备的连接是不允许的。因此,能够进行更有效的连接状态管理。In addition, the present invention can specify information about whether the source device requires data transfer, and also can indicate changes in the number of sink devices connected to the source device and changes in output and input bandwidths of the source device and the sink device, respectively. For example, if the number of sink devices connected to a source device is increased, the user is informed of this change, so that another device's connection is not allowed if it does not wish to connect there. Therefore, more efficient connection state management can be performed.
Claims (21)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR31057/1999 | 1999-07-29 | ||
| KR9931057 | 1999-07-29 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1282922A CN1282922A (en) | 2001-02-07 |
| CN1155890C true CN1155890C (en) | 2004-06-30 |
Family
ID=19605569
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB001217801A Expired - Fee Related CN1155890C (en) | 1999-07-29 | 2000-07-28 | Connection management method for managing connections between devices in a network system |
Country Status (4)
| Country | Link |
|---|---|
| JP (1) | JP3636645B2 (en) |
| KR (1) | KR100677069B1 (en) |
| CN (1) | CN1155890C (en) |
| GB (1) | GB2355902B (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3985473B2 (en) * | 2001-07-19 | 2007-10-03 | セイコーエプソン株式会社 | Network device management method, network device management system, processing program for managing network device, and management device |
| CN100367725C (en) * | 2003-02-26 | 2008-02-06 | 联想(北京)有限公司 | An automatic resuming method for network |
| US7949762B2 (en) * | 2005-12-26 | 2011-05-24 | Panasonic Corporation | Address managing method and communication apparatus |
| US8149711B2 (en) * | 2007-07-25 | 2012-04-03 | Silicon Image, Inc. | Data stream control for network devices |
| GB2538245B (en) * | 2015-05-11 | 2017-06-14 | Cirrus Logic Int Semiconductor Ltd | Digital accessory interface |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| ATE258356T1 (en) * | 1996-06-21 | 2004-02-15 | Sony Electronics Inc | USER INTERFACE WITH TOPOLOGY MAP |
| JPH11205363A (en) * | 1998-01-20 | 1999-07-30 | Nec Corp | Ieee 1394 device controller |
| US6804250B2 (en) * | 1998-02-24 | 2004-10-12 | Canon Kabushiki Kaisha | Data communication system and node, and method of using the system and the node |
| EP0971509A1 (en) * | 1998-07-06 | 2000-01-12 | Sony International (Europe) GmbH | Bandwidth reservation |
| KR20010053609A (en) * | 1999-05-24 | 2001-06-25 | 이데이 노부유끼 | Apparatus data transmission method, transmission device, and transmission system |
| US6738835B1 (en) * | 1999-05-28 | 2004-05-18 | Sony Corporation | Information processing apparatus and method, and recording medium |
| US6430629B1 (en) * | 1999-06-10 | 2002-08-06 | Sony Corporation | Methods and apparatus for monitoring a 1394 home network |
-
1999
- 1999-07-29 KR KR1019990031057A patent/KR100677069B1/en not_active Expired - Fee Related
-
2000
- 2000-07-21 GB GB0017830A patent/GB2355902B/en not_active Expired - Fee Related
- 2000-07-28 CN CNB001217801A patent/CN1155890C/en not_active Expired - Fee Related
- 2000-07-28 JP JP2000229385A patent/JP3636645B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP3636645B2 (en) | 2005-04-06 |
| GB2355902B (en) | 2003-01-08 |
| KR100677069B1 (en) | 2007-02-01 |
| GB2355902A (en) | 2001-05-02 |
| CN1282922A (en) | 2001-02-07 |
| KR20010011603A (en) | 2001-02-15 |
| GB0017830D0 (en) | 2000-09-06 |
| JP2001069164A (en) | 2001-03-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100294960B1 (en) | Data communication system, data communication method, and data communication apparatus | |
| JP2001520464A (en) | Peripheral electronic device and system for controlling peripheral electronic device via digital bus | |
| JP2000032016A (en) | Digital signal receiver, network and transport stream transmitting method | |
| KR100407095B1 (en) | Data communication system and data communication method | |
| US6272114B1 (en) | Data processing apparatus/method and electronic apparatus with such apparatus/method | |
| CN1155890C (en) | Connection management method for managing connections between devices in a network system | |
| JP3671738B2 (en) | Transmission management method | |
| US7145872B1 (en) | Method for managing system resources in network system in which digital interface is used for connection | |
| US7032024B1 (en) | Connection management method for devices connected digital interface and command structure therefor | |
| US6885631B1 (en) | Connection management method for digital interface | |
| JP4304066B2 (en) | Method for managing a network having a bridge between HAVi clusters | |
| US6760797B1 (en) | Method for allocating channel in device having digital interface | |
| JP2000253463A (en) | Network control system and target, controller, and consumer used in the network control system | |
| JP2004147251A (en) | Data transfer device, interface control semiconductor integrated circuit, and protocol processing circuit control method | |
| JP2004512737A (en) | Method for reserving isochronous resources in a network including wireless links | |
| JP2001244942A (en) | Device and method for processing information and recording medium | |
| KR100644560B1 (en) | Connection managing method of digital interface | |
| JP3637817B2 (en) | Device connection method and program recording medium | |
| JP2003324451A (en) | Signal processing system, signal output device, signal input device and communication control method | |
| KR100940636B1 (en) | Data stream transmission method of home network | |
| KR100644557B1 (en) | How to determine the broadcast transmission speed of a device with a digital interface | |
| JP2003110561A (en) | Stream management device on home network | |
| KR100561388B1 (en) | How to Manage Digital Interface Connections | |
| CN1672365A (en) | Method and apparatus for performing communications over a bus-structured network | |
| JP2003318978A (en) | Network system, server, terminal electronic device, and data transfer method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C06 | Publication | ||
| PB01 | Publication | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| C17 | Cessation of patent right | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20040630 |