CN100461777C - Method and system for sending configuration message - Google Patents

Method and system for sending configuration message Download PDF

Info

Publication number
CN100461777C
CN100461777C CN 200610111286 CN200610111286A CN100461777C CN 100461777 C CN100461777 C CN 100461777C CN 200610111286 CN200610111286 CN 200610111286 CN 200610111286 A CN200610111286 A CN 200610111286A CN 100461777 C CN100461777 C CN 100461777C
Authority
CN
Grant status
Grant
Patent type
Prior art keywords
configuration
terminal device
message
switch
server
Prior art date
Application number
CN 200610111286
Other languages
Chinese (zh)
Other versions
CN1905537A (en )
Inventor
刘业梅
Original Assignee
杭州华三通信技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Grant date

Links

Abstract

本发明公开了一种下发配置报文的方法和系统,该系统包括:至少一个终端设备、交换机和服务器。 The present invention discloses a configuration packet issued a method and a system, the system comprising: at least one terminal device, the switch and the server. 该方法包括:当对各个终端设备进行相同的数据配置时,将各个终端设备设置为一个组播组;服务器将该组播组的组播地址作为配置报文的目的地址,然后将配置报文发送至交换机;交换机接收到配置报文后,根据配置报文中的目的地址为组播地址,复制配置报文,将所复制的配置报文发送至该组播组中的各个终端设备。 The method comprising: When the respective data terminal device the same configuration, each terminal device to a multicast group; a multicast group the multicast address of the server as the destination address of packets is configured, the configuration message then sent to the exchange; after receiving the configuration packet switch, the configuration according to the destination address in the packet is a multicast address, copying the configuration packet, the duplicated packets sent to the configured multicast group in each terminal device. 本发明减少了配置工作量,降低了对网络设备进行管理和维护的难度,并大大减少了完成配置工作的时间周期。 The present invention reduces the configuration workload, reduce the difficulty of network management and maintenance of the equipment and significantly reduces the time period to complete the configuration work.

Description

一种下发配置报文的方法和系统 One kind of method and system for configuration issued packets

技术领域 FIELD

本发明涉及网络管理技术,特别是涉及一种下发配置报文的方法和系统。 The present invention relates to network management technologies, particularly to a configuration message issued methods and systems.

背景技术 Background technique

在进行网络部署时,需要向网络中的各个终端设备下发配置报文,各个终端设备根据接收到的配置报文执行数据配置过程。 During network deployment, each terminal device receives the configuration message sent to execution data configuration process configuration packets at the network terminal device according to each of. 比如,通过向网络中的各个终端设备下发配置报文指定各个终端设备所使用的报文封装方式和加密算法等。 For example, through the network to the respective terminal devices specified packets each terminal device used by packet encapsulation and encryption algorithm delivers the configuration message and the like.

目前,通常采用简单网络管理协议(SNMP)网管方式向网络中的各个终端设备下发配置报文,其基本实现过程为:在对网络中的各个终端设备进行配置时,针对每一个终端设备分别构造配置报文,将所构造出的各个配置报文分别发送至各个终端设备。 At present, commonly used Simple Network Management Protocol (SNMP) network management mode to send the configuration message at the network each terminal device, the basic implementation process is: When the network each terminal device can be configured separately for each terminal device structure configuration packet, each of the constructed configuration packets are transmitted to each terminal device. 此后,各个终端设备则可分别根据接收到的配置报文执行对应的数据配置过程。 Thereafter, each terminal device may be arranged to receive packets corresponding data configuration process executed in accordance with.

由以上描述可以看出,在现有技术中,下发配置报文采用的是点对点发送方式,也就是说,针对每一个需要配置的终端设备,服务器均需要下发一个配置报文。 As can be seen from the above description, in the prior art, deliver the configuration packet uses a point to point transmission mode, i.e., for each terminal device needs to be configured, the server needs to send a next packet configuration. 然而在目前,网络中大量终端设备的数据配置是相同的,比如, 针对视频监控网络中各个编码器所支持的编码格式、加密算法等的配置是完全相同的,这样,针对每一个终端设备所下发的配置报文的内容就是相同的, 如果仍采用现有技术针对数量众多的每一个终端设备均下发一个配置报文的方法,则会无谓地增加配置工作量,增加对网络设备进行管理和维护的难度,并大大增加了完成配置工作的时间周期。 However, in the present, a large amount of data in the network configuration of the terminal apparatus is the same, for example, for video surveillance network configuration of each encoder encoding format supported encryption algorithms are identical, so that, for each terminal device issued configuration message content is the same, if still using prior art methods to configure a large number of messages for each terminal equipment are issued, it will unnecessarily increase the configuration workload, increase network devices management and maintenance of difficulty, and greatly increased the time period to complete the configuration work. 发明内容 SUMMARY

有鉴于此,本发明的主要目的在于提供一种下发配置报文的方法,本发明的另一目的在于提供一种下发配置报文的系统,以便减少配置工作量。 In view of this, the main object of the present invention is to provide a method for the configuration of the message sent, a further object of the present invention is to provide one kind of configuration packets issued system configuration in order to reduce the workload.

为了达到上述目的,本发明的技术方案是这样实现的: 一种下发配置报文的方法,应用于对各个终端设备进行相同数据配置的系统中,该方法包括: To achieve the above object, the technical solution of the present invention is implemented as follows: a method for configuring message issued, is applied to each terminal device in the system with the same configuration data, the method comprising:

A、 将各个终端设备i殳置为一个组播组; A, the respective terminal devices Shu i is set to a multicast group;

B、 服务器将该组播组的组播地址作为配置报文的目的地址,然后将配置报文发送至交换机; B, the server multicast address of the multicast group as the destination address of packets is configured and arranged to send a packet to the switch;

C、 交换机接收到配置报文后,根据配置报文中的目的地址为组播地址,复制配置报文,将所复制的配置报文发送至该组播组中的各个终端设备。 After C, the switch receiving the configuration message, the configuration according to the destination address in the packet is a multicast address, copying the configuration packet, the duplicated packets sent to the configured multicast group in each terminal device.

所述步骤A包括: Said step A comprising:

Al、服务器将为各个终端设备设置的组播组的组播地址发送至各个终端设 Al, the server will send a multicast address of the multicast group is provided to each terminal device is provided for each terminal

备; Equipment;

A2、各个终端设备根据接收到的组播地址加入组播组。 A2, each terminal device joins the multicast group according to the received multicast address.

在服务器接收到各个终端设备发来的注册请求报文,并对注册请求报文验证成功后,执行所述步骤A1。 In each terminal device server receives the registration request sent by the message, and the registration request message after a successful authentication, performing the step A1.

所述步骤A2包括:各个终端设备分别构造因特网組管理协议IGMP加入消息,将所接收到的组播地址携带在IGMP加入消息中发送至交换机;交换机根据各个终端设备发来的携带组播地址的IGMP加入消息,将各个终端设备设置为组播组的成员,并将自身中接收到IGMP加入消息的各个端口记录为组播組只十应的端口。 Said step A2 comprises: respective terminal devices are configured Internet Group Management Protocol IGMP join message, the received multicast address carried in the IGMP Join message to the switch; switch according to each terminal device sent by the multicast address carried each port record IGMP join message, to the respective terminal members of the multicast group, and itself receiving the IGMP join message to the multicast group corresponding to only ten ports.

在步骤C中,所述将所复制的配置报文发送至该组播组中的各个终端设备的步骤包括:交换机通过组播组对应的端口将所复制的配置报文分别发送至各个终端设备。 In step C, the configuration of the copied packets to the step of sending the multicast group in each terminal apparatus comprising: a switch configured copied packets are transmitted to each terminal device via a port corresponding to the multicast group .

在步骤C之后,进一步包括:所述各个终端设备中的第一终端设备接收到 After step C, and further comprising: each said terminal apparatus to the first terminal device receives

配置报文但根据配置报文执行的数据配置不成功后,该第一终端设备通过交换 Configuration packet but unsuccessful configuration according to the configuration data packet performed, the first terminal device by exchanging

机将失败响应消息发送至服务器;服务器接收到第一终端设备发来的失败响应 Machine failure response message to the server; receiving terminal device sent by the first failure response

消息后,通过交换机将配置报文发送至第一终端设备,第一终端设备根据配置 After the message switch by sending messages to the first terminal, a first terminal device according to the configuration

报文执行对应的数据配置过程。 Performing packet data corresponding to the configuration process.

在步骤C之后,进一步包括:服务器通过交换机周期性地向各个终端设备发送携带配置数据的巡检消息;各个终端设备接收到巡检消息后,分别判断该巡检消息中携带的配置数据与自身的配置是否相匹配,其中,第二终端设备在确定巡检消息中携带的配置数据与自身的配置不匹配后,通过交换机将错误提示报文发送至服务器;服务器通过交换机将配置报文发送至第二终端设备,第二终端设备根据配置报文执行对应的数据配置过程。 After step C, and further comprising: a server through the switch periodically transmits polling message carrying the configuration data to each terminal device; each terminal device after receiving the polling message, the polling data are determined configuration message carries with itself configuration matches, wherein, after the second terminal device carried in the message to determine the inspection configuration data does not match its own configuration, the switch by the error message to the server; switch by sending messages to a second terminal, the second terminal device configured to perform the corresponding data packet in accordance with the configuration process.

第一终端设备以单播方式将所述失败响应消息通过交换机发送至服务器; 服务器以单播方式将所述配置报文通过交换机发送至第一终端设备。 A first terminal device in a unicast manner the failure response message to the server through the switch; server in a unicast manner of sending messages to the first terminal device through the switch. 服务器以单播方式将所述配置报文通过交换机发送至第二终端设备。 Server in a unicast manner to the configuration packet to the second terminal device through the switch. 一种下发配置报文的系统,该系统包括:至少一个终端设备、服务器和交 One kind of configuration packets issued system comprising: at least one terminal device, the server and delivery

换机,其中, Replacement, which,

所述终端设备,接收组播组的配置报文; The terminal device configured to receive the multicast packet group;

所述服务器,用于将所述终端设备设置为一个组播组,将组播地址作为配置报文的目的地址,然后将配置报文发送至交换机; The server for the terminal device to a multicast group, the multicast address as the destination address of packets is configured and arranged to send a packet to the switch;

所述交换机,用于接收到配置报文后,根据配置报文中的目的地址为组播地址,复制配置报文,将所复制的配置报文发送至该组播组中的各个终端设备。 Said switch, after receiving the configuration message, the configuration according to the destination address in the packet is a multicast address, copying the configuration packet, the duplicated packets sent to the configured multicast group in each terminal device.

所述服务器,用于将组播组的组播地址发送至交换机; The server is configured to send the multicast address of the multicast group to the switch;

交换机,用于将接收到的组播地址发送至各个终端设备,将接收到IGMP 加入消息的各个端口记录为组播组对应的端口,通过组播组对应的端口将配置报文发送至各个终端设备; Recording the respective switch port, for converting the received multicast addresses to each terminal device, the received IGMP join message to the multicast group corresponding to the port, the port corresponding to the multicast group by sending messages to the respective terminals equipment;

各个终端设备,用于根据接收到的组播地址向交换机发送IGMP加入消 Each terminal device, configured to send an IGMP Join to the switch elimination according to the multicast address received

from

由此可见,在本发明中,当对各个终端设备的数据配置相同时,本发明将该各个终端设备设置为一个組播组,这样,服务器只需以组播方式针对该组播组中的各个终端设备下发一个配置报文即可,而无需现有技术中分别下发多个配置报文的繁瑣处理,也就是说,本发明采用了点对多点发送方式,因此,减少了配置工作量,降低了对网络设备进行管理和维护的难度,并大大减少了完成配置工作的时间周期。 Thus, in the present invention, when a data configuration of each terminal apparatus are the same, the respective terminal device to a multicast group according to the present invention, so that the server only in a multicast group for the multicast at each terminal device can send a configuration message, without complicated processing a plurality of configuration packets are issued prior art, that is to say, the present invention uses the multipoint transmission mode, thus reducing deployment workload, reduce the difficulty of network management and maintenance of the equipment and significantly reduces the time period to complete the configuration work.

附图说明 BRIEF DESCRIPTION

图1是在本发明中下发配置报文的系统的基本结构示意图。 FIG 1 is a basic structural diagram of a system configuration message issued in the present invention.

图2是在本发明中实现下发配置报文的流程图。 FIG 2 is a flow chart for implementing the configuration message issued in the present invention. 具体实施方式 detailed description

本发明提出了一种下发配置报文的方法,其核心思想是:当对各个终端设备的数据配置相同时,将各个终端设备设置为一个组播组;服务器将针对该组播组的配置报文发送至交换机;交换机将配置报文发送至该组播组中的各个终端设备。 The present invention proposes a configuration message issued method, the core idea is: when a configuration data to each terminal device are the same, the respective terminal device to a multicast group; server will be configured for the multicast group message sent to the exchange; switch configuration message to the multicast group in the respective terminal devices.

相应的,本发明还提出了一种下发配置报文的系统。 Accordingly, the present invention proposes a configuration packets issued system. 图l是在本发明中下发配置报文的系统的基本结构示意图。 Figure l is a schematic view of the basic structure of the present invention to deliver the configuration of a system message. 参见图1,本发明系统的基本结构包括:至少一个终端设备、服务器和交换机,其中, Referring to Figure 1, the basic structure of the present invention, the system comprising: at least one terminal device, the server and the switch, wherein,

所述终端设备,接收组播组的配置报文; The terminal device configured to receive the multicast packet group;

所述服务器,用于将所述终端设备设置为一个组播组,将针对该组播组的配置报文发送至交换机; The server for the terminal device to a multicast group, the multicast packet for the group configuration sent to the exchange;

所述交换机,用于将配置报文发送至该组播组中的终端设备。 Said switch, for sending messages to the multicast group of terminal devices.

为使本发明的目的、技术方案和优点更加清楚,下面结合附图及具体实施例对本发明作进一步地详细描述。 To make the objectives, technical solutions, and advantages of the present invention clearer, the following specific embodiments of the present invention will be described in further detail in conjunction with the accompanying drawings and.

图2是在本发明中实现下发配置报文的流程图。 FIG 2 is a flow chart for implementing the configuration message issued in the present invention. 参见图l和图2,在本发明中,当需要对各个终端设备进行相同的数据配置时,实现针对该各个终端设备下发配置报文的过程包括以下步骤: Referring to FIGS. L and 2, in the present invention, when the same data configuration is required for each terminal device, to achieve this process for each terminal device to send the configuration message comprising the steps of:

步骤201:预先在服务器上设置组播组的组播地址。 Step 201: the multicast address of the multicast group set in advance on the server.

步骤202:在各个终端设备上电时,各个终端设备分别将注册请求报文发送至服务器。 Step 202: When the power on each terminal device, respectively, each terminal device transmits a registration request message to the server.

步骤203:服务器接收到各个终端设备的注册请求报文后,分别对每一个注册请求报文进行验证。 Step 203: The server receives the respective terminal device registration request packet, respectively, for each of the registration request packet authentication.

步骤204:在服务器对每一个注册请求报文验证成功后,服务器将所设置的组播地址分别发送至各个终端设备。 Step 204: After the server for each registration request from the authentication is successful, the multicast address set in the server are transmitted to each terminal device.

这里,服务器可以将所设置的組播地址携带在注册成功报文中,通过交换机分别发送至各个终端设备。 Here, the server may set the multicast address carried in the registration success message sent to each terminal device through the switch, respectively.

在上述步骤203中,在服务器对注册请求报文进行验证时,如果该注册请求报文为非法报文或报文内容不完整,则可确定验证不成功,如果该注册请求报文不为非法报文且报文内容完整,则可确定验证成功。 In the above step 203, when the server to authenticate the registration request, the registration request if the packet is illegal packet or incomplete packets, may be determined authentication is unsuccessful, if the registration request is not illegal message and the message content is complete, you can determine the authentication is successful. 并且,在步骤203中,如果对一个注册请求报文的验证不成功,那么,服务器可以将错误提示报文发送至发来该注册请求报文的终端设备。 Then, in step 203, if a registration request message authentication is not successful, then the server may prompt an error message to the terminal device transmitting the registration request message is sent.

步骤205:各个终端设备接收到组播地址后,分别构造因特网組管理协议(IGMP)加入消息,将所接收到的组播地址携带在IGMP加入消息中, 然后将该IGMP加入消息发送至交换机。 Step 205: after receiving the respective terminal device the multicast address, each configured Internet Group Management Protocol (IGMP) join message, the received multicast address carried in the IGMP Join message, and then the IGMP join message to the switch.

步骤206:交换机根据各个终端设备发来的携带组播地址的IGMP加入消息,将各个终端设备设置为组播组的成员,并将自身中接收到IGMP加入消息的各个端口记录为組播組对应的端口。 Step 206: the switch according to the IGMP join each terminal device to send a message carrying the multicast address, the respective terminal device to a member of a multicast group, and their respective ports recording received IGMP join message to the multicast group port.

通过步骤205和步骤206的过程,则完成了各个终端设备加入组播組的过程。 By the process of step 206 and step 205, the process is completed the respective terminal devices join a multicast group.

步骤207:服务器接收到触发配置命令。 Step 207: The server receives the trigger configuration commands.

这里,如杲服务器不支持与管理人员的交互功能,那么,管理人员可以在与服务器相连的一个客户端上下发触发配置命令,该客户端将触发配置命令发送至服务器,即,在本步骤中,服务器接收的是客户端发来的触发配置命令。 Here, as Gao server does not support interactive functions and management personnel, then the management personnel can end downward the trigger configuration command on a client connected to the server, the client will trigger configuration commands sent to the server, i.e., in this step, the server receives the client is sent to the trigger configuration commands.

如果服务器支持与管理人员的交互功能,那么,管理人员可以直接在服务器上下发触发配置命令,即,在本步骤中,服务器接收到的是管理人员直接输入的触发配置命令。 If the interaction management support server function, then the management personnel can be sent directly trigger command at the server arranged vertically, i.e., in this step, the server receives the command to trigger the configuration management direct input.

步骤208:服务器将对各个终端设备的配置数据構带在配置报文中,并将所设置的组播地址作为该配置报文的目的地址,然后将该配置报文发送至交换机。 Step 208: The server will be configured with each terminal device configuration data in the configuration packet, and set the multicast address as the destination address of the configuration message, and then sends the packet to the switch configuration.

步骤209:交换机接收到配置报文后,根椐配置报文中的目的地址为組播地址,复制配置报文,并通过组播组对应的端口将所复制的配置报文分别发送至各个终端设备。 Step 209: After receiving the configuration packet switch, the configuration noted in the destination address in the packet is a multicast address, copying the configuration packet, and the duplicated configuration packets are transmitted to each terminal via a port corresponding to the multicast group equipment.

步骤210:各个终端设备分别接收到配置报文,分别根据配置报文执行对应的数据配置过程。 Step 210: each terminal device configured to receive packets, packets are arranged corresponding data configuration process executed in accordance with.

步骤2U:在执行数据配置时,如果一个终端设备比如终端设备A,数据配置不成功,该终端设备A通过交换机将携带该终端设备A地址的失败响应消息发送至服务器。 Step 2U: when performing data configuration, if a terminal apparatus such as terminal apparatus A, the data configuration is not successful, the server transmits to the terminal device A switch response message carrying the address of the device A fails terminal.

这里,终端设备A可以通过单播方式将失败响应消息发送至服务器, 也就是说,终端设备A将服务器的地址作为失败响应消息的目的地址,从而通过交换机将失败响应消息发送至服务器。 Here, the terminal device A may be a failure response message to the server destination address, i.e., the terminal device A as the address of the server failure response message is a unicast manner, so that the failure response message sent to the server through the switch.

步骤212:服务器接收到终端设备A发来的失败响应消息后,将携带配置数据的配置报文发送至终端设备A。 Step 212: After receiving the server sent by the terminal device A failure response message carrying the configuration the configuration data packet sent to the terminal device A.

这里,服务器可以通过单播方式将配置报文发送至终端设备A,也就是说,服务器将终端设备A的地址作为当前配置报文的目的地址,然后将配置报文发送至交换机;交换机接收到该配置报文后,根据该配置报文的目的地址为终端设备A的地址,则将配置报文发送至终端设备A。 Here, the server may be configured to unicast packets to the terminal apparatus A, that is, the address of the server terminal apparatus A as the destination address of the packet currently configured, and the configuration message to the switch; switch receives after the configuration message, the configuration according to the destination address of the packet is the address of the terminal apparatus a, the packet will be transmitted to the terminal device configuration A.

在上述步骤211和步骤212中,如果服务器和终端设备A均采用单播方式发送配置报文和失败响应消息,而不采用组播方式,则可避免组播组中其他已成功进行数据配置的终端设备接收到该配置报文和失败响应消息,从而避免了无谓地消息处理过程。 In the above step 211 and step 212, if the server and the terminal devices A are arranged in unicast packets and send a failure response message, without using a multicast, a multicast group may be avoided in other configuration data has been successfully the terminal device receives the configuration message and the failure response message, thereby avoiding unnecessarily message processing procedure.

步骤213:终端设备A根据配置报文执行对应的数据配置过程。 Step 213: A terminal device configured to perform the corresponding data packet in accordance with the configuration process.

在上述步骤210至步骤213中,描述的是各个终端设备接收到配置报文后,如果其中一个终端设备无法完成数辨配置,本发明如何确保该终端设备成功执行数据配置的过程。 In the above-described step 210 to step 213, each terminal device is described, after receiving the configuration message, if not complete one of several identified terminal device configuration, the present invention is how to ensure that the process of the terminal device configuration data successfully executed. 如果由于网络传输环境的影响,使得一个终端设 If the transmission environment due to the network, such that a terminal provided

备比如终端设备B,无法接收到配置报文,从而无法进行数据配置,本发明确保该终端设备B能够成功进行数据配置的过程可通过如下步骤214至步骤217来实现。 Preparation such as terminal apparatus B, the configuration can not receive the packet, so that data can not be arranged, the present invention ensures that the terminal apparatus B is able to successfully process data may be arranged as steps 214 to step 217 to achieve.

步骤214:服务器通过交换机周期性地向各个终端设备发送携带配置数据的巡检消息。 Step 214: The server periodically transmits a polling message carrying the configuration data to each terminal device through the switch.

这里,服务器可以采用组播方式发送巡检消息。 Here, the server may send a polling message using multicast mode.

步骤215:各个终端设备接收到巡检消息后,分别判断该巡检消息中携带的配置数据与自身的配置是否相匹配,如果是,则结束当前流程,否则, 执行步骤216。 Step 215: after receiving the respective terminal device polling message, the polling message is determined respectively carried in the configuration data matches the configuration itself, if yes, ending the current process, otherwise, step 216 is executed.

步骤216:确定巡检消息中携带的配置数据与自身的配置不相匹配的终端设备,比如终端设备B,通过交换机将错误提示报文发送至服务器。 Step 216: determining the terminal equipment inspection message carries its own configuration data and configuration do not match, such as terminal equipment B, the error by the switch packet to the server.

步骤217:服务器通过交换机将携带配置数据的配置报文发送至终端设备B。 Step 217: Server configuration data by carrying the switch configuration message to the terminal device B.

这里,服务器可以通过单播方式将配置报文发送至终端设备B,并且终端设备B根据当前接收到的配置报文则可执行对应的数据配置过程„ Here, the server may be configured to unicast packets to the terminal device B, and the terminal apparatus B according to the current configuration of the received packet data may be performed corresponding to the configuration "

较佳地,本发明的技术方案可以应用于监控网络,比如视频监控网络中。 Preferably, the aspect of the present invention may be applied to monitor the network, such as video surveillance network. 当应用于视频监控网络中时,所述的服务器为视频服务器,所述的终端设备为编解码。 When applied to video surveillance network, the server is a video server, the terminal device is a codec.

总之,以上所述仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。 In summary, the above descriptions are merely preferred embodiments of the present invention but are not intended to limit the scope of the present invention. 凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 Any modification within the spirit and principle of the present invention, made, equivalent substitutions, improvements, etc., should be included within the scope of the present invention.

Claims (11)

  1. 1、一种下发配置报文的方法,应用于对各个终端设备进行相同数据配置的系统中,其特征在于,该方法包括: A、将各个终端设备设置为一个组播组; B、服务器将该组播组的组播地址作为配置报文的目的地址,然后将配置报文发送至交换机; C、交换机接收到配置报文后,根据配置报文中的目的地址为组播地址,复制配置报文,将所复制的配置报文发送至该组播组中的各个终端设备。 1, a method for configuring a packet issued, is applied to each terminal device in the system with the same configuration data, wherein the method comprises: A, the respective terminal device to a multicast group; B, server configured as a destination address of the packet, and then configure the multicast packets to a multicast group address switch; the C, the switch receiving the configuration message, the configuration according to the destination address in the packet is a multicast address, copying configuration packet, the duplicated packets sent to the configured multicast group in each terminal device.
  2. 2、 根据权利要求1所述的方法,其特征在于,所述步骤A包括:Al、服务器将为各个终端设备设置的组播组的组播地址发送至各个终端设备;A2、各个终端设^^艮据接收到的组播地址加入组播組。 2. The method according to claim 1, wherein said step A comprises: Al, the server will send a multicast address of the multicast group is provided to each terminal device each terminal device; A2, each terminal provided ^ Gen ^ According to the received multicast address to join a multicast group.
  3. 3、 根据权利要求2所述的方法,其特征在于,在服务器接收到各个终端设备发来的注册请求报文,并对注册请求报文验证成功后,执行所述步骤A1。 3. The method according to claim 2, characterized in that each terminal device server receives the registration request sent by the message, and the registration request message after a successful authentication, performing the step A1.
  4. 4、 根据权利要求2或3所述的方法,其特征在于,所述步骤A2包括:各个终端设备分别构造因特网組管理协议IGMP加入消息,将所接收到的组播地址携带在IGMP加入消息中发送至交换机;交换机根据各个终端设备发来的携带组播地址的IGMP加入消息,将各个终端设备设置为组播组的成员,并将自身中接收到IGMP加入消息的各个端口记录为组播组对应的端口。 4. The method of claim 2 or claim 3, wherein the step A2 comprises: respective terminal devices are configured Internet Group Management Protocol IGMP join message, the received multicast address carried in the IGMP join message sent to the exchange; was added to the IGMP switch each terminal device sent by the multicast address carried in the message, set the respective terminal members of the multicast group, and their respective ports recording received IGMP join message to the multicast group the corresponding port.
  5. 5、 根据权利要求4所述的方法,其特征在于,在步骤C中,所述将所复制的配置报文发送至该组播组中的各个终端设备的步骤包括:交换机通过组播组对应的端口将所复制的配置报文分别发送至各个终端设备。 5. The method as claimed in claim 4, wherein, in step C, the configuration message will be copied to the step of sending the multicast group in each terminal apparatus comprising: a multicast group corresponding to the switch the port configuration copied packets are transmitted to each terminal device.
  6. 6、 根据权利要求1所述的方法,其特征在于,在步骤C之后,进一步包括: 所述各个终端设备中的第一终端设备接收到配置报文但根据配置报文执行的数据配置不成功后,该第一终端设备通过交换机将失败响应消息发送至服务器; 服务器接收到第一终端设备发来的失败响应消息后,通过交换机将配置报文发送至第一终端设备,第一终端设备根据配置报文执行对应的数据配置过程。 6. The method of claim 1, wherein, after step C, and further comprising: each said terminal apparatus in a first terminal device receives the message, but the configuration according to the configuration data packet performed configuration fails after the first terminal device by switch failure response message to the server; the server to the first terminal device receives the failure response message sent by the switch configuration message to the first terminal device, the terminal device according to a first configuration data packets corresponding to perform the configuration process.
  7. 7、 根据权利要求1所述的方法,其特征在于,在步骤C之后,进一步包括: 服务器通过交换机周期性地向各个终端设备发送携带配置数据的巡检消息;各个终端设备接收到巡检消息后,分别判断该巡检消息中携带的配置数据与自身的配置是否相匹配,其中,第二终端设备在确定巡检消息中携带的配置数据与自身的配置不匹配后,通过交换机将错误提示报文发送至服务器;服务器通过交换机将配置报文发送至第二终端设备,第二终端设备根据配置报文执行对应的数据配置过程。 7. The method of claim 1, wherein, after step C, and further comprising: a server configuration message carrying the inspection data to each terminal device periodically transmitting via the switch; the respective terminal device receives the polling message after, respectively, determines whether the polling data is carried in the message with its own configuration matches the configuration, wherein the second terminal device carried in the message to determine the inspection configuration data does not match with its own configuration, the error by the switch message to the server; switch by sending messages to the second terminal, the second terminal device performs a corresponding configuration data packet in accordance with the configuration process.
  8. 8、 根据权利要求6所述的方法,其特征在于,第一终端设备以单播方式将所述失败响应消息通过交换机发送至服务器;服务器以单播方式将所述配置报文通过交换机发送至第一终端设备。 8. The method of claim 6, wherein the first terminal device in a unicast manner the failure response message to the server through the switch; server in the unicast manner of sending messages through the switch to first terminal device.
  9. 9、 根据权利要求7所述的方法,其特征在于,服务器以单播方式将所述配置报文通过交换机发送至第二终端设备。 9. The method of claim 7, wherein, server in a unicast manner to the configuration packet to the second terminal device through the switch.
  10. 10、 一种下发配置报文的系统,其特征在于,该系统包括:至少一个终端设备、服务器和交换机,其中,所述终端设备,接收组播组的配置报文;所述服务器,用于将所述终端设备设置为一个组播组,将组播地址作为配置报文的目的地址,然后将配置报文发送至交换机;所述交换机,用于接收到配置报文后,根据配置报文中的目的地址为组播地址,复制配置报文,将所复制的配置报文发送至该组播组中的各个终端设备。 10 A to deliver the configuration message system, characterized in that the system comprises: at least one terminal device, the server and the switch, wherein said terminal device configured to receive the multicast packets of the group; the server, with to the terminal device to a multicast group, the multicast address as the destination address of the packet configuration and sending messages to the switch; after said switch, for receiving the configuration packet, based on the configuration reported the destination address is a multicast address in the text, copy the configuration packet, the duplicated packets sent to the configured multicast group in each terminal device.
  11. 11、 根据权利要求IO所述的系统,其特征在于,所述服务器,用于将组播組的组播地址发送至交换机;交换机,用于将接收到的组播地址发送至各个终端设备,将接收到IGMP 加入消息的各个端口记录为组播组对应的端口,通过组播组对应的端口将配置报文发送至各个终端设备;各个终端设备,用于根据接收到的组播地址向交换机发送IGMP加入消息。 11, IO system as claimed in claim, wherein said server is configured to send the multicast address of the multicast group to the switch; switch, for converting the received multicast addresses to each terminal device, each port record the received IGMP join message to the multicast group corresponding to the port, the port corresponding to the multicast group by sending messages to the respective terminal devices; each terminal device for the switch according to the multicast address received sending an IGMP join message.
CN 200610111286 2006-08-21 2006-08-21 Method and system for sending configuration message CN100461777C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200610111286 CN100461777C (en) 2006-08-21 2006-08-21 Method and system for sending configuration message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200610111286 CN100461777C (en) 2006-08-21 2006-08-21 Method and system for sending configuration message

Publications (2)

Publication Number Publication Date
CN1905537A true CN1905537A (en) 2007-01-31
CN100461777C true CN100461777C (en) 2009-02-11

Family

ID=37674666

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200610111286 CN100461777C (en) 2006-08-21 2006-08-21 Method and system for sending configuration message

Country Status (1)

Country Link
CN (1) CN100461777C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316124B (en) * 2011-10-28 2015-05-20 杭州华三通信技术有限公司 Registration method and equipment for terminal equipment
CN103188611B (en) * 2011-12-27 2017-05-03 中国移动通信集团公司 Things one kind of multicast communication method, apparatus and system for

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1455549A (en) 2002-04-30 2003-11-12 华为技术有限公司 Method of configuration and upgrade of network apparatus in communication system
US6687817B1 (en) 2000-11-14 2004-02-03 Sun Microsystems, Inc. Configuration of a network device via the network
CN1584865A (en) 2003-08-21 2005-02-23 珠海金山软件股份有限公司 Comptuer software updating method
CN1742268A (en) 2002-12-20 2006-03-01 诺基亚公司 Automated bulk configuration of network devices

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6687817B1 (en) 2000-11-14 2004-02-03 Sun Microsystems, Inc. Configuration of a network device via the network
CN1455549A (en) 2002-04-30 2003-11-12 华为技术有限公司 Method of configuration and upgrade of network apparatus in communication system
CN1742268A (en) 2002-12-20 2006-03-01 诺基亚公司 Automated bulk configuration of network devices
CN1584865A (en) 2003-08-21 2005-02-23 珠海金山软件股份有限公司 Comptuer software updating method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
IP组播在路由交换机上的实现改进和计费策略研究. 杨波,王纯,廖建新.现代电信科技,第11期. 2005

Also Published As

Publication number Publication date Type
CN1905537A (en) 2007-01-31 application

Similar Documents

Publication Publication Date Title
US20070233891A1 (en) Multi-output packet server with independent streams
CN101291429A (en) Network video monitoring method and system
CN101834905A (en) Remote document sharing method and remote document sharing server
CN101594242A (en) Method, system and device for transmitting video data
JP2004242063A (en) Data generating device
US20090316573A1 (en) System and method for transmitting messages using a redundancy mechanism
CN1780231A (en) Backup system and method for access servo interface
CN102158748A (en) Methods and systems for collecting and uploading logs
CN1925493A (en) Method and device for processing ARP message
CN101355580A (en) Network video monitoring system with P2P mode and forwarding mode
CN101980496A (en) Message processing method and system, exchange board and access server equipment
CN101114900A (en) Multicast service authentication method and device, system
CN101291240A (en) Multicast flow transmission method and system
CN1414740A (en) Centralized management method of local net exchange equipment
CN101465856A (en) Method and system for controlling user access
CN102404396A (en) Method, device and system for identifying peer-to-peer (P2P) flow and equipment
US20110243138A1 (en) System for controlling path maximum transmission unit by detecting repetitional ip packet fragmentation and method thereof
CN104092718A (en) Distributed system and configuration information updating method in distributed system
CN103312744A (en) Business management method, platform and system based on cloud desktop
JP2006101475A (en) Multicast control method, multicast control device, and device and program for content attribute information management
CN103618706A (en) Control system and method for mutual access of intelligent devices
CN101436923A (en) Method, equipment and network system for synchronizing clock
CN1889464A (en) Method and apparatus for realizing communication take-over and control
CN101951369A (en) Batch terminal upgrading method and system based on automatic discovery
JP2004147262A (en) Network camera instrument and camera video distribution method

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
C14 Granted
ASS Succession or assignment of patent right

Owner name: ZHEJIANG UNIVIEW TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: HUASAN COMMUNICATION TECHNOLOGY CO., LTD.

Effective date: 20120220

C41 Transfer of the right of patent application or the patent right