CN1998199B - Connection mode control device, connection mode control method and connection mode control program - Google Patents

Connection mode control device, connection mode control method and connection mode control program Download PDF

Info

Publication number
CN1998199B
CN1998199B CN2005800239469A CN200580023946A CN1998199B CN 1998199 B CN1998199 B CN 1998199B CN 2005800239469 A CN2005800239469 A CN 2005800239469A CN 200580023946 A CN200580023946 A CN 200580023946A CN 1998199 B CN1998199 B CN 1998199B
Authority
CN
China
Prior art keywords
repeater
node
data
nodes
network system
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
Application number
CN2005800239469A
Other languages
Chinese (zh)
Other versions
CN1998199A (en
Inventor
日比野义彦
清原裕二
铃木博明
牛山建太郎
饭岛康一
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Aixing Co ltd
Brother Industries Ltd
Original Assignee
Aixing Co ltd
Brother Industries Ltd
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
Priority claimed from JP2004284563A external-priority patent/JP2006101175A/en
Application filed by Aixing Co ltd, Brother Industries Ltd filed Critical Aixing Co ltd
Priority claimed from PCT/JP2005/010518 external-priority patent/WO2006008885A1/en
Publication of CN1998199A publication Critical patent/CN1998199A/en
Application granted granted Critical
Publication of CN1998199B publication Critical patent/CN1998199B/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • Y02B60/31

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

Provided is a network control device which can surely distribute contents without affecting processing in a node below even when a relay function of one of nodes included in a network is stopped, while improving reliability of a network system itself. When controlling a node N included in a network system NS including a server S and a plurality of nodes N constituting a plurality of hierarchies and connected to each other, to each of which a content is distributed from the server S, it checks whether a content relay function of a node located in an uplink with respect to the node N in content distribution has stopped. When the stop of the relay function is detected, control is performed so that the consumption rate of the content accumulated in the lower node N in the processing performed in the node N is smaller than the consumption rate before the stop of the relay function.

Description

连接模式控制设备、连接模式控制方法和连接模式控制程序Connection mode control device, connection mode control method and connection mode control program

技术领域 technical field

本发明涉及网络控制设备、连接模式控制设备、网络控制方法、连接模式控制方法、网络控制程序和连接模式控制程序的技术领域。更具体地说,本发明涉及用于控制网络系统中发布从发布源发布的发布信息的发布模式同时在被连接起来并构成多级的层级的中继单元中逐步中继发布信息的网络控制设备、连接模式控制设备、网络控制方法、连接模式控制方法、网络控制程序和连接模式控制程序的技术领域。The present invention relates to the technical field of a network control device, a connection mode control device, a network control method, a connection mode control method, a network control program and a connection mode control program. More specifically, the present invention relates to a network control device for controlling a distribution mode of distribution information distributed from a distribution source in a network system while relaying distribution information step by step in relay units that are connected and constitute a multi-stage hierarchy , the technical field of a connection mode control device, a network control method, a connection mode control method, a network control program, and a connection mode control program.

背景技术 Background technique

近年来,随着用于家庭的因特网线路速度的提升,网络系统得到普遍使用。在网络系统中,通过将家用个人计算机等连接成以顶点是作为发布源的单个发布设备的树形结构来构建网络,并且从发布设备经由网络发布诸如音乐和电影等所谓内容来作为发布信息。从连接模式的角度看,网络被称为“拓扑”。构成网络的每一个发布设备和个人计算机一般被称为“节点”。In recent years, network systems have been widely used as the speed of Internet lines for homes has increased. In the network system, a network is constructed by connecting home personal computers and the like into a tree structure with the apex being a single distribution device as a distribution source, and so-called contents such as music and movies are distributed from the distribution devices via the network as distribution information. From the point of view of connection mode, the network is called "topology". Each of the publishing devices and personal computers that make up the network is generally referred to as a "node".

例如,专利文件1公开了网络系统的现有技术。专利文件1:日本专利未决公开第2003-169089号。For example, Patent Document 1 discloses a prior art of a network system. Patent Document 1: Japanese Patent Laid-Open No. 2003-169089.

在日本专利未决公开第2003-169089号的网络系统所代表的现有网络系统中包括的每一个节点中,从上层节点传输的内容暂时存储在缓冲存储器中并且用于重放处理等。该结构试图减少在网络系统中构成发布路径的因特网电路中的传输速度波动的影响。例如,使用了诸如环形缓冲存储器等FIFO(先进先出)存储器来作为缓冲存储器。In each node included in the existing network system represented by the network system of Japanese Patent Laid-Open No. 2003-169089, content transmitted from an upper node is temporarily stored in a buffer memory and used for playback processing and the like. This structure attempts to reduce the influence of transmission speed fluctuations in Internet circuits constituting distribution paths in the network system. For example, a FIFO (First In First Out) memory such as a ring buffer memory is used as the buffer memory.

另一方面,在网络系统中,构建系统的节点是如上所述的家用个人计算机等。因此,可能存在不管内容是否正在被发布,在发布路径上的任何一个节点的电源被断开的情况。在这种情况下,会停止将内容中继到与电源开关被断开的节点相连的下层节点的功能。On the other hand, in the network system, nodes constructing the system are home personal computers and the like as described above. Therefore, there may be a case where the power supply of any one node on the distribution path is turned off regardless of whether the content is being distributed or not. In this case, the function of relaying content to the lower nodes connected to the node whose power switch was turned off is stopped.

在网络系统中的内容发布期间,在发布路径上的任何一个节点的中继功能停止的情况下,重新构建拓扑,以包括除了中继功能停止的节点之外的节点(也就是说,重新构建从发布设备到直接连接到中继功能停止的节点的下层节点的发布路径并且重新开始发布)。During content distribution in the network system, in the event that the relay function of any node on the distribution path stops, the topology is reconstructed to include nodes other than the node whose relay function stops (that is, rebuilding distribution path from the distribution device to the lower layer node directly connected to the node where the relay function stopped and restart distribution).

发明内容 Contents of the invention

本发明要解决的问题 The problem to be solved by the present invention

不过,在现有网络系统的拓扑重构中,诸如搜索从发布系统开始的最短路径和使用搜索结果进行连接切换等处理是必需的。结果,暂时中断了将内容发布到下层节点。在发布被中断的情况下,在下层节点中,继续进行存储在缓冲存储器中的重放内容的处理(换句话说,消耗作为内容存储在缓冲存储器中的数据),但是没有将新内容供应给缓冲器。结果会产生问题,使得缓冲器中的存储量逐渐下降,并且在有些情况下,下层节点中的内容重放处理被中断。However, in the topology reconfiguration of the existing network system, processing such as searching for the shortest path from the distribution system and performing connection switching using the search results are necessary. As a result, publishing of content to lower nodes is temporarily interrupted. In the case where the distribution is interrupted, in the lower layer node, the processing of the playback content stored in the buffer memory is continued (in other words, the data stored as the content in the buffer memory is consumed), but no new content is supplied to buffer. As a result, problems arise such that the amount of storage in the buffer gradually decreases, and in some cases, content playback processing in lower nodes is interrupted.

在网络系统中包括的任何一个节点的中继功能停止的情况下,中断重放处理会导致网络系统自身可靠性的恶化。In the case where the relay function of any one of the nodes included in the network system is stopped, interruption of the playback process leads to deterioration of the reliability of the network system itself.

本发明的实现考虑到了这些问题,并且本发明的目的是提出一种网络控制设备、网络控制方法和网络控制程序,用于控制网络系统中的发布模式,以便即使在网络系统中包括的任何一个节点的中继功能停止的情况下,也可以可靠地进行内容发布,同时在不影响下层节点中的处理的情况下,提高网络系统自身的可靠性。问题的解决方式The implementation of the present invention takes these problems into consideration, and the purpose of the present invention is to propose a network control device, a network control method and a network control program for controlling the release mode in the network system, so that even if any Even when the relay function of the node is stopped, the content distribution can be reliably performed, and at the same time, the reliability of the network system itself can be improved without affecting the processing in the lower layer nodes. problem solving

为了实现该目的,根据权利要求1所述的本发明涉及网络控制设备,用于控制在下述网络系统中包括的多个中继器中的任何一个,所述网络系统包括作为发布信息的发布源的发布器和连接到所述发布器的并且形成多个层级的多个中继器,并且其中所述发布信息从所述发布器被发布到各中继器,该设备包括:诸如CPU的检测装置,用于检测在向作为要控制的所述中继器的目标中继器进行所述发布信息的发布中,在位于上游的任何一个所述中继器中中继所述发布信息的功能是否停止;以及诸如CPU的消耗量控制装置,用于控制作为存储在所述目标中继器中的所述发布信息的每单位时间的消耗量的单位时间消耗量,使其小于所述中继功能停止之前的所述单位时间消耗量,所述发布信息由于当检测到所述中继功能停止时在所述目标中继器中执行的处理中的使用而被消耗。In order to achieve the object, the present invention according to claim 1 relates to a network control device for controlling any one of a plurality of repeaters included in a network system including as a distribution source of distribution information A publisher and a plurality of repeaters connected to the publisher and forming a plurality of levels, and wherein the distribution information is distributed from the publisher to each repeater, the device includes: a detection device such as a CPU means for detecting a function of relaying the distribution information in any one of the repeaters located upstream in the distribution of the distribution information to a target repeater as the repeater to be controlled whether to stop; and consumption control means such as a CPU for controlling the unit time consumption which is the consumption per unit time of the distribution information stored in the target relay to be smaller than the relay The unit time consumption amount until function stop, the posting information is consumed due to use in processing executed in the target repeater when the stop of the relay function is detected.

因此,当网络系统中位于上游侧上的中继器中的中继功能停止时,存储在位于下游侧上的中继器中的发布信息的每单位时间消耗量被控制得小于停止之前的消耗量。结果,可以在不增加网络系统自身负担的情况下,防止在中断了发布信息的发布而发布信息仍以类似于中断之前的速度被消耗的情况下所导致的在下游中继器中的处理中断或发生严重的处理延迟。Therefore, when the relay function in the repeater located on the upstream side in the network system is stopped, the consumption per unit time of the distribution information stored in the repeater located on the downstream side is controlled to be smaller than the consumption before the stop. quantity. As a result, it is possible to prevent interruption of processing in the downstream repeater caused when the distribution of the distribution information is interrupted while the distribution information is still being consumed at a speed similar to that before the interruption without increasing the burden on the network system itself or significant processing delays occur.

为了实现这一目的,如权利要求2所述的本发明涉及如权利要求1所述的网络控制设备,其中所述发布信息为图像信息,并且所述消耗量控制装置通过使由于使用用于处理的所述图像信息而减少缓存装置中的所述图像信息的存储量的速度慢于所述中继功能停止之前的减少速度,来减少所述单位时间消耗量,其中所述缓存装置用于临时存储所述目标中继器中的所述图像信息。In order to achieve this object, the present invention as set forth in claim 2 relates to the network control device as set forth in claim 1, wherein the distribution information is image information, and the consumption amount control means processes by using The speed of reducing the storage amount of the image information in the cache device is slower than the reduction speed before the stop of the relay function, so as to reduce the unit time consumption, wherein the cache device is used for temporary storing the image information in the target repeater.

因此,除了根据权利要求1的本发明的效果之外,发布信息为图像信息,并且通过使缓存装置中的图像信息的存储量的减少速度慢于中继功能停止之前的减少速度,来减少单位时间消耗量。因此,在不执行复杂速度控制处理的情况下,可以采用简单结构来减少单位时间消耗量。Therefore, in addition to the effect of the present invention according to claim 1, the distribution information is image information, and the unit is reduced by making the reduction speed of the storage amount of the image information in the buffer device slower than that before the relay function is stopped. time consumption. Therefore, a simple structure can be employed to reduce unit time consumption without performing complicated speed control processing.

为了实现这一目的,根据权利要求3的本发明涉及根据权利要求2的网络控制设备,其中所述图像信息为由多个静止图像组成的动态图像信息,并且所述消耗量控制装置通过多次从所述缓存装置中重复输出相同的静止图像来降低所述存储量的减少速度。In order to achieve this object, the present invention according to claim 3 relates to the network control apparatus according to claim 2, wherein said image information is dynamic image information composed of a plurality of still images, and said consumption control means passes through multiple Repeatedly outputting the same still image from the cache means reduces the reduction speed of the storage amount.

因此,除了根据权利要求2的本发明的效果之外,通过多次重复输出作为动态图像信息的组成的相同静止图像来降低减少存储量的速度。因此,通过简单处理可以可靠地减少单位时间消耗量。Therefore, in addition to the effect of the present invention according to claim 2, the speed of reducing the amount of memory is reduced by repeatedly outputting the same still image as a constituent of moving image information multiple times. Therefore, the unit time consumption can be reliably reduced by simple processing.

为了实现这一目的,根据权利要求4的本发明涉及根据权利要求1所述的网络控制设备,其中所述发布信息为编码的图像信息,并且所述消耗量控制装置通过使所述目标中继器中的处理中解码所述图像信息的速度慢于所述中继功能停止之前的解码速度,来减少所述单位时间消耗量。To achieve this object, the present invention according to claim 4 relates to the network control apparatus according to claim 1, wherein the distribution information is coded image information, and the consumption amount control means relays the The decoding speed of the image information in the processing in the device is slower than the decoding speed before the relay function is stopped, so as to reduce the unit time consumption.

因此,除了根据权利要求1的本发明的效果之外,通过使目标中继器中的处理中解码图像信息的速度慢于中继功能停止之前的解码速度来减少单位时间消耗量。因此,可以通过简单处理来可靠地减少单位时间消耗量。Therefore, in addition to the effect of the present invention according to claim 1, the unit time consumption is reduced by making the speed of decoding image information in-process in the target repeater slower than the decoding speed before the relay function stops. Therefore, the unit time consumption can be reliably reduced by simple processing.

为了实现这一目的,根据权利要求5的本发明涉及根据权利要求1的网络控制设备,其中所述发布信息为由多个静止图像组成的动态图像信息,并且所述消耗量控制装置通过使所述静止图像的显示时间长于所述中继功能停止之前的显示时间来减少所述单位时间消耗量。In order to achieve this object, the present invention according to claim 5 relates to the network control apparatus according to claim 1, wherein said distribution information is dynamic image information composed of a plurality of still images, and said consumption amount control means operates by making the The display time of the still image is longer than the display time before the relay function is stopped to reduce the unit time consumption.

因此,除了根据权利要求1的本发明的效果之外,通过使作为动态图像信息的组成的静止图像的显示时间长于中继功能停止之前的显示时间来减少单位时间消耗量。因此,通过简单处理可以可靠地减少单位时间消耗量。Therefore, in addition to the effect of the present invention according to claim 1, the unit time consumption is reduced by making the display time of the still image constituting the moving image information longer than the display time before the relay function is stopped. Therefore, the unit time consumption can be reliably reduced by simple processing.

为了实现这一目的,根据权利要求6的本发明涉及根据权利要求1至5的任何一项的网络控制设备,其中所述发布信息是由多个连续的单位发布信息组成的,所述发布信息中的预定位置中的所述单位发布信息为空的单位发布信息,其用于处理的发布信息的信息量为零,并且该设备进一步包括:诸如CPU的重置装置,在向所述目标中继器的发布重新开始之后,用于将所述目标中继器中的所述单位时间消耗量重置为与所述中继功能停止之前相同的所述单位时间消耗量;以及诸如CPU的发布控制装置,在重置所述目标中继器中的所述单位时间消耗量之后,用于仅向除了下述中继器之外的所有中继器发布空的单位发布信息,所述中继器是在所述中继功能停止了的所述中继器的所述中继功能停止之前的发布中位于下游的所述中继器。To achieve this object, the present invention according to claim 6 relates to the network control device according to any one of claims 1 to 5, wherein said distribution information is composed of a plurality of continuous unit distribution information, said distribution information The unit release information in the predetermined position in the unit release information is empty, and the information amount of the release information for processing is zero, and the device further includes: reset means such as a CPU, in sending to the target After the release of the repeater is restarted, it is used to reset the unit time consumption in the target repeater to the same as the unit time consumption before the relay function stops; and release such as CPU control means for, after resetting said unit time consumption in said target repeater, for issuing empty unit release information only to all repeaters except The repeater is the repeater located downstream in the distribution before the stop of the relay function of the repeater whose relay function is stopped.

因此,除了根据权利要求1至5的任何一项的本发明的效果之外,只将空的单元发布信息发布到除了在停止其中继功能停止的中继器的中继功能之前的发布中位于下游侧上的中继器之外的所有中继器。因此,中继器中的重放时基变得逐渐接近其他中继器中的重放时基。结果,通过减少其中继功能停止了的中继器的下游侧上的中继器中的单位时间消耗量,可以减少该中继器和其他中继器的重放时基上的重放位置之间的偏离。Therefore, in addition to the effect of the present invention according to any one of claims 1 to 5, only empty unit issue information is issued to the issue located before the repeater function of the repeater whose relay function is stopped is stopped. All repeaters except those on the downstream side. Therefore, the playback time base in the repeater becomes gradually closer to the playback time base in the other repeaters. As a result, by reducing the unit time consumption in the repeater on the downstream side of the repeater whose repeater function is stopped, the difference between the playback position on the playback time base of the repeater and other repeaters can be reduced. deviation between.

为了实现这一目的,如权利要求7所述的本发明涉及控制方法,用于控制在下述网络系统中包括的多个中继器中的任何一个,所述网络系统包括作为发布信息的发布源的发布器和连接到所述发布器的并且形成多个层级的多个中继器,并且其中所述发布信息从所述发布器被发布到各中继器,该方法包括:检测步骤,用于检测在向作为要控制的所述中继器的目标中继器进行所述发布信息的发布中,在位于上游的任何一个所述中继器中中继所述发布信息的功能是否停止;以及消耗量控制步骤,用于控制作为存储在所述目标中继器中的所述发布信息的每单位时间的消耗量的单位时间消耗量,使其小于所述中继功能停止之前的所述单位时间消耗量,所述发布信息由于当检测到中所述继功能停止时在所述目标中继器中执行的处理中的使用而被消耗。In order to achieve this object, the present invention as set forth in claim 7 relates to a control method for controlling any one of a plurality of repeaters included in a network system including as a distribution source of distribution information A publisher and a plurality of repeaters connected to the publisher and forming a plurality of levels, and wherein the release information is issued from the publisher to each repeater, the method includes: a detection step, using for detecting whether a function of relaying the distribution information in any one of the relays located upstream is stopped during distribution of the distribution information to a target relay of the relay to be controlled; and a consumption amount control step of controlling the consumption amount per unit time which is the consumption amount per unit time of the distribution information stored in the target repeater to be smaller than the Consumption per unit time, the posting information is consumed due to use in processing performed in the target repeater when a stop of the relay function in the middle is detected.

因此,当在网络系统中位于上游侧上的中继器中的中继功能停止时,控制位于下游侧上的中继器中所存储的发布信息的每单位时间消耗量,以小于停止之前的消耗量。结果,可以在不增加网络系统自身负担的情况下,防止由于在中断了发布信息的发布而发布信息仍以类似于中断之前的速度被消耗的情况下所导致的在下游中继器中发生处理中断或严重的处理延迟。Therefore, when the relay function in the repeater located on the upstream side is stopped in the network system, the consumption per unit time of the distribution information stored in the repeater located on the downstream side is controlled to be smaller than before the stop. consumption. As a result, it is possible to prevent the occurrence of processing in the downstream repeater due to the fact that the distribution of the distribution information is still consumed at a speed similar to that before the interruption when the distribution of the distribution information is interrupted without increasing the burden on the network system itself Interruptions or severe processing delays.

为了实现这一目的,如权利要求8所述的本发明使包括在网络控制设备中的计算机起如下作用,所述网络控制设备用于控制在下述网络系统中包括的多个中继器中的任何一个,所述网络系统包括作为发布信息的发布源的发布器和连接到所述发布器的并且形成多个层级的多个中继器,并且其中所述发布信息从所述发布器被发布到各中继器,所述作用为:检测装置,用于检测在向作为要控制的所述中继器的目标中继器进行所述发布信息的发布中,在位于上游的任何一个所述中继器中中继所述发布信息的功能是否停止;以及消耗量控制装置,用于控制作为存储在所述目标中继器中的所述发布信息的每单位时间的消耗量的单位时间消耗量,使其小于所述中继功能停止之前的所述单位时间消耗量,所述发布信息由于当检测到所述中继功能停止时在所述目标中继器中执行的处理中的使用而被消耗。In order to achieve this object, the present invention as set forth in claim 8 causes a computer included in a network control device for controlling a plurality of repeaters included in the following network system to function as follows: Either, the network system includes a publisher as a distribution source of distribution information and a plurality of repeaters connected to the distribution device and forming a plurality of hierarchies, and wherein the distribution information is distributed from the distribution device To each repeater, the function is: detection means, used to detect that in any one of the upstream located in the release of the release information to the target repeater as the repeater to be controlled whether the function of relaying the distribution information in the repeater is stopped; and consumption amount control means for controlling the unit time consumption as the consumption amount per unit time of the distribution information stored in the target repeater amount so as to be smaller than the unit time consumption amount before the relay function is stopped, the distribution information due to use in the processing performed in the target repeater when the relay function is detected to be stopped It is consumed.

因此,当网络系统中位于上游侧上的中继器中的中继功能停止时,计算机发挥功用,以便被存储在下游侧上的中继器中的发布信息的每单位时间消耗量变得小于在中继功能停止之前的单位时间消耗量。因而,可以在不增加网络系统自身负担的情况下,防止由于在中断了发布信息的发布而发布信息仍以类似于中断之前的速度被消耗的情况下所导致的在下游中继器中发生处理中断或严重的处理延迟。 Therefore, when the relay function in the repeater located on the upstream side in the network system is stopped, the computer functions so that the consumption per unit time of the distribution information stored in the repeater on the downstream side becomes smaller than that in the repeater on the downstream side. The amount of time consumed per unit of time before the relay function stops. Thus, it is possible to prevent the occurrence of processing in the downstream repeater due to the fact that the distribution of the distribution information is still consumed at a speed similar to that before the interruption when the distribution of the distribution information is interrupted without increasing the burden on the network system itself. Interruptions or severe processing delays.

为了实现这一目的,如权利要求9所述的本发明涉及连接模式控制设备,用于控制在网络系统中作为发布信息的发布源的发布器和以树形结构连接到所述发布器的并且形成多个层级的多个中继器之间的连接模式,其中所述发布信息在所述网络系统中发布,该设备包括:诸如CPU的检索装置,当任何一个所述中继器中的中继功能停止时,用于检索除了中继功能停止了的所述中继器之外的任何一个所述中继器并且能够中继所述发布信息;诸如CPU的连接装置,用于将接收所述发布信息的所述中继器连接到所述检索到的另一个中继器;以及诸如CPU的发布继续装置,用于通过使经由所述另一个中继器的所述发布信息的发布速度快于在所述中继功能停止之前的发布速度来继续经由所述连接的另一个中继器的所述发布信息的发布。In order to achieve this object, the present invention as set forth in claim 9 relates to a connection mode control device for controlling a publisher serving as a distribution source of distribution information in a network system and connected to the publisher in a tree structure and A connection mode between multiple repeaters forming multiple levels, wherein the release information is published in the network system, the device includes: a retrieval device such as a CPU, when any one of the repeaters When the relay function is stopped, for retrieving any one of the repeaters other than the repeater whose relay function is stopped and capable of relaying the distribution information; connection means such as a CPU for receiving the The repeater of the distribution information is connected to the retrieved another repeater; and distribution continuation means such as a CPU for speeding up the distribution of the distribution information via the another repeater The distribution of the distribution information via another repeater of the connection is continued faster than the distribution speed before the relay function is stopped.

因此,当任何一个中继器中的中继功能停止时,检索能够中继发布信息的另一个中继器。当经由检索的另一个中继器来继续发布信息的发布时,使发布信息的发布速度快于在中继功能停止之前的发布速度。因此,可以继续在属于其中继功能停止了的中继器之下的层级的中继器中的发布信息的处理。Therefore, when the relay function in any one of the repeaters stops, another repeater capable of relaying the published information is retrieved. When the distribution of the distribution information is continued via the retrieved another repeater, the distribution speed of the distribution information is made faster than that before the stop of the relay function. Therefore, it is possible to continue the process of distributing information in the repeater belonging to the hierarchy below the repeater whose relay function stopped.

为了实现这一目的,根据权利要求10的本发明涉及根据权利要求9的连接模式控制设备,其中所述发布继续装置继续进行发布,同时逐渐将经由所述连接的另一个中继器的所述发布信息的发布速度提高到在连接所述发布器和各中继器的所述网络中规定的所述发布速度的最大值,作为上限。In order to achieve this object, the present invention according to claim 10 relates to the connection mode control apparatus according to claim 9 , wherein said distribution continuation means continues distribution while gradually replacing said distribution via another repeater of said connection. The distribution speed of the distribution information is increased to the maximum value of the distribution speed prescribed in the network connecting the distributor and each repeater as an upper limit.

因此,继续进行发布,同时逐渐将经由连接的另一个中继器的发布信息的发布速度提高到作为上限的发布速度的最大值,以便属于较低层级的中继器可以更为快速地得到必要的发布信息。Therefore, distribution is continued while gradually increasing the distribution speed of the distribution information via another repeater connected to the maximum value of the distribution speed as the upper limit, so that the repeater belonging to the lower hierarchy can get the necessary information more quickly. release information.

为了实现这一目的,根据权利要求11的本发明涉及根据权利要求9或10的连接模式控制设备,其中所述发布继续装置通过使发布速度快于在所述中继功能停止之前的发布速度来继续进行发布,直到作为发布目的地的所述中继器中的被发布的所述发布信息的存储量变成预定量。In order to achieve this object, the present invention according to claim 11 relates to the connection mode control apparatus according to claim 9 or 10, wherein said distribution continuation means realizes the distribution by making the distribution speed faster than that before said relay function stops. Distribution is continued until the storage amount of the distribution information distributed in the repeater as a distribution destination becomes a predetermined amount.

由于通过使发布速度快于在中继功能停止之前的发布速度来继续发布,直到作为发布的发布信息的发布目的地的中继器中的被发布的发布信息的存储量变成预定量,因此可以可靠地继续在属于其中继功能停止了的中继器之下的层级的中继器中的发布信息的处理。Since the distribution is continued by making the distribution speed faster than that before the relay function stops, until the storage amount of the distributed distribution information in the repeater which is the distribution destination of the distributed distribution information becomes a predetermined amount, It is possible to reliably continue the processing of distribution information in the repeater belonging to the hierarchy below the repeater whose relay function is stopped.

为了实现这一目的,如权利要求12所述的本发明涉及连接模式控制设备,用于控制在网络系统中作为发布信息的发布源的发布器和以树形结构连接到所述发布器的并且形成多个层级的多个中继器之间的连接模式,其中所述发布信息在所述网络系统中发布,该设备包括:诸如CPU的连接装置,用于将所述多个中继器中的一些连接到所述中继器之一,从而形成将所述发布信息发布到该一个中继器的多条路径;以及诸如CPU的发布控制装置,用于将经由作为路径之一的主路径被发布到该一个中继器的所述发布信息发布到属于该一个中继器之下的层级的另一个中继器、为该一个中继器中的外部输出处理提供所述发布信息,并且将经由作为路径之一的所述主路径或者作为另一条路径的子路径被发布到该一个中继器的所述发布信息发布到属于该一个中继器之下的层级的又一个中继器。In order to achieve this object, the present invention as set forth in claim 12 relates to a connection mode control device for controlling a publisher serving as a distribution source of distribution information in a network system and connected to the publisher in a tree structure and A connection mode between a plurality of repeaters forming a plurality of levels, wherein the distribution information is published in the network system, the device includes: a connection means such as a CPU for connecting the plurality of repeaters Some of the repeaters are connected to one of the repeaters, thereby forming a plurality of paths for distributing the distribution information to the one repeater; the distribution information issued to the one repeater is distributed to another repeater belonging to a hierarchy below the one repeater, the distribution information is provided for external output processing in the one repeater, and distributing the distribution information issued to the one repeater via the main path as one of the paths or the sub-path as another path to another repeater belonging to a hierarchy below the one repeater .

因此,形成主路径和子路径,以将多个中继器连接到一个中继器,经由主路径发布的发布信息用于该一个中继器中的外部输出处理,并且用于发布到属于该一个中继器之下的层级的另一个中继器。经由作为路径之一的主路径或者子路径进行发布的发布信息还用于发布到属于较低层级的又一个中继器。通过将多条线路连接到每一个节点,在准备停止任何一个节点的中继功能时可以增加冗余,并且可以防止在属于较低层级的中继器中的外部输出处理被停止。Therefore, a main path and a sub path are formed to connect a plurality of repeaters to one repeater, and distribution information distributed via the main path is used for external output processing in the one repeater and for distribution to Another Repeater at the level below the Repeater. The distribution information distributed via the main path or the sub-path as one of the paths is also used for distribution to yet another repeater belonging to a lower hierarchy. By connecting a plurality of lines to each node, redundancy can be increased in preparation for stopping the relay function of any one node, and external output processing in repeaters belonging to a lower hierarchy can be prevented from being stopped.

为了实现这一目的,根据权利要求13的本发明涉及根据权利要求12的连接模式控制设备,进一步包括诸如CPU的切换装置,当属于所述主路径上的该一个中继器之上的层级的所述中继器的所述中继功能停止时,用于切换经由所述子路径被发布到该一个中继器的所述发布信息,从而将其提供给该一个中继器中的外部输出处理。In order to achieve this object, the present invention according to claim 13 relates to the connection mode control apparatus according to claim 12, further comprising switching means such as a CPU, when belonging to a level above the one repeater on the main path when the relay function of the repeater is stopped, for switching the distribution information distributed to the one repeater via the sub-path so as to provide it to an external output in the one repeater deal with.

因此,当属于位于主路径上的该一个中继器之上的层级的中继器的中继功能停止时,用于切换经由子路径进行发布的发布信息,以将其提供给外部输出处理。因此,不会中断该一个中继器中的外部输出处理。Therefore, when the relay function of a repeater belonging to a layer above the one repeater on the main path stops, distribution information for switching distribution via the sub-path is provided to external output processing. Therefore, the external output processing in the one repeater is not interrupted.

为了实现这一目的,根据权利要求14的本发明涉及根据权利要求13的连接模式控制设备,进一步包括检索装置,当通过所述切换装置来切换经由所述子路径被发布到该一个中继器的所述发布信息以便将其提供给该一个中继器中的所述外部输出处理时,用于检索所述发布器或者属于该一个中继器之上的所述层级的新中继器,其中所述连接装置将所述发布器或者由所述检索装置检索到的所述新中继器连接到该一个中继器,从而形成新的路径。To achieve this object, the present invention according to claim 14 relates to the connection mode control apparatus according to claim 13, further comprising retrieval means, when switching by said switching means is issued to the one repeater via said sub-path when said publication information of said one repeater is provided to said external output processing in said one repeater, for retrieving said publisher or a new repeater belonging to said level above said one repeater, Wherein the connection means connects the publisher or the new repeater retrieved by the retrieval means to the one repeater, thereby forming a new path.

因此,当切换经由子路径发布的发布信息以将其提供给外部输出处理时,检索发布器或者属于该一个中继器之上的层级的新中继器,并且将发布器或检索的新中继器连接到该一个中继器,从而形成新的路径。因此,可以确保和保持冗余。Therefore, when switching the publication information published via the sub-path to provide it to the external output processing, the publisher or a new repeater belonging to a hierarchy above the one repeater is retrieved, and the publisher or the retrieved new middle The repeater is connected to the one repeater, thereby forming a new path. Therefore, redundancy can be ensured and maintained.

为了实现这一目的,根据权利要求15的本发明涉及根据权利要求12的连接模式控制设备,进一步包括检索装置,当属于所述子路径上的该一个中继器之上的所述层级的所述中继器的所述中继功能停止时,用于检索所述发布器或者属于该一个中继器之上的所述层级的所述新中继器,其中所述连接装置将所述发布器或由所述检索装置检索到的所述新中继器连接到该一个中继器,从而形成新的子路径。To achieve this object, the present invention according to claim 15 relates to the connection mode control apparatus according to claim 12, further comprising retrieval means, when all the When the relay function of the above repeater is stopped, it is used to retrieve the publisher or the new repeater belonging to the layer above the one repeater, wherein the connecting device transfers the published The repeater or the new repeater retrieved by the retrieval means is connected to the one repeater, thereby forming a new sub-path.

因此,当属于位于子路径上的该一个中继器之上的层级的中继器的中继功能停止时,检索发布器或者属于该一个中继器之上的层级的新中继器,并且将发布器或检索的新中继器连接到该一个中继器,从而形成新的子路径。因此,即使位于子路径上的中继器中的中继功能停止时,也可以形成新的子路径,并且可以确保和保持冗余。Therefore, when the relay function of a repeater belonging to a level above the one repeater on the subpath stops, a publisher or a new repeater belonging to a level above the one repeater is retrieved, and A new repeater for a publisher or retrieval is connected to this one repeater, forming a new subpath. Therefore, even when the relay function in the repeater located on the sub-path stops, a new sub-path can be formed, and redundancy can be ensured and maintained.

为了实现这一目的,根据权利要求16的本发明涉及根据权利要求14或15的连接模式控制设备,其中所述检索装置检索所述发布器或所述新中继器,以便该一个中继器所属的所述层级上的另一个中继器被包括在所述新的主路径中。To achieve this object, the present invention according to claim 16 relates to the connection mode control device according to claim 14 or 15, wherein said retrieving means retrieves said publisher or said new repeater so that the one repeater Another repeater on the level to which it belongs is included in the new main path.

因此,检索发布器或新中继器,以便位于该一个中继器所属的层级上的另一个中继器被包括在新的主路径中,从而可以经由相同层级上的中继器来接收发布信息。Therefore, a publisher or a new repeater is retrieved so that another repeater located on the level to which this one repeater belongs is included in the new main path so that publications can be received via repeaters on the same level information.

为了实现这一目的,根据权利要求17的本发明涉及根据权利要求9至16中任何一项的连接模式控制设备,其中所述连接装置将不同层级上的每一个中继器连接到该一个中继器,从而形成多条路径。To achieve this object, the invention according to claim 17 relates to a connection mode control device according to any one of claims 9 to 16, wherein said connection means connects each repeater on a different level to the one Repeaters, thus forming multiple paths.

因此,由于位于不同层级上的中继器被连接到该一个中继器,从而形成该一个中继器的多条路径到,因此即使当发生诸如中继功能停止等故障的可能性在不同层级上不同时,也可以可靠地确保足够的冗余。Therefore, since the repeaters located on different levels are connected to the one repeater, thereby forming a plurality of paths to the one repeater, even when the possibility of failure such as the stop of the relay function occurs at different levels Sufficient redundancy can also be reliably ensured even when there are differences.

为了实现这一目的,如权利要求18所述的本发明涉及连接模式控制方法,用于控制在网络系统中作为发布信息的发布源的发布器和以树形结构连接到所述发布器的并且形成多个层级的多个中继器之间的连接模式,其中所述发布信息在所述网络系统中发布,该方法包括:检索步骤,当任何一个所述中继器中的中继功能停止时,检索除了中继功能停止了的所述中继器之外的任何一个所述中继器并且能够中继所述发布信息;连接步骤,将用于接收所述发布信息的所述中继器连接到所述检索到的另一个中继器;以及发布继续步骤,作为经由所述连接的另一个中继器继续发布所述发布信息的发布连接步骤,用于通过使经由所述另一个中继器的所述发布信息的发布速度快于在所述中继功能停止之前的发布速度来继续发布。In order to achieve this object, the present invention as set forth in claim 18 relates to a connection mode control method for controlling a publisher serving as a distribution source of distribution information in a network system and those connected to the publisher in a tree structure and A connection mode between multiple repeaters forming multiple levels, wherein the release information is published in the network system, the method includes: a retrieval step, when any one of the repeaters stops the relay function When, any one of the repeaters except the repeater whose relay function has been stopped and capable of relaying the release information is retrieved; in the connecting step, the relay for receiving the release information connected to the retrieved another repeater; and a publishing continuation step, as a publishing connection step of continuing to publish the publishing information via the connected another repeater, for passing through the another repeater The distribution speed of the distribution information of the repeater is faster than the distribution speed before the stop of the relay function to continue distribution.

因此,当任何一个中继器中的中继功能停止时,检索能够中继发布信息的另一个中继器。在继续经由检索的另一个中继器的发布信息的发布时,使发布信息的发布速度快于在中继功能停止之前的发布速度。因此,可以继续属于其中继功能停止了的中继器之下的层级的中继器中的发布信息的处理。Therefore, when the relay function in any one of the repeaters stops, another repeater capable of relaying the published information is retrieved. When continuing the distribution of the distribution information via the retrieved another repeater, the distribution speed of the distribution information is made faster than the distribution speed before the relay function is stopped. Therefore, it is possible to continue the processing of distribution information in the repeaters belonging to the hierarchy below the repeater whose relay function is stopped.

为了实现这一目的,如权利要求19所述的本发明涉及连接模式控制方法,用于控制在网络系统中作为发布信息的发布源的发布器和以树形结构连接到所述发布器的并且形成多个层级的多个中继器之间的连接模式,其中所述发布信息在所述网络系统中发布,该方法包括:连接步骤,用于将所述多个中继器中的一些连接到所述中继器之一,从而形成将所述发布信息发布到该一个中继器的多条路径;以及发布控制步骤,用于将经由作为路径之一的主路径被发布到该一个中继器的所述发布信息发布到属于该一个中继器之下的层级的另一个中继器、为该一个中继器中的外部输出处理提供所述发布信息,并且将经由作为路径之一的所述主路径或者作为另一条路径的子路径被发布到该一个中继器的所述发布信息发布到属于该一个中继器之下的层级的又一个中继器。In order to achieve this object, the present invention as set forth in claim 19 relates to a connection mode control method for controlling a publisher serving as a distribution source of distribution information in a network system and those connected to the publisher in a tree structure and A connection mode between a plurality of repeaters forming a plurality of levels, wherein the release information is published in the network system, the method includes: a connecting step for connecting some of the plurality of repeaters to one of the repeaters, thereby forming a plurality of paths for distributing the distribution information to the one repeater; The distribution information of the repeater is distributed to another repeater belonging to the hierarchy below the one repeater, the distribution information is provided for the external output processing in the one repeater, and will be passed as one of the paths The main path or the sub-path of another path is distributed to another repeater belonging to a layer below the one repeater by the release information issued to the one repeater.

因此,形成主路径和子路径,以将多个中继器连接到一个中继器,经由主路径发布的发布信息用于该一个中继器中的外部输出处理,并且用于发布到属于该一个中继器之下的层级的另一个中继器,并且经由作为路径之一的主路径或者子路径进行发布的发布信息还用于发布到属于较低层级的又一个中继器。因此,通过使用用于中继器的多条线路,在准备停止任何一个中继器的中继功能时可以增加冗余,并且可以防止在属于较低层级的中继器中的外部输出处理被停止。Therefore, a main path and a sub path are formed to connect a plurality of repeaters to one repeater, and distribution information distributed via the main path is used for external output processing in the one repeater and for distribution to Another repeater of the hierarchy below the repeater, and the distribution information distributed via the main path or the sub-path as one of the paths is also used for distribution to yet another repeater belonging to the lower hierarchy. Therefore, by using multiple lines for repeaters, redundancy can be increased in preparing to stop the repeater function of any one repeater, and external output processing in repeaters belonging to a lower hierarchy can be prevented from being blocked. stop.

为了实现这一目的,如权利要求20所述的本发明使包括在控制模式控制设备中的计算机起如下作用,所述控制模式控制设备用于控制在网络系统中作为发布信息的发布源的诸如节点的发布器和以树形结构连接到所述发布器的并且形成多个层级的诸如多个节点的多个中继器之间的连接模式,其中所述发布信息在所述网络系统中发布,所述作用为:检索装置,当任何一个所述中继器的中继功能停止时,用于检索除了中继功能停止了的所述中继器之外的任何一个所述中继器并且能够中继所述发布信息;连接装置,用于将接收所述发布信息的所述中继器连接到所述检索到的另一个中继器;以及发布继续装置,作为经由所述连接的另一个中继器继续发布所述发布信息的发布继续装置,用于通过使经由所述另一个中继器的所述发布信息的发布速度快于在所述中继功能停止之前的发布速度来继续发布。In order to achieve this object, the present invention as set forth in claim 20 causes a computer included in a control mode control device for controlling such as a distribution source of distribution information in a network system to function as A connection mode between a publisher of a node and a plurality of repeaters such as a plurality of nodes connected to the publisher in a tree structure and forming a plurality of hierarchies, wherein the distribution information is distributed in the network system , the function is: retrieval means, when the relay function of any one of the repeaters is stopped, it is used to retrieve any one of the repeaters except the repeater whose relay function has stopped and capable of relaying the distribution information; connecting means for connecting the relay receiving the distribution information to the retrieved another relay; and distribution continuation means as another relay via the connection distribution continuation means for continuing distribution of the distribution information by one repeater for continuing by making the distribution speed of the distribution information via the other repeater faster than the distribution speed before the stop of the relay function release.

因此,当任何一个中继器的中继功能停止时,检索能够中继发布信息的另一个中继器。在继续经由检索的另一个中继器的发布信息的发布时,计算机的作用是通过使发布信息的发布速度快于在中继功能停止之前的发布速度来继续发布。因此,可以继续属于其中继功能停止了的中继器之下的层级的中继器中的发布信息的处理。Therefore, when the relay function of any one of the repeaters stops, another repeater capable of relaying the published information is retrieved. In continuing the distribution of the distribution information via another relayer retrieved, the computer acts to continue the distribution by making the distribution speed of the distribution information faster than that before the stop of the relay function. Therefore, it is possible to continue the processing of distribution information in the repeaters belonging to the hierarchy below the repeater whose relay function is stopped.

为了实现这一目的,如权利要求21所述的本发明使包括在连接模式控制设备中的计算机起如下作用,所述连接模式控制设备用于控制在网络系统中作为发布信息的发布源的发布器和以树形结构连接到所述发布器的并且形成多个层级的多个中继器之间的连接模式,其中所述发布信息在所述网络系统中发布,所述作用为:连接装置,用于将所述多个中继器中的一些连接到所述中继器之一,从而形成将所述发布信息发布到该一个中继器的多条路径;以及发布控制装置,用于将经由作为路径之一的主路径被发布到该一个中继器的所述发布信息发布到属于该一个中继器之下的层级的另一个中继器、为该一个中继器中的外部输出处理提供所述发布信息,并且将经由作为路径之一的所述主路径或者作为另一条路径的子路径被发布到该一个中继器的所述发布信息发布到属于该一个中继器之下的层级的又一个中继器。 In order to achieve this object, the present invention as set forth in claim 21 causes a computer included in a connection mode control device for controlling distribution as a distribution source of distribution information in a network system to function A connection mode between a device and a plurality of repeaters connected to the publisher in a tree structure and forming a plurality of levels, wherein the distribution information is distributed in the network system, and the function is: a connection device , for connecting some of the multiple repeaters to one of the repeaters, thereby forming multiple paths for publishing the release information to the one repeater; and a release control device, for distributing the distribution information distributed to the one repeater via the main path which is one of the paths to another repeater belonging to a hierarchy below the one repeater, as an outside of the one repeater The output processing provides the distribution information, and distributes the distribution information distributed to the one repeater via the main path as one of the paths or a sub-path as another path to the ones belonging to the one repeater. Another repeater for the lower level.

因此,形成主路径和子路径,以将多个中继器连接到一个中继器,经由主路径发布的发布信息用于该一个中继器中的外部输出处理,并且用于发布到属于该一个中继器之下的层级的另一个中继器,并且经由作为路径之一的主路径或者子路径进行发布的发布信息还用于发布到属于较低层级的又一个中继器。因此,通过使用用于中继器的多条线路,在准备停止任何一个中继器的中继功能时可以增加冗余,并且可以防止在属于较低层级的中继器中的外部输出处理被停止。Therefore, a main path and a sub path are formed to connect a plurality of repeaters to one repeater, and distribution information distributed via the main path is used for external output processing in the one repeater and for distribution to Another repeater of the hierarchy below the repeater, and the distribution information distributed via the main path or the sub-path as one of the paths is also used for distribution to yet another repeater belonging to the lower hierarchy. Therefore, by using multiple lines for repeaters, redundancy can be increased in preparing to stop the repeater function of any one repeater, and external output processing in repeaters belonging to a lower hierarchy can be prevented from being blocked. stop.

根据权利要求1的本发明,当网络系统中位于上游侧上的中继器中的中继功能停止时,控制被存储在位于下游侧上的中继器中的发布信息的每单位时间消耗量,以使其小于停止之前的消耗量。结果,可以在不增加网络系统自身负担的情况下,防止由于在中断了发布信息的发布而另一方面发布信息仍以类似于中断之前的速度被消耗的情况下所导致的在下游中继器中的处理中断或发生严重的处理延迟。According to the invention of claim 1, when the relay function in the repeater located on the upstream side in the network system is stopped, the consumption per unit time of the distribution information stored in the repeater located on the downstream side is controlled , so that it is less than the consumption before stopping. As a result, without increasing the burden on the network system itself, it is possible to prevent a problem in the downstream repeater caused by the interruption of the distribution of the distribution information while on the other hand the distribution information is still consumed at a speed similar to that before the interruption. Processing in is interrupted or significant processing delays occur.

因此,即使在网络系统中所包括的任何一个中继器中的中继功能停止的情况下,在没有对下游中继器中的处理施加较大影响的情况下,可以恢复被停止的中继功能。因此,发布信息可以可靠地进行发布,同时提高了网络系统自身的可靠性。Therefore, even in the case where the relay function in any one of the repeaters included in the network system is stopped, the stopped relay can be resumed without exerting a large influence on the processing in the downstream repeater. Function. Therefore, the release information can be released reliably, and at the same time, the reliability of the network system itself is improved.

在根据权利要求2所述的本发明,除了权利要求1的本发明的效果之外,发布信息为图像信息,并且通过使缓存装置中的图像信息的存储量的减少速度慢于在中继功能停止之前的减少速度,可以减少单位时间消耗量。因此,在不执行复杂速度控制处理的情况下可以采用简单结构来减少单位时间消耗量。In the present invention according to claim 2, in addition to the effect of the present invention of claim 1, the distribution information is image information, and by making the reduction speed of the storage amount of image information in the buffer device slower than that in the relay function The reduction speed before stopping can reduce the unit time consumption. Therefore, a simple structure can be employed to reduce unit time consumption without performing complicated speed control processing.

在根据权利要求3所述的本发明,除了权利要求2的本发明的效果之外,通过重复多次输出作为动态图像信息的成分的相同静止图像来减慢存储量的减少速度。因此,采用简单处理可以可靠地减少单位时间消耗量。In the invention according to claim 3, in addition to the effect of the invention of claim 2, the reduction speed of the storage amount is slowed down by repeatedly outputting the same still image as a component of moving image information a plurality of times. Therefore, the consumption per unit time can be reliably reduced with simple processing.

在根据权利要求4所述的本发明,除了权利要求1的本发明的效果之外,通过使目标中继器中的处理中对图像信息的解码速度慢于在中继功能停止之前的解码速度来减少单位时间消耗量。因此,采用简单处理可以可靠地减少单位时间消耗量。In the invention according to claim 4, in addition to the effect of the invention of claim 1, by making the decoding speed of the image information in the processing in the target repeater slower than the decoding speed before the relay function stops To reduce the unit time consumption. Therefore, the consumption per unit time can be reliably reduced with simple processing.

在根据权利要求5所述的本发明,除了权利要求1的本发明的效果之外,通过使作为动态图像信息的成分的静止图像的显示时间长于在中继功能停止之前的显示时间。因此,采用简单处理可以可靠地减少单位时间消耗量。In the invention according to claim 5, in addition to the effect of the invention of claim 1, by making the display time of a still image as a component of moving image information longer than that before the relay function is stopped. Therefore, the consumption per unit time can be reliably reduced with simple processing.

根据权利要求6所述的本发明,除了权利要求1至6的任何一项的本发明的效果之外,在恢复中继功能之后,将空的单位发布信息仅发布到除了其中继功能停止了的中继器的中继功能停止之前的发布中位于下游的中继器之外的所有中继器。因此,中继器中的重放时基变得逐渐接近于其他中继器中的重放时基。结果,通过减少其中继功能停止了的中继器的下游侧上的中继器中的单位时间消耗量,可以消除位于该中继器的重放时基上的重放位置和其他中继器的重放位置之间的偏离。According to the present invention described in claim 6, in addition to the effect of the present invention of any one of claims 1 to 6, after the relay function is restored, the empty unit release information is released only to those other than the one whose relay function is stopped The relay function of the relay stops all relays except the one downstream in the previous release. Therefore, the playback time base in the repeater becomes gradually closer to the playback time base in the other repeaters. As a result, by reducing the unit time consumption in the repeater on the downstream side of the repeater whose repeater function is stopped, the playback position and other repeaters located on the playback time base of the repeater can be eliminated The deviation between playback positions.

根据权利要求7所述的本发明,当网络系统中位于上游侧上的中继器中的中继功能停止时,控制被存储在位于下游侧上的中继器中的发布信息的每单位时间的消耗量,以使其小于停止之前的消耗量。因此,可以在不增加网络系统自身负担的情况下,防止由于在中断了发布信息的发布而发布信息仍以类似于中断之前的速度被消耗的情况下所导致的在下游中继器中发生处理中断或严重的处理延迟。According to the invention described in claim 7, when the relay function in the repeater located on the upstream side in the network system is stopped, the per unit time of the distribution information stored in the repeater located on the downstream side is controlled consumption so that it is less than the consumption before stopping. Therefore, it is possible to prevent the occurrence of processing in the downstream repeater due to the fact that the distribution of the distribution information is interrupted while the distribution of the distribution information is still consumed at a speed similar to that before the interruption without increasing the burden on the network system itself. Interruptions or severe processing delays.

因此,即使在网络系统中所包括的任何一个中继器的中继功能停止的情况下,在不对下游中继器的处理施加较大影响的情况下,可以恢复被停止的中继功能。因此,发布信息可以可靠地进行发布,同时提高了网络系统自身的可靠性。Therefore, even if the relay function of any one of the repeaters included in the network system is stopped, the stopped relay function can be restored without exerting a large influence on the processing of the downstream repeater. Therefore, the release information can be released reliably, and at the same time, the reliability of the network system itself is improved.

根据权利要求8所述的本发明,当位于上游侧上的中继器中的中继功能停止时,计算机发挥作用,以便被存储在位于下游侧上的中继器中的发布信息的每单位时间的消耗量小于中继功能停止之前的消耗量。因此,可以在不增加网络系统自身负担的情况下,防止由于在中断了发布信息的发布而发布信息仍以类似于停止之前的速度被消耗的情况下所导致的在下游中继器中发生处理中断或严重的处理延迟。According to the invention described in claim 8, when the relay function in the repeater located on the upstream side stops, the computer functions so that each unit of the distribution information stored in the repeater located on the downstream side The consumption of time is less than that before the relay function stops. Therefore, it is possible to prevent the occurrence of processing in the downstream repeater due to the fact that the distribution of the distribution information is still consumed at a speed similar to that before the stop, without increasing the burden on the network system itself Interruptions or severe processing delays.

因此,即使在网络系统中所包括的任何一个中继器的中继功能停止的情况下,在不对下游中继器的处理施加较大影响的情况下,可以恢复被停止的中继功能。因此,发布信息可以可靠地进行发布,同时提高了网络系统自身的可靠性。Therefore, even if the relay function of any one of the repeaters included in the network system is stopped, the stopped relay function can be restored without exerting a large influence on the processing of the downstream repeater. Therefore, the release information can be released reliably, and at the same time, the reliability of the network system itself is improved.

根据权利要求9所述的本发明,当任何一个中继器中的中继功能停止时,检索到能够中继发布信息的另一个中继器。当经由检索到的另一个中继器来继续发布信息的发布时,使发布信息的发布速度快于中继功能停止之前的发布速度。结果,可以继续属于其中继功能停止了的中继器之下的层级的中继器中的发布信息的处理。According to the invention described in claim 9, when the relay function in any one of the repeaters is stopped, another repeater capable of relaying the distribution information is retrieved. When the distribution of the distribution information is continued via the retrieved another repeater, the distribution speed of the distribution information is made faster than the distribution speed before the stop of the relay function. As a result, it is possible to continue the processing of distribution information in the repeaters belonging to the hierarchy below the repeater whose relay function stopped.

因此,甚至被连接在其中继功能停止了的中继器之下的另一个中继器也可以使用发布信息来继续诸如重放等处理,而不受功能停止的影响。Therefore, even another repeater connected below the repeater whose relay function is stopped can continue processing such as playback using the distribution information without being affected by the stop of the function.

根据权利要求10所述的本发明,除了权利要求9所述的本发明的效果之外,继续进行发布,同时逐渐将经由连接的另一个中继器的发布信息的发布速度提高到作为上限的发布速度的最大值,以便属于较低层级的中继器可以更为快速地得到必要的发布信息。According to the invention described in claim 10, in addition to the effect of the invention described in claim 9, distribution is continued while gradually increasing the distribution speed of distribution information via another repeater connected to the upper limit. The maximum publishing speed, so that repeaters belonging to lower levels can get the necessary publishing information more quickly.

根据权利要求11所述的本发明,除了权利要求9或10所述的本发明的效果之外,由于通过使发布速度快于在中继功能停止之前的发布速度来继续发布,直到作为发布的发布信息的发布目的地的中继器中的存储量变成预定量,因此可以可靠地继续在属于其中继功能停止了的中继器之下的层级的中继器中的发布信息的处理。根据权利要求4所述的本发明,形成主路径和子路径,以将多个中继器连接到一个中继器,经由主路径发布的发布信息用于该一个中继器中的外部输出处理,并且用于发布到属于该一个中继器之下的层级的另一个中继器。经由作为路径之一的主路径或者子路径进行发布的发布信息还用于发布到属于较低层级的又一个中继器。通过将多条线路连接到每一个节点,在准备停止任何一个节点的中继功能时可以增加冗余,并且可以防止在属于较低层级的中继器中的外部输出处理被停止。According to the invention described in claim 11, in addition to the effects of the invention described in claim 9 or 10, since the distribution is continued by making the distribution speed faster than that before the relay function is stopped, until the The storage amount in the repeater of the distribution destination of the distribution information becomes a predetermined amount, so it is possible to reliably continue the processing of the distribution information in the repeater belonging to the hierarchy below the repeater whose relay function is stopped. According to the present invention described in claim 4, the main path and the sub path are formed to connect a plurality of repeaters to one repeater, the distribution information issued via the main path is used for external output processing in the one repeater, And for publishing to another repeater belonging to a hierarchy below the one repeater. The distribution information distributed via the main path or the sub-path as one of the paths is also used for distribution to yet another repeater belonging to a lower hierarchy. By connecting a plurality of lines to each node, redundancy can be increased in preparation for stopping the relay function of any one node, and external output processing in repeaters belonging to a lower hierarchy can be prevented from being stopped.

根据权利要求12所述的本发明,形成主路径和子路径,以将多个中继器连接到一个中继器,经由主路径发布的发布信息用于该一个中继器中的外部输出处理,并且用于发布到属于该一个中继器之下的层级的另一个中继器。经由作为路径之一的主路径或者子路径进行发布的发布信息还用于发布到属于较低层级的又一个中继器。通过将多条线路连接到每一个节点,在准备停止任何一个节点的中继功能时可以增加冗余,并且可以防止在属于较低层级的中继器中的外部输出处理被停止。According to the present invention described in claim 12, the main path and the sub path are formed to connect a plurality of repeaters to one repeater, the distribution information issued via the main path is used for external output processing in the one repeater, And for publishing to another repeater belonging to a hierarchy below the one repeater. The distribution information distributed via the main path or the sub-path as one of the paths is also used for distribution to yet another repeater belonging to a lower hierarchy. By connecting a plurality of lines to each node, redundancy can be increased in preparation for stopping the relay function of any one node, and external output processing in repeaters belonging to a lower hierarchy can be prevented from being stopped.

根据权利要求13所述的本发明,除了权利要求12所述的本发明的效果之外,当属于位于主路径上的该一个中继器之上的层级的中继器的中继功能停止时,切换经由子路径发布的发布信息,以提供给外部输出处理。因此,该一个中继器中的外部输出处理不会被中断。According to the present invention described in claim 13, in addition to the effects of the present invention described in claim 12, when the repeater function of the repeater belonging to the layer above the one repeater located on the main path is stopped , to switch the publishing information published via the subpath to provide for external output processing. Therefore, the external output processing in the one repeater is not interrupted.

根据权利要求14所述的本发明,除了权利要求13所述的本发明的效果之外,当切换经由子路径发布的发布信息以提供给外部输出处理时,检索到属于该一个中继器之上的层级的发布器或新中继器,并且将检索到的发布器或新中继器连接到该一个中继器,从而形成新的路径。因此,可以确保和保持冗余。According to the present invention described in claim 14, in addition to the effect of the present invention described in claim 13, when the distribution information distributed via the sub-path is switched to be provided for external output processing, the one belonging to the one repeater is retrieved. Publisher or new repeater of the upper level, and connect the retrieved publisher or new repeater to the one repeater, thereby forming a new path. Therefore, redundancy can be ensured and maintained.

根据权利要求15所述的本发明,除了权利要求12所述的本发明的效果之外,当属于位于子路径上的该一个中继器之上的层级的中继器的中继功能停止时,检索到属于该一个中继器之上的层级的发布器或新中继器,并且将检索到的发布器或新中继器连接到该一个中继器,从而形成新的子路径。因此,即使位于子路径上的中继器中的中继功能停止,也可以形成新的子路径,并且可以确保和保持冗余。According to the present invention described in claim 15, in addition to the effect of the present invention described in claim 12, when the relay function of the repeater belonging to the hierarchy above the one repeater located on the sub-path is stopped , retrieve a publisher or a new repeater belonging to a layer above the one repeater, and connect the retrieved publisher or new repeater to the one repeater, thereby forming a new sub-path. Therefore, even if the relay function in the repeater located on the sub-path stops, a new sub-path can be formed, and redundancy can be ensured and maintained.

根据权利要求16所述的本发明,除了权利要求14或15所述的本发明的效果之外,检索到发布器或中继器,以便该一个中继器所属的层级上的另一个中继器被包括在新的主路径上,以便可以经由同一层级上的中继器来接收发布信息。According to the present invention described in claim 16, in addition to the effect of the present invention described in claim 14 or 15, a publisher or a repeater is retrieved so that another repeater on the hierarchy to which the one repeater belongs Repeaters are included on the new main path so that publications can be received via repeaters on the same level.

根据权利要求17所述的本发明,除了权利要求9至16中的任何一项所述的本发明的效果之外,将位于不同层级上的中继器连接到该一个中继器,从而形成到该一个中继器的多条路径。因此,即使当发生诸如中继功能停止等故障的可能性在不同层级中不同时,也可以可靠地确保足够的冗余。According to the present invention described in claim 17, in addition to the effect of the present invention described in any one of claims 9 to 16, repeaters located on different levels are connected to the one repeater, thereby forming Multiple paths to that one repeater. Therefore, even when the probability of occurrence of a failure such as a relay function stop is different in different layers, sufficient redundancy can be reliably ensured.

根据权利要求18所述的本发明,当任何一个中继器中的中继功能停止时,检索到能够中继发布信息的另一个中继器。当经由检索到的另一个中继器来继续发布信息的发布时,使发布信息的发布速度快于中继功能停止之前的发布速度。因此,可以继续属于其中继功能停止了的中继器之下的层级的中继器中的发布信息的处理。According to the invention described in claim 18, when the relay function in any one of the repeaters is stopped, another repeater capable of relaying the distribution information is retrieved. When the distribution of the distribution information is continued via the retrieved another repeater, the distribution speed of the distribution information is made faster than the distribution speed before the stop of the relay function. Therefore, it is possible to continue the processing of distribution information in the repeaters belonging to the hierarchy below the repeater whose relay function is stopped.

因此,甚至被连接在其中继功能停止了的中继器之下的另一个中继器也可以使用发布信息来继续诸如重放等处理,而不受功能停止的影响。Therefore, even another repeater connected below the repeater whose relay function is stopped can continue processing such as playback using the distribution information without being affected by the stop of the function.

根据权利要求19所述的本发明,形成主路径和子路径,以将多个中继器连接到一个中继器,经由主路径发布的发布信息用于该一个中继器中的外部输出处理,并且用于发布到属于该一个中继器之下的层级的另一个中继器,并且经由作为路径之一的主路径或者子路径进行发布的发布信息还用于发布到属于较低层级的又一个中继器。通过使用用于中继器的多条线路,在准备停止任何一个中继器的中继功能时可以增加冗余,并且可以防止在属于较低层级的中继器中的外部输出处理被停止。According to the present invention described in claim 19, the main path and the sub path are formed to connect a plurality of repeaters to one repeater, the distribution information issued via the main path is used for external output processing in the one repeater, And for distribution to another repeater belonging to a hierarchy below the one repeater, and distribution information distributed via a main path or a subpath as one of the paths is also used for distribution to another repeater belonging to a lower hierarchy a repeater. By using a plurality of lines for repeaters, redundancy can be increased in preparation for stopping the repeater function of any one repeater, and external output processing in repeaters belonging to a lower hierarchy can be prevented from being stopped.

根据权利要求20所述的本发明,当任何一个中继器中的中继功能停止时,检索到能够中继发布信息的另一个中继器。当经由检索到的另一个中继器来继续发布信息的发布时,计算机通过使发布信息的发布速度快于中继功能停止之前的发布速度来继续发布。因此,可以继续属于其中继功能停止了的中继器之下的层级的中继器中的发布信息的处理。According to the invention described in claim 20, when the relay function in any one of the repeaters is stopped, another repeater capable of relaying the distribution information is retrieved. When continuing the distribution of the distribution information via another relayer retrieved, the computer continues the distribution by making the distribution speed of the distribution information faster than that before the stop of the relay function. Therefore, it is possible to continue the processing of distribution information in the repeaters belonging to the hierarchy below the repeater whose relay function is stopped.

因此,甚至被连接在其中继功能停止了的中继器之下的另一个中继器也可以使用发布信息来继续诸如重放等处理,而不受功能停止的影响。Therefore, even another repeater connected below the repeater whose relay function is stopped can continue processing such as playback using the distribution information without being affected by the stop of the function.

根据权利要求21所述的本发明,计算机起如下作用:形成主路径和子路径,以将多个中继器连接到一个中继器,经由主路径发布的发布信息用于该一个中继器中的外部输出处理,并且用于发布到属于该一个中继器之下的层级的另一个中继器,并且经由作为路径之一的主路径或者子路径进行发布的发布信息还用于发布到属于较低层级的又一个中继器。通过使用用于多个中继器的多条线路,在准备停止任何一个中继器的中继功能时可以增加冗余,并且可以防止在属于较低层级的中继器中的外部输出处理被停止。According to the present invention recited in claim 21, the computer functions to form a main path and a sub path to connect a plurality of repeaters to one repeater, and the distribution information issued via the main path is used in the one repeater. and is used to publish to another repeater belonging to the hierarchy below the one repeater, and the publishing information published via the main path or sub-path as one of the paths is also used to publish to the repeater belonging to Yet another repeater at a lower level. By using multiple lines for multiple repeaters, redundancy can be increased in preparation for stopping the repeater function of any one repeater, and external output processing in repeaters belonging to lower hierarchies can be prevented from being blocked. stop.

附图说明 Description of drawings

图1A和1B为框图,示出了根据第一实施例的网络系统的示意性结构。图1A为框图,示出了网络系统的物理连接模式。图1B为框图,示出了作为拓扑的网络系统的连接模式。图2A示出了根据第一实施例的网络系统中包括的节点的结构,并且图2B示出了被存储在存储单元3中的信息细节。图3为流程图,示出了根据第一实施例的节点中的整个处理。图4A至4E为流程图(I),示出了根据第一实施例的节点中的处理细节,并且分别示出了上层节点连接处理、数据接收处理、下层节点连接处理、退出消息响应处理和节点退出处理。图5A和5B为流程图(II),示出了第一实施例中的节点中的处理细节,并且分别示出了数据发送处理和数据重放处理。图6为流程图,示出了根据第一实施例的节点中的数据显示处理。图7A、7B和7C为示出了根据第一实施例的网络系统中的包发布状态的图(I)和分别示出了状态细节的图(i)、(ii)和(iii)。图8A、8B和8C为示出了根据第一实施例的网络系统中的包发布状态的图(II)和分别示出了状态细节的图(iv)、(v)和(vi)。图9A、9B和9C为示出了根据第一实施例的网络系统中的包发布状态的图(III)和分别示出了状态细节的图(vii)、(viii)和(ix)。图10A和10B分别为图(i)和(ii),示出了根据第一实施例的网络系统中发生节点退出的情况下的包发布状态的细节。图11A、11B和11C分别为图(i)、(ii)和(iii),示出了在根据第一实施例的网络系统中完成节点退出之后进行再连接的情况下的包发布状态的细节。图12A、12B和12C分别为图(i)、(ii)和(iii),示出了在根据第一实施例的网络系统中进行节点退出和再连接之后恢复重放延时的情况下的包发布状态的细节。图13A、13B和13C示出了在根据第一实施例的网络系统中进行节点退出和再连接之后恢复重放延时的情况下节点中的数据的发送/接收,并且分别示出了节点退出之前的状态、节点退出之后的状态和重放延时恢复的状态。图14A和14B为流程图,分别示出了在第一实施例的第一修改和第二修改中节点中的数据显示处理。图15为框图,示出了根据第二实施例的网络系统的示意性结构。图16为框图,示出了在根据第二实施例的网络系统中包括的节点的一般结构。图17A和17B示出了根据第二实施例的节点的详细结构并且分别示出了拓扑表的细节和缓冲存储器的操作。图18为流程图,示出了根据第二实施例的网络系统中的常规发布操作。图19为框图,示出了在部分节点的中继功能停止之后根据第二实施例的网络系统的示意性结构。图20A、20B和20C为流程图,示出了当部分节点的中继功能停止时下层节点的操作,并且示出了缓冲存储器的操作。图21示出了当部分节点的中继功能停止时下层节点的操作。图22A和22B示出了根据第二实施例的修改的网络系统中的操作。图22A为示出操作的流程图,并且图22B示出了与操作相对应的缓冲存储器的操作。图23为框图,示出了根据第三实施例的网络系统的示意性结构。图24为框图,示出了在部分节点的中继功能停止之后根据第三实施例的网络系统的示意性结构。图25为流程图,示出了根据第三实施例的网络系统的常规发布操作。图26为流程图,示出了当部分节点的中继功能停止时下层节点的操作。1A and 1B are block diagrams showing a schematic configuration of a network system according to a first embodiment. FIG. 1A is a block diagram showing a physical connection mode of a network system. FIG. 1B is a block diagram showing a connection mode of a network system as a topology. FIG. 2A shows the structure of nodes included in the network system according to the first embodiment, and FIG. 2B shows details of information stored in the storage unit 3 . Fig. 3 is a flowchart showing the overall processing in the node according to the first embodiment. 4A to 4E are flow charts (I) showing details of processing in nodes according to the first embodiment, and respectively showing upper-layer node connection processing, data reception processing, lower-layer node connection processing, exit message response processing, and Node exits processing. 5A and 5B are flowcharts (II) showing details of processing in the nodes in the first embodiment, and show data transmission processing and data playback processing, respectively. Fig. 6 is a flowchart showing data display processing in the node according to the first embodiment. 7A, 7B and 7C are diagram (I) showing the packet distribution status in the network system according to the first embodiment and diagrams (i), (ii) and (iii) respectively showing status details. 8A, 8B, and 8C are diagram (II) showing a packet issuing state in the network system according to the first embodiment, and diagrams (iv), (v) and (vi) respectively showing state details. 9A, 9B, and 9C are diagram (III) showing a packet distribution state in the network system according to the first embodiment, and diagrams (vii), (viii) and (ix) respectively showing state details. FIGS. 10A and 10B are diagrams (i) and (ii), respectively, showing details of a packet issue state in the case where node withdrawal occurs in the network system according to the first embodiment. 11A, 11B and 11C are diagrams (i), (ii) and (iii), respectively, showing the details of the packet issue state in the case of reconnection after completion of node exit in the network system according to the first embodiment . 12A, 12B, and 12C are graphs (i), (ii) and (iii), respectively, showing the situation of resuming playback delay after node exit and reconnection in the network system according to the first embodiment. Details of the package's release status. 13A, 13B, and 13C show transmission/reception of data in a node in the case of resuming playback delay after node exit and reconnection in the network system according to the first embodiment, and show node exit respectively The previous state, the state after the node exits, and the state of replay delay recovery. 14A and 14B are flowcharts showing data display processing in nodes in the first modification and the second modification of the first embodiment, respectively. Fig. 15 is a block diagram showing a schematic configuration of a network system according to the second embodiment. Fig. 16 is a block diagram showing a general structure of nodes included in the network system according to the second embodiment. 17A and 17B show the detailed structure of the node according to the second embodiment and show details of the topology table and the operation of the buffer memory, respectively. Fig. 18 is a flowchart showing a normal posting operation in the network system according to the second embodiment. Fig. 19 is a block diagram showing a schematic configuration of a network system according to the second embodiment after the relay function of some nodes is stopped. 20A, 20B and 20C are flowcharts showing the operation of the lower layer nodes when the relay function of some nodes is stopped, and showing the operation of the buffer memory. Fig. 21 shows the operation of the lower layer nodes when the relay function of some nodes is stopped. 22A and 22B show operations in the network system according to a modification of the second embodiment. FIG. 22A is a flowchart showing operations, and FIG. 22B shows operations of the buffer memory corresponding to the operations. Fig. 23 is a block diagram showing a schematic configuration of a network system according to the third embodiment. Fig. 24 is a block diagram showing a schematic configuration of a network system according to the third embodiment after the relay function of some nodes is stopped. Fig. 25 is a flowchart showing a normal distribution operation of the network system according to the third embodiment. Fig. 26 is a flowchart showing the operation of the lower layer nodes when the relay function of some nodes is stopped.

标号说明 Label description

1,100CPU2   连接认证单元3   存储单元4   输入单元5   输出单元6   消息发送/接收单元7   数据发送/接收单元8,109总线10  第一上层节点信息存储区域11  第二上层节点信息存储区域12  发送数据号信息存储区域14  接收数据号信息存储区域15  重放速度信息存储区域16  特定值存储区域17  环形缓存区域102 解码器103 表存储器104 缓冲存储器105 宽带接口106 定时器107 扬声器108 CRTNS  网络系统S   服务器N,N1,N2,N3,N4,N5,N6,N7,N8,N9,N10,N11,N12,N13,N14,0-1,1-1,1-2,1-3,2-1,2-2,3-1,3-2,3-3,3-4,4-1,4-2,4-3节点NT    网络L,L’线路LM,LM’主线路LS,LS’子线路NT,NT2网络系统1, 100 CPU2 connection authentication unit 3 storage unit 4 input unit 5 output unit 6 message sending/receiving unit 7 data sending/receiving unit 8, 109 bus 10 first upper layer node information storage area 11 second upper layer node information storage area 12 send data number information storage area 14 received data number information storage area 15 playback speed information storage area 16 specific value storage area 17 ring buffer area 102 decoder 103 table memory 104 buffer memory 105 broadband interface 106 timer 107 speaker 108 CRTNS network system S server N, N 1 , N 2 , N 3 , N 4 , N 5 , N 6 , N 7 , N 8 , N 9 , N 10 , N 11 , N 12 , N 13 , N 14 , 0-1 , 1- 1, 1-2, 1-3, 2-1, 2-2, 3-1, 3-2, 3-3, 3-4, 4-1, 4-2, 4-3 Node NT Network L, L' line LM, LM' main line LS, LS' sub-line NT, NT2 network system

具体实施方式 Detailed ways

(I)第一实施例下面参照图1A和1B至13A~13C来讲述本发明的第一实施例。下面要讲述的第一实施例涉及将本发明应用到如下网络控制处理的情况,其中所述网络控制处理用于控制网络系统中的内容的发布模式,在所述网络系统中内容被发布并且所述网络系统包括:作为节点的服务器,所述节点是作为发布信息的内容的发布源的发布设备;以及作为用户终端的多个节点,所述用户终端被连接成包括服务器之下的多个层级的树形结构。(I) First Embodiment Next, a first embodiment of the present invention will be described with reference to FIGS. 1A and 1B to 13A to 13C. The first embodiment to be described below relates to a case where the present invention is applied to a network control process for controlling a distribution mode of content in a network system in which content is distributed and the The network system includes: a server as a node, which is a distribution device as a distribution source of the content of distribution information; and a plurality of nodes as user terminals connected to include a plurality of levels below the server tree structure.

图1A和1B示出了根据第一实施例的网络系统的示意性结构。图2A和2B为框图,示出了在网络系统中包括的节点的详细结构。图3至图6为流程图,每一个示出了根据本发明在节点中执行的发布处理。图7A至7C到图13A至13C具体示出了发布处理。1A and 1B show a schematic structure of a network system according to the first embodiment. 2A and 2B are block diagrams showing detailed structures of nodes included in the network system. 3 to 6 are flowcharts each showing distribution processing performed in a node according to the present invention. 7A to 7C to 13A to 13C specifically show the posting process.

在把第一实施例的网络系统作为物理连接模式来看的情况下,如图1A所示,构建网络系统NS,以便服务器S和作为用户终端的多个节点N经由作为有线电路或无线电路的线路L相互连接,以能够经由诸如因特网线路等网络NT相互发送/接收信息。在把图1A所示的网络系统NS作为其顶点为服务器S的拓扑来看的情况下,如图1B所示,两个节点N经由线路L连接到服务器S,并且两个节点N被连接到节点N的每一个。通过其中节点N以使用服务器S作为顶点的树形进行连接的拓扑,从服务器S将所需内容发布到需要内容的节点N。 In the case of viewing the network system of the first embodiment as a physical connection mode, as shown in FIG. 1A, the network system NS is constructed so that a server S and a plurality of nodes N as user The lines L are connected to each other so as to be able to mutually transmit/receive information via a network NT such as an Internet line. In the case of looking at the network system NS shown in FIG. 1A as a topology whose vertex is the server S, as shown in FIG. 1B , two nodes N are connected to the server S via a line L, and the two nodes N are connected to Each of node N. With a topology in which the nodes N are connected in a tree shape using the server S as an apex, desired content is distributed from the server S to the node N that requires the content.

下面参照图2A和2B来讲述网络系统S中包括的节点N的具体结构。The specific structure of the node N included in the network system S will be described below with reference to FIGS. 2A and 2B.

如图2A所示,根据第一实施例的节点N包括:CPU 1,作为检测装置、消耗量控制装置、重置装置和发布控制装置;连接认证单元2;由硬盘、半导体存储器等构建的存储单元3;由鼠标、键盘等组成的输入单元4;由用于显示图像的显示器、用于输出声音的扬声器和用于对声音进行解码的解码器等组成的输出单元5;消息发送/接收单元6以及数据发送/接收单元7。CPU 1、连接认证单元2、存储单元3、输入单元4、输出单元5、消息发送/接收单元6和数据发送/接收单元7经由总线8相互进行连接,以能够相互发送/接收信息。As shown in FIG. 2A, the node N according to the first embodiment includes: a CPU 1 as detection means, consumption control means, reset means, and release control means; a connection authentication unit 2; Unit 3; input unit 4 consisting of a mouse, keyboard, etc.; output unit 5 consisting of a display for displaying images, a speaker for outputting sound, and a decoder for decoding sound; message sending/receiving unit 6 and data sending/receiving unit 7. CPU 1, connection authentication unit 2, storage unit 3, input unit 4, output unit 5, message sending/receiving unit 6 and data sending/receiving unit 7 are connected to each other via bus 8 to be able to send/receive information mutually.

下面对概要操作进行讲述。首先,消息发送/接收单元6被功能性地分成:经由线路L连接到位于较高层级上的节点N(或者服务器S)并且从位于较高层级上的节点发送/接收消息的部分;以及经由线路L连接到位于较低层级上的节点N并且从位于较低层级上的节点发送/接收消息的部分。消息在这里表示在网络系统NS中发布所需内容所必需的各种控制信息。通过接收/发送消息,形成了发布实际内容的环境。The general operation is described below. First, the message sending/receiving unit 6 is functionally divided into: a part that is connected to a node N (or server S) on a higher level via a line L and sends/receives a message from a node on a higher level; A line L is connected to a node N located on a lower level and a portion that transmits/receives a message from a node located on a lower level. The message here means various control information necessary for distributing desired content in the network system NS. By receiving/sending messages, an environment for publishing actual content is formed.

另一方面,像消息发送/接收单元6一样,数据发送/接收单元7被功能性地分为:经由线路L连接到位于较高层级上的节点N等并且从位于较高层级上的节点等发送/接收数据的部分;经由线路L连接到位于较低层级上的节点N并且从位于较低层级上的节点发送/接收数据的部分。数据表示包括有构成在网络系统NS中发布的内容本身的声音或图像的包形式的数据。在由消息的发送/接收形成的环境下,从服务器S将作为内容的数据发布到每一个节点。On the other hand, like the message transmission/reception unit 6, the data transmission/reception unit 7 is functionally divided into: connected to and from nodes N etc. located on a higher hierarchy via a line L A section that transmits/receives data; a section that is connected to a node N located on a lower level via a line L and transmits/receives data from a node located on a lower level. The data represent data in the form of packets including audio or video constituting the content itself distributed in the network system NS. In an environment formed by transmission/reception of messages, the slave server S distributes data as content to each node.

对于包形式的数据,假设将从内容头部起的连续的包号分配给构成内容块(例如,一个电影的内容或一个音乐片段的内容)的数据包。作为包进行发送的数据被分成单位小于包的小包。另外对于小包,分配了从内容头部起连续的小包号。For data in the form of packets, it is assumed that consecutive packet numbers from the head of the content are assigned to packets constituting a block of content (for example, the content of one movie or the content of one music piece). Data sent as a packet is divided into small packets whose units are smaller than a packet. In addition, for packets, consecutive packet numbers from the content header are assigned.

例如,在其中网络系统NS为用于发布可收费的内容的网络系统的情况中,连接认证单元2通过在其中节点N进入网络系统NS的情况中或者在其中新连接了另一节点N的情况中从服务器S发送/接收认证信息来执行所谓的认证处理,用于确定节点N是否是在CPU 1的控制之下允许内容发布到的节点。For example, in the case where the network system NS is a network system for distributing chargeable content, the connection authentication unit 2 passes the case where the node N enters the network system NS or the case where another node N is newly connected The so-called authentication process for determining whether the node N is a node to which content distribution is permitted under the control of the CPU 1 is performed by transmitting/receiving authentication information from the server S.

此外,存储单元3暂时地或以非易失的方式可重写地存储稍后待进行讲述的信息,并且如果需要,则将信息输出到CPU 1。Furthermore, the storage unit 3 temporarily or rewritably stores information to be described later in a nonvolatile manner, and outputs the information to the CPU 1 if necessary.

另一方面,当通过使用节点N来执行诸如指定要重放的内容等操作时,输入单元4生成与所执行的操作相对应的操作信号,并且将操作信号输出给CPU 1。CPU 1接收操作信号并且控制节点N的其它组件,从而执行发布和重放期望内容的处理。On the other hand, when an operation such as specifying content to be played back is performed by using the node N, the input unit 4 generates an operation signal corresponding to the performed operation, and outputs the operation signal to the CPU 1. The CPU 1 receives the operation signal and controls other components of the node N, thereby performing processing of distributing and playing back desired content.

在CPU 1的控制下通过使用输出单元5来执行重放处理。Playback processing is performed by using the output unit 5 under the control of the CPU 1.

参照图2B来具体讲述存储单元3的具体结构。图2B示出了按照所存储的信息类型进行分区的存储单元3。The specific structure of the storage unit 3 will be described in detail with reference to FIG. 2B . FIG. 2B shows the storage unit 3 partitioned according to the type of stored information.

如图2B所示,存储单元3由以下构成:第一上层节点信息存储区域10,用于存储表示在如图1B所示的拓扑上位于包括有存储单元3的节点N的上一层的节点N的上层节点信息;第二上层节点信息存储区域11,用于存储表示在拓扑上位于上层节点N的上一层的上层节点N的上层节点信息;下层节点信息存储区域12,用于存储表示连接在拓扑上位于包括有存储单元3的节点N下一层的一个或多个节点N的下层节点信息,信息号等于下节点号;发送数据号信息存储区域13,用于存储表示包括有被发送到下层节点的数据的小包号的发送数据号信息;接收数据号信息存储区域14,用于存储表示包括有由包括存储单元3的节点N自身所接收的数据的小包号的接收数据号信息;重放速度信息存储区域15,用于存储表示与所接收的数据相对应的图像和声音等的输出单元5中的重放速度的重放速度信息;特定值存储区域16,用于存储为稍后将讲述的环形缓存区域所预设的最低存储数据量等的特定值;以及环形缓存区域17,用于暂时存储实际作为内容进行发布的数据。As shown in Figure 2B, the storage unit 3 is composed of the following: a first upper-level node information storage area 10, which is used to store a node that is located on the upper layer of the node N that includes the storage unit 3 on the topology shown in Figure 1B The upper-level node information of N; the second upper-level node information storage area 11 is used to store the upper-level node information of the upper-level node N located on the upper layer of the upper-level node N in topology; the lower-level node information storage area 12 is used to store the representation Connect topologically to the lower layer node information of one or more nodes N under the node N that includes the storage unit 3, the information number is equal to the lower node number; the data number information storage area 13 is sent to store and represent the information included Send data number information of the packet number of the data sent to the lower layer node; receive the data number information storage area 14, be used to store and represent the packet number information including the packet number of the data received by the node N itself that includes the storage unit 3 The playback speed information storage area 15 is used to store the playback speed information representing the playback speed in the output unit 5 of images and sounds corresponding to the received data; the specific value storage area 16 is used to store as Specific values such as the minimum storage data amount preset by the ring buffer area to be described later; and the ring buffer area 17 for temporarily storing data actually distributed as content.

在第一上层节点信息存储区域10、第二上层节点信息存储区域11和下层节点信息存储区域12中所存储的节点信息具体包括表示节点N的IP(因特网协议)全球地址。The node information stored in the first upper node information storage area 10 , the second upper node information storage area 11 and the lower node information storage area 12 specifically includes an IP (Internet Protocol) global address representing the node N.

环形缓存区域17为用于以FIFO方式暂时存储与发布的内容相对应的数据的环形缓冲存储器类型的存储区域。环形缓存区域17依次存储作为内容数据的包(和小包)并且根据存储顺序作为规则来输出包,以将其提供给输出单元5中的重放处理。The ring buffer area 17 is a ring buffer type storage area for temporarily storing data corresponding to distributed contents in a FIFO manner. The ring buffer area 17 sequentially stores packets (and small packets) as content data and outputs the packets according to the storage order as a rule to supply them to playback processing in the output unit 5 .

接下来参照如图3至6所示的流程图,来将讲述根据第一实施例允许新节点N新进入网络系统NS、接收与内容相对应的发布数据并且重放内容的处理以及在重放期间由于新节点从网络系统NS中退出而导致的停止了将数据中继到与新节点N相连的其他节点N的功能的情况中所执行的处理,作为每一个节点N中的处理。Next, with reference to the flow charts shown in FIGS. 3 to 6, the process of allowing a new node N to newly enter the network system NS, receiving distribution data corresponding to content, and replaying the content according to the first embodiment, and the process of replaying the content will be described. Processing performed in a case where the function of relaying data to other nodes N connected to the new node N during which the function of relaying data to other nodes N connected to the new node N is stopped due to the withdrawal of the new node from the network system NS is as processing in each node N.

在允许新节点N位于现有网络系统NS中的任何一个节点N的下一层的位置上的情况下,进入节点N(下面将新进入网络系统NS并且按照图3的流程图执行数据接收处理和重放处理的节点N称为“进入节点N”,以将其与已经连接到网络系统NS的其他节点区别开来)执行将进入节点N连接到上层节点N(或者网络系统NS中位于最上层上的服务器S)的处理(步骤S1和S2)。当连接请求被上层节点N拒绝时(步骤S2中为否),进入节点N此时不能加入现有网络系统NS,从而完成了进入节点N中的处理。Under the situation that allows new node N to be positioned at the position of the next layer of any node N in the existing network system NS, enter node N (below will newly enter network system NS and carry out data receiving process according to the flow chart of Fig. 3 and replay processing node N is called "entry node N" to distinguish it from other nodes already connected to the network system NS) executes connecting the entry node N to the upper node N (or the node located at the uppermost layer in the network system NS Processing of the server S) on the upper layer (steps S1 and S2). When the connection request is rejected by the upper node N (No in step S2), the entry node N cannot join the existing network system NS at this time, thus completing the processing in the entry node N.

另一方面,在步骤S1的确定中上层节点N(或服务器S)允许进入并且通过上层节点N(或服务器S)执行必要连接处理(步骤S2中为是)之后,确定在进入节点N中是否由输入单元4执行了从其中存在节点N的网络系统NS中退出的操作(步骤S3)。On the other hand, after the upper node N (or server S) permits entry in the determination in step S1 and the necessary connection processing is performed by the upper node N (or server S) (Yes in step S2), it is determined whether in the entering node N The operation of logging out from the network system NS in which the node N exists is performed by the input unit 4 (step S3).

当进入节点N从网络系统NS中退出时(步骤S3中为是),在进入节点N中执行退出操作(步骤S4),并且完成进入节点N中的处理。When the entry node N exits from the network system NS (Yes in step S3), the exit operation is performed in the entry node N (step S4), and the processing in the entry node N is completed.

另一方面,当不执行从网络系统NS中退出的处理而是连续执行数据接收处理等时(步骤S3中的否),进入节点N执行从上层节点N接收必要数据的处理(步骤S5),并且重放所接收的数据并通过使用输出单元5来输出重放的数据(步骤S9)。连接的另一节点N需要时,进入节点N执行用于断开连接到进入节点N的另一节点N和进入节点N之间的连接的退出消息响应处理(步骤S8),返回到步骤S3并且连续执行数据接收和重放处理。On the other hand, when the process of exiting from the network system NS is not performed but the data reception process etc. are continuously performed (No in step S3), the entry node N performs the process of receiving necessary data from the upper node N (step S5), And the received data is reproduced and the reproduced data is output by using the output unit 5 (step S9). When another node N of the connection needs it, the entry node N executes exit message response processing for disconnecting the connection between another node N connected to the entry node N and the entry node N (step S8), returns to step S3 and Data reception and playback processing are continuously performed.

与数据重放处理(步骤S9)并行,进入节点N执行将另一个节点N连接到进入节点N的下一层的处理(步骤S6)和将数据发送(中继)到所连接的下层节点N的处理(步骤S7)。In parallel with the data replay process (step S9), the entry node N performs a process of connecting another node N to the next layer of the entry node N (step S6) and transmits (relays) data to the connected lower layer node N processing (step S7).

下面依次详细讲述图3中在步骤S1和步骤S4至S9中的处理。The processing in step S1 and steps S4 to S9 in FIG. 3 will be described in detail below in order.

首先,通过使用图4A的流程图来详细讲述步骤S1的处理。First, the processing of step S1 will be described in detail by using the flowchart of FIG. 4A.

如图4A所示,在步骤S1的处理中,首先进入节点N经由线路L将请求消息发送到上层节点N(步骤S10),等待来自上层节点N的对请求的答复(步骤S11),并且确认答复(步骤S12),其中所述请求消息用于使进入节点N作为位于作为上一层节点的另一个节点N的下一层节点N进入。As shown in Figure 4A, in the processing of step S1, at first the entry node N sends a request message to the upper node N via the line L (step S10), waits for a reply to the request from the upper node N (step S11), and confirms Reply (step S12), wherein the request message is for the entry node N to enter as a node N of the lower layer located at another node N that is a node of the upper layer.

当响应于答复而允许进入节点N进入网络系统NS时(步骤S12中为是),进入节点N将包括有与上一层节点N相对应的IP地址的上层节点信息存储在进入节点N的存储单元3中的第一上层节点信息存储区域10中,将包括有与上层节点N之上的另一个节点相对应的IP地址的上层节点的上层节点信息存储在进入节点N的存储单元3中的第二上层节点信息存储区域11中(步骤S13),并且进展到如图3所示的步骤S2。When the entry node N is allowed to enter the network system NS in response to the reply (Yes in step S12), the entry node N stores the upper-level node information including the IP address corresponding to the upper-level node N in the storage of the entry node N. In the first upper-level node information storage area 10 in the unit 3, the upper-level node information of the upper-level node that includes an IP address corresponding to another node above the upper-level node N is stored in the storage unit 3 of the incoming node N. in the second upper layer node information storage area 11 (step S13), and proceed to step S2 as shown in FIG. 3 .

另一方面,当在步骤S12的确定中不允许进入节点N进入网络系统NS时(步骤S12中为否),进入节点N不能显示其功能。另外在这种情况下,在切换到图2所示的步骤S2之后(步骤S2中为否),完成进入节点N中的处理。On the other hand, when the entry node N is not allowed to enter the network system NS in the determination of step S12 (NO in step S12), the entry node N cannot display its function. Also in this case, after switching to step S2 shown in FIG. 2 (No in step S2), the process of entering the node N is completed.

接下来,通过使用图4B所示的流程图来详细讲述图3所示的步骤S5中的数据接收处理。Next, the data receiving process in step S5 shown in FIG. 3 will be described in detail by using the flowchart shown in FIG. 4B.

如图4B所示,在步骤S5的处理中,首先进入节点N经由线路L将用于请求期望数据的消息发送到此时所连接的上一层节点(步骤S15),并且确认是否存在针对该消息的来自上层节点N的发送允许答复(步骤S16)。As shown in FIG. 4B, in the process of step S5, firstly, the entering node N sends a message for requesting desired data to the upper layer node connected at this time via the line L (step S15), and confirms whether there is a The transmission permission reply of the message from the upper node N (step S16).

当存在发送允许答复时(步骤S16中为是),进入节点N根据答复接收包括有进入节点N所期望的数据的包(步骤S17),并且进展到如图3所示的步骤S6或S9。另一方面,当在步骤S16的确定中没有从上层节点N得到发送允许答复时(步骤S16中为否),存在在上层节点N和进入节点N之间的线路上发生故障的可能性。结果,进入节点N执行上述在步骤S1中的处理(参照图4A),以消除故障并且能够接收数据,再次返回到步骤S15的处理,并且从再次连接的上层节点N接收数据(步骤S15或S17)。When there is a transmission permission reply (Yes in step S16), the entry node N receives a packet including data desired by the entry node N according to the reply (step S17), and proceeds to step S6 or S9 as shown in FIG. 3 . On the other hand, when no transmission permission reply is obtained from the upper node N in the determination of step S16 (NO in step S16), there is a possibility that a failure occurs on the line between the upper node N and the incoming node N. As a result, the entering node N performs the above-mentioned processing in step S1 (refer to FIG. 4A ), to eliminate the fault and can receive data, returns to the processing of step S15 again, and receives data from the upper node N connected again (step S15 or S17 ).

接下来通过使用如图4C所示的流程图来讲述图3所示的步骤S6中的下层节点连接处理。Next, the lower layer node connection processing in step S6 shown in FIG. 3 will be described by using the flowchart shown in FIG. 4C.

如图4C所示,在步骤S6的处理中,首先确定是否已经将来自被连接在进入节点N下一层的节点N的连接请求消息发送到进入节点N(步骤S20)。当还没有发送连接请求消息时(步骤S20中为否),进入节点N切换到图3中的步骤S7。当已经发送了连接请求消息时(步骤S20中为是),通过例如在下层节点N和进入节点N中的每一个中所包括的连接认证单元2,来在已发送连接请求消息的下层节点N和进入节点N之间(或者经由进入节点N在下层节点N和服务器S之间)执行认证处理,用于确定下层节点N是否为具有进入网络系统NS的资格的节点N(步骤S21和S22)。As shown in FIG. 4C, in the process of step S6, it is first determined whether a connection request message from node N connected one layer below the entry node N has been sent to the entry node N (step S20). When the connection request message has not been sent (No in step S20), the entering node N switches to step S7 in FIG. 3 . When the connection request message has been sent (Yes in step S20), by, for example, the connection authentication unit 2 included in each of the lower node N and the entry node N, the lower node N that has sent the connection request message An authentication process is performed between the entry node N (or between the lower node N and the server S via the entry node N) for determining whether the lower node N is a node N having the qualification to enter the network system NS (steps S21 and S22) .

在通过认证处理使下层节点N不能被允许进入网络系统NS的情况下(步骤S22中为否),将该事实作为连接禁止消息发送给下层节点N(步骤S25),并且程序进展到图3所示的步骤S7。Under the situation that the lower-level node N cannot be allowed to enter the network system NS through the authentication process (No in step S22), this fact is sent to the lower-level node N as a connection prohibition message (step S25), and the program proceeds to the state shown in FIG. Step S7 shown.

另一方面,当在步骤S22的确定中在认证处理中允许下层节点N进入到网络系统NS时(步骤S22中为是),将该事实作为连接允许消息发送给下层节点N(步骤S23),将包括有与下一层节点N等相对应的IP地址的下层节点信息存储在进入节点N的存储单元3中的下层节点信息存储区域12中(步骤S24),并且程序进展到如图3所示的步骤S7。On the other hand, when the lower-level node N is allowed to enter the network system NS in the authentication process in the determination of step S22 (Yes in step S22), this fact is sent to the lower-level node N as a connection permission message (step S23), The lower layer node information including the IP address corresponding to the lower layer node N etc. is stored in the lower layer node information storage area 12 in the storage unit 3 of the incoming node N (step S24), and the program proceeds to Step S7 shown.

接下来,通过使用如图5A所示的流程图来讲述图3所示的步骤S7中的数据发送处理。Next, the data transmission process in step S7 shown in FIG. 3 will be described by using the flowchart shown in FIG. 5A.

如图5A所示,在步骤S7的处理中,首先确定是否已经将用于发送要在下层节点N中进行重放的数据的请求作为来自被连接在进入节点N的下一层的节点N的消息进行了发送(步骤S35)。当通过进入节点N没有接收到消息时(步骤S35中为否),程序进展到图3所示的步骤S8。As shown in FIG. 5A, in the processing of step S7, it is first determined whether a request for sending data to be reproduced in the lower node N has been received as a request from the node N connected to the lower layer of the entry node N. The message is sent (step S35). When no message is received through the entry node N (NO in step S35), the procedure proceeds to step S8 shown in FIG. 3 .

另一方面,当在步骤S35中确定出已经发送了消息时(步骤S35中为是),接下来,响应于该消息,判断要从进入节点N发送的包是否为下面要详细讲述的空包(只包括标题信息而不包括构成内容等的实体图像信息的包)(步骤S36)。当包不是空包时(步骤S36中为否),不是空包的包作为内容数据经由线路L被发送到下层节点N(步骤S38),并且程序进展到图3所示的步骤S8。On the other hand, when it is determined in step S35 that the message has been sent (yes in step S35), next, in response to the message, it is judged whether the packet to be sent from the entry node N is an empty packet to be described in detail below (a packet including only title information and not including entity image information constituting content, etc.) (step S36). When the packet is not an empty packet (NO in step S36), the packet that is not an empty packet is sent as content data to the lower layer node N via the line L (step S38), and the procedure proceeds to step S8 shown in FIG. 3 .

另一方面,当在步骤S36中确定出要发送的包是空包时(步骤S36中为是),对在图5A所示的步骤S7中的处理开始之前由进入节点N接收到的小包号与要发送到下层节点N的实体数据的小包号进行比较(也就是在空包中所没有包括的诸如图像数据和声音数据等实体数据)。在号不连续的情况下(也就是说,接收了空包),通过将紧随空包之前的小包号和紧随空包之后的小包号连接起来,紧随之后的小包号被布置在紧随之前的小包号之后(步骤S37),将构成具有所布置的小包号的小包中的内容的数据发送到下层节点N(步骤S38),并且程序进展到图3所示的步骤S8。On the other hand, when it is determined in step S36 that the packet to be transmitted is an empty packet (Yes in step S36), the small packet number received by the entry node N before the processing in step S7 shown in FIG. 5A starts. It is compared with the packet number of the entity data to be sent to the lower layer node N (that is, entity data such as image data and sound data not included in the empty packet). In the case of discontinuous numbers (that is, an empty packet is received), by concatenating the packet number immediately before the empty packet with the packet number immediately after the empty packet, the packet number immediately following is arranged at the next Following the previous packet number (step S37), data constituting the contents in the packet with the arranged packet number is sent to the lower node N (step S38), and the procedure proceeds to step S8 shown in FIG. 3 .

接下来通过使用如图4D的流程图来详细讲述图3所示的步骤S8中的退出消息响应处理。Next, the logout message response processing in step S8 shown in FIG. 3 will be described in detail by using the flowchart of FIG. 4D.

如图4D所示,在步骤S8的处理中,首先确定是否已经从被连接到进入节点N的其他节点N的任何一个(具体来说,被连接在进入节点N的上一层的上层节点N或者被连接在进入节点N的下一层的下层节点N)接收了节点N将从网络系统NS中退出的消息(步骤S26)。在还没有接收到消息的情况下(步骤S26中为否),程序返回到图3中的步骤S3。另一方面,在接收到请求退出的消息的情况下(步骤S26中为是),确定是上一层节点N和下一层节点N中哪一个发送了消息(步骤S27)。As shown in Fig. 4D, in the process of step S8, it is first determined whether any one of the other nodes N connected to the entry node N (specifically, the upper layer node N connected to the upper layer of the entry node N) Or the lower layer node N connected to the lower layer of the entry node N) receives the message that the node N will withdraw from the network system NS (step S26). In a case where the message has not been received (NO in step S26), the procedure returns to step S3 in FIG. 3 . On the other hand, in the case where a message requesting withdrawal is received (YES in step S26), it is determined which of the node N of the upper layer and the node N of the lower layer sent the message (step S27).

当从上一层节点N(步骤S27中的“上层节点”)已经发送退出请求消息时,根据表示在进入节点N的存储单元3中的第二上层节点信息存储区域11中所存储的上层节点N的上一层节点的节点信息,对被连接在上层节点N的上一层的节点N(也就是,发送出退出请求消息的节点N)执行上述步骤S1中的上层节点连接处理,从而恢复拓扑(步骤S1),并且程序返回到图3中的步骤S3。When the exit request message has been sent from the upper-level node N ("upper-level node" in step S27), according to the upper-level node stored in the second upper-level node information storage area 11 in the storage unit 3 of the entry node N The node information of the upper layer node of N, the upper layer node connection processing in the above step S1 is performed on the upper layer node N connected to the upper layer node N (that is, the node N that sends the exit request message), thereby recovering topology (step S1), and the procedure returns to step S3 in FIG. 3 .

另一方面,当从下一层节点N(步骤S27中的“下层节点”)已经发送退出请求消息时,从下层节点信息存储区域12中删除在进入节点N的存储单元3中的下层节点信息存储区域12中所存储的下层节点N的节点信息(步骤S28),并且程序返回到图3中的步骤S3。On the other hand, when an exit request message has been sent from the lower node N (“lower node” in step S27), the lower node information in the storage unit 3 of the entry node N is deleted from the lower node information storage area 12 The node information of the lower node N stored in the area 12 is stored (step S28), and the procedure returns to step S3 in FIG. 3 .

接下来,参照图4E的流程图来详细讲述图3所示的步骤S4中的节点退出处理(进入节点N自身从网络系统NS中退出的处理)。Next, the node exit processing in step S4 shown in FIG. 3 (processing in which the entry node N itself exits from the network system NS) will be described in detail with reference to the flowchart of FIG. 4E.

如图4E所示,在步骤S4的处理中,首先将上述退出请求消息(参照图4D)发送到被连接在进入节点N的上一层的上层节点N(步骤S30)。接下来,类似地将上述退出请求消息发送到被连接在进入节点N的下一层的下层节点N(步骤S31)。在发送消息之后,进入节点N执行从网络系统NS中退出的处理。As shown in FIG. 4E, in the process of step S4, the above-mentioned exit request message (see FIG. 4D) is first sent to the upper node N connected to the upper layer of the entry node N (step S30). Next, the above-mentioned exit request message is similarly transmitted to the lower layer node N connected to the lower layer of the entry node N (step S31). After sending the message, the entry node N performs the process of exiting from the network system NS.

最后通过使用如图5B所示的流程图来详细讲述图3所示的步骤S9中的数据重放处理。Finally, the data playback processing in step S9 shown in FIG. 3 will be described in detail by using the flowchart shown in FIG. 5B.

如图5B所示,在步骤S9的处理中,首先核对进入节点N中的重放标记(也就是说,表示是否正在执行使用输出单元5的重放处理的重放标记)(步骤S40)。当重放标记为“off”时(也就是说,在输出单元5中当前没有执行重放处理)(步骤S40中为OFF),则接下来确定在环形缓存区域17中是否已经存储了量等于或大于作为预设存储量的特定值的特定值“t”的数据(步骤S45)。As shown in FIG. 5B, in the process of step S9, the replay flag entering the node N (that is, the replay flag indicating whether replay processing using the output unit 5 is being executed) is first checked (step S40). When the playback flag is "off" (that is, playback processing is not currently being executed in the output unit 5) (OFF in step S40), it is next determined whether an amount equal to or data larger than a specific value "t" which is a specific value of a preset storage capacity (step S45).

当在环形缓存区域17中没有存储数据量等于或大于特定值“t”的数据时(步骤S45中为否),如果在该状态中执行了数据重放处理(换句话说,消耗了环形缓存区域17中的数据),则环形缓存区域17进入所谓的欠载运行(underrun)状态,并且存在重放图像和重放音乐等被中断的可能性。结果,为了进一步存储数据,程序经由图3所示的步骤S8返回到步骤S3。When there is no data stored in the ring buffer area 17 whose data amount is equal to or greater than the certain value "t" (NO in step S45), if the data playback processing is performed in this state (in other words, the ring buffer is consumed data in the area 17), the ring buffer area 17 enters a so-called underrun state, and there is a possibility that playback of images, playback of music, and the like are interrupted. As a result, in order to further store data, the procedure returns to step S3 via step S8 shown in FIG. 3 .

另一方面,当在步骤S45中确定出已经存储了量等于或大于特定值“t”的数据时(步骤S45中为是),已经为“off”的重放标记被设定为“on”(步骤S46),以类似于现有技术的方式执行重放被存储数据的处理(例如,在图像信息的情况下,显示图像信息的处理)(步骤S47),并且程序进展到图3所示的步骤S8。On the other hand, when it is determined in step S45 that the amount of data equal to or greater than the certain value "t" has been stored (YES in step S45), the playback flag which has been "off" is set to "on". (step S46), in a manner similar to the prior art, carry out the processing of replaying stored data (for example, in the case of image information, the processing of displaying image information) (step S47), and the program proceeds to Step S8.

另一方面,当在步骤S40的确定中重放标记为“on”时(也就是说,当在当前在输出单元5中执行重放处理时)(步骤S40中为否),以类似于步骤S45中的上述确定的方式来确定当前在环形缓存区域17中是否存储了量等于或大于特定值“t”的数据(步骤S41)。当已经存储了量等于或大于特定值“t”的数据时(步骤S41中为是),则以类似于步骤S47的方式,与现有技术一样,将诸如图像数据的显示速度等重放模式设定为正常模式(步骤S42)。根据该设置来执行重放处理(步骤S44)。之后,程序进展到图3所示的步骤S8。On the other hand, when the playback flag is "on" in the determination of step S40 (that is, when playback processing is currently being performed in the output unit 5) (NO in step S40), similar to the step S40 The above determination in S45 determines whether or not data equal to or greater than a certain value "t" is currently stored in the ring buffer area 17 (step S41). When the amount of data equal to or greater than the specific value "t" has been stored (YES in step S41), then in a manner similar to step S47, the playback mode such as the display speed of the image data is set to Set to normal mode (step S42). Playback processing is executed according to this setting (step S44). Thereafter, the procedure proceeds to step S8 shown in FIG. 3 .

相反,当在步骤S41中确定出还没有存储等于或大于特定值“t”的量的数据时(步骤S41中为否),根据存储量来改变数据重放模式(步骤S43),根据该设置来执行重放处理(步骤S44),并且程序进展到图3所示的步骤S8的处理。Conversely, when it is determined in step S41 that data of an amount equal to or greater than the specific value "t" has not been stored (NO in step S41), the data playback mode is changed according to the stored amount (step S43), and according to the setting to execute playback processing (step S44), and the program proceeds to the processing of step S8 shown in FIG. 3 .

在步骤S43中改变重放模式的设置时,当还没有存储等于或大于特定值“t”的量的数据时,设定重放模式,以通过减小步骤S44中的重放处理中的数据消耗量来降低环形缓存区域17的存储量的减小速度(也就是说,被存储在环形缓存区域17中的数据的每单位时间的消耗量)。具体来说,例如设定每单位时间从环形缓存区域17读取数据的量,以将其降低到约为正常量的最大值的4/5。更为具体地,存在控制读取量的方法,以便以诸如每5小包1次的周期读取相同的小包两次。在这种情况下,当上层节点N中的中继功能没有停止时,将周期设定为零是足够的,并且随着环形缓存区域17中的存储量降低而缩短周期。When the setting of the playback mode is changed in step S43, when data equal to or greater than the specified value "t" has not been stored, the playback mode is set so that by reducing the data in the playback process in step S44 The reduction speed of the storage amount of the ring buffer area 17 is reduced by reducing the consumption amount (that is, the consumption amount per unit time of the data stored in the ring buffer area 17). Specifically, for example, the amount of data read from the ring buffer area 17 per unit time is set so as to be reduced to about 4/5 of the maximum value of the normal amount. More specifically, there is a method of controlling the amount of reading so that the same packet is read twice at a cycle such as once every 5 packets. In this case, when the relay function in the upper node N is not stopped, it is sufficient to set the period to zero, and shorten the period as the storage amount in the ring buffer area 17 decreases.

每单位时间从环形缓存区域17读取数据的量的减小程度可以为用户在视觉上不能察觉到这种减小的程度。在这种程度上可以改变4/5的值。The degree of reduction in the amount of data read from the ring buffer area 17 per unit time may be such that the user cannot visually perceive the reduction. To this extent the value of 4/5 can be changed.

接下来通过使用图6的流程图来具体讲述图5B所示的步骤S44中的数据显示处理。数据显示处理是基于在步骤S43的处理中改变从环形缓存区域17读取数据的速度的设置这一预设条件的。Next, the data display processing in step S44 shown in FIG. 5B will be specifically described by using the flowchart of FIG. 6 . The data display processing is based on the preset condition of changing the setting of the speed of reading data from the ring buffer area 17 in the processing of step S43.

如图6所示,在步骤S44的处理中,首先根据在步骤S43的处理中所设定的每单位时间读取量(读取速度)来从环形缓存区域17中读取作为图像信息的数据(步骤S50)。在输出单元5中对所读取的数据进行解码(步骤S51)并且在未示出的显示器等上显示经过解码的数据(步骤S52)。另外在声音信息的情况下,以类似于在图像信息的情况中的方式所设定的读取速度来从环形缓存区域17中读取数据(步骤S50)。对所读取的数据进行解码并且从未示出的扬声器等中生成经过解码的数据(步骤S51和S52)。As shown in FIG. 6, in the processing of step S44, first, data as image information is read from the ring buffer area 17 according to the reading amount per unit time (reading speed) set in the processing of step S43. (step S50). The read data is decoded in the output unit 5 (step S51) and the decoded data is displayed on an unshown display or the like (step S52). Also in the case of sound information, data is read from the ring buffer area 17 at a reading speed set in a manner similar to that in the case of image information (step S50). The read data is decoded and decoded data is generated from a not-shown speaker or the like (steps S51 and S52).

接下来参照包括有由作为内容的数据构成的包的流程的图7A至7C到图13A至13C来更为具体地讲述一系列网络控制处理。Next, a series of network control processing will be described more specifically with reference to FIGS. 7A to 7C to FIGS. 13A to 13C including flows of packets constituted by data as contents.

在图7A至7C到12A至12C中,假设在其顶点为服务器S的拓扑中,两个节点N1和N2被连接在服务器S下一层的第一层级上。两个节点N3和N4被连接在节点N1的下一层。两个节点N5和N6被连接在节点N2的下一层。两个节点N7和N8、两个节点N9和N10、两个节点N11和N12以及两个节点N13和N14分别被连接在节点N3、N4、N5和N6的下一层。下面来讲述在具有如具有该结构的拓扑所示的连接模式的网络系统NS中将作为内容预先存储在服务器S中的图像数据以包的形式发布到下层节点N1至N14并且节点N1至N14中的节点N4从网络系统NS中退出的情况中所执行的处理。In FIGS. 7A to 7C to 12A to 12C, it is assumed that in the topology whose vertex is the server S, two nodes N1 and N2 are connected on the first level one level below the server S. Two nodes N3 and N4 are connected one level below node N1 . Two nodes N5 and N6 are connected one layer below node N2 . Two nodes N 7 and N 8 , two nodes N 9 and N 10 , two nodes N 11 and N 12 and two nodes N 13 and N 14 are respectively connected at nodes N 3 , N 4 , N 5 and N 6 for the next layer. Next, in the network system NS having the connection mode as shown in the topology having this structure, the image data prestored in the server S as content is distributed to the lower nodes N1 to N14 in the form of packets and the node N1 Processing performed in the case where the node N 4 in the N 14 withdraws from the network system NS.

此外,假设服务器S和节点N1至N6中的每一个都具有环形缓存区域17并且还执行将包P中继给其他下层节点(每一个都具有环形缓存区域17)同时将包P存储为数据的处理(参照图3中的步骤S7和S9)。在图7A至7C到图13A至13C中,一个包P被表示成一个框(□),并且每一个框中的数字表示包号。Furthermore, it is assumed that each of the server S and the nodes N 1 to N 6 has the ring buffer area 17 and also performs relaying of the packet P to other lower-level nodes (each having the ring buffer area 17) while storing the packet P as Data processing (refer to steps S7 and S9 in FIG. 3). In FIGS. 7A to 7C to FIGS. 13A to 13C, one package P is represented as one box (□), and a numeral in each box indicates a package number.

此外,在图7A至7C到图12A至12C中,节点N1至N14的每一个中的环形缓存区域17被表示成一行。不过,在包输入/输出处理中,每一个环形缓存区域17的右端和左端以环形进行连接。将一个包提供给重放处理。每次将包发布给下一层节点N时,用从上一层节点N发布的新包来替换被存储在环形缓存区域17中的包中最旧的包。以这种方式,实现了上述FIFO缓冲存储器。Furthermore, in FIGS. 7A to 7C to FIGS. 12A to 12C, the ring buffer area 17 in each of the nodes N1 to N14 is represented as one row. However, in packet input/output processing, the right and left ends of each ring buffer area 17 are connected in a ring. Provide a packet to replay processing. Every time a packet is distributed to the node N of the lower layer, the oldest packet among the packets stored in the ring buffer area 17 is replaced with a new packet distributed from the node N of the upper layer. In this way, the above-mentioned FIFO buffer memory is realized.

用于显示图7A至7C到图13A至13C中的服务器S中的环形缓存区域17的向下空心箭头表示当由其左端由箭头进行指向的框表示的包从服务器S中被发送时的时序。为图8A至8C到图13A至13C中每一个节点N中的环形缓存区域17显示的向上实心箭头表示此时显示了被存储在由每一个包中的箭头所指向的位置中的图像数据。此外,服务器S和节点N中任何一个的环形缓存区域17中的包的显示(框)中所显示的“-”表示没有数据被存储在与包相对应的环形缓存区域17中。The downward hollow arrow for showing the ring buffer area 17 in the server S in FIGS. 7A to 7C to FIGS. 13A to 13C indicates the timing when the packet represented by the box whose left end is pointed by the arrow is sent from the server S . The upward solid arrow shown for the ring buffer area 17 in each node N in FIGS. 8A to 8C to FIGS. 13A to 13C indicates that the image data stored in the location pointed to by the arrow in each packet is displayed at this time. Also, "-" displayed in the display (frame) of the packet in the ring cache area 17 of any one of the server S and the node N indicates that no data is stored in the ring cache area 17 corresponding to the packet.

现在假设在如图7A和7B到图13A和13B所示的例子中的每一个中,每一个节点N中的特定值“t”(具体为环形缓存区域17中作为不充分存储量的下限值“t”)与三个包相对应。Assume now that in each of the examples shown in FIGS. 7A and 7B to FIGS. 13A and 13B , a certain value "t" in each node N (specifically, the lower limit of the insufficient storage amount in the ring buffer area 17 The value "t") corresponds to three packets.

首先,在发布包之前,要被发布的包按照发布顺序被存储在如图7A所示的环形缓存区域17中。这些包根据数字要被发布到被连接在下层上的节点N1至N4。具体而言,如图7A所示,在从服务器S输出包P0的时点上,将包P0(具有包号“0”)发送到连接服务器S以及节点N1和N2的线路L上。之后,被发送的P0被存储在每一个节点N中的环形缓存区域17中,同时在过去了如图7B和7C所示的时间之后由位于较低层级上的节点N进行中继。First, before the packages are released, the packages to be released are stored in the ring buffer area 17 as shown in FIG. 7A in order of release. These packets are to be distributed numerically to nodes N 1 to N 4 connected on the lower layer. Specifically, as shown in FIG. 7A, at the point in time when the packet P0 is output from the server S, the packet P0 (with the packet number "0") is sent to the line L connecting the server S and the nodes N1 and N2 . superior. Thereafter, the transmitted P 0 is stored in the ring buffer area 17 in each node N while being relayed by the node N located on the lower hierarchy after the lapse of time as shown in FIGS. 7B and 7C .

当包P0被发布到连接在网络系统NS的底部上的节点N7至N14时,则接下来如图8A所示,开始在包P0之后要被发布的包P的发送。When the packet P 0 is distributed to the nodes N 7 to N 14 connected on the bottom of the network system NS, then next, as shown in FIG. 8A , transmission of the packet P to be distributed after the packet P 0 starts.

例如,当通过重复上述操作来将三个包的图像数据存储在被连接在如图8B所示的网络系统NS的底部上的节点N7至N14时,则从包P0中的图像数据来开始节点N1至N14中的图像重放处理。For example, when image data of three packages are stored in nodes N 7 to N 14 connected on the bottom of the network system NS as shown in FIG . to start image playback processing in nodes N1 to N14 .

在如图8C所示使用节点N1至N14的每一个中的包P0来完成一个包的重放处理之后,在节点N1至N14中开始使用下一个包P1的重放处理,并且发布来自服务器S的第四个包P4After finishing playback processing of one packet using packet P 0 in each of nodes N 1 to N 14 as shown in FIG. 8C , playback processing using next packet P 1 starts in nodes N 1 to N 14 , and publishes the fourth packet P 4 from server S.

通过重复上述处理,依次发布并且重放作为图像数据的包,同时以FIFO方式将其存储在环形缓存区域17中(或从环形缓存区域17中擦除)。假设在第一个实施例中的节点N1至N14的每一个中,如图9A所示,依次更新恰在当前被重放的包之前的一个包之前被存储的包。By repeating the above-described processing, packets as image data are sequentially issued and played back while being stored in (or erased from) the ring buffer area 17 in a FIFO manner. Assume that in each of the nodes N 1 to N 14 in the first embodiment, as shown in FIG. 9A , the packets stored just one packet before the packet currently being played back are sequentially updated.

如图9B和9C所示,在发布了服务器S中待被发布的所有包之后,节点N1至N14中的环形缓存区域17依次变成空的,并且完成了网络系统NS中的所有发布处理。As shown in Figures 9B and 9C, after all the packets to be distributed in the server S are distributed, the ring buffer areas 17 in the nodes N 1 to N 14 become empty in turn, and all distributions in the network system NS are completed deal with.

接下来参照图10A和10B到图13A至13C来讲述在网络系统NS中的节点N4由于例如断电而停止其中继功能并且从网络系统NS本身中退出的情况中所执行的处理。10A and 10B to 13A to 13C to describe the processing performed in the case where the node N 4 in the network system NS stops its relay function due to, for example, a power outage and withdraws from the network system NS itself.

如图10A所示,假设当完成了重放例如包P1中所包括的图像数据的处理并且同时从服务器S发送包P5到节点N1至N14的每一个中时,节点N4由于以上原因而从网络系统NS中退出(参照图4D)。在退出之后,自然地断开了将包P5发布到下层节点N9和N10。在这种情况下,如图10B所示,执行当前将节点N10再连接到作为上层节点N的节点N1的处理和将节点N9再连接到经过再连接的N10的处理(参照图4D中的步骤S1),并且再发布在发布时序之前没有进行发布的包P5。结果,在节点N9至N10的每一个中所包括的环形缓存区域17中,与其他节点N1至N8和节点N11至N14比较,重写时序,只延迟了一个包。结果,只存在两个包(包P3和P4)还没有进行如图10B所示的重放处理,并且发生了所谓的数据延迟(在图5B中的步骤S41中为否)。之后,直到所有包的发布都完成时,在节点N9和N10中继续节点N9至N10中的重放从其他节点N1至N8和节点N11至N14仅延迟一个包的状态。As shown in FIG. 10A , it is assumed that when the process of replaying, for example, the image data included in the packet P 1 is completed and at the same time the packet P 5 is sent from the server S to each of the nodes N 1 to N 14 , the node N 4 due to For the above reason, it exits from the network system NS (refer to FIG. 4D ). After the exit, the distribution of the package P 5 to the lower nodes N 9 and N 10 is naturally disconnected. In this case, as shown in FIG. 10B , the processing of reconnecting the node N 10 to the node N 1 which is the upper node N at present and the processing of reconnecting the node N 9 to the reconnected N 10 are performed (refer to FIG. Step S1) in 4D, and re-publish the package P 5 that has not been released before the release timing. As a result, in the ring buffer area 17 included in each of the nodes N 9 to N 10 , compared with the other nodes N 1 to N 8 and nodes N 11 to N 14 , the rewriting timing is delayed by only one packet. As a result, there are only two packets (packets P3 and P4 ) that have not been subjected to playback processing as shown in FIG. 10B, and so-called data delay occurs (No in step S41 in FIG. 5B). Afterwards, until posting of all packets is completed, replay in nodes N 9 to N 10 is continued in nodes N 9 and N 10 , delaying only one packet from other nodes N 1 to N 8 and nodes N 11 to N 14 state.

因此,在第一实施例中,如图11A和11B中的影线箭头所示,在节点N9和N10中,使得在发生数据延迟的时点之后从环形缓存区域17读取数据的速度要慢于在其他节点N1至N8和节点N11至N14中的速度(在图5B中的步骤S41和图6中的步骤S50中为否)。最后,如图11C所示,要进行重放处理的包的个数恢复成作为特定值的3(在图11C的情况中包P4至P6)。Therefore, in the first embodiment, as indicated by the hatched arrows in FIGS. 11A and 11B , in the nodes N9 and N10 , the speed at which data is read from the ring buffer area 17 after the time point at which data delay occurs is made to be slower than in the other nodes N 1 to N 8 and nodes N 11 to N 14 (NO in step S41 in FIG. 5B and step S50 in FIG. 6 ). Finally, as shown in FIG. 11C , the number of packets to be subjected to playback processing returns to 3 as a specific value (packets P 4 to P 6 in the case of FIG. 11C ).

从图11C或12A中的节点N9中环形缓存区域17的状态和节点N8中环形缓存区域17的状态之间的比较可以明显看出,在每一个环形缓存区域17中没有进行重放的包号被恢复成3。在节点N8中要被重放的包为包P5,但是在节点N9中要被重放的包为包P4。由于上层节点N4从网络系统NS中退出,当比较一系列包P的时基上的重放时序时,在节点N4之下的节点N9和N10中发生了所谓的重放延迟(也就是在节点N中相同内容的重放时序发生偏离)。因此,例如在节点N9的用户和节点N8的用户玩所谓的网络游戏的情况下,这两个节点中发生重放延迟会扰乱节点N的正常使用状态。As is apparent from a comparison between the state of the ring buffer area 17 in node N9 and the state of the ring buffer area 17 in node N8 in FIG. The package number is restored to 3. The packet to be reproduced in the node N 8 is the packet P 5 , but the packet to be reproduced in the node N 9 is the packet P 4 . Since the upper node N 4 withdraws from the network system NS, when comparing the replay timing on the time base of a series of packets P, a so -called replay delay ( That is, the playback timing of the same content in node N deviates). Therefore, for example, in the case where the user of the node N9 and the user of the node N8 play a so-called online game, occurrence of a playback delay in these two nodes disturbs the normal use state of the node N.

结果,在第一实施例的网络控制处理中,将空包从服务器S发布到除了由于上层节点N从网络系统NS中退出而发生重放延迟的节点N之外的属于网络系统NS的所有节点,从而使网络系统NS中所包括的所有节点N中的内容重放时序相互同步。As a result, in the network control process of the first embodiment, a null packet is issued from the server S to all nodes belonging to the network system NS except for the node N whose replay delay occurs due to the withdrawal of the upper node N from the network system NS , so that the content playback timings of all nodes N included in the network system NS are synchronized with each other.

在第一实施例中,如图12A所示,在发布之前被存储在服务器S的环形缓存区域17中的内容中,按照未来发生重放延迟的预期以预定时序或间隔将空包P00插入到其他包中。In the first embodiment, as shown in FIG. 12A , in the content stored in the ring buffer area 17 of the server S before distribution, empty packets P 00 are inserted at predetermined timing or intervals in anticipation of occurrence of playback delay in the future. into other packages.

如图12A和12B所示,在例如节点N9和N10中发生重放延迟的情况下,将空包发布到除了节点N9和N10之外的所有节点,也就是节点N1至N8和节点N11至N14(参照图5A)。结果,如图12C所示,在网络系统NS中所包括的所有节点N1至N14中重放发布的包的时序变成相同,并且在节点N1至N14中的重放延迟得到消除。As shown in FIGS. 12A and 12B , in the case where playback delay occurs in, for example, nodes N 9 and N 10 , a null packet is issued to all nodes except nodes N 9 and N 10 , that is, nodes N 1 to N 8 and nodes N 11 to N 14 (refer to FIG. 5A ). As a result, as shown in FIG. 12C , the timing of replaying the distributed packets in all the nodes N 1 to N 14 included in the network system NS becomes the same, and the playback delay in the nodes N 1 to N 14 is eliminated. .

参照图13A至13C来具体讲述在被连接在节点N9和N10上一层和下一层的节点N中的包的发送/接收时间的变化,以及一系列网络控制处理的执行。图13A至13C示出了被连接在节点N9和N10上一层和下一层的节点N中的包发送/接收状态。横轴使用其左端作为内容发布开始时间来表示发布时间并且纵轴表示发布的包中的小包号(具体来说,纵轴的下端与在包P0中小包号为“0”的小包相对应)。13A to 13C are specifically described in the node N connected in the node N 9 and N 10 above and below the transmission/reception timing of the packet transmission / reception, and the execution of a series of network control processing. 13A to 13C show packet transmission/reception states in nodes N connected one layer above and below nodes N9 and N10 . The horizontal axis represents the distribution time using its left end as the content distribution start time and the vertical axis represents the packet number in the distributed package (specifically, the lower end of the vertical axis corresponds to the packet whose packet number is "0" in the package P0 ).

在在图7A至7C到图12A至12C中被连接到上一层节点的节点N4的中继功能正常运行的情况下,节点N9或N10重复将包从上一层节点N4中继到下一层节点同时从节点N4接收包的操作。虽然在图7A至7C到图12A至12C中下一层节点N没有连接到节点N9或N10,但是为了全面讲解在网络系统NS中所包括的每一个节点N的功能,假设在图13A至13C中另一个节点N连接在节点N9或N10的下一层。In the case where the relay function of the node N 4 connected to the node of the upper layer in Figs. 7A to 7C to Figs. The operation proceeds to the node of the next layer while receiving the packet from the node N4 . Although the next layer node N is not connected to the node N 9 or N 10 in FIGS. 7A to 7C to FIGS. 12A to 12C, in order to fully explain the function of each node N included in the network system NS, assume Another node N in 13C is connected to the next layer of node N 9 or N 10 .

与中继功能并行,节点N9或N10将从节点N4发布的包P以发布顺序存储在环形缓存区域17中(参照图8A至8C和图9A至9C)。在存储了三个包P时的时点上节点N9或N10执行通过输出单元5对在包P中所存储的数据进行解码和显示等处理(下面,处理包括当数据为图像数据时的显示处理和当数据为声音数据时的声音输出处理)。在如图13A所示的例子中,当图7A至7C到图12A至12C所示的第一包P0经由节点N4从服务器S进行发布并且将其存储在节点N9或N10中的环形缓存区域17中时的时间与横轴的左端相对应。从左端上的时间起,类似地发布随后的包P1和P2并且将其存储在环形缓存区域17中。自从该时间一直到开始在包P0中所存储的数据的解码和显示等时的时间段为图13A所示的时间T0。环形缓存区域17中的存储量(第一实施例中的三个包的量)与图13A和13B中的标符“M”所示的量相对应。In parallel with the relay function, the node N 9 or N 10 stores the packets P distributed from the node N 4 in the ring buffer area 17 in the distribution order (refer to FIGS. 8A to 8C and FIGS. 9A to 9C ). At the point of time when three packs P are stored, the node N9 or N10 performs processing such as decoding and displaying the data stored in the pack P through the output unit 5 (below, the processing includes when the data is image data) display processing and sound output processing when the data is sound data). In the example shown in FIG. 13A, when the first package P0 shown in FIGS. 7A to 7C to FIGS . The time when the ring buffer area 17 is in corresponds to the left end of the horizontal axis. From the time on the left end, subsequent packages P1 and P2 are similarly issued and stored in the ring buffer area 17 . The time period from this time until decoding and displaying etc. of the data stored in the packet P 0 is started is time T 0 shown in FIG. 13A . The storage amount in the ring buffer area 17 (the amount of three packets in the first embodiment) corresponds to the amount indicated by the symbol "M" in FIGS. 13A and 13B.

在完成了对每一个包P中的数据进行解码和显示等处理之后,环形缓存区域17中已记录了包P的部分用在该包之后发布的后续包P覆盖写入。在如图12A所示的例子中,从对包P0中的数据进行解码和显示等处理开始,一直到将后续包P4中的数据存储(覆盖写入)在环形缓存区域17中已经存储了包P0的部分中,时间T是必需的。After the data in each packet P is decoded and displayed, the portion of the ring buffer area 17 in which the packet P has been recorded is overwritten with the subsequent packet P issued after the packet. In the example shown in FIG. 12A , it starts from decoding and displaying the data in the packet P 0 until the data in the subsequent packet P 4 is stored (overwritten) in the ring buffer area 17. part of the package P 0 , time T is required.

接下来,如上参照图10A和10B所进行的讲述,在节点N9和N10的上一层节点N4从网络系统NS中退出并且继功能停止的情况下,对于自从停止一直到完成如图10B所示的拓扑的重构并且重新开始包P的发布的时段,没有将任何包P发布到节点N9和N10。因此,在非发布时段,虽然时间过去了,但是没有从上层节点N发布任何包P。在节点N9和N10中,如图13B所示,示出了来自上层节点的包P的发布状态和到下层节点的包P的中继状态的图形包括与非发布时段相对应的扁平部分。结果,环形缓存区域17中的存储量减少。在非发布时段之前和之后的图形的梯度是相同的(也就是包P的发布速度和中继速度)。Next, as described above with reference to FIGS. 10A and 10B , in the case where the upper layer node N 4 of the nodes N 9 and N 10 withdraws from the network system NS and the subsequent function stops, for the time since the stop until completion as shown in FIG. During the period of reconstruction of the topology shown in 10B and resuming distribution of packets P, no packets P were distributed to nodes N 9 and N 10 . Therefore, during the non-publishing period, although time elapses, no packet P is distributed from the upper node N. In the nodes N 9 and N 10 , as shown in FIG. 13B , a graph showing the distribution state of the packet P from the upper node and the relay state of the packet P to the lower node includes a flat part corresponding to the non-release period . As a result, the amount of storage in the ring cache area 17 is reduced. The gradients of the graphs before and after the non-publishing period are the same (that is, the publishing speed and the relaying speed of the package P).

接下来,在第一实施例中,在存在非发布时段的情况下,降低从环形缓存区域17读取数据的速度并且防止环形缓存区域17中发生下溢出(underflow)(参照图5B中的步骤S43和S44)。因此,从开始非发布时段时的时点起,降低对数据进行解码和显示等的速度,如图13B中的粗实线所示。当环形缓存区域17中的存储量变成三个包或更多时,将解码和显示等的速度重新设置为如图13B所示的初始速度。以与13A所示的情况类似的方式在开始发布时环形缓存区域17中的存储量为“M”,并且由于发生非发布时段而暂时变得小于“M”。不过,从环形缓存区域17读取数据的速度变得更慢,以便在过去了其中数据读取速度较慢的时间T3之后,存储量再次变成初始存储量“M”。Next, in the first embodiment, in the case where there is a non-release period, the speed of reading data from the ring buffer area 17 is reduced and underflow is prevented from occurring in the ring buffer area 17 (refer to the steps in FIG. 5B ). S43 and S44). Therefore, from the point of time when the non-distribution period is started, the speed of decoding and displaying data, etc. is reduced, as indicated by a thick solid line in FIG. 13B . When the storage amount in the ring buffer area 17 becomes three packs or more, the speed of decoding and display, etc. is reset to the initial speed as shown in FIG. 13B. The storage amount in the ring buffer area 17 is "M" at the start of distribution in a similar manner to the case shown in 13A, and temporarily becomes smaller than "M" due to the occurrence of a non-distribution period. However, the speed of reading data from the ring buffer area 17 becomes slower, so that after the elapse of time T3 in which the data reading speed is slow, the storage amount becomes the initial storage amount "M" again.

在图13B中,在非发布时段中,环形缓存区域17中的覆盖写入处理停止。In FIG. 13B , in the non-issue period, the overwrite write process in the ring buffer area 17 stops.

如图12A至12C所示,在节点N4退出之后,在不同于其他节点N1至N8和节点N11至N14的节点N9和N10中发生重放延迟。在第一实施例中,如图12A至12C所示,包P00被事先混合在内容中并且只将其发布到其他节点N1至N8和节点N11至N14As shown in FIGS. 12A to 12C , after the node N 4 exits, playback delays occur in the nodes N 9 and N 10 different from the other nodes N 1 to N 8 and nodes N 11 to N 14 . In the first embodiment, as shown in FIGS. 12A to 12C , a package P 00 is mixed in content in advance and distributed only to other nodes N 1 to N 8 and nodes N 11 to N 14 .

因此,当从节点N9和N10的位置来看时,如图13C所示,在当将空包P00发布到其他节点N1至N8和其他节点N11至N14时的时点上(在图13C中被示为“空数据”),如在图5A中的步骤S37中所述通过传递空包P00来发布内容。结果,在观看被存储在初始服务器S中的连续内容的情况下节点N9和N10中的小包号的连续性被中断。结果,传递与空包P00相对应的量的小包号(由图13C中的标符“PK”表示),以在如图13C所示的空包P00的发布时点上增加发布量,并且类似地将其中继到下层节点N。因此,类似地传递为解码和显示等处理提供的小包号并且以增加的状态来进行改变。Therefore, when viewed from the positions of nodes N 9 and N 10 , as shown in FIG. 13C , at the point in time when an empty packet P 00 is issued to other nodes N 1 to N 8 and other nodes N 11 to N 14 (shown as "null data" in FIG. 13C ), the content is distributed by passing the empty packet P 00 as described in step S37 in FIG. 5A . As a result, the continuity of packet numbers in the nodes N 9 and N 10 is interrupted in the case of viewing continuous content stored in the original server S. As a result, the small packet number (indicated by the label "PK" in FIG. 13C ) of an amount corresponding to the empty packet P 00 is delivered to increase the distribution amount at the point of issuance of the empty packet P 00 as shown in FIG. 13C , And similarly relay it to the lower node N. Therefore, the packet number provided for processing such as decoding and displaying is similarly passed and changed in incremented state.

如上所述,在根据第一实施例的网络控制处理中,当在网络系统NS中位于上层侧上的节点N中的中继功能停止时,被存储在下层节点N中的内容数据的消耗速度被控制得慢于停止之前的速度。结果,当内容数据的发布被中断时,可以在不给网络系统NS本身增加负担的情况下防止由于以类似于停止之前的速度来消耗内容数据引起的在下层节点N中发生中断处理或者严重的处理延迟。As described above, in the network control process according to the first embodiment, when the relay function in the node N located on the upper layer side in the network system NS is stopped, the consumption speed of the content data stored in the lower layer node N is controlled slower than it was before stopping. As a result, when the distribution of content data is interrupted, it is possible to prevent interrupt processing or serious damage from occurring in the lower layer node N due to consumption of content data at a speed similar to that before the stop without imposing a burden on the network system NS itself. Processing delay.

因此,即使在网络系统NS中所包括的任何一个节点N中中继功能停止的情况中,可以在不对下层节点N中的处理施加较大影响的情况下重新开始被停止的中继功能。因此,可以可靠地发布内容数据,同时提高网络系统NS自身的可靠性。Therefore, even in the case where the relay function is stopped in any one of the nodes N included in the network system NS, the stopped relay function can be restarted without exerting a large influence on the processing in the lower node N. Therefore, content data can be distributed reliably while improving the reliability of the network system NS itself.

由于内容数据为图像数据并且通过使环形缓存区域17中的图像数据存储量的减少速度低于在中继功能停止之前的减少速度来降低内容数据消耗速度,因此可以在不执行复杂速度控制处理的情况下以简单结构来减少消耗速度。Since the content data is image data and the content data consumption speed is reduced by making the reduction speed of the image data storage amount in the ring buffer area 17 slower than that before the relay function is stopped, it is possible to reduce the speed without performing complicated speed control processing. In the case of a simple structure to reduce the consumption rate.

此外,通过重复多次输出用于形成动态图像数据的相同静止图像,减小环形缓存区域17中的存储量的减少速度,以便可以通过简单处理来可靠地减少消耗速度。Furthermore, by repeatedly outputting the same still image for forming moving image data a plurality of times, the reduction speed of the storage amount in the ring buffer area 17 is reduced so that the consumption speed can be reliably reduced by simple processing.

此外,当检测到中继功能的停止时,将消耗速度控制到在中继功能停止之前处于最大值的消耗速度的4/5,以便可以在不对节点N中的处理施加较大影响的情况下减小消耗速度。消耗速度的减少量并不限于4/5,最终可以是不能被观众(节点N的用户)感知的读取速度减小量。In addition, when the stop of the relay function is detected, the consumption speed is controlled to 4/5 of the consumption speed that was at the maximum value before the relay function was stopped, so that it can be possible without exerting a large influence on the processing in the node N Reduce consumption rate. The reduction in consumption speed is not limited to 4/5, and may eventually be a reduction in reading speed that cannot be perceived by viewers (users of node N).

由于在中继功能停止之前重置除了位于其中继功能停止了的节点N之下的节点之外的所有节点N的中继功能之后发布空包P00,因此在其他节点N中的重放时基上逐渐发生延迟。结果,可以消除由于在位于中继功能停止了的节点N之下的节点N中的单位时间消耗时间的降低而引起的在该节点和所有其他节点N之间发生的重放时基上重放位置的偏移。Since the empty packet P 00 is issued after resetting the relay function of all nodes N except the node N whose relay function was stopped before the stop of the relay function, at the time of replay in other nodes N Basically, the delay occurs gradually. As a result, replay on the replay time base that occurs between this node and all other nodes N due to a decrease in elapsed time per unit time in a node N located below the node N whose relay function has stopped can be eliminated The offset of the position.

II.第一实施例的修订现在参照图14A和14B来讲述第一实施例的修订。 II. Modification of First Embodiment A modification of the first embodiment will now be described with reference to FIGS. 14A and 14B.

在前述第一实施例中,作为减小被存储在环形缓存区域17中的数据的消耗速度的方法,使用了减小从环形缓存区域17读取数据的速度本身的方法。除了该方法之外,可以采用以下两种方法来作为减小消耗速度的方法。In the foregoing first embodiment, as a method of reducing the consumption speed of data stored in the ring buffer area 17, a method of reducing the speed of reading data from the ring buffer area 17 itself is used. In addition to this method, the following two methods can be adopted as a method of reducing the consumption rate.

作为第一修订,不是从环形缓存区域17读取数据的速度本身,而是从环形缓存区域17所读取的数据的输出单元5的解码速度可以被减小。更具体地说,在图5B中的步骤S43的处理中,输出单元5中的数据解码速度被设定为减小到在正常状态下处于最大值的速度的约4/5。例如,当在上层节点N中的中继功能没有停止时,将对用于形成动态图像数据的静止图像数据进行解码时的帧率设定为每秒30帧就足够了,而当环形缓存区域17中的存储量降低时,将帧率设定为每秒29帧就足够了。环形缓存区域17中的存储量降低得越多,所设定的帧率就越低。As a first modification, not the speed of reading data from the ring buffer area 17 itself, but the decoding speed of the output unit 5 of the data read from the ring buffer area 17 may be reduced. More specifically, in the process of step S43 in FIG. 5B , the data decoding speed in the output unit 5 is set to be reduced to about 4/5 of the speed at the maximum value in the normal state. For example, when the relay function in the upper node N is not stopped, it is sufficient to set the frame rate at the time of decoding still image data for forming moving image data to 30 frames per second, and when the ring buffer area When the storage capacity in 17 is reduced, setting the frame rate at 29 frames per second is enough. The more the amount of storage in the ring buffer area 17 is reduced, the lower the frame rate is set.

在在步骤S43的处理中改变帧率的情况下,作为随后执行的步骤S44中的处理,如图14A所示,首先以正常读取速度从环形缓存区域17中读取作为图像信息的数据(步骤S53)。通过使用在步骤S43中所设定的帧率来在输出单元5中对所读取的数据进行解码(步骤S54),并且在图中未示出的显示器等上显示经过解码的数据(步骤S52)。另外在声音信息的情况中,以类似于图像信息的情况中的读取速度来从环形缓存区域17中读取数据(步骤S53),以所设定的帧率对所读取的数据进行解码,并且从图中未示出的扬声器等生成经过解码的数据(步骤S54和S52)。In the case of changing the frame rate in the process of step S43, as the process in step S44 performed subsequently, as shown in FIG. Step S53). The read data is decoded in the output unit 5 by using the frame rate set in step S43 (step S54), and the decoded data is displayed on a display not shown in the figure or the like (step S52 ). In addition, in the case of sound information, data is read from the ring buffer area 17 at a reading speed similar to that in the case of image information (step S53), and the read data is decoded at the set frame rate. , and generate decoded data from a speaker not shown in the figure or the like (steps S54 and S52).

如上所述,根据第一修订,通过使节点N中的处理中的数据解码速度慢于在中继功能停止之前的解码速度来减少环形缓存区域17中的数据消耗速度。因此,通过简单处理可以可靠地减小消耗速度。As described above, according to the first amendment, the data consumption speed in the ring buffer area 17 is reduced by making the data decoding speed in process in the node N slower than the decoding speed before the relay function stops. Therefore, the consumption rate can be reliably reduced by simple processing.

接下来,作为第二实施例,在内容数据为动态图像数据的情况下,不是从环形缓存区域17的读取速度本身和输出单元5中的解码速度,而是经过解码的数据的输出单元5中的显示速度可以被减小。更为具体地说,在图5B中的步骤S43的处理中,用于形成在输出单元5中所解码的动态图像数据的静止图像数据的多个片段的每一个的显示时间被增加到在正常状态下处于最大值的显示时间的约5/4。具体而言,当在上层节点N中的上层功能中的中继功能没有停止时,将与一张静止图像相对应的静止图像数据的显示时间(也就是每张静止图像的显示时间)设定为1/30秒就足够了,而当环形缓存区域17中的存储量降低时,将显示时间设定为1/29秒就足够了。随着环形缓存区域17中的存储量降低,将显示时间变得更长是足够的。Next, as a second embodiment, in the case where the content data is moving image data, not the reading speed itself from the ring buffer area 17 and the decoding speed in the output unit 5, but the output unit 5 of the decoded data The display speed in can be reduced. More specifically, in the processing of step S43 in FIG. 5B , the display time for each of a plurality of pieces of still image data forming the moving image data decoded in the output unit 5 is increased to the normal About 5/4 of the time the display is at maximum in the state. Specifically, when the relay function in the upper layer function in the upper layer node N is not stopped, the display time of the still image data corresponding to one still image (that is, the display time of each still image) is set It is sufficient to set the display time to 1/30 second, and it is sufficient to set the display time to 1/29 second when the storage amount in the ring buffer area 17 decreases. As the amount of storage in the ring buffer area 17 decreases, it is sufficient to make the display time longer.

在步骤S43的处理中改变如上所述的显示时间的情况下,作为随后执行的步骤S44中的处理,如图14B所示,以正常读取速度从环形缓存区域17中读取作为图像信息的数据(步骤S53)。通过使用正常帧率来在输出单元5中对所读取的数据进行解码(步骤S55)。之后,以在步骤S43中所设定的每静止图像的显示时间来在图中未示出的显示器等上显示经过解码的数据(步骤S56)。In the case where the display time as described above is changed in the processing of step S43, as the processing in step S44 performed subsequently, as shown in FIG. data (step S53). The read data is decoded in the output unit 5 by using the normal frame rate (step S55). Thereafter, the decoded data is displayed on a display not shown in the figure or the like at the display time per still image set in step S43 (step S56).

如上所述,根据第二修订,通过使与用于形成动态图像数据的静止图像数据相对应的静止图像的显示时间长于在中继功能停止之前的显示时间来减小环形缓存区域17中的消耗速度。因此,通过简单处理可以更为可靠地减小消耗速度。As described above, according to the second revision, the consumption in the ring buffer area 17 is reduced by making the display time of the still image corresponding to the still image data used to form the moving image data longer than the display time before the relay function is stopped. speed. Therefore, the consumption speed can be reduced more reliably by simple processing.

还可以在诸如软盘或硬盘等信息记录介质上记录与图3至6和图14的流程图相对应的程度,或经由因特网等来获取程序并且将其记录,并且通过通用计算机来读取和执行程序,从而使计算机起根据第一实施例的CPU 1的作用。It is also possible to record on an information recording medium such as a floppy disk or a hard disk to the extent corresponding to the flowcharts of FIGS. program, thereby causing the computer to function as the CPU 1 according to the first embodiment.

(III)第二实施例 (A)实施例首先参照图15至图22A和22B来讲述根据本发明的第二实施例。 (III) Second Embodiment (A) Embodiment First, a second embodiment according to the present invention will be described with reference to FIGS. 15 to 22A and 22B.

图15为框图,示出了根据第二实施例的网络系统的示意性结构。图16为框图,示出了在网络系统中所包括的节点的一般结构。图17A和17B示出了节点的详细结构。图18为流程图,示出了网络系统中的常规发布操作。图19为框图,示出了在部分节点的中继功能停止之后网络系统的示意性结构。图20A、20B和20C为流程图,示出了当中继功能停止时下层节点中的操作。图21示出了当中继功能停止时下层节点的操作。图22A和22B示出了根据第二实施例的修订的网络系统中的操作。Fig. 15 is a block diagram showing a schematic configuration of a network system according to the second embodiment. Fig. 16 is a block diagram showing a general structure of nodes included in the network system. 17A and 17B show the detailed structure of the node. Fig. 18 is a flowchart showing a conventional posting operation in a network system. Fig. 19 is a block diagram showing a schematic structure of a network system after the relay function of some nodes is stopped. 20A, 20B and 20C are flowcharts showing operations in the lower layer nodes when the relay function is stopped. Fig. 21 shows the operation of the lower layer node when the relay function is stopped. 22A and 22B show operations in the revised network system according to the second embodiment.

如图15所示,通过使用作为发布设备的节点0-1作为顶点的树形结构来形成根据第二实施例的网络系统NT。网络系统NT包括节点1-1、1-2和1-3来作为构成第一层级的节点、节点2-1和2-2来作为构成第二层级的节点、节点3-1、3-2、3-3和3-4来作为构成第三层级的节点,以及节点4-1、4-2和4-3来作为构成第四层级的节点。节点经由作为有线电路或无线电路的线路L相互连接,以能够使用节点0-1作为顶点来相互发送/接收信息。作为节点的具体例子,位于最高层的节点0-1例如与作为内容发布源的服务器相对应,并且除了节点0-1之外的所有节点例如为家用的个人计算机。节点可以是家用的机顶盒或路由器。As shown in FIG. 15, the network system NT according to the second embodiment is formed by a tree structure using nodes 0-1 as distribution devices as vertices. The network system NT includes nodes 1-1, 1-2, and 1-3 as nodes constituting the first hierarchy, nodes 2-1 and 2-2 as nodes constituting the second hierarchy, nodes 3-1, 3-2 , 3-3, and 3-4 as nodes constituting the third level, and nodes 4-1, 4-2, and 4-3 as nodes constituting the fourth level. Nodes are connected to each other via a line L which is a wired circuit or a wireless circuit to be able to mutually transmit/receive information using nodes 0-1 as vertices. As specific examples of nodes, node 0-1 located at the highest layer corresponds to a server as a content distribution source, for example, and all nodes other than node 0-1 are, for example, personal computers for home use. Nodes can be home set-top boxes or routers.

在图15所示的网络系统NT中,从节点0-1发布的并且被节点用户所期望的内容经由线路L通过高于该节点的层级中所包括的其他节点进行发布。显然,内容是以所谓的包为单位以数字状态进行发布的。此外,发布了如下包,该包被分配有表示缓冲存储器104(参照图16)等的重放或存储顺序的连续包号。In the network system NT shown in FIG. 15 , content distributed from nodes 0-1 and desired by node users is distributed via line L through other nodes included in a hierarchy higher than the node. Apparently, content is distributed in digital state in so-called packages. In addition, packs are issued that are assigned consecutive pack numbers indicating the order of playback or storage in the buffer memory 104 (refer to FIG. 16 ) or the like.

下面参照图16和图17A和17B来讲述每一个节点的具体结构。下面来讲述如图15所示的网络系统NT中的节点3-2的详细结构。其他节点的每一个的详细结构与节点3-2的结构相同。The specific structure of each node will be described below with reference to FIG. 16 and FIGS. 17A and 17B. Next, the detailed structure of the node 3-2 in the network system NT shown in FIG. 15 will be described. The detailed structure of each of the other nodes is the same as that of node 3-2.

如图16所示,节点3-2具有CPU 100,作为检索装置、连接装置、发布中继装置、发布控制装置和切换装置;解码器102;表存储器103;缓冲存储器104;宽带接口105;定时器106;扬声器107;以及作为显示装置的CRT(阴极射线管)108。CPU 100、解码器102、表存储器103、缓冲存储器104、宽带接105和定时器106经由总线109相互连接。As shown in Figure 16, node 3-2 has CPU 100, as retrieval device, connection device, release relay device, release control device and switching device; Decoder 102; Table memory 103; Buffer memory 104; Broadband interface 105; Timing 106; a speaker 107; and a CRT (cathode ray tube) 108 as a display device. CPU 100, decoder 102, table memory 103, buffer memory 104, broadband interface 105 and timer 106 are connected to each other via bus 109.

接下来讲述操作。宽带接105被直接连接到线路L。如图15所示,节点3-2中的宽带接105经由线路L被连接到上一层级上的节点2-1中所包括的宽带接口105,并且还经由线路L被连接到下一层级上的节点4-1至4-3中所包括的宽带接口105。可以在节点中以包为单位来执行内容的发送/接收和内容发送/接收所需的控制信息的发送/接收。The operation is described next. The broadband connection 105 is directly connected to line L. As shown in FIG. 15, the broadband interface 105 in the node 3-2 is connected to the broadband interface 105 included in the node 2-1 on the upper level via the line L, and is also connected to the next level via the line L. The broadband interface 105 included in the nodes 4-1 to 4-3. Transmission/reception of content and transmission/reception of control information required for content transmission/reception can be performed in units of packets in a node.

在作为非易失存储器的表存储器103中,存储了如图17A所示的拓扑表。在拓扑表T中,除了表示层级的层信息之外,还包括有节点号和网络系统N中的IP(因特网协议)地址,其中节点号用于根据包括有存储有拓扑表T的表存储器103的节点在网络系统NT中的位置来识别位于较高或较低层级上的其他节点的。由于在图17A中所示的拓扑表T与节点3-2相对应,因此它包括如图15所示的高出节点3-2两层的层级(层2)上的节点1-1的层信息、节点1-1的节点号和节点1-1的IP地址(例如“100.100.10.10”)。In the table memory 103 which is a nonvolatile memory, a topology table as shown in FIG. 17A is stored. In the topology table T, in addition to the layer information representing the hierarchy, it also includes a node number and an IP (Internet Protocol) address in the network system N, wherein the node number is used to store the topology table T according to the table memory 103 The position of the node in the network system NT is used to identify other nodes located on a higher or lower level. Since the topology table T shown in FIG. 17A corresponds to node 3-2, it includes the layer of node 1-1 on a level (layer 2) two layers higher than node 3-2 as shown in FIG. 15 information, the node number of node 1-1, and the IP address of node 1-1 (eg "100.100.10.10").

类似地,拓扑表T包括:位于节点3-2的上一层的层级(层1)上的节点2-1的层信息、节点2-1的节点号和节点2-1的IP地址(例如“100.100.10.21”);位于节点3-2的下一层的层级(层-1)上的节点4-1的层信息、节点4-1的节点号和节点4-1的IP地址(例如“100.100.10.30”);位于节点3-2的下一层的层级(层-1)上的节点4-2的层信息、节点4-2的节点号和节点4-2的IP地址(例如“100.100.10.31”);以及位于节点3-2的下一层的层级(层-1)上的节点4-3的层信息、节点4-3的节点号和节点4-3的IP地址(例如“100.100.10.32”);Similarly, the topology table T includes: the layer information of the node 2-1 located on the layer (layer 1) above the node 3-2, the node number of the node 2-1, and the IP address of the node 2-1 (for example, "100.100.10.21"); the layer information of node 4-1, the node number of node 4-1, and the IP address of node 4-1 (e.g. "100.100.10.30"); the layer information of node 4-2, the node number of node 4-2, and the IP address of node 4-2 (e.g. "100.100.10.31"); and the layer information of the node 4-3, the node number of the node 4-3, and the IP address of the node 4-3 ( For example "100.100.10.32");

参照图16,作为易失存储器的缓冲存储器104为所谓FIFO(先进先出)形式的环形缓冲存储器。缓冲存储器104只通过预设的记录容量根据发布顺序来存储与发布的内容相对应的数据,在CPU 100的控制下根据所存储的顺序来读取数据,并且经由总线109将所读取的数据输出给解码器102。Referring to FIG. 16, the buffer memory 104 which is a volatile memory is a ring buffer memory in a so-called FIFO (First In First Out) format. The buffer memory 104 only stores the data corresponding to the distributed content according to the distribution order through the preset recording capacity, reads the data according to the stored order under the control of the CPU 100, and transfers the read data via the bus 109 output to the decoder 102.

下面参照图17B来讲述网络系统NT处于正常状态的情况中的缓冲存储器104的操作。Next, the operation of the buffer memory 104 in the case where the network system NT is in a normal state will be described with reference to FIG. 17B.

如上所述,缓冲存储器104是以环形来构造的。例如,如图17B的上半部分概念性所示,内容数据经由宽带接口105顺时针输入,并且如图17B的下半部分概念性所示,将数据顺时针输出到解码器102。在如图17B所示的例子中,影线部分中的数据为实际存储的内容数据。与如图17B的下半部分中的箭头所示的将数据输出到解码器102并行,从宽带接口105输入新数据并且按照图17B的上半部分中的箭头所示的方向进行存储。在正常状态下,每单位时间缓冲存储器104中的数据输入量和数据输出量是相同的,并且缓冲存储器104中的存储量保持恒定(更为具体地为缓冲存储器104的一半的存储量)As described above, the buffer memory 104 is structured in a ring shape. For example, content data is input clockwise via broadband interface 105 as conceptually shown in the upper half of FIG. 17B , and data is output clockwise to decoder 102 as conceptually shown in the lower half of FIG. 17B . In the example shown in FIG. 17B, the data in the hatched portion is actually stored content data. In parallel to outputting data to the decoder 102 as indicated by the arrow in the lower half of FIG. 17B , new data is input from the broadband interface 105 and stored in the direction indicated by the arrow in the upper half of FIG. 17B . In a normal state, the data input amount and the data output amount in the buffer memory 104 per unit time are the same, and the storage amount in the buffer memory 104 is kept constant (more specifically, half the storage amount of the buffer memory 104)

另一方面,当在网络系统NT中的拓扑发生改变这种情况下作为数据的包的到达时间发生波动时,可以通过缓冲存储器104来吸收波动。在解码器102一次全部地对预定数据量进行解码的情况下或者在由于某种原因断开拓扑的情况下,缓冲存储器104起到总是存储预定数据量的作用,以便缓冲存储器104不变成空的,并且解码器102中的重放处理不被中断。On the other hand, when the arrival time of a packet as data fluctuates in such a case where the topology in the network system NT changes, the fluctuation can be absorbed by the buffer memory 104 . In the case where the decoder 102 decodes a predetermined amount of data all at once or when the topology is disconnected for some reason, the buffer memory 104 plays a role of always storing the predetermined amount of data so that the buffer memory 104 does not become empty, and playback processing in decoder 102 is not interrupted.

再次参照图16,定时器106执行计数,用于检测网络系统NT中的任何一个节点中的中继功能的停止,如下所述。Referring again to FIG. 16, the timer 106 performs counting for detecting the stop of the relay function in any one node in the network system NT, as described below.

解码器102经由总线109对从缓冲存储器104中输出的内容数据进行解码,将数据中的图像输出到显示图像的CRT 108,并且经由扬声器107输出数据中的声音。 The decoder 102 decodes content data output from the buffer memory 104 via the bus 109 , outputs images in the data to the CRT 108 that displays the images, and outputs sound in the data via the speaker 107 .

接下来,将新节点连接到网络系统NT。通过使用图18来一次全部讲述包括了新节点和发布了内容的正常状态中所开始和执行的操作。图18为流程图,示出了将节点3-1新连接到网络系统NT中的节点2-1以便得到如图15所示的网络系统NT并且将内容发布到节点3-1的情况的例子。在如下所述的实施例中,假设缓冲存储器104的总存储容量为与16包的数据量相对应的64千字节。Next, connect the new node to the network system NT. Operations started and performed in a normal state including new nodes and published content are described all at once by using FIG. 18 . FIG. 18 is a flowchart showing an example of a case where the node 3-1 is newly connected to the node 2-1 in the network system NT so as to obtain the network system NT shown in FIG. 15 and distribute content to the node 3-1 . In the embodiment described below, it is assumed that the total storage capacity of the buffer memory 104 is 64 kilobytes corresponding to the data amount of 16 packets.

当节点3-1通过被物理连接到节点2-1来新进入网络系统NT时,首先节点3-1中的CPU 100设定节点3-1中的缓冲存储器104(下面在每一个图中,缓冲存储器104自身可被适当称为“环形缓存”)。节点3中的CPU 100将表示解码器102中的重放速度的速度参数(在图中被示为“速度Reg”)设定为与正常重放速度相同,并且将作为数据供应源的节点的IP地址设定到上一层上的节点2-1中(当节点3-1被连接到节点2-1时,通过节点3-1来得到节点2-1的IP地址)。为了计算用于在缓冲存储器104中存储数据的地址,CPU 100对用于对从节点2-1发布的输入数据的字节数进行计数的输入计数器(16位)和表示由解码器102所重放的数据量的输出计数器(16位)的每一个初始化为“零”(步骤S101)。When the node 3-1 newly enters the network system NT by being physically connected to the node 2-1, first the CPU 100 in the node 3-1 sets the buffer memory 104 in the node 3-1 (below in each figure, Buffer memory 104 itself may be appropriately referred to as a "ring cache"). The CPU 100 in the node 3 sets a speed parameter indicating the playback speed in the decoder 102 (shown as "speed Reg" in the figure) to be the same as the normal playback speed, and sets The IP address is set in the node 2-1 on the upper layer (when the node 3-1 is connected to the node 2-1, the IP address of the node 2-1 is obtained by the node 3-1). In order to calculate the address for storing data in the buffer memory 104, the CPU 100 counts the input counter (16 bits) for counting the number of bytes of the input data issued from the node 2-1 and the input counter (16 bits) representing the value reset by the decoder 102. Each of the output counters (16 bits) of the put data amount is initialized to "zero" (step S101).

用于存储被输入到缓冲存储器104的数据的地址为“缓冲存储器104中的头部地址和输入计数器的值”,并且用于将数据读取到解码器102的地址为“缓冲存储器104中的头部地址+输出计数器的值”。The address for storing the data input to the buffer memory 104 is "the head address in the buffer memory 104 and the value of the input counter", and the address for reading data into the decoder 102 is "the address of the head in the buffer memory 104". head address + output counter value".

在完成必要的初始化处理之后,接下来节点3-1中的CPU 100参照表存储器103中的拓扑表T将用于请求开始内容数据传输的开始消息发送到节点2-1(步骤S102)。After completing necessary initialization processing, next CPU 100 in node 3-1 refers to topology table T in table memory 103 and sends a start message for requesting start of content data transmission to node 2-1 (step S102).

接下来,用于接收开始消息的节点2-1(步骤S115)中的CPU 1确定所接收的消息是否为开始消息(步骤S116)。由于当前所接收的消息为开始消息(步骤S116中为Y),因此CPU 1将当前由节点2-1进行重放的数据的包号作为开始包号返回给节点3-1(步骤S117)。Next, the CPU 1 in the node 2-1 for receiving the start message (step S115) determines whether the received message is a start message (step S116). Because the currently received message is a start message (Y in the step S116), the CPU 1 returns to the node 3-1 (step S117) the packet number of the data currently played back by the node 2-1 as the start packet number.

当节点3-1从节点2-1得到开始包号时,节点3-1将其存储在缓冲存储器104上的对应包号的区域中(步骤S103)并且将用于请求实际内容数据的数据请求消息发送到节点2-1(步骤S104)。数据请求消息包括表示要被发送到节点3-1的数据的包号的信息和发布速度(节点2-1中的参数“速度Reg”)。When the node 3-1 gets the start packet number from the node 2-1, the node 3-1 stores it in the area corresponding to the packet number on the buffer memory 104 (step S103) and uses the data request for requesting the actual content data The message is sent to node 2-1 (step S104). The data request message includes information indicating the packet number of the data to be sent to the node 3-1 and the distribution speed (parameter "speed Reg" in the node 2-1).

已经接收了数据请求消息(步骤S115)的节点2-1再次确定所接收的消息是否为开始消息(步骤S116)。由于当前所接收的消息为数据请求消息(步骤S116中为N),因此节点2-1确定所接收的消息是否为请求拓扑表T的消息(步骤S118)。The node 2-1 having received the data request message (step S115) determines again whether the received message is a start message (step S116). Since the currently received message is a data request message (N in step S116), the node 2-1 determines whether the received message is a message requesting a topology table T (step S118).

执行步骤S118中的确定操作(以及在步骤S118中为“Y”的情况下从节点2-1发送拓扑表T的处理),以为当网络系统NT中的任何一个节点中的中继功能停止时,被连接在其中继功能停止了的节点之下的另一个节点得到网络系统NT的拓扑的情况做准备。在当前节点3-1和节点2-1之间的处理中该操作是无意义的处理(因此,自然不执行从节点2-1发送拓扑表T(步骤S119)的处理)。The determination operation in step S118 (and the process of transmitting the topology table T from the node 2-1 in the case of "Y" in step S118) is performed so that when the relay function in any one of the nodes in the network system NT stops , prepare for a case where another node connected under the node whose relay function is stopped acquires the topology of the network system NT. This operation is meaningless processing in the processing between the current node 3-1 and the node 2-1 (therefore, the processing of transmitting the topology table T from the node 2-1 (step S119) is naturally not performed).

由于在步骤S118的确定中当前所接收的消息为数据请求消息而非拓扑请求消息(步骤S118中为N),因此接下来确定所接收的消息是否为数据请求消息(步骤S120)。由于当前所接收的消息为数据请求消息(步骤S120中为Y),以数据请求消息中所指定的重放速度(当前为1X)(经由线路L)将一个包的数据发送到节点3-1(步骤S121)。当在步骤S120中确定出此时从节点3-1接收到的消息不是开始消息、拓扑表请求消息和数据请求消息中的任何一个时(步骤S120中为N),将预设的错误消息返回到节点3-1(步骤S122)。Since the currently received message in the determination of step S118 is a data request message rather than a topology request message (N in step S118), it is next determined whether the received message is a data request message (step S120). Since the currently received message is a data request message (Y in step S120), the data of one packet is sent (via line L) to the node 3-1 at the playback speed (currently 1X) specified in the data request message (step S121). When it is determined in step S120 that the message received from node 3-1 is not any one of start message, topology table request message and data request message (N in step S120), the preset error message is returned to node 3-1 (step S122).

与这些操作并行,设定节点3-1,以与数据请求消息的输出同步地开始节点3-1中的定时器106中的计数,并且当计数变成“0”时,生成定时器中断指令(步骤S105)。节点3-1等待,直到在定时器106的计数中过去了预定时间为止(步骤S106)。当来自节点2-1的数据没有在预定时间内到达时(步骤S106中为N),执行定时器中断指令,并且对节点2-1执行再次连接处理。In parallel with these operations, the node 3-1 is set to start counting in the timer 106 in the node 3-1 in synchronization with the output of the data request message, and when the count becomes "0", a timer interrupt instruction is generated (step S105). The node 3-1 waits until a predetermined time elapses in the count of the timer 106 (step S106). When the data from the node 2-1 does not arrive within the predetermined time (N in step S106), a timer interrupt instruction is executed, and reconnection processing is performed on the node 2-1.

另一方面,当来自节点2-1的数据在预定时间内到达时(步骤S106中为Y),确定所到达的数据是否被正确发送(步骤S107)。如果数据被正确发送(步骤S107中为Y),则禁止定时器中断指令的执行(步骤S108),并且将所接收的数据的一个包的量存储在缓冲存储器104中。与该操作相关,存储在缓冲存储器104中的输入计数器的值和包号仅更新一个包,并且此外只通过当前加速度(在步骤S101中的初始化处理中进行设定)来增加速度参数(步骤S109)。On the other hand, when the data from the node 2-1 arrives within the predetermined time (Y in step S106), it is determined whether the arrived data is correctly transmitted (step S107). If the data is correctly transmitted (Y in step S107), execution of the timer interrupt instruction is prohibited (step S108), and one packet of received data is stored in the buffer memory 104. In connection with this operation, the value of the input counter and the packet number stored in the buffer memory 104 are only updated for one packet, and in addition only the velocity parameter (step S109) is increased by the current acceleration (set in the initialization process in step S101). ).

确定被存储在缓冲存储器104中并且没被输出到解码器102的数据的量是否变成了八个包(也就是缓冲存储器104的一半的存储量)(步骤S110)。当量小于八个包时(步骤S110中为Y),节点3-1返回到步骤S104,以接收下一个包和重复上述处理。另一方面,当被存储在缓冲存储器104中的数据量变成八个包时(步骤S110中为N),将速度参数和加速度重置为初始值(步骤S111),开始将数据输出到解码器102(步骤S112),并且返回到步骤S104中的处理,以继续从节点2-1接收随后的数据。It is determined whether the amount of data stored in the buffer memory 104 and not output to the decoder 102 becomes eight packs (that is, half the storage amount of the buffer memory 104) (step S110). When the amount is less than eight packets (Y in step S110), the node 3-1 returns to step S104 to receive the next packet and repeat the above processing. On the other hand, when the amount of data stored in the buffer memory 104 becomes eight packs (N in step S110), the speed parameter and the acceleration are reset to initial values (step S111), and data output to the decoder is started. node 102 (step S112), and returns to the processing in step S104 to continue receiving subsequent data from the node 2-1.

通过重复步骤S104至S110中的处理,从节点2-1发布的速度以此时的加速度(0.2倍的初始值)进行增加,直到将与八个包相对应的数据量存储在缓冲存储器104中为止,并且以高速对缓冲存储器104进行充电,直到数据接收变成错误为止(步骤S107中为Y)。另一方面,当在数据接收中发生错误时(步骤S107中为Y),之后的发布速度只以该加速度的0.5倍进行减少(步骤S113),以可靠地进行数据发送,并且然后继续发布。By repeating the processing in steps S104 to S110, the speed issued from the node 2-1 is increased at the current acceleration (0.2 times the initial value) until the data amount corresponding to eight packets is stored in the buffer memory 104 and the buffer memory 104 is charged at a high speed until data reception becomes an error (Y in step S107). On the other hand, when an error occurs in data reception (Y in step S107), the subsequent distribution speed is reduced by only 0.5 times the acceleration (step S113) to reliably perform data transmission, and then continue distribution.

在步骤S112的处理中,当将八个包的数据量存储在缓冲存储器104中并且将数据输出到解码器102时,解码器102根据此时缓冲存储器104中的输出计数器的值来获取从缓冲存储器104输出的数据的地址(步骤S125),仅以一个包来对数据进行解码和重放(步骤S126),并且只以一个包来增加缓冲存储器104中的输出计数器的值(步骤S127)。只通过八个包的量来重复处理,从而执行数据重放处理。In the process of step S112, when the data amount of eight packets is stored in the buffer memory 104 and the data is output to the decoder 102, the decoder 102 acquires the data from the buffer memory 104 according to the value of the output counter in the buffer memory 104 at this time. The address of the data output by the memory 104 (step S125), the data is decoded and reproduced by only one packet (step S126), and the value of the output counter in the buffer memory 104 is incremented by only one packet (step S127). The processing is repeated only by the amount of eight packets, thereby performing data playback processing.

如上所述,通过执行节点2-1的数据发布和节点3-1中的重放处理,执行节点3-1中的数据重放处理,同时将缓冲存储器104中的数据量保持恒定。As described above, by executing the data distribution of the node 2-1 and the playback processing in the node 3-1, the data playback processing in the node 3-1 is performed while keeping the amount of data in the buffer memory 104 constant.

接下来参照图19至21来具体讲述在节点2-1中的内容中继功能由于如下原因停止的情况中所执行的处理,所述原因诸如如图15所示的网络系统NT中电源开关被切断Next, the processing performed in the case where the content relay function in the node 2-1 stops due to reasons such as the power switch being turned off in the network system NT as shown in FIG. 15 will be specifically described with reference to FIGS. 19 to 21 cut off

在根据第二实施例的网络系统NT中,当节点2-1中的中继功能由于上述原因而停止时,如图19所示,被连接到初始节点2-1的节点3-1和3-2自动执行拓扑重构操作,用于经由线路L’将连接到位于节点2-1的上一层级上的节点1-1,并且继续内容的发布。In the network system NT according to the second embodiment, when the relay function in the node 2-1 stops due to the above reasons, as shown in FIG. 19, the nodes 3-1 and 3 connected to the initial node 2-1 -2 Automatically perform a topology reconfiguration operation for connecting to the node 1-1 located on the upper layer of the node 2-1 via the line L', and continue distribution of content.

首先来讲述在如图19所示节点2-1中的中继功能停止了的情况下节点3-1和3-2中的一般操作。First, general operations in the nodes 3-1 and 3-2 in the case where the relay function in the node 2-1 is stopped as shown in FIG. 19 will be described.

当如图19所示节点2-1中的中继功能停止时,甚至在如图18所示的步骤S106的处理中过去了预定时间之后,下一层级上的节点3-1和3-2的每一个中的CPU 100(由于继续正常状态中的发布,因此重复参照图18所述的处理)也不能从节点2-1接收数据。当甚至在过去了预定时间之后也不能接收数据时(步骤S106中为N),节点3-1和3-2的每一个中的CPU 100识别出位于上一层级上的节点2-1中的中继功能停止并且拓扑被断开。When the relay function in node 2-1 is stopped as shown in FIG. 19, even after a predetermined time elapses in the processing of step S106 as shown in FIG. The CPU 100 in each of the (since the issuance in the normal state is continued, so the processing described with reference to FIG. 18 is repeated) cannot receive data from the node 2-1 either. When the data cannot be received even after the predetermined time elapses (N in step S106), the CPU 100 in each of the nodes 3-1 and 3-2 recognizes the The trunking function is stopped and the topology is disconnected.

之后,在识别出拓扑断开时,参照被存储在表存储器103中的拓扑表T,重新构造拓扑,以便经由新形成的线路L’将节点3-1和3-2连接到高出两个层级的层级上的节点1-1。从节点3-1和3-2的每一个中的表存储器103中的拓扑表T中删掉节点2-1,并且同时将节点1-1的层信息更新为“1”。之后,节点3-1和3-2的每一个将拓扑请求消息发送到节点1-1(参照图18中的步骤S118和S119),并且从节点1-1中得到新的拓扑表T。根据所得到的拓扑表T,识别出位于节点1-1的上一层级上的节点为节点0-1,并且同时将其层信息为“2”的节点0-1的IP地址和节点号添加到拓扑表T中(在节点3-1和3-2的每一个中),从而完成拓扑的重构。Afterwards, when a topology disconnection is recognized, the topology is restructured with reference to the topology table T stored in the table memory 103 so as to connect the nodes 3-1 and 3-2 to two higher Node 1-1 on the level of the hierarchy. The node 2-1 is deleted from the topology table T in the table memory 103 in each of the nodes 3-1 and 3-2, and at the same time the layer information of the node 1-1 is updated to "1". After that, each of nodes 3-1 and 3-2 sends a topology request message to node 1-1 (refer to steps S118 and S119 in FIG. 18), and obtains a new topology table T from node 1-1. According to the obtained topology table T, identify the node on the upper level of node 1-1 as node 0-1, and at the same time add the IP address and node number of node 0-1 whose layer information is "2" into the topology table T (in each of the nodes 3-1 and 3-2), thereby completing the reconstruction of the topology.

之后,节点3-1和3-2的每一个请求节点1-1发送包号在那时才得到的包之后的包(参照图18中的步骤S104),并且节点1-1接收请求并且将随后数据发送到作为新目的地的节点3-1和3-2。Afterwards, each of the nodes 3-1 and 3-2 requests the node 1-1 to send a packet following the packet whose packet number is obtained at that time (refer to step S104 in FIG. 18 ), and the node 1-1 receives the request and sends The data is then sent to nodes 3-1 and 3-2 as new destinations.

下面参照图20A至20C来讲述在拓扑的重构期间在节点1-1以及节点3-1和3-2的每一个中的缓冲存储器104中的变化。Changes in the buffer memory 104 in the node 1-1 and each of the nodes 3-1 and 3-2 during reconfiguration of the topology will be described below with reference to FIGS. 20A to 20C.

如上所述,当节点2-1的中继功能停止时,位于节点2-1的下一层的层级上的节点3-1和3-2不能从节点2-1接收数据,所以节点3-1和3-2的每一个中的缓冲存储器104中的数据量减小。同时,节点3-1和3-2中的解码器102继续从缓冲存储器104中读取用于重放处理的数据。因此,如图20A所示,每一个缓冲存储器104中的数据继续降低。As described above, when the relay function of the node 2-1 stops, the nodes 3-1 and 3-2 located on the layer below the node 2-1 cannot receive data from the node 2-1, so the node 3-1 The amount of data in the buffer memory 104 in each of 1 and 3-2 decreases. Meanwhile, decoders 102 in nodes 3-1 and 3-2 continue to read data from buffer memory 104 for playback processing. Therefore, as shown in FIG. 20A, the data in each buffer memory 104 continues to decrease.

另一方面,位于节点2-1的上一层上的节点1-1不能将数据传输到位于较低层级上的节点,从而节点1-1中的缓冲存储器104中的数据量持续增加,如图20B所示。 On the other hand, the node 1-1 located on the upper layer of the node 2-1 cannot transfer data to the node located on the lower layer, so that the amount of data in the buffer memory 104 in the node 1-1 continues to increase, as Figure 20B.

在拓扑进行重构之后,新连接在节点1-1之下的层级上的节点3-1和3-2必须尽快将它们的缓冲存储器104恢复到正常状态(也就是数据被存储到一半的状态)。如果不能继续从上层节点接收数据并且节点3-1和3-2中的解码器102继续从缓冲存储器104中读取数据,则最后缓冲存储器104变成空的并且节点3-1和3-2中的重放处理被中断。After the topology has been reconstructed, the nodes 3-1 and 3-2 newly connected on the level below the node 1-1 must restore their buffer memory 104 to the normal state (that is, the state where the data is stored halfway) as soon as possible. ). If data cannot continue to be received from upper nodes and decoders 102 in nodes 3-1 and 3-2 continue to read data from buffer memory 104, then finally buffer memory 104 becomes empty and nodes 3-1 and 3-2 Replay processing in was interrupted.

结果,在第二实施例中,试图实现它们的缓冲存储器104中的存储量的尽早恢复的节点3-1和3-2将用于增加发布速度的控制信号(命令)发送到新连接的节点1-1。例如,用于接收指令的节点1-1以节点3-1和3-2中的正常重放处理速度的两倍的发布速度将数据发布到节点3-1和3-2中的缓冲存储器104,如图20C所示。通过该操作,缓冲存储器104中的存储量几乎与要求重构拓扑的时间同时恢复到正常状态。As a result, in the second embodiment, the nodes 3-1 and 3-2 trying to realize the early recovery of the storage amounts in their buffer memories 104 transmit control signals (commands) for increasing the issue speed to newly connected nodes 1-1. For example, node 1-1 for receiving instructions issues data to buffer memories 104 in nodes 3-1 and 3-2 at an issue speed twice the normal playback processing speed in nodes 3-1 and 3-2 , as shown in Figure 20C. Through this operation, the storage amount in the buffer memory 104 returns to the normal state almost simultaneously with the time required to reconfigure the topology.

作为增加发布速度的模式,更为具体地说,通过与线路L和L’的所谓带宽(频带)有关的每一个节点中的CPU 100的传输处理能力来确定发布速度的最大值。考虑到一般冗余,速度约为上述正常重放处理速度的两倍是合适的。As a mode of increasing the distribution speed, more specifically, the maximum value of the distribution speed is determined by the transmission processing capability of the CPU 100 in each node related to the so-called bandwidth (frequency band) of the lines L and L'. Considering general redundancy, a speed of about twice the normal replay processing speed described above is appropriate.

作为改变发布速度的另一模式,例如不是立即使发布速度翻倍,而可以使节点1-1以预定速率连续增加发布速度,直到从节点3-1和3-2发送了如下控制信号为止,该控制信号用于通知节点3-1和3-2的每一个中的缓冲存储器104中的存储量已经到达了预定量这一事实。由于发布速度增加的极限取决于节点1-1的输出能力和用于连接节点3-1和3-2的线路L’的带宽,因此通过节点与另一个控制器之间交换必要的消息来掌握来自位于较高层级上的节点的包是否到达了位于较低层级上的节点。将发布速度增加到可允许的最高速度,并且以逐渐增加的速度来传输包。这样,每一个缓冲存储器104中的存储量可以在最短时间内恢复。节点3-2以与从节点1-1接收包的速度相同的速度来将包发送到下层节点4-1和4-2。As another mode of changing the issuing speed, for example, instead of immediately doubling the issuing speed, the node 1-1 may continuously increase the issuing speed at a predetermined rate until the following control signals are sent from the nodes 3-1 and 3-2, This control signal is used to notify the fact that the storage amount in the buffer memory 104 in each of the nodes 3-1 and 3-2 has reached a predetermined amount. Since the limit of the increase in the release speed depends on the output capability of the node 1-1 and the bandwidth of the line L' used to connect the nodes 3-1 and 3-2, it is grasped by exchanging necessary messages between the node and another controller Whether a packet from a node on a higher level reaches a node on a lower level. Increase the publishing speed to the highest allowable speed, and transmit packets at increasing speeds. In this way, the storage amount in each buffer memory 104 can be recovered in the shortest time. The node 3-2 transmits the packet to the lower nodes 4-1 and 4-2 at the same speed as the speed at which the packet is received from the node 1-1.

接下来,使用流程图21来一次全部讲述当根据第二实施例的网络系统NT中的节点2-1的中继功能停止并且将位于较低层级上的节点3-1和3-2再次连接到节点1-1从而重构如图19所示的网络系统NT的拓扑时所执行的操作。下面来讲述被连接到节点2-1的两个节点3-1和3-2中的节点3-1中的再连接操作。另外,类似地执行节点3-2中的再连接操作。Next, when the relay function of the node 2-1 in the network system NT according to the second embodiment is stopped and the nodes 3-1 and 3-2 located on the lower hierarchy are connected again Operations performed when reaching the node 1-1 to reconstruct the topology of the network system NT as shown in FIG. 19 . Next, the reconnection operation in the node 3-1 of the two nodes 3-1 and 3-2 connected to the node 2-1 will be described. In addition, the reconnection operation in the node 3-2 is similarly performed.

直到节点2-1的中继功能停止,在节点3-1中重复如图18所示的处理。当甚至在如图18所示的步骤S106的处理中过去了预定时间之后来自节点2-1的数据还没有到达时,节点3-1确定位于较高层级上的节点2-1中的中继功能停止,并且开始树形结构的再连接。Until the relay function of the node 2-1 stops, the processing shown in FIG. 18 is repeated in the node 3-1. When the data from the node 2-1 has not arrived even after a predetermined time elapses in the processing of step S106 shown in FIG. The function is stopped and the reconnection of the tree structure is started.

具体而言,如图21所示,在不能在预定时间内接收来自节点2-1的数据的情况下,在节点3-1中生成定时器中断指令(参照图18中的步骤S105),从表存储器103中的拓扑表T中获取位于节点2-1上一层的层级上的节点1-1,也就是其层信息从节点3-1看为“2”的节点1-1的IP地址(步骤S130),并且删掉与节点2-1有关的拓扑表T中的信息。之后,节点3-1将用于获取节点1-1中的拓扑表T的拓扑表请求消息发送到由IP地址表示的节点1-1(步骤S131)。Specifically, as shown in FIG. 21, when the data from the node 2-1 cannot be received within a predetermined time, a timer interrupt instruction is generated in the node 3-1 (refer to step S105 in FIG. 18 ), and from In the topology table T in the table memory 103, the node 1-1 located on the layer above the node 2-1 is obtained, that is, the IP address of the node 1-1 whose layer information is viewed as "2" from the node 3-1 (step S130), and delete the information in the topology table T related to the node 2-1. After that, the node 3-1 sends a topology table request message for acquiring the topology table T in the node 1-1 to the node 1-1 indicated by the IP address (step S131).

在拓扑重构处理期间,在位于较高层级上的节点1-1中,执行与在如图4所示的节点2-1中所执行的操作(图18中的步骤S115至S122)相同的操作(图21中的步骤S135至S142)。确定从节点3-1发送的消息的类型(步骤S136、S137和S140)并且执行根据所确定的消息类型的处理(S139、S138、S141和S142)。During the topology reconfiguration process, in the node 1-1 located on the higher hierarchy, the same operation as that performed in the node 2-1 shown in FIG. 4 (steps S115 to S122 in FIG. 18 ) is performed. operation (steps S135 to S142 in FIG. 21). The type of the message sent from the node 3-1 is determined (steps S136, S137 and S140) and processing according to the determined message type is performed (S139, S138, S141 and S142).

在执行了这种处理的节点101中,当从节点3-1接收拓扑表请求消息(步骤S135)并且确定出消息为拓扑表请求消息(步骤S137中为Y)时,节点1-1将在表存储器103中所存储的拓扑表T发送到节点3-1(步骤S138)。 In the node 101 that has performed this process, when receiving the topology table request message from the node 3-1 (step S135) and determining that the message is a topology table request message (Y in step S137), the node 1-1 will The topology table T stored in the table memory 103 is sent to the node 3-1 (step S138).

用于接收拓扑表T(步骤S132)的节点3-1通过从节点1-1获取的拓扑表T来更新现存的拓扑表T(步骤S133)。更为具体地说,节点3-1识别节点0-1并且添加节点0-1的IP地址和节点号。The node 3-1 for receiving the topology table T (step S132) updates the existing topology table T with the topology table T acquired from the node 1-1 (step S133). More specifically, node 3-1 identifies node 0-1 and adds the IP address and node number of node 0-1.

之后,为了以高速恢复节点3-1中的缓冲存储器104中的存储量,速度参数被设定为“1”,加速度被设定为0.2,并且将数据请求消息从节点3-1发送到节点1-1(步骤S134)。之后,节点3-1返回到如图18所示的步骤S1105并且重复作为正常状态的步骤S105至S112中的操作。After that, in order to restore the storage capacity in the buffer memory 104 in the node 3-1 at high speed, the speed parameter is set to "1", the acceleration is set to 0.2, and a data request message is sent from the node 3-1 to the node 1-1 (step S134). After that, the node 3-1 returns to step S1105 shown in FIG. 18 and repeats the operations in steps S105 to S112 which are the normal state.

直到从节点1-1接收到与数据请求消息相对应的数据的一个包的量为止,缓冲存储器104中的数据被连续解码并且不断减少(参照图20A)。当数据开始从节点1-1发布时(步骤S140和S141),发布数据同时逐渐增加发布速度,直到将与八个包相对应的数据量存储在缓冲存储器104中(图18中的步骤S109)。在存储了与八个包相对应的数据量之后,节点3-1中的缓冲存储器104开始正常状态中的功能(参照图17B)。Until the amount of one packet of data corresponding to the data request message is received from the node 1-1, the data in the buffer memory 104 is continuously decoded and continuously reduced (refer to FIG. 20A ). When data starts to be distributed from node 1-1 (steps S140 and S141), the distribution speed is gradually increased while the data is distributed, until the data amount corresponding to eight packets is stored in the buffer memory 104 (step S109 in FIG. 18 ) . After storing the data amount corresponding to eight packets, the buffer memory 104 in the node 3-1 starts functioning in the normal state (refer to FIG. 17B ).

如上所述,在控制根据第二实施例的网络系统NT中的连接模式的处理中,当任何一个节点中的中继功能停止时,检索能够中继内容的另一个节点。在经由检索到的另一个节点来继续内容发布时,使发布速度高于在中继功能停止之前的速度。因此,可以在属于位于其中继功能停止了的节点的下一层级的节点中继续内容的处理。As described above, in the process of controlling the connection mode in the network system NT according to the second embodiment, when the relay function in any one node stops, another node capable of relaying content is retrieved. When content distribution is continued via another node retrieved, the distribution speed is made higher than that before the relay function was stopped. Therefore, the processing of the content can be continued in the node belonging to the layer below the node whose relay function was stopped.

由于继续发布同时将经由新连接的另一个节点的内容发布的速度逐渐增加到作为发布速度的最大值的上限速度,因此属于较低层级的节点可以更为迅速地获取必需的内容。还可以检测在中继功能停止并且拓扑被重构之后被存储在节点的缓冲器中的未被重放的数据量,并且根据所检测的未被重放的数据量来控制发布速度到达最高速度的时间。Since distribution is continued while gradually increasing the speed of content distribution via another node newly connected to the upper limit speed which is the maximum value of the distribution speed, nodes belonging to a lower hierarchy can acquire necessary content more quickly. It is also possible to detect the amount of unreplayed data stored in the buffer of the node after the relay function is stopped and the topology is reconstructed, and control the publishing speed to the highest speed according to the detected unreplayed data amount time.

(B)第二实施例的修订下面参照图22来讲述第二实施例的修改。图22为流程图,示出了该修订的操作。 (B) Modification of Second Embodiment Next, a modification of the second embodiment will be described with reference to FIG. 22 . Fig. 22 is a flowchart showing the revised operation.

在上述第二实施例中,当节点2-1的中继功能停止时,检索到位于较高层级上的另一个节点(节点1-1)并且从该节点重新继续内容的发布。在以下修订中,检索到多个新节点并且同时从多个节点继续内容的发布。In the second embodiment described above, when the relay function of the node 2-1 stops, another node (node 1-1) located on a higher hierarchy is retrieved and distribution of content is resumed from this node. In the following revision, multiple new nodes are retrieved and distribution of content continues from multiple nodes at the same time.

在根据该修订的节点3-1不能如图22A所示在预定时间内从节点2-1接收数据的情况中,执行如图21所示的步骤S130至S133,以更新节点3-1中的拓扑表T。In the case that the node 3-1 according to this revision cannot receive data from the node 2-1 within a predetermined time as shown in FIG. 22A, steps S130 to S133 as shown in FIG. 21 are performed to update the Topology table T.

在接收从节点2-1发布的数据的同时,确定此时缓冲存储器104中的存储量(包的个数)与正常状态下缓冲存储器104中的所需存储量(八个包)之间的差别是否大于两个包(也就是说,进一步的数据存储是否必要)(步骤S145)。当差别大于两个包时(也就是当进一步的数据存储是必要的,步骤S145中为Y),将新的数据请求消息发送到节点1-1,更新待被接收的包号,并且将数据请求消息发送到位于节点1-1的上一层级上的节点0-1(步骤S146)。确定每一个都来自节点1-1和0-1的一个包的数据,也就是总共两个包的数据是否已经被接收(步骤S147)。当还没有收到两个包的数据时(步骤S147中为N),节点3-1等待,直到接收了两个包的数据为止。另一方面,当两个包的数据已经被接收时(步骤S147中为Y),将两个包的数据存储在缓冲存储器104中,输入计数器仅更新两个包,更新要接收的包号(步骤S148),并且节点3-1返回到步骤S145。While receiving the data released by node 2-1, determine the storage capacity (number of packets) in the buffer memory 104 at this moment and the required storage capacity (eight packets) in the buffer memory 104 under the normal state. Whether the difference is greater than two packets (that is, whether further data storage is necessary) (step S145). When the difference is greater than two packets (i.e. when further data storage is necessary, Y in step S145), a new data request message is sent to node 1-1, the packet number to be received is updated, and the data The request message is sent to the node 0-1 located one level above the node 1-1 (step S146). It is determined whether data of one packet each from nodes 1-1 and 0-1, that is, data of two packets in total have been received (step S147). When the data of two packets has not been received (N in step S147), the node 3-1 waits until the data of two packets is received. On the other hand, when the data of two packets has been received (Y in step S147), the data of two packets is stored in the buffer memory 104, the input counter is updated only for two packets, and the packet number to be received is updated ( Step S148), and the node 3-1 returns to Step S145.

另一方面,当在步骤S145中确定出差别不大于两个包时(也就是进一步的数据存储是不必要的,步骤S145中为N),确定差别是否大于一个包(也就是说,是否不必紧迫地补充数据)(步骤S149)。当差别不大于一个包时(也就是说,当前缓冲存储器104中的存储量是处于正常状态)(步骤S149中为N),节点3-1返回到图4中的步骤S111,并且继续正常接收处理。On the other hand, when it is determined in step S145 that the difference is not greater than two packets (that is, further data storage is unnecessary, N in step S145), it is determined whether the difference is greater than one packet (that is, whether it is unnecessary Supplement data urgently) (step S149). When the difference is not greater than one packet (that is to say, the storage capacity in the current buffer memory 104 is in a normal state) (N in step S149), node 3-1 returns to step S111 among Fig. 4, and continues to receive normally deal with.

另一方面,当差别大于一个包时(也就是说,当前缓冲存储器104中的存储量接近正常状态并且不必要紧急补充数据)(步骤S149中为Y),节点3-1将新数据请求消息发送给节点1-1(步骤S150)并且等待直到在节点3-1中的定时器6的计数中过去了预定时间为止(步骤S151)。如果来自节点2-1的数据没有在预定时间内到达(步骤S151中为N),则执行定时器中断指令,并且对节点1-1再次执行数据连接处理。On the other hand, when the difference is larger than one packet (that is to say, the storage amount in the current buffer memory 104 is close to the normal state and there is no need to urgently supplement data) (Y in step S149), the node 3-1 sends the new data request message Send to the node 1-1 (step S150) and wait until a predetermined time elapses in the count of the timer 6 in the node 3-1 (step S151). If the data from the node 2-1 does not arrive within the predetermined time (N in step S151), a timer interrupt instruction is executed, and data connection processing is executed again for the node 1-1.

另一方面,当来自节点1-1的数据在预定时间内到达时(步骤S151中为Y),则将所接收的一个包的数据量存储在缓冲存储器104中,输入计数器的值和存储在缓冲存储器104中的包的个数更新仅一个包的量(步骤S152),并且节点3-1返回到步骤S145。On the other hand, when the data from the node 1-1 arrives within a predetermined time (Y in step S151), the data amount of one packet received is stored in the buffer memory 104, and the value of the input counter is stored in the buffer memory 104. The number of packets in the buffer memory 104 is updated by the amount of only one packet (step S152), and the node 3-1 returns to step S145.

当在步骤S147中确定出不能接收来自节点0-1的数据时(步骤S147中为Y),还可以询问被连接到节点0-1的另一个节点(在图15的情况中为节点1-2或1-3),将数据请求消息发送到另一个节点,并且检查是否可以发布数据。When it is determined in step S147 that data from node 0-1 cannot be received (Y in step S147), another node connected to node 0-1 (in the case of FIG. 15, node 1- 2 or 1-3), send a data request message to another node, and check whether the data can be published.

通过上述处理,如图22B所示,将数据从多个路由器输入到节点3-1中的缓冲存储器104,并且可以迅速恢复必要的存储量。Through the above processing, as shown in FIG. 22B, data is input from a plurality of routers to the buffer memory 104 in the node 3-1, and the necessary storage amount can be quickly restored.

以类似于节点3-1的方式,节点3-2从多个路由器中接收数据,并且恢复到必要的存储量。在位于其中继功能停止了的节点2-1的下一层的节点3-2之下的节点4-1和4-2也从多个路由器接收数据,并且迅速恢复必要的存储量。在位于其中继功能停止了的节点2-1的下一层的节点3-2之下的节点4-1和4-2可以不从多个路由器接收数据,而节点3-2可以以高于第二实施例中的正常状态下的速度的速度将数据发布到下层节点4-1和4-2。In a manner similar to node 3-1, node 3-2 receives data from a plurality of routers, and restores to the necessary amount of storage. The nodes 4-1 and 4-2 under the node 3-2 located on the next layer of the node 2-1 whose relay function stopped also receive data from a plurality of routers, and quickly restore the necessary storage capacity. The nodes 4-1 and 4-2 under the node 3-2 located on the lower layer of the node 2-1 whose relay function is stopped may not receive data from a plurality of routers, and the node 3-2 may receive data at a rate higher than The speed of the speed in the normal state in the second embodiment distributes data to the lower-level nodes 4-1 and 4-2.

在以上讲述中,通过将位于不同层级上的节点连接到用于发布数据的节点,形成了到节点的多条路径。结果,即使在发生诸如中继功能停止等故障的可能性在不同层级当中变化的情况下,也可以可靠地确保充分的冗余。In the above description, by connecting nodes located on different hierarchies to nodes for distributing data, multiple paths to nodes are formed. As a result, sufficient redundancy can be reliably ensured even in a case where the probability of occurrence of a failure such as a relay function stop varies among different hierarchies.

(IV)第三实施例现在参照图23至26来讲述作为根据本发明的另一实施例的第三实施例。 (IV) Third Embodiment A third embodiment as another embodiment according to the present invention will now be described with reference to FIGS. 23 to 26 .

图23和24为框图,每一个都示出了根据第三实施例的网络系统的示意性结构,并且图25和26为流程图,示出了网络系统的操作。23 and 24 are block diagrams each showing a schematic configuration of a network system according to the third embodiment, and FIGS. 25 and 26 are flowcharts showing operations of the network system.

在上述第二实施例中,已经讲述了在仅经由一条线路L发布的内容的接收期间节点中的中继功能停止的情况。在以下讲述的第三实施例中,预先为一个节点提供两条路经;主路径和子路径,并且接收发布的内容。In the second embodiment described above, the case has been described where the relay function in the node is stopped during reception of content distributed via only one line L. In the third embodiment described below, a node is provided in advance with two routes; a main route and a sub route, and receives posted content.

如图23所示,以类似于第二实施例的方式,通过其顶点为作为发布设备的节点0-1的树形结构来形成根据第三实施例的网络系统NT2。网络系统NT2包括节点1-1、1-2和1-3来作为构成第一层级的节点、节点2-1和2-2来作为构成第二层级的节点、节点3-1、3-2、3-3和3-4来作为构成第三层级的节点,以及节点4-1和4-2来作为构成第四层级的节点。节点经由作为有线电路或无线电路的主线路LM相互连接,以能够使用节点0-1作为顶点来相互发送/接收信息。每一个节点的具体例子与第二实施例中的相类似。As shown in FIG. 23, in a similar manner to the second embodiment, a network system NT2 according to the third embodiment is formed by a tree structure whose vertices are nodes 0-1 as distribution devices. The network system NT2 includes nodes 1-1, 1-2, and 1-3 as nodes constituting the first hierarchy, nodes 2-1 and 2-2 as nodes constituting the second hierarchy, nodes 3-1, 3-2 , 3-3, and 3-4 as nodes constituting the third level, and nodes 4-1 and 4-2 as nodes constituting the fourth level. Nodes are connected to each other via a main line LM which is a wired circuit or a wireless circuit to be able to mutually transmit/receive information using nodes 0-1 as vertices. A specific example of each node is similar to that in the second embodiment.

另外,在根据第三实施例的网络系统NT2中,通过使用子线路LS将属于第二或以下层级的每一个节点连接到主线路LM所连接到的上层节点的上一层的节点。在正常发布状态下,只将经由主线路LM发布的内容提供给每一个节点中的重放处理。经由子线路LS发布的内容被暂时接收,而不用于重放处理,并且之后将其发布到位于下一层级上的另一个节点。而且,接收从子线路LS发布的内容并且将来自主线路的内容发布到下层节点是足够的。In addition, in the network system NT2 according to the third embodiment, each node belonging to the second or lower hierarchy is connected to a node of a hierarchy above the node of the hierarchy to which the main line LM is connected by using the sub-line LS. In the normal distribution state, only content distributed via the main line LM is provided to playback processing in each node. Content distributed via the sub-line LS is temporarily received without being used for playback processing, and then distributed to another node located on the next hierarchy. Also, it is sufficient to receive content distributed from the sub-line LS and distribute content from the main line to lower nodes.

根据第三实施例的节点的详细结构与根据第二实施例(参见图2)的节点的不同之处在于提供了两个表存储器103、两个缓冲存储器104和两个定时器106,它们每一个都是一个用于主线路LM并且另一个用于子线路LS。以类似于第二实施例的方式,提供了一个CPU 100、一个解码器102、一个宽带接口105、一个扬声器107和一个CRT 108。此外,在被存储在一个节点的每一个表存储器中的拓扑表T中,与第二实施例不同,增加了识别器,用于表示拓扑表是用于主线路LM的拓扑表T还是用于子线路LS的拓扑表T。The detailed structure of the node according to the third embodiment differs from the node according to the second embodiment (see FIG. 2 ) in that two table memories 103, two buffer memories 104 and two timers 106 are provided, each of which One is for the main line LM and the other is for the sub-line LS. In a manner similar to the second embodiment, a CPU 100, a decoder 102, a broadband interface 105, a speaker 107, and a CRT 108 are provided. Furthermore, in the topology table T stored in each table memory of a node, unlike the second embodiment, an identifier is added for indicating whether the topology table is the topology table T for the main line LM or for The topology table T of the sub-line LS.

例如,当属于处于如图23所示的状态中的网络系统NT2的节点2-1中的中继功能停止时,位于节点2-1下一层的层级上的节点3-1和3-2的每一个分别自动将主线路LM和子线路LS再次连接成主线路LM’和子线路LS’,如图24所示,并且继续接收发布的内容。在这种情况下,在图23中,经由主线路LM将节点3-1连接到节点2-1,并且经由子线路LS将其连接到节点0-1。在节点2-1中的中继功能停止之后,节点3-1将主线路LM’连接到节点1-1,并且子线路LS到节点0-1的连接保持不变。另一方面,在图23中,经由主线路LM将节点3-2连接到节点2-1,并且经由子线路LS将其连接到节点1-1。在节点2-1中的中继功能停止之后,节点3-2将主线路LM’连接到位于同一层级上的节点3-1,并且子线路LS到节点1-1的连接保持不变。这样,严格遵守规则,以便主线路LM被连接到最近的节点,并且子线路LS被连接到位于主线路LM所连接到的节点的上一层的层级上的节点。For example, when the relay function in the node 2-1 belonging to the network system NT2 in the state shown in FIG. Each of each automatically reconnects the main line LM and the sub-line LS into the main line LM' and the sub-line LS' respectively, as shown in FIG. 24 , and continues to receive published content. In this case, in FIG. 23, the node 3-1 is connected to the node 2-1 via the main line LM, and is connected to the node 0-1 via the sub line LS. After the relay function in the node 2-1 stops, the node 3-1 connects the main line LM' to the node 1-1, and the connection of the sub line LS to the node 0-1 remains unchanged. On the other hand, in FIG. 23, the node 3-2 is connected to the node 2-1 via the main line LM, and is connected to the node 1-1 via the sub line LS. After the relay function in the node 2-1 stops, the node 3-2 connects the main line LM' to the node 3-1 on the same level, and the connection of the sub line LS to the node 1-1 remains unchanged. In this way, the rules are strictly followed so that the main line LM is connected to the nearest node, and the sub-line LS is connected to a node located on a level one level above the node to which the main line LM is connected.

对于属于第四层级的节点4-1和4-2,在图23中子线路LS所连接到的节点失去中继功能,所以主线路LM保持不变并且只将子线路LS’连接到新节点(在图24的情况下,子线路LS’所连接到的节点为节点3-1)。For the nodes 4-1 and 4-2 belonging to the fourth level, the node to which the sub-line LS is connected loses the relay function in Fig. 23, so the main line LM remains unchanged and only the sub-line LS' is connected to the new node (In the case of FIG. 24, the node to which the sub-line LS' is connected is the node 3-1).

接下来讲述在节点2-1中的中继功能实际停止的情况中在节点3-1、3-2、4-1和4-2中所执行的拓扑重构操作。Next, the topology reconfiguration operation performed in the nodes 3-1, 3-2, 4-1, and 4-2 in the case where the relay function in the node 2-1 is actually stopped will be described.

当如图24所示节点2-1中的中继功能停止时,首先在第二实施例中所述的定时器106的计数时间中,节点2-1的下一层的节点3-1和3-2开始连接到位于节点2-1的较高层级上的节点。在定时器106的计数期间,在所连接的路由器中,节点3-1将从节点0-1发布的数据存储在缓冲存储器4中,并且节点3-2将从节点1-1发布的数据存储在缓冲存储器4中,并且将数据发布到下层节点4-1和4-2。在对拓扑进行重构之后,将从主线路LM发布的数据存储在缓冲存储器4中,并且将从子线路LS发布的数据发布到下层节点。When the relay function in the node 2-1 is stopped as shown in FIG. 3-2 starts connecting to a node located on a higher hierarchy than node 2-1. During the counting of the timer 106, in the connected router, the node 3-1 stores the data distributed from the node 0-1 in the buffer memory 4, and the node 3-2 stores the data distributed from the node 1-1 In the buffer memory 4, and distribute the data to the lower nodes 4-1 and 4-2. After the topology is reconstructed, the data distributed from the main line LM is stored in the buffer memory 4, and the data distributed from the sub-line LS is distributed to the lower layer nodes.

具有较高速度的节点3-1或3-2(在图24的情况中为节点3-1)被连接到节点1-1。节点3-1将新主线路LM’连接到节点1-1,此外,保持经由原始子线路LS到节点0-1的连接,并且接收从节点0-1发布的内容(备份发布)。The node 3-1 or 3-2 (node 3-1 in the case of Fig. 24) having a higher speed is connected to the node 1-1. The node 3-1 connects the new main line LM' to the node 1-1, furthermore, maintains the connection to the node 0-1 via the original sub line LS, and receives the content distributed from the node 0-1 (backup distribution).

另一方面,不能被连接到节点1-1的节点3-2经由主线路LM’被连接到当前属于节点1-1的下层的节点3-1,同时保持与节点1-1的原始子线路LS。在这种情况下,节点3-2可以被直接再连接到节点0-1。不过,当前许多节点被连接到节点0-1,所以实际将主线路LM’连接到节点3-1。On the other hand, the node 3-2 which cannot be connected to the node 1-1 is connected to the node 3-1 which currently belongs to the lower layer of the node 1-1 via the main line LM' while maintaining the original sub-line with the node 1-1. LS. In this case, node 3-2 can be directly reconnected to node 0-1. However, many nodes are currently connected to nodes 0-1, so the main line LM' is actually connected to node 3-1.

对于位于更低层级上的节点4-1和4-2,断开原始子线路LS。结果,节点4-1和4-2询问属于子线路LS’要新连接到的节点的上一层的节点3-2。结果,可以识别在节点3-2和3-1之间形成了新主线路LM’,从而已询问节点3-2的节点4-1或4-2首先形成到节点3-1的新子线路LS’。For nodes 4-1 and 4-2 located on lower levels, the original sub-line LS is disconnected. As a result, the nodes 4-1 and 4-2 inquire about the node 3-2 belonging to the upper layer of the node to which the sub-line LS' is to be newly connected. As a result, it can be recognized that a new main line LM' is formed between nodes 3-2 and 3-1, so that node 4-1 or 4-2 which has inquired node 3-2 first forms a new sub-line to node 3-1 LS'.

接下来参照图25来一次全部讲述当将新节点连接到根据第三实施例的网络系统NT2并且在包括有新节点的正常状态下开始和执行内容的发布时所执行的操作。图25为流程图,示出了将节点3-1新连接到网络系统NT2中的节点2-1从而得到如图23所示的网络系统NT2,并且对节点3-1执行内容的发布的情况的例子。Next, operations performed when a new node is connected to the network system NT2 according to the third embodiment and distribution of content is started and executed in a normal state including the new node will be described all at once with reference to FIG. 25 . FIG. 25 is a flow chart showing a case where the node 3-1 is newly connected to the node 2-1 in the network system NT2 to obtain the network system NT2 as shown in FIG. 23, and distribution of content is performed to the node 3-1. example of.

在根据第三实施例的网络系统NT2中的节点当中的至少下述节点中,总是执行如右上部分所示的流程图中的处理,上述节点是另一个节点经由主线路LM或子线路LS在较低层级上所连接到的节点。In at least one of the nodes in the network system NT2 according to the third embodiment, which is another node via the main line LM or the sub line LS, the processing in the flowchart shown in the upper right part is always executed. The node to connect to at a lower level.

具体而言,不论何时从位于较低层级上的节点发送消息(步骤S170),依次确定消息的类型(步骤S171、S173、S175、S177或S179)。Specifically, whenever a message is sent from a node located on a lower hierarchy (step S170), the type of the message is sequentially determined (step S171, S173, S175, S177, or S179).

当所接收的消息为开始消息时(步骤S171中为Y),当前正在由节点进行重放的数据的包号作为开始包号被发送回来(步骤S117)。When the received message is a start message (Y in step S171), the packet number of the data currently being played back by the node is sent back as the start packet number (step S117).

当所接收的消息为拓扑数据表请求消息时(步骤S173中为Y),在当前为节点所提供的拓扑表T中,根据用于发送回拓扑数据表请求消息的节点所连接到的线路的类型(主线路或子线路)的拓扑表T被发送回来(步骤S174)。When the received message is a topology data table request message (Y in step S173), in the topology table T provided for the node at present, according to the type of the circuit connected to the node for sending back the topology data table request message The topology table T of (main line or sub-line) is sent back (step S174).

当所接收的消息为数据请求消息时(步骤S175中为Y),以在数据请求消息中所指定的重放速度来发送一个包的数据(步骤S176)。When the received message is a data request message (Y in step S175), data of one packet is transmitted at the playback speed specified in the data request message (step S176).

当所接收的消息为查询新使用子线路LS来发布数据的可能性的新节点支持请求信息时(步骤S177中为Y),根据与此时正在发布数据的另一个节点的关联来确定是否可能使用子线路L来进行发布。如果可能,则回复“允许”消息。另一方面,如果不可能,则回复“禁止”消息(步骤S178)。When the received message is the new node support request information that inquires about the possibility of using the sub-line LS to distribute data (Y in step S177), it is determined whether it is possible to use Sub-line L to publish. Reply with an "Allow" message if possible. On the other hand, if it is not possible, a "prohibited" message is replied (step S178).

当所接收的消息为用于表示使用新子线路LS进行数据的强制发布的强制连接请求消息时(步骤S179中为Y),以类似于步骤S177的情况的方式,根据与此时正在发布数据的另一个节点的关联来确定是否可能使用子线路LS来进行发布。如果可能,则回复“允许”消息。另一方面,如果不可能,则停止数据发布。发布是到下述节点的(步骤S180),所述节点是在当前提供给节点的拓扑表当中的根据已发送强制连接请求信息的节点所连接到的线路的类型的拓扑表T中的层信息为“-1”的节点。When the received message is a forced connection request message indicating that the new sub-line LS is used to force the distribution of data (Y in step S179), in a manner similar to the case of step S177, the Another node's association to determine whether it is possible to use the sub-line LS for publication. Reply with an "Allow" message if possible. On the other hand, if it is not possible, data publication is stopped. Publishing is to a node (step S180) that is layer information in the topology table T according to the type of line to which the node that has sent the mandatory connection request information is connected among the topology tables currently provided to the node Nodes that are "-1".

当所接收的消息不是上述消息中的任何一个时(步骤S179中为N),将预先设定的错误消息发送回已经发送了消息的节点(步骤S181)。When the received message is not any of the above messages (N in step S179), a preset error message is sent back to the node that has sent the message (step S181).

在连续执行上述处理的每一个节点中,通过解码器102对来自其层信息在与主线路LM相对应的拓扑表T中为“1”的节点的数据进行解码并且输出经过解码的数据。另一方面,来自其层信息在与子线路LS相对应的拓扑表T中为“1”的节点的数据在不被解码的情况下被发布到位于较低层级上的另一个节点。In each node that continuously performs the above processing, data from a node whose layer information is "1" in the topology table T corresponding to the main line LM is decoded by the decoder 102 and the decoded data is output. On the other hand, data from a node whose layer information is "1" in the topology table T corresponding to the sub-line LS is distributed to another node located on a lower layer without being decoded.

在这种状态下进行操作的网络系统NT2中,当节点3-1通过物理连接到节点2-1来新进入网络系统NT2时,首先新节点3-1中的CPU100设定节点3-1中的两个缓冲存储器104(用于主线路LM和子线路LS),设定表示数据供应源的节点的IP地址,并且将位于上一层级上的节点0-1设定在子线路LS上(当将节点3-1连接到节点2-1时,节点3-1从节点2-1获取两个节点的IP地址)。为了计算数据在每一个缓冲存储器104中所存储的地址,将输入计数器1(16位)、输入计数器2(16位)和输出计数器1(16位)初始化为“0”。输入计数器1对经由主线路LM从节点0-1发布的接收数据的字节数进行计数。输入计数器2对经由子线路LS从节点0-1发布的接收数据的字节数进行计数。输出计数器示出了由解码器102进行重放的数据量。此外,此时在与主线路LM相对应的缓冲存储器104中设定表示“环形缓冲器1”的缓存地址(在图25和26中,适当表示为“环形缓冲器ADR”)(步骤S160)。In the network system NT2 operating in this state, when the node 3-1 newly enters the network system NT2 by physically connecting to the node 2-1, first the CPU 100 in the new node 3-1 sets the Two buffer memories 104 (for the main line LM and the sub-line LS), set the IP address of the node representing the data supply source, and set the nodes 0-1 located on the upper level on the sub-line LS (when When node 3-1 is connected to node 2-1, node 3-1 acquires IP addresses of both nodes from node 2-1). In order to calculate the address at which data is stored in each buffer memory 104, the input counter 1 (16 bits), the input counter 2 (16 bits) and the output counter 1 (16 bits) are initialized to "0". The input counter 1 counts the number of bytes of received data issued by the slave nodes 0-1 via the main line LM. The input counter 2 counts the number of bytes of received data issued from the node 0-1 via the sub-line LS. The output counter shows the amount of data reproduced by the decoder 102 . Also, at this time, a buffer address indicating "ring buffer 1" (in FIGS. 25 and 26, appropriately indicated as "ring buffer ADR") is set in the buffer memory 104 corresponding to the main line LM (step S160) .

在完成必要的初始化处理之后,节点3-1中的CPU 100参考表存储器3中的拓扑表T,并且发送用于请求节点2-1和0-1的开始消息,以开始内容数据的传输(步骤S161)。After completing necessary initialization processing, the CPU 100 in the node 3-1 refers to the topology table T in the table memory 3, and sends a start message for requesting the nodes 2-1 and 0-1 to start transmission of content data ( Step S161).

接下来,已经接收了开始消息的节点2-1和0-1中的CPU 100将当前由节点2-1和0-1进行重放的数据的包号作为开始包号发送给节点3-1(步骤S172)。Next, the CPU 100 in the nodes 2-1 and 0-1 that have received the start message sends the packet number of the data currently replayed by the nodes 2-1 and 0-1 as the start packet number to the node 3-1 (step S172).

节点3-1从节点2-1和0-1获取开始包号,将其存储在与线路相对应的缓冲存储器104上的对应包号区域中(步骤S162),并且将用于请求实际内容数据的数据请求消息发送到节点2-1和0-1(步骤S 163)。数据请求信息包括要从节点3-1和2-1(重放处理)和节点0-1(用于将数据立即发布到较低层级)发送的数据的包号信息。Node 3-1 obtains the starting packet number from nodes 2-1 and 0-1, stores it in the corresponding packet number area on the buffer memory 104 corresponding to the line (step S162), and will be used to request the actual content data The data request message is sent to nodes 2-1 and 0-1 (step S 163). The data request information includes packet number information of data to be transmitted from the nodes 3-1 and 2-1 (for replay processing) and the node 0-1 (for immediately distributing data to a lower layer).

已经接收了数据请求消息(在步骤S170中并且在S175中为“Y”)的节点2-1和0-1以在数据请求消息中所指定的重放速度(经由主线路LM和子线路LS)将一个包的数据量发送到节点3-1(步骤S176)。Nodes 2-1 and 0-1 having received the data request message ("Y" in step S170 and in S175) at the playback speed specified in the data request message (via the main line LM and sub-line LS) The data amount of one packet is sent to the node 3-1 (step S176).

与该操作相并行,设定节点3-1以输出数据请求消息,同时通过节点3-1中的定时器开始计数,并且当计数变成“0”时独立地生成定时器中断指令(步骤S164)。节点3-1等待,直到在每一个定时器106的计数中过去了预定时间为止(步骤S165)。当来自节点2-1和0-1的数据在预定时间内没有到达时(步骤S165中为N),节点3-1执行定时器中断指令,并且对节点2-1和0-1再次执行连接处理。In parallel with this operation, the node 3-1 is set to output a data request message, while counting is started by the timer in the node 3-1, and a timer interrupt instruction is independently generated when the count becomes "0" (step S164 ). The node 3-1 waits until a predetermined time elapses every count of the timer 106 (step S165). When the data from the nodes 2-1 and 0-1 do not arrive within the predetermined time (N in step S165), the node 3-1 executes the timer interrupt instruction, and executes the connection again to the nodes 2-1 and 0-1 deal with.

另一方面,当来自节点2-1和0-1的数据在预定时间内到达时(步骤S165中为Y),节点3-1禁止执行定时器中断指令(步骤S166),并且将与所接收的数据的一个包相对应的量存储在缓冲存储器104中。伴随着该处理,输入计数器1和2的值以及存储在缓冲存储器104中的包号仅更新一个包的量。On the other hand, when the data from the nodes 2-1 and 0-1 arrive within the predetermined time (Y in step S165), the node 3-1 prohibits the execution of the timer interrupt command (step S166), and will communicate with the received An amount corresponding to one packet of data is stored in the buffer memory 104 . Accompanying this processing, the values of the input counters 1 and 2 and the packet number stored in the buffer memory 104 are updated by only one packet.

节点3-1确定被存储在每一个缓冲存储器104中并且还没有被输出到解码器102的数据量是否变成四个包(也就是缓冲存储器104的1/4存储量)(步骤S168)。当该量小于四个包时(步骤S168中为Y),节点3-1返回到步骤S163,以从节点2-1和0-1接收后面的包,并且重复上述处理。另一方面,当被存储在每一个缓冲存储器104中的数据量变成四个包时(步骤S168中为N),只将经由主线路LM获取的数据输出到解码器102(步骤S169),并且返回到步骤S163中的处理,以从节点2-1和0-1接收后面的数据。The node 3-1 determines whether the amount of data stored in each buffer memory 104 and not yet output to the decoder 102 becomes four packs (ie, 1/4 storage amount of the buffer memory 104) (step S168). When the amount is less than four packets (Y in step S168), node 3-1 returns to step S163 to receive subsequent packets from nodes 2-1 and 0-1, and repeats the above-described processing. On the other hand, when the amount of data stored in each buffer memory 104 becomes four packs (N in step S168), only the data acquired via the main line LM is output to the decoder 102 (step S169), And return to the processing in step S163 to receive the following data from nodes 2-1 and 0-1.

在步骤S169的处理中,当将四个包的数据量存储在与主线路LM相对应的缓冲存储器104中并且将其输出到解码器102时,解码器102只通过四个包的量来重复以下操作,从而执行数据重放处理。在这些操作中,解码器102根据由缓存地址表示的缓冲存储器104中的输出计数器的值来获取表示此时缓冲存储器104的缓存地址和从缓冲存储器104输出的数据的地址(步骤S182),只以一个包对数据进行解码和重放(步骤S183),并且缓冲存储器104中的输出计数器的值仅增加一个包(步骤S184)。In the process of step S169, when storing the data amount of four packets in the buffer memory 104 corresponding to the main line LM and outputting it to the decoder 102, the decoder 102 repeats only by the amount of four packets The following operations are performed, thereby performing data replay processing. In these operations, the decoder 102 acquires the buffer address representing the buffer memory 104 at this time and the address of the data output from the buffer memory 104 according to the value of the output counter in the buffer memory 104 indicated by the buffer address (step S182), only The data is decoded and played back in one pack (step S183), and the value of the output counter in the buffer memory 104 is incremented by only one pack (step S184).

通过执行如上所述的从节点2-1的数据发布、节点3-1中的重放处理和使用子线路LS从节点0-1的发布,执行节点3-1中的数据重放处理,同时保持每一个缓冲存储器104中的数据量不变。By performing data distribution from node 2-1, playback processing in node 3-1, and distribution from node 0-1 using the sub-line LS as described above, data playback processing in node 3-1 is performed, while The amount of data in each buffer memory 104 is kept constant.

接下来参照图26来具体讲述在节点2-1中的内容中继功能由于诸如在如图23所示的网络系统NT2中电源开关被切断等原因停止了所执行的处理。Next, referring to FIG. 26, it will be specifically described the processing performed when the content relay function in the node 2-1 is stopped due to reasons such as the power switch being turned off in the network system NT2 shown in FIG.

在根据第三实施例的网络系统NT2中,当节点2-1中的中继功能由于上述原因停止时,如图24所示,被连接到原始节点2-1的节点3-1和3-2以及节点4-1和4-2自动执行拓扑重构操作,并且通过如图24所示的模式中的拓扑来继续内容的发布。In the network system NT2 according to the third embodiment, when the relay function in the node 2-1 stops due to the above reasons, as shown in FIG. 24, the nodes 3-1 and 3-1 connected to the original node 2-1 2 and the nodes 4-1 and 4-2 automatically perform the topology reconfiguration operation, and continue publishing of content through the topology in the mode as shown in FIG. 24 .

当如图25所示节点2-1中的中继功能停止时,甚至在如图25所示的步骤S165的处理中过去了预定时间之后,位于下一层级上的节点3-1和3-2的每一个中的CPU 100(由于继续如图25所示的正常状态中的发布,因此重复参照图25讲述的处理)也不能从节点2-1接收数据。当甚至过去了预定时间之后也不能接收数据时(步骤S165中为N),节点3-1和3-2的每一个中的CPU 100识别出在位于上一层级上的节点2-1中的中继功能停止并且拓扑被断开。When the relay function in node 2-1 is stopped as shown in FIG. 25, even after a predetermined time elapses in the processing of step S165 as shown in FIG. The CPU 100 in each of 2 (since the issuance in the normal state as shown in FIG. 25 is continued, so the processing described with reference to FIG. 25 is repeated) cannot receive data from the node 2-1 either. When the data cannot be received even after the predetermined time has elapsed (N in step S165), the CPU 100 in each of the nodes 3-1 and 3-2 recognizes that in the node 2-1 located on the upper level The trunking function is stopped and the topology is disconnected.

之后,在识别出拓扑断开时,参照被存储在表存储器103中的拓扑表T来执行如图26所示的中断指令,并且如图24所示来重构拓扑。Afterwards, when topology disconnection is recognized, an interrupt instruction as shown in FIG. 26 is executed with reference to the topology table T stored in the table memory 103 , and the topology is reconstructed as shown in FIG. 24 .

具体而言,如图26所示,当执行中断指令时,确定过去了预定时间的定时器106是否为与主线路LM相对应的定时器106(在图26中被表示为“定时器1”)(步骤S190)。当是与主线路LM相对应的定时器106时(步骤S190中为Y),将缓存地址的值变成用于表示与子线路LS相对应的缓冲存储器104的值,以将与子线路LS相对应的缓冲存储器104设定为将数据输出到解码器102的缓冲存储器104(步骤S191)。接下来,在主线路LM中将与主线路LM相对应的拓扑表请求消息发送到其层信息的值为“2”的节点(在图24的情况中为节点1-1)(步骤S192和S 194),并且从节点中的拓扑表T获取与主线路LM相对应的拓扑表T(步骤S195)。Specifically, as shown in FIG. 26, when an interrupt instruction is executed, it is determined whether the timer 106 whose predetermined time has elapsed is the timer 106 corresponding to the main line LM (represented as "timer 1" in FIG. 26) ) (step S190). When it is the timer 106 corresponding to the main line LM (Y in step S190), the value of the buffer address is changed to a value for representing the buffer memory 104 corresponding to the sub-line LS, so as to be connected to the sub-line LS The corresponding buffer memory 104 is set to output data to the buffer memory 104 of the decoder 102 (step S191). Next, a topology table request message corresponding to the main line LM is sent to a node whose layer information value is "2" (node 1-1 in the case of FIG. 24 ) in the main line LM (steps S192 and S194), and obtain the topology table T (step S195) corresponding to the main line LM from the topology table T in the node.

通过使用所得到的拓扑表T,更新与主线路LM相对应的节点3-1和3-2中的拓扑表T(步骤S196)。By using the obtained topology table T, the topology table T in the nodes 3-1 and 3-2 corresponding to the main line LM is updated (step S196).

接下来,新节点支持请求消息向节点查询子线路LS是否可以被连接到在所更新的拓扑表T中层信息为“2”的节点(在图24的情况中为节点0-1)(步骤S197)。Next, the new node support request message queries the node whether the sub-line LS can be connected to a node (in the case of FIG. 24, node 0-1) whose layer information is "2" in the updated topology table T (step S197 ).

检查新节点支持请求消息的回复是否为“允许”(步骤S198)。如果为“允许”(步骤S198中为Y),则将在中继功能停止之前子线路LS所连接到的节点的IP地址重写为主线路LM当前被连接到的节点的IP地址,并且子线路LS被新连接到的节点(在图24的情况中为节点0-1)的IP地址作为在与当前(新)子线路LS相对应的拓扑表T中层信息为“2”的节点的IP地址写入到拓扑表T中(步骤S199)。Check whether the reply of the new node support request message is "allowed" (step S198). If "allow" (Y in step S198), then the IP address of the node to which the sub-line LS was connected before the relay function was stopped is rewritten to the IP address of the node to which the main line LM is currently connected, and the sub-line LM The IP address of the node to which the line LS is newly connected (node 0-1 in the case of FIG. The address is written into the topology table T (step S199).

另一方面,当在步骤S198中确定出新节点支持请求消息的回复为“禁止”时(步骤S198中为N),将强制连接请求消息发送到位于子线路LS初始所连接到的节点0-1的下一层级上的节点1-1(步骤S200)。On the other hand, when it is determined in step S198 that the reply of the new node support request message is "forbidden" (N in step S198), the forced connection request message is sent to the node 0- Node 1-1 on the hierarchy below 1 (step S200).

当节点1-1接收强制连接消息并且子线路LS可以被连接在节点1-1中时,该连接在节点1-1中被允许,并且在节点3-1中的拓扑表T被更新(步骤S201)。当不可能时,数据从节点0-1至节点1-1的发布停止。被停止向其传送数据的节点1-1执行上述处理,从而重新构造拓扑结构。When node 1-1 receives the mandatory connection message and sub-line LS can be connected in node 1-1, the connection is allowed in node 1-1, and the topology table T in node 3-1 is updated (step S201). When it is not possible, distribution of data from node 0-1 to node 1-1 stops. The node 1-1 to which transmission of data is stopped performs the above-described processing, thereby reconfiguring the topology.

另一方面,当在步骤S190中确定在对应于子线路LS的定时器106中执行中断指令(步骤S190中的N)时,处于上一层级的节点2-1的中继功能对主线路LM进行操作。因此,对应于主线路LM的拓扑表请求消息被发送到节点2-1(步骤S193和S194),获得节点2-1中的拓扑表T(步骤S195),并且执行步骤S196和后续步骤的处理。On the other hand, when it is determined in step S190 that the interrupt instruction is executed in the timer 106 corresponding to the sub-line LS (N in step S190), the relay function of the node 2-1 at the upper level has an effect on the main line LM. to operate. Therefore, the topology table request message corresponding to the main line LM is sent to the node 2-1 (steps S193 and S194), the topology table T in the node 2-1 is obtained (step S195), and the processing of step S196 and subsequent steps is performed .

如上所述,在第三实施例的网络系统NT2中,形成主线路LM和子线路LS,以将多个节点连接到一个节点。经由主线路LM发布的数据用于在该一个节点等中的重放处理并且发布到属于较低层级的其他节点。另一方面,经由子线路LS发布的数据用于发布到属于较低层级的其他节点。通过将多条线路连接到每一个节点,在准备停止任何节点中的中继功能时,可以增加冗余度,并且可以防止属于较低层级的节点中的重放处理等停止。As described above, in the network system NT2 of the third embodiment, the main line LM and the sub-line LS are formed to connect a plurality of nodes to one node. Data distributed via the main line LM is used for playback processing in this one node and the like and distributed to other nodes belonging to lower levels. On the other hand, data distributed via the sub-line LS is intended for distribution to other nodes belonging to a lower hierarchy. By connecting a plurality of lines to each node, redundancy can be increased in preparation for stopping the relay function in any node, and it is possible to prevent stop of replay processing and the like in nodes belonging to a lower hierarchy.

当属于较高层级的节点中的中继功能在到一个节点的主线路LM上停止时,切换经由子线路LS发布的数据以用于重放处理等类,以便在该一个节点中的重放处理等类不被中断。When the relay function in a node belonging to a higher hierarchy stops on the main line LM to one node, the data issued via the sub-line LS is switched for replay processing and the like for replay in the one node Processing such classes is not interrupted.

此外,当经由子线路LS发布的数据被切换以用于重放处理等类时,属于较高层级的任一节点被检索到,并且通过连接到该被检索到的节点来形成新的子线路LS。因此,甚至当使用子线路LS来作为主线路LM时,形成了新的子线路LS,并且可以确保和维持冗余。Also, when data distributed via the sub-line LS is switched for playback processing or the like, any node belonging to a higher hierarchy is retrieved, and a new sub-line is formed by connecting to the retrieved node LS. Therefore, even when the sub-line LS is used as the main line LM, a new sub-line LS is formed, and redundancy can be ensured and maintained.

此外,当在属于较高层级的节点中的中继功能在到一个节点的子线路LS上停止时,属于较高层级的任一节点被检索到,并且通过连接到该被检索到的节点来形成新的子线路LS。因此,甚至当子线路LS上的节点中的中继功能停止时,形成了新的子线路LS,并且可以确保和维持冗余。Furthermore, when the relay function in a node belonging to a higher hierarchy stops on a sub-line LS to a node, any node belonging to a higher hierarchy is retrieved, and by connecting to the retrieved node, A new sub-line LS is formed. Therefore, even when the relay function in the node on the sub-line LS stops, a new sub-line LS is formed, and redundancy can be ensured and maintained.

由于检索较高层级的节点以便该一个节点所属的层级上的另一个节点被包括在新的主线路LM中,所以经由位于同一层级的节点可以检索到发布信息的供给。Since nodes of a higher hierarchy are retrieved so that another node on the hierarchy to which the one node belongs is included in the new main line LM, provision of distribution information can be retrieved via nodes located in the same hierarchy.

在前述每一个实施例中,作为检测任何一个节点中的中继功能停止的方法,除了上述方法之外,节点可以周期性地检测是否有对较高或较低层级的节点的响应。例如,当在每一个实施例中的节点2-1自身的中继功能停止时,该停止可以被通知到位于较高层级的节点101,或者位于较低层级的节点3-1和3-2。In each of the foregoing embodiments, as a method of detecting the stop of the relay function in any one node, in addition to the above-mentioned method, the node may periodically detect whether there is a response to a node of a higher or lower hierarchy. For example, when the relay function of the node 2-1 itself stops in each embodiment, the stop may be notified to the node 101 located at a higher level, or the nodes 3-1 and 3-2 located at a lower level .

上述一系列连接模式控制处理还可以在位于网络系统NT或NT2外部的另一个服务器设备的控制下进行。在这种情况下,服务器设备具有网络系统NT或NT2中的节点的连接模式信息。通过从节点3-1和3-2将查询发送到该服务器设备,位于停止了中继功能的节点2-1的上一个层级上的节点1-1被识别出来。The series of connection mode control processes described above may also be performed under the control of another server device located outside the network system NT or NT2. In this case, the server device has connection mode information of nodes in the network system NT or NT2. By sending inquiries to the server device from the nodes 3-1 and 3-2, the node 1-1 located on the upper hierarchy of the node 2-1 whose relay function has been stopped is identified.

此外,用于重放内容的解码器102、CRT 108等还可以构造成经由另一网络连接除了节点之外的其它位置的重放设备等。Furthermore, the decoder 102, the CRT 108, etc. for playing back content may also be configured to connect playback devices, etc., at other locations than the nodes via another network.

此外,还可以将对应于图18、21、22、25和26的流程图的程序记录在诸如软盘或硬盘等信息记录介质上,或者经由因特网等获得程序并对其进行记录,并且通过普通计算机对程序进行读取和执行,从而使计算机起到根据这些实施例的CPU 100的作用。In addition, it is also possible to record the programs corresponding to the flowcharts of Figs. 18, 21, 22, 25, and 26 on an information recording medium such as a floppy disk or a hard disk, or obtain the program via the Internet or the like and record it, and pass it on to an ordinary computer. The program is read and executed, thereby causing the computer to function as the CPU 100 according to the embodiments.

工业适用性 Industrial applicability

如上所述,本申请可以应用于通过使用具有树型结构的网络系统来发布内容的领域。特别是,当本发明应用于诸如电影、音乐等实时播放的不便于发布中断的内容发布领域时,可以获得明显的效果。As described above, the present application can be applied to the field of distributing contents by using a network system having a tree structure. In particular, when the present invention is applied to the field of content distribution, such as movies and music, which are played in real time and inconvenient for distribution interruption, significant effects can be obtained.

Claims (11)

1. connection mode control appliance; Be used for being controlled at network system and be connected to the connection mode between said distributor and a plurality of repeaters that form a plurality of levels as the distributor of the issue source that releases news with tree structure; Wherein said releasing news issued in said network system, and this equipment comprises:
Indexing unit when the relay function in any one said repeater stops, being used to retrieve any one the said repeater except the said repeater that relay function has stopped and can relaying is said releasing news;
Jockey is used for being connected to said another repeater that retrieves with receiving the said said repeater that releases news; And
Issue continues device, is used for through making the said issue speed that releases news via said another repeater continue the said issue that releases news via another repeater of said connection faster than the issue speed before stopping at said relay function.
2. connection mode control appliance as claimed in claim 1; Wherein said issue continues device and proceeds issue; To bring up to simultaneously the maximum of the said issue speed of in the said network that connects said distributor and each repeater, stipulating gradually via the said issue speed that releases news of another repeater of said connection, as the upper limit.
3. according to claim 1 or claim 2 connection mode control appliance; Wherein said issue continues device and proceeds issue through making issue speed faster than the issue speed before stopping at said relay function, up to becoming scheduled volume as the said memory space that releases news that is published in the said repeater of issue destination.
4. connection mode control appliance; Be used for being controlled at network system and be connected to the connection mode between said distributor and a plurality of repeaters that form a plurality of levels as the distributor of the issue source that releases news with tree structure; Wherein said releasing news issued in said network system, and this equipment comprises:
Jockey, some that are used for said a plurality of repeaters are connected to a repeater in the said repeater, thereby form said releasing news are published to the mulitpath of the said repeater in the said repeater; And
The issue control device; Said the releasing news that is used for being distributed to via the main path as one of path a said repeater of said repeater is published to said the releasing news of resetting in another repeater of the level under the said repeater that belongs in the said repeater, the said repeater in said repeater, and will be via being published to another repeater of the level under the said repeater that belongs in the said repeater as the said main path in one of path or as said the releasing news that the subpath of another paths is distributed to the said repeater in the said repeater.
5. connection mode control appliance as claimed in claim 4; Further comprise switching device shifter; When the said relay function of the said repeater of the level on the said repeater in the said repeater on belonging to said main path stops; Be used for switching to the said of a said repeater that is distributed to said repeater via subpath and release news, reset thereby it is offered in the said repeater in the said repeater.
6. connection mode control appliance as claimed in claim 5; Further comprise indexing unit; Offer playback time in this repeater when switching to through said switching device shifter that be distributed to this repeater via said subpath said releases news so that with it; Be used to retrieve the new repeater that said distributor perhaps belongs to the said level on this repeater
Wherein said jockey is connected to this repeater with the said new repeater that said distributor is perhaps retrieved by said indexing unit, thereby forms new path.
7. connection mode control appliance as claimed in claim 4; Further comprise indexing unit; When the said relay function of the said repeater of the said level on the said repeater in the said repeater on belonging to subpath stops; The new repeater of the said level on the said repeater that is used for retrieving said distributor or belonging to said repeater
Wherein said jockey is connected to the said repeater in the said repeater with said distributor or by the said new repeater that said indexing unit retrieves, thereby forms new subpath.
8. like claim 6 or 7 described connection mode control appliances, wherein said indexing unit is retrieved said distributor or said new repeater, so that another repeater on the said level under this repeater is included in the new main path.
9. connection mode control appliance as claimed in claim 4, wherein said jockey is connected to this repeater with each repeater on the different levels, thereby forms mulitpath.
10. connection mode control method; Be used for being controlled at network system and be connected to the connection mode between said distributor and a plurality of repeaters that form a plurality of levels as the distributor of the issue source that releases news with tree structure; Wherein said releasing news issued in said network system, and this method comprises:
Searching step, when the relay function in any one said repeater stops, retrieval except the said repeater that relay function has stopped any one said repeater and can relaying is said release news;
Connection Step will be used to receive the said said repeater that releases news and be connected to said another repeater that retrieves; And
Issue continues step; Continue the said issue Connection Step that releases news of issue as another repeater, be used for through making the said issue speed that releases news continue issue faster than the issue speed before stopping at said relay function via said another repeater via said connection.
11. connection mode control method; Be used for being controlled at network system and be connected to the connection mode between said distributor and a plurality of repeaters that form a plurality of levels as the distributor of the issue source that releases news with tree structure; Wherein said releasing news issued in said network system, and this method comprises:
Connection Step, some that are used for said a plurality of repeaters are connected to a repeater in the said repeater, thereby form said releasing news are published to the mulitpath of the said repeater in the said repeater; And
The issue controlled step; Said the releasing news that is used for being distributed to via the main path as one of path a said repeater of said repeater is published to said the releasing news of resetting in another repeater of the level under the said repeater that belongs in the said repeater, the said repeater in said repeater, and will be via being published to another repeater of the level under the said repeater that belongs in the said repeater as the said main path in one of path or as said the releasing news that the subpath of another paths is distributed to the said repeater in the said repeater.
CN2005800239469A 2004-07-16 2005-06-08 Connection mode control device, connection mode control method and connection mode control program Expired - Fee Related CN1998199B (en)

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
JP2004210595A JP4496872B2 (en) 2004-07-16 2004-07-16 Connection mode control device and relay device, connection mode control method and relay method, connection mode control program, and relay device program
JP210595/2004 2004-07-16
JP2004284563A JP2006101175A (en) 2004-09-29 2004-09-29 Network control apparatus, network control method, and network control program
JP284563/2004 2004-09-29
PCT/JP2005/010518 WO2006008885A1 (en) 2004-07-16 2005-06-08 Connection mode control device, connection mode control method, and connection mode control program

Publications (2)

Publication Number Publication Date
CN1998199A CN1998199A (en) 2007-07-11
CN1998199B true CN1998199B (en) 2012-01-04

Family

ID=35899314

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2005800239469A Expired - Fee Related CN1998199B (en) 2004-07-16 2005-06-08 Connection mode control device, connection mode control method and connection mode control program

Country Status (2)

Country Link
JP (1) JP4496872B2 (en)
CN (1) CN1998199B (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4692414B2 (en) * 2006-06-29 2011-06-01 ブラザー工業株式会社 Communication system, content data transmission availability determination method, node device, node processing program, etc.
JP4661751B2 (en) 2006-09-29 2011-03-30 ブラザー工業株式会社 Detachability control device, tree-type distribution system, node device detachment control method, detachability control program, and information processing program
JP4871154B2 (en) * 2007-01-31 2012-02-08 株式会社日立製作所 Wireless communication network system, network construction method, center station, relay station, terminal station, and program thereof
JP4623026B2 (en) 2007-03-02 2011-02-02 ブラザー工業株式会社 CONTENT DISTRIBUTION SYSTEM, TERMINAL DEVICE, CONTENT DISTRIBUTION METHOD, AND PROGRAM USED FOR THE SAME
JP4894590B2 (en) 2007-03-30 2012-03-14 ブラザー工業株式会社 Network system, information processing apparatus, and information processing program
JP4770790B2 (en) 2007-05-07 2011-09-14 ブラザー工業株式会社 Tree-type broadcasting system, method for joining and leaving tree-type broadcasting system, node device, and node processing program
JP2008288778A (en) * 2007-05-16 2008-11-27 Hitachi Kokusai Electric Inc Image data transmission / reception system
JP2008293197A (en) 2007-05-23 2008-12-04 Brother Ind Ltd INFORMATION DISTRIBUTION SYSTEM, TERMINAL DEVICE AND PROGRAM USED FOR THE SYSTEM, AND INFORMATION PROCESSING METHOD
JP2008294626A (en) 2007-05-23 2008-12-04 Brother Ind Ltd Content distributed storage system, content storage method, node device, and node processing program
JP4924389B2 (en) * 2007-11-30 2012-04-25 ブラザー工業株式会社 TERMINAL DEVICE, INFORMATION PROCESSING PROGRAM, AND INFORMATION PROCESSING METHOD USED FOR INFORMATION DISTRIBUTION SYSTEM
JP4518169B2 (en) 2008-03-24 2010-08-04 ブラザー工業株式会社 Tree-type broadcast system, mode switching instruction method, broadcast apparatus, and broadcast processing program
JP5092877B2 (en) 2008-04-30 2012-12-05 ブラザー工業株式会社 Tree-type broadcasting system, packet transmission method, node device, and node processing program
JP5533453B2 (en) * 2010-08-31 2014-06-25 沖電気工業株式会社 Tree network reconfiguration device and program, and tree network reconfiguration method
CN103209162B (en) * 2012-01-16 2016-05-18 中国科学院声学研究所 A kind of Web class service deployment method and device
JP2018148430A (en) * 2017-03-06 2018-09-20 株式会社東芝 Data distribution system, communication device, communication control method, and program
JP7141263B2 (en) * 2018-06-29 2022-09-22 キヤノン株式会社 Communication control device, control method and program

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1329806A (en) * 1998-12-01 2002-01-02 艾利森电话股份有限公司 Oueue Management in packet switched networks

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08130551A (en) * 1994-11-02 1996-05-21 Ekushingu:Kk Layered network for data communication
JP2003006085A (en) * 2001-06-20 2003-01-10 Nec Corp Contents distribution system, its method and contents distribution program
JP3955989B2 (en) * 2001-11-29 2007-08-08 株式会社 アンクル Stream data distributed delivery method and system
JP3629008B2 (en) * 2002-04-19 2005-03-16 松下電器産業株式会社 Data receiving apparatus and data distribution system
JP2003333488A (en) * 2002-05-09 2003-11-21 Mitsubishi Electric Corp Streaming data playback method and streaming data playback method
JP3925311B2 (en) * 2002-06-03 2007-06-06 ソニー株式会社 Data distribution system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1329806A (en) * 1998-12-01 2002-01-02 艾利森电话股份有限公司 Oueue Management in packet switched networks

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
CN 1329806 A,全文.
JP特开平10-262118A 1998.09.29
JP特开平8-130551A 1996.05.21

Also Published As

Publication number Publication date
JP2006033514A (en) 2006-02-02
JP4496872B2 (en) 2010-07-07
CN1998199A (en) 2007-07-11

Similar Documents

Publication Publication Date Title
CN1998199B (en) Connection mode control device, connection mode control method and connection mode control program
US8305880B2 (en) Network controlling apparatus, network controlling method, and network controlling program for controlling a distribution mode in a network system
US11539789B2 (en) Method and apparatus for recovering missing data in multi-source hybrid overlay network
CN101189837B (en) Packet ring network system, packet transfer method, and node
CN101309161B (en) Information distribution system, terminal apparatus used in such system, recording medium on which program is recorded, and loop connection avoidance method
KR20020013567A (en) Method and device for multicasting
JPH11150723A (en) VOD service system
CN107196772A (en) A kind of method and device of broadcast message
CN111813795B (en) Method and apparatus for confirming transactions in a blockchain network
CN101421993B (en) Node device, storage control program, and information storage method
US9647932B2 (en) Network routing modifications for distribution of data
JP4808731B2 (en) Method for adjusting load between subsystems in a communication network system
JP4692414B2 (en) Communication system, content data transmission availability determination method, node device, node processing program, etc.
CN110460482B (en) Traffic acquisition method, device, server and medium
CN115515003B (en) Device management in an ad hoc presence network
JP2007193602A (en) Stream data distribution management method and apparatus
JP4595469B2 (en) Connection mode control device, connection mode control method, and connection mode control program
JP4392343B2 (en) Message distribution method, standby node device, and program
JP2001053744A (en) Parallel distribution system
CN113992639B (en) Audio and video processing method and device
CN113453340A (en) Service method, server cluster and LoRaWAN network system
JP2008252172A (en) Connection mode control device, connection mode control method, and connection mode control program
US20130159475A1 (en) Communication terminal, communication control method, and program
US20250267056A1 (en) Node consensus method, electronic device, and storage medium
US12114037B2 (en) Method and device for managing the operating mode of a device comprising means for transferring an audiovisual source and means for reproducing an audio signal in an audiovisual system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120104

Termination date: 20180608

CF01 Termination of patent right due to non-payment of annual fee