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

Method and system for sending configuration message Download PDF

Info

Publication number
CN100461777C
CN100461777C CNB2006101112866A CN200610111286A CN100461777C CN 100461777 C CN100461777 C CN 100461777C CN B2006101112866 A CNB2006101112866 A CN B2006101112866A CN 200610111286 A CN200610111286 A CN 200610111286A CN 100461777 C CN100461777 C CN 100461777C
Authority
CN
China
Prior art keywords
terminal equipment
message
configuration
sent
switch
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.)
Active
Application number
CNB2006101112866A
Other languages
Chinese (zh)
Other versions
CN1905537A (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.)
Zhejiang Uniview Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co 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
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CNB2006101112866A priority Critical patent/CN100461777C/en
Publication of CN1905537A publication Critical patent/CN1905537A/en
Application granted granted Critical
Publication of CN100461777C publication Critical patent/CN100461777C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and system of sending configuration messages, where the system comprises at least a terminal device, switcher and server; and the method comprises: as making the same data configuration for each terminal device, setting all terminal devices as a multicast group; the server sends a configuration message for the multicast group to the switcher; the switcher sends the configuration message to each terminal device in the multicast group. And it reduces configuration workload, reduces difficulty in managing and maintaining network devices and largely reduces configuration cycle.

Description

A kind of method and system of sending configuration message
Technical field
The present invention relates to network management technology, particularly relate to a kind of method and system of sending configuration message.
Background technology
When carrying out network design, each terminal equipment sending configuration message that need be in network, each terminal equipment is carried out the data layoutprocedure according to the configuration message that receives.Such as, specify employed message packaged type of each terminal equipment and cryptographic algorithm etc. by each terminal equipment sending configuration message in network.
At present, usually adopt Simple Network Management Protocol (SNMP) webmaster mode each terminal equipment sending configuration message in network, its basic implementation procedure is: when each terminal equipment in the network is configured, construct configuration message respectively at each terminal equipment, each configuration message that is constructed is sent to each terminal equipment respectively.After this, each terminal equipment then can be carried out corresponding data configuration process according to the configuration message that receives respectively.
By above description as can be seen, in the prior art, what sending configuration message adopted is point-to-point send mode, that is to say that at each terminal equipment that need dispose, server all needs to issue a configuration message.Yet at present, the data configuration of great amount of terminals equipment is identical in the network, such as, the coded format of supporting at each encoder in the video surveillance network, the configuration of cryptographic algorithm etc. is identical, like this, content at the configuration message that each terminal equipment issued is exactly identical, if still adopt prior art all to issue the method for a configuration message at each terminal equipment of One's name is legion, then can increase the configuration effort amount meaninglessly, the difficulty that increase manages and safeguards the network equipment, and increased the time cycle of finishing configuration effort greatly.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of method of sending configuration message, another object of the present invention is to provide a kind of system of sending configuration message, so that reduce the configuration effort amount.
In order to achieve the above object, technical scheme of the present invention is achieved in that
A kind of method of sending configuration message is applied to each terminal equipment is carried out in the system of identical data configuration, and this method comprises:
A, each terminal equipment are set to a multicast group;
B, server are sent to switch with configuration message then with the multicast address of this multicast group destination address as configuration message;
After C, switch receive configuration message, be multicast address according to the destination address in the configuration message, the replicated setup message is sent to each terminal equipment in this multicast group with the configuration message that is duplicated.
Described steps A comprises:
A1, server will be sent to each terminal equipment for the multicast address of the multicast group of each terminal equipment setting;
A2, each terminal equipment add multicast group according to the multicast address that receives.
Receive the register requirement message that each terminal equipment is sent at server, and, carry out described steps A 1 after the success of register requirement authentication of message.
Described steps A 2 comprises: each terminal equipment is constructed Internet Group Management Protocol IGMP respectively and is added message, received multicast address is carried in the IGMP adding message is sent to switch; The IGMP that carries multicast address that switch is sent according to each terminal equipment adds message, and each terminal equipment is set to the member of multicast group, and each port that receives IGMP adding message in self is recorded as the multicast group corresponding port.
In step C, the described step that the configuration message that is duplicated is sent to each terminal equipment in this multicast group comprises: switch is sent to each terminal equipment by the multicast group corresponding port respectively with the configuration message that is duplicated.
After step C, further comprise: first terminal equipment in described each terminal equipment receive configuration message but the data configuration carried out according to configuration message unsuccessful after, this first terminal equipment is sent to server by switch with failure response message; Server is sent to first terminal equipment by switch with configuration message after receiving the failure response message that first terminal equipment sends, and first terminal equipment is carried out corresponding data configuration process according to configuration message.
After step C, further comprise: server periodically sends the message of patrolling and examining of carrying configuration data to each terminal equipment by switch; After each terminal equipment receives and patrols and examines message, judge that respectively this patrols and examines the configuration data and the configuration of self of carrying in the message and whether be complementary, wherein, second terminal equipment is sent to server by switch with the miscue message determining to patrol and examine after the configuration data that carries in the message and the configuration of self do not match; Server is sent to second terminal equipment by switch with configuration message, and second terminal equipment is carried out corresponding data configuration process according to configuration message.
First terminal equipment is sent to server with described failure response message by switch with mode of unicast;
Server is sent to first terminal equipment with described configuration message by switch with mode of unicast.
Server is sent to second terminal equipment with described configuration message by switch with mode of unicast.
A kind of system of sending configuration message, this system comprises: at least one terminal equipment, server and switch, wherein,
Described terminal equipment, the configuration message of receiving group group;
Described server is used for described terminal equipment and is set to a multicast group, with the destination address of multicast address as configuration message, then configuration message is sent to switch;
Described switch after being used to receive configuration message, is a multicast address according to the destination address in the configuration message, and the replicated setup message is sent to each terminal equipment in this multicast group with the configuration message that is duplicated.
Described server is used for the multicast address of multicast group is sent to switch;
Switch, the multicast address that is used for receiving is sent to each terminal equipment, and each port that receives IGMP adding message is recorded as the multicast group corresponding port, by the multicast group corresponding port configuration message is sent to each terminal equipment;
Each terminal equipment is used for sending IGMP according to the multicast address that receives to switch and adds message.
This shows, in the present invention, when to the data configuration of each terminal equipment when identical, this each terminal equipment of the present invention is set to a multicast group, like this, server only needs to issue a configuration message in the multicast mode at each terminal equipment in this multicast group and gets final product, and need not to issue respectively in the prior art the loaded down with trivial details processing of a plurality of configuration messages, that is to say, the present invention has adopted the point-to-multipoint send mode, therefore, has reduced the configuration effort amount, reduced the difficulty that the network equipment is managed and safeguards, and significantly reduced the time cycle of finishing configuration effort.
Description of drawings
Fig. 1 is the basic structure schematic diagram of the system of sending configuration message in the present invention.
Fig. 2 is a flow chart of realizing sending configuration message in the present invention.
Embodiment
The present invention proposes a kind of method of sending configuration message, its core concept is: when to the data configuration of each terminal equipment when identical, each terminal equipment is set to a multicast group; Server will be sent to switch at the configuration message of this multicast group; Switch is sent to each terminal equipment in this multicast group with configuration message.
Accordingly, the invention allows for a kind of system of sending configuration message.Fig. 1 is the basic structure schematic diagram of the system of sending configuration message in the present invention.Referring to Fig. 1, the basic structure of system of the present invention comprises: at least one terminal equipment, server and switch, wherein,
Described terminal equipment, the configuration message of receiving group group;
Described server is used for described terminal equipment and is set to a multicast group, will be sent to switch at the configuration message of this multicast group;
Described switch is used for configuration message is sent to the terminal equipment of this multicast group.
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with drawings and the specific embodiments.
Fig. 2 is a flow chart of realizing sending configuration message in the present invention.Referring to Fig. 1 and Fig. 2, in the present invention, in the time need carrying out identical data configuration, realize may further comprise the steps at the process of this each terminal equipment sending configuration message to each terminal equipment:
Step 201: the multicast address that multicast group is set on server in advance.
Step 202: when each terminal equipment powered on, each terminal equipment was sent to server with the register requirement message respectively.
Step 203: after server receives the register requirement message of each terminal equipment, respectively each register requirement message is verified.
Step 204: after server was to each register requirement authentication of message success, server was sent to each terminal equipment respectively with set multicast address.
Here, server can be carried at set multicast address in the message that succeeds in registration, and is sent to each terminal equipment respectively by switch.
In above-mentioned steps 203, when server is verified the register requirement message,, can determine that then checking is unsuccessful if this register requirement message is that invalid packet or message content are imperfect, if this register requirement message is not that invalid packet and message content are complete, then can determine to be proved to be successful.And in step 203, if unsuccessful to the checking of a register requirement message, so, server can be sent to the miscue message terminal equipment of sending this register requirement message.
Step 205: after each terminal equipment receives multicast address, construct Internet Group Management Protocol (IGMP) respectively and add message, received multicast address is carried at IGMP adds in the message, then this IGMP is added message and be sent to switch.
Step 206: the IGMP that carries multicast address that switch is sent according to each terminal equipment adds message, and each terminal equipment is set to the member of multicast group, and each port that receives IGMP adding message in self is recorded as the multicast group corresponding port.
By the process of step 205 and step 206, then finished the process of each terminal equipment adding multicast group.
Step 207: server receives the triggering configuration order.
Here, if server is not supported the interactive function with administrative staff, so, administrative staff can issue the triggering configuration order on a client that links to each other with server, this client will trigger configuration order and be sent to server, that is, in this step, what server received is the triggering configuration order that client is sent.
If server support and administrative staff's interactive function, so, administrative staff can directly issue the triggering configuration order on server, that is, in this step, what server received is the directly triggering configuration orders of input of administrative staff.
Step 208: server will be carried in the configuration message the configuration data of each terminal equipment, and with the destination address of set multicast address as this configuration message, then this configuration message is sent to switch.
Step 209: after switch receives configuration message, be multicast address according to the destination address in the configuration message, the replicated setup message, and the configuration message that is duplicated is sent to each terminal equipment respectively by the multicast group corresponding port.
Step 210: each terminal equipment receives configuration message respectively, carries out corresponding data configuration process according to configuration message respectively.
Step 211: when carrying out data configuration, if a terminal equipment such as terminal equipment A, data configuration is unsuccessful, this terminal equipment A is sent to server by the failure response message that switch will carry this terminal equipment A address.
Here, terminal equipment A can be sent to server with failure response message by mode of unicast, that is to say, terminal equipment A is the address of the server destination address as failure response message, thereby by switch failure response message is sent to server.
Step 212: server is sent to terminal equipment A with the configuration message that carries configuration data after receiving the failure response message that terminal equipment A sends.
Here, server can be sent to terminal equipment A with configuration message by mode of unicast, that is to say, server is sent to switch with configuration message then with the address of the terminal equipment A destination address as current configuration message; After switch receives this configuration message, be the address of terminal equipment A, then configuration message be sent to terminal equipment A according to the destination address of this configuration message.
In above-mentioned steps 211 and step 212, if server and terminal equipment A all adopt mode of unicast to send configuration message and failure response message, and do not adopt the multicast mode, can avoid then that other terminal equipments that successfully carry out data configuration receive this configuration message and failure response message in the multicast group, thereby avoid meaningless ground message processing procedure.
Step 213: terminal equipment A carries out corresponding data configuration process according to configuration message.
In above-mentioned steps 210 to step 213, description be after each terminal equipment receives configuration message, if one of them terminal equipment can't be finished data configuration, how the present invention guarantees the process of this terminal equipment successful execution data configuration.If because the influence of Network Transmission environment, make a terminal equipment such as terminal equipment B, can't receive configuration message, thereby can't carry out data configuration, the present invention guarantees that this terminal equipment B can successfully carry out the process of data configuration and can be as follows 214 realize to step 217.
Step 214: server periodically sends the message of patrolling and examining of carrying configuration data to each terminal equipment by switch.
Here, server can adopt the multicast mode to send and patrol and examine message.
Step 215: after each terminal equipment receives and patrols and examines message, judge that respectively this patrols and examines the configuration data and the configuration of self of carrying in the message and whether be complementary, if, then finish current flow process, otherwise, execution in step 216.
Step 216: determine to patrol and examine the terminal equipment that the configuration data that carries in the message and the configuration of self are not complementary,, the miscue message is sent to server by switch such as terminal equipment B.
Step 217: server is sent to terminal equipment B by the configuration message that switch will carry configuration data.
Here, server can be sent to terminal equipment B with configuration message by mode of unicast, and terminal equipment B then can carry out corresponding data configuration process according to the current configuration message that receives.
Preferably, technical scheme of the present invention can be applied to monitor network, in video surveillance network.In the time of in being applied to video surveillance network, described server is a video server, and described terminal equipment is encoding and decoding.
In a word, the above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (11)

1. the method for a sending configuration message is applied to each terminal equipment is carried out it is characterized in that this method comprises in the system of identical data configuration:
A, each terminal equipment are set to a multicast group;
B, server are sent to switch with configuration message then with the multicast address of this multicast group destination address as configuration message;
After C, switch receive configuration message, be multicast address according to the destination address in the configuration message, the replicated setup message is sent to each terminal equipment in this multicast group with the configuration message that is duplicated.
2. method according to claim 1 is characterized in that, described steps A comprises:
A1, server will be sent to each terminal equipment for the multicast address of the multicast group of each terminal equipment setting;
A2, each terminal equipment add multicast group according to the multicast address that receives.
3. method according to claim 2 is characterized in that, receives the register requirement message that each terminal equipment is sent at server, and to after the success of register requirement authentication of message, carries out described steps A 1.
4. according to claim 2 or 3 described methods, it is characterized in that described steps A 2 comprises: each terminal equipment is constructed Internet Group Management Protocol IGMP respectively and is added message, received multicast address is carried in the IGMP adding message is sent to switch; The IGMP that carries multicast address that switch is sent according to each terminal equipment adds message, and each terminal equipment is set to the member of multicast group, and each port that receives IGMP adding message in self is recorded as the multicast group corresponding port.
5. method according to claim 4 is characterized in that,
In step C, the described step that the configuration message that is duplicated is sent to each terminal equipment in this multicast group comprises: switch is sent to each terminal equipment by the multicast group corresponding port respectively with the configuration message that is duplicated.
6. method according to claim 1, it is characterized in that, after step C, further comprise: first terminal equipment in described each terminal equipment receive configuration message but the data configuration carried out according to configuration message unsuccessful after, this first terminal equipment is sent to server by switch with failure response message; Server is sent to first terminal equipment by switch with configuration message after receiving the failure response message that first terminal equipment sends, and first terminal equipment is carried out corresponding data configuration process according to configuration message.
7. method according to claim 1 is characterized in that, after step C, further comprises: server periodically sends the message of patrolling and examining of carrying configuration data to each terminal equipment by switch; After each terminal equipment receives and patrols and examines message, judge that respectively this patrols and examines the configuration data and the configuration of self of carrying in the message and whether be complementary, wherein, second terminal equipment is sent to server by switch with the miscue message determining to patrol and examine after the configuration data that carries in the message and the configuration of self do not match; Server is sent to second terminal equipment by switch with configuration message, and second terminal equipment is carried out corresponding data configuration process according to configuration message.
8. method according to claim 6 is characterized in that, first terminal equipment is sent to server with described failure response message by switch with mode of unicast;
Server is sent to first terminal equipment with described configuration message by switch with mode of unicast.
9. method according to claim 7 is characterized in that server is sent to second terminal equipment with described configuration message by switch with mode of unicast.
10. the system of a sending configuration message is characterized in that, this system comprises: at least one terminal equipment, server and switch, wherein,
Described terminal equipment, the configuration message of receiving group group;
Described server is used for described terminal equipment and is set to a multicast group, with the destination address of multicast address as configuration message, then configuration message is sent to switch;
Described switch after being used to receive configuration message, is a multicast address according to the destination address in the configuration message, and the replicated setup message is sent to each terminal equipment in this multicast group with the configuration message that is duplicated.
11. system according to claim 10 is characterized in that, described server is used for the multicast address of multicast group is sent to switch;
Switch, the multicast address that is used for receiving is sent to each terminal equipment, and each port that receives IGMP adding message is recorded as the multicast group corresponding port, by the multicast group corresponding port configuration message is sent to each terminal equipment;
Each terminal equipment is used for sending IGMP according to the multicast address that receives to switch and adds message.
CNB2006101112866A 2006-08-21 2006-08-21 Method and system for sending configuration message Active CN100461777C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006101112866A 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
CNB2006101112866A CN100461777C (en) 2006-08-21 2006-08-21 Method and system for sending configuration message

Publications (2)

Publication Number Publication Date
CN1905537A 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
CNB2006101112866A Active 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 中国移动通信集团公司 Method, device and system for multicast communication of Internet of Things

Citations (5)

* 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
US20040255172A1 (en) * 2003-06-13 2004-12-16 International Business Machines Corporation Remote power control in a multi-node, partitioned data processing system
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 (5)

* 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
US20040255172A1 (en) * 2003-06-13 2004-12-16 International Business Machines Corporation Remote power control in a multi-node, partitioned data processing system
CN1584865A (en) * 2003-08-21 2005-02-23 珠海金山软件股份有限公司 Comptuer software updating method

Non-Patent Citations (2)

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

Also Published As

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

Similar Documents

Publication Publication Date Title
CN108234396B (en) A kind of method and device of monitoring device status information real-time synchronization
US11032739B2 (en) Dynamic header compression for constrained networks
CN100574266C (en) Packet forwarding device
CN109120962A (en) The method and apparatus of software terminal connection view networking
CN108965367B (en) Method and system for controlling video network server
CN105049495B (en) Method for discovering equipment, apparatus and system
CN103916442A (en) Message pushing achieving method, mobile terminal and message pushing system
CN101605103A (en) A kind of method of static forwarding multicast data and device
CN106210049B (en) Cluster communication method and system based on message queue
CN101252529A (en) Method and apparatus for forwarding multicast message
CN102075422A (en) Multicast management method and two-layer equipment
CN1980246B (en) Two-layer multi-casting flow retransmission method
US9621363B2 (en) Method, system, and apparatus for implementing multicast on shared network
CN103516766B (en) Method and system of communication between client-side and application server
CN100461777C (en) Method and system for sending configuration message
CN101009669B (en) A method and system and route device for transmitting the multicast message
CN114553799B (en) Multicast forwarding method, device, equipment and medium based on programmable data plane
KR101484933B1 (en) A method, a system, a server, a device, a computer program and a computer program product for transmitting data in a computer network
CN111031084A (en) Method and device for remote maintenance of video network terminal
CN104009961A (en) PPPoE session ID distribution method and equipment thereof
CN100382493C (en) System and method for realizing service
EP1936876B1 (en) Method and system for ensuring data exchange between a server system and a client system
CN108600004B (en) Video server configuration management method and system
CN101309154B (en) Datagram sending method, sending apparatus and transmission system
CN110430385A (en) Video conference processing method, device and storage medium

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
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 patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20120220

Address after: Hangzhou City, Zhejiang province 310053 Binjiang District Dongxin Road No. 66 building two or three layer A C

Patentee after: Zhejiang Uniview Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.