CN101436953A - Management method and processing module for on-line announcement message of network appliance - Google Patents
Management method and processing module for on-line announcement message of network appliance Download PDFInfo
- Publication number
- CN101436953A CN101436953A CNA2007101245383A CN200710124538A CN101436953A CN 101436953 A CN101436953 A CN 101436953A CN A2007101245383 A CNA2007101245383 A CN A2007101245383A CN 200710124538 A CN200710124538 A CN 200710124538A CN 101436953 A CN101436953 A CN 101436953A
- Authority
- CN
- China
- Prior art keywords
- announcement message
- message
- equipment
- online
- online announcement
- 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.)
- Granted
Links
- 238000012545 processing Methods 0.000 title claims abstract description 24
- 238000007726 management method Methods 0.000 title claims description 15
- 230000005540 biological transmission Effects 0.000 claims abstract description 27
- 238000004891 communication Methods 0.000 claims abstract description 20
- 238000000034 method Methods 0.000 claims abstract description 9
- 230000003993 interaction Effects 0.000 claims description 31
- 230000008859 change Effects 0.000 claims description 4
- 239000000284 extract Substances 0.000 claims description 2
- 230000004044 response Effects 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000012797 qualification Methods 0.000 description 1
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention is applicable to the field of network communication, and provides a method for managing an online declaration message of network equipment and a processing module. The method comprises the following steps: the network equipment transmits the online declaration message to a multicast address in the network according to the pre-configured time interval, intercepts the multicast address in the network to acquire online declaration messages transmitted by other equipment in the network, wherein the online declaration message carries information of transmission times of the online declaration message; and the network equipment determines whether communication has an exception or not according to the information of the transmission times of the online declaration message. In the method, the network equipment determines whether communication with other equipment has an exception or not according to information of transmission times of online declaration messages carried in the online declaration messages transmitted by other equipment in the network, thereby making adjustment in time, and improving resource sharing among equipment and efficiency and reliability of collaboration service.
Description
Technical field
The invention belongs to network communication field, relate in particular to a kind of management method and processing module of on-line announcement message of network appliance.
Background technology
Information equipment resource-sharing cooperation with service (Intelligent Grouping and Resource Sharing, IGRS) design object of standard is in order to support automatic device discovery, dynamic group net, resource-sharing and the cooperation with service between multiple information equipment, household electrical appliance, the communication apparatus in limited range network domains (wired, wireless), thereby interoperability in the raising network between the equipment and ease for use, give full play to the functional characteristics of distinct device, for the user creates new application model.
In the basic agreement of IGRS standard, stipulate, need after the network equipment is reached the standard grade to send the online announcement message that has comprised equipment self information to the multicast address of appointment, miscellaneous equipment can find by the online announcement message of intercepting this equipment whether this equipment is online in the network.When needing to carry out resource-sharing or cooperation with service between two online equipment, then set up a session connection, realize the basis communication of resource-sharing or cooperation with service by mutual transmission interaction message.Equipment still needs to send at set intervals online announcement message separately in carrying out mutual process, online to inform the other side oneself.Carry maximum declaration information effective time in the online announcement message,, then can think the other side's off-line if in the time of this maximum declaration indication effective time, do not receive the other side's online announcement message.
At present, the network equipment only can judge whether miscellaneous equipment is online according to online announcement message, and can not be according to the communication conditions between online announcement message judgement and the miscellaneous equipment, when the congested grade of network appearance communication abnormality, equipment in mutual may take for the other side's off-line because can't listen to the other side's online declaration in the online declaration of the maximum wait time, thereby cancelled session connection each other, if this moment, both sides still need carry out alternately, need rebulid session connection, reduce the efficient and the reliability of resource-sharing between the equipment, protocol service.In addition, the time interval that sends online announcement message is unified, and this time interval can't change, the equipment in network will cause bigger communications burden to network more for a long time.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of management method and processing module of on-line announcement message of network appliance, being intended to solve in the prior art network equipment can not judge the situation of network service in time and adjust according to online announcement message, makes the efficient and the not high problem of reliability of equipment room resource-sharing, cooperation with service.
The embodiment of the invention is achieved in that a kind of management method of on-line announcement message of network appliance, and described method comprises the steps:
The network equipment sends online announcement message according to the multicast address of the pre-configured time interval in network, and intercept multicast address in the network, obtain the online announcement message that other equipment send in the network, described online announcement message carries online announcement message and sends number of times information;
The network equipment sends number of times information according to the online announcement message that carries in the described online announcement message and judges whether communication occurs unusually.
Another purpose of the embodiment of the invention is to provide a kind of processing module of on-line announcement message of network appliance, and described module comprises:
Online announcement message sends processing unit, and other equipment that are used in network send online announcement message, and described online announcement message carries online announcement message and sends number of times information; And
Online announcement message receives processing unit, be used to obtain the online announcement message that online announcement message sends number of times information that carries that other equipment send in the network, and according to described online announcement message send number of times information judge with miscellaneous equipment between communicate by letter whether occur unusual.
In embodiments of the present invention, the network equipment by the online announcement message that carries in the online announcement message that sends according to miscellaneous equipment send number of times information judge with miscellaneous equipment between communicate by letter whether occur unusual, thereby can adjust in time, improve efficient and the reliability of equipment room resource-sharing, cooperation with service.
Description of drawings
Fig. 1 is the sequential chart of the on-line announcement message of network appliance management method that provides of the embodiment of the invention;
Fig. 2 is the structural representation of the on-line announcement message of network appliance processing module that provides of the embodiment of the invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only is used to explain the present invention, and be not used in qualification the present invention.
In embodiments of the present invention, carry the information of the online declaration transmission of designation equipment number of times in the online announcement message that the network equipment sends, whether unusual by the communication of information between can judgment device, and adjust according to this, thereby alleviated network burden, strengthened that device resource is shared, the reliability of cooperation with service.
Fig. 1 shows the sequential of the on-line announcement message of network appliance management method that the embodiment of the invention provides, and details are as follows:
1, sending ending equipment sends online announcement message to the multicast address of appointment, carries online announcement message and sends number of times information.
In embodiments of the present invention, online announcement message sends number of times information can be by original field in the online announcement message or new field sign, for example can increase " 01-SequenceId " field newly in online announcement message, this field can be replaced " 01-BootId " field in the online announcement message that has IGRS equipment now.As one embodiment of the present of invention, the type of this field can be the ASCII coding of 32 unsignedInt, when equipment is reached the standard grade, the initial value of this field can be set to 1, also can be set to other value, online announcement message of the every transmission of equipment afterwards, the value of this field just increases a unit value thereupon, this unit value can be 1, also can be other values such as 2,3.
The variation of the value by this field in two online announcement messages judging continuous transmission, whether the communication that just can judge between the equipment occurs unusually.If the field value in the online announcement message that the back sends becomes initial value, the equipment of then can judging restarts, and the miscellaneous equipment of having set up session connection with equipment should be set up session connection again with it before.If the field value in the online announcement message that the back sends has increased by two unit values or more than the field value in the online announcement message in preceding transmission, then can judge the phenomenon that this equipment has packet loss, i.e. session connection occurs unusual.This shows,, can determine the residing state of equipment apace, thereby can make response fast, to guarantee mutual the carrying out smoothly of equipment room by analyzing the variation of above-mentioned field value.
As one embodiment of the present of invention, equipment can be according to the different equipment online declaration time interval of different choice of device type of self, to guarantee the unobstructed of IGRS network.The equipment that for example fail safe, real-time are had relatively high expectations can be selected the less time interval, thereby the online announcement message of transmitting apparatus continually, recreational stronger equipment then can select the bigger time interval with the lower online declaration of frequency transmitting apparatus.The type definition of the said equipment can be classified into a document, and has a field to indicate the type of this equipment in the online announcement message of each equipment.
2, receiving device is intercepted on the multicast address of appointment and is obtained online announcement message, extract and to carry online announcement message in the message and send number of times information, according to the online announcement message that carries in the online announcement message of sending ending equipment send number of times information judge with sending ending equipment between communicate by letter whether take place unusual.
In embodiments of the present invention, the value of online announcement message transmission time digital section compares in current online announcement message that receiving device will obtain and the preceding online announcement message that once obtains, if after the more preceding value that once reads of value that once reads only increased a unit value, communicating by letter between expression and the sending ending equipment is normal, and then receiving device continues to intercept online announcement message at multicast address.
If the value of online announcement message transmission time digital section is compared with the value of this field in the preceding online announcement message that once obtains and has been increased by two unit values or more in the current online announcement message, the packet loss phenomenon has taken place in the expression sending ending equipment, occurs unusual with communicating by letter between the sending ending equipment.
3, after the judgement session connection occurred unusually, receiving device sent interaction message to sending ending equipment, carried online announcement message in the message and sent changed information at interval, required sending ending equipment to change the transmission interval of online announcement message.
This mode for example in the safety-security area, seems particularly important in the exigent field of some real-times.In these fields, the variation of the above-mentioned field value in the online announcement message of control appliance meeting other equipment of real time monitoring in the network judges whether network is unobstructed, in case find the phenomenon of packet loss, then require the online declaration of transmitting apparatus more continually of other equipment, perhaps ask the equipment that packet loss takes place is detected, thereby guarantee carrying out smoothly of service call.
In another embodiment of the present invention, when receiving device finds that the packet loss phenomenon appears in sending ending equipment, also can adopt and suitably prolong the interaction message of waiting for sending ending equipment, or suspend to sending ending equipment transmission message, again or directly rebuliding mode such as be connected with sending ending equipment reduces because of communication and the unusual information dropout that causes occurs, certainly, receiving device is finding that communication occurs also can not making when unusual any corresponding and initiate a message as usual.In specific implementation, receiving device adopts any mode to respond then will to decide according to the attribute and the setting of the equipment group at the attribute of equipment itself and equipment place.
4, sending ending equipment receives the interaction message of receiving device, and judges that whether carrying online announcement message in the interaction message sends changed information at interval.In the interaction message that sending ending equipment receives, carry above-mentioned information, and when this sending ending equipment is subjected to this receiving device management control, for example this sending ending equipment is the slave unit of this receiving device etc., then sending ending equipment sends changed information at interval according to the online announcement message that carries in the interaction message, adjust the transmission time interval of online announcement message, do not have management control right in limited time and work as this receiving device to this sending ending equipment, then sending ending equipment can select whether will adjust the transmission time interval of online announcement message according to the information such as agreement of its corresponding device group.
When not carrying above-mentioned information in the interaction message that sending ending equipment receives, then the transmission of the online announcement message of sending ending equipment is constant at interval.
5, when the transmission time interval of the online announcement message of sending ending equipment has carried out adjustment, sending ending equipment will send online announcement message to receiving device according to the adjusted time interval; When the transmission time interval of the online announcement message of sending ending equipment was not changed, sending ending equipment then still sent online announcement message according to original time interval to receiving device.
Fig. 2 shows the structure of the on-line announcement message of network appliance processing module that the embodiment of the invention provides, and for convenience of explanation, only shows the part relevant with the embodiment of the invention.This module can be the software unit in the IGRS equipment, hardware cell, the perhaps unit of soft or hard combination.
The multicast address that online announcement message sends processing unit 21 appointment in the IGRS network sends online announcement message, and the online announcement message of the equipment that carries sends the information of number of times.As one embodiment of the present of invention, equipment can be by online announcement message time interval configuration module 23 according to the pre-configured online announcement message transmission time interval of the type of equipment self.
Online announcement message receives the multicast address that processing unit 22 is intercepted appointment in the IGRS network, obtain the online announcement message that miscellaneous equipment sends, and the online announcement message that carries in the extraction message sends number of times information, according to this information judge with the equipment that sends this online announcement message between communicate by letter and whether occur unusually.
When finding that the communication appearance is unusual, interaction message sends processing unit 25 can send interaction message to this equipment, carried online announcement message in this message and sent changed information at interval, asked the online announcement message of this equipment change to send at interval, perhaps suspended to this equipment transmission interaction message.As one embodiment of the present of invention, also can adjust the time of the interaction message of this equipment of wait by interaction message stand-by period adjusting module 24, and adjusted result is sent to interaction message reception processing unit 26.
Interaction message receives processing unit 26 and receives the interaction message that miscellaneous equipment sends, extracting the online announcement message that carries in the message sends the interval changed information and judges whether decision will be adjusted online announcement message and send the interval, be that then online announcement message time adjustment unit 27 sends the transmission time interval that the interval changed information is adjusted online announcement message according to this online announcement message, and adjusted result is sent to online announcement message send processing unit 21, follow-up online announcement message sends processing unit 21 and sends online announcement message with the adjusted time interval.
In sum, in embodiments of the present invention, whether the network equipment can be noted down and unusual according to the communication between this number of times judgment device the transmission number of times of online announcement message, thereby can make response in time, not only improved the mutual efficient of equipment room, strengthen the reliability of equipment room resource-sharing, cooperation with service, also alleviated the burden of IGRS network.
The above is preferred embodiment of the present invention only, is not limited to the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.
Claims (9)
1, a kind of management method of on-line announcement message of network appliance is characterized in that, described method comprises the steps:
The network equipment sends online announcement message according to the multicast address of the pre-configured time interval in network, and intercept multicast address in the network, obtain the online announcement message that other equipment send in the network, described online announcement message carries online announcement message and sends number of times information;
The network equipment sends number of times information according to the online announcement message that carries in the described online announcement message and judges whether communication occurs unusually.
2, the management method of on-line announcement message of network appliance as claimed in claim 1 is characterized in that, further comprises the steps: before the described method
According to the time interval of the pre-configured online announcement message of type of the network equipment self.
3, the management method of on-line announcement message of network appliance as claimed in claim 1 is characterized in that, described online announcement message sends number of times information by disposing in configuration or the existing field in the new field of online announcement message.
4, the management method of on-line announcement message of network appliance as claimed in claim 3, it is characterized in that, the network equipment whenever sends an online announcement message, the value that described online announcement message sends number of times information institute corresponding field increases a unit value, if the transmission number of times in the current online announcement message that obtains of the network equipment has increased two or more unit value than the transmission number of times in the preceding online announcement message that once obtains, it is unusual to judge that then communication occurs.
5, the management method of on-line announcement message of network appliance as claimed in claim 1 is characterized in that, when the communication appearance was unusual, described method further comprised the steps:
Receiving device sends interaction message to the sending ending equipment that sends this online announcement message, and described interaction message carries online announcement message and sends changed information at interval;
Sending ending equipment receives the interaction message that receiving device sends, and judges that whether carrying online announcement message in the described interaction message sends changed information at interval;
When carrying online announcement message transmission interval changed information in the described interaction message, whether sending ending equipment sends the time interval that interval changed information adjustment sends online announcement message according to described online announcement message according to the information decision of equipment itself and place equipment group.
6, the management method of on-line announcement message of network appliance as claimed in claim 1 is characterized in that, when the communication appearance was unusual, described method further comprised the steps:
Receiving device prolongs the time of the interaction message that receives the sending ending equipment that sends this online announcement message, perhaps receiving device suspends to the sending ending equipment transmission interaction message that sends this online announcement message, and perhaps receiving device rebulids with the sending ending equipment that sends this online announcement message and is connected.
7, a kind of processing module of on-line announcement message of network appliance is characterized in that, described module comprises:
Online announcement message sends processing unit, and other equipment that are used in network send online announcement message, and described online announcement message carries online announcement message and sends number of times information; And
Online announcement message receives processing unit, be used to obtain the online announcement message that online announcement message sends number of times information that carries that other equipment send in the network, and according to described online announcement message send number of times information judge with miscellaneous equipment between communicate by letter whether occur unusual.
8, the processing module of on-line announcement message of network appliance as claimed in claim 7 is characterized in that, described module also comprises:
Interaction message sends processing unit, be used for network in communicating by letter of miscellaneous equipment occur sending interaction message to described equipment when unusual, described interaction message carries online announcement message and sends changed information at interval;
Interaction message receives processing unit, is used to receive interaction message, extracts the online announcement message that carries in the described interaction message and sends the interval changed information and determine that whether needing to change online announcement message sends at interval; And
Online announcement message time adjustment unit is used for sending the transmission time interval that the interval changed information is adjusted online announcement message according to described online announcement message.
9, the processing module of on-line announcement message of network appliance as claimed in claim 7 is characterized in that, described module also comprises:
Online announcement message time interval dispensing unit is used for the transmission time interval according to the pre-configured online announcement message of type of the network equipment self.
Interaction message stand-by period adjustment unit, be used for network in communicating by letter of other equipment occur when unusual, adjust the time of waiting for interaction message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101245383A CN101436953B (en) | 2007-11-14 | 2007-11-14 | Management method and processing module for on-line announcement message of network appliance |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101245383A CN101436953B (en) | 2007-11-14 | 2007-11-14 | Management method and processing module for on-line announcement message of network appliance |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101436953A true CN101436953A (en) | 2009-05-20 |
CN101436953B CN101436953B (en) | 2011-02-09 |
Family
ID=40711186
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2007101245383A Expired - Fee Related CN101436953B (en) | 2007-11-14 | 2007-11-14 | Management method and processing module for on-line announcement message of network appliance |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101436953B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102521895A (en) * | 2011-11-25 | 2012-06-27 | 航天科工深圳(集团)有限公司 | Informationized polling tracking method and system of power equipment |
CN105163335A (en) * | 2015-07-31 | 2015-12-16 | 腾讯科技(深圳)有限公司 | Network access management method, network access server, mobile terminal and network access management system |
CN105721198A (en) * | 2016-01-20 | 2016-06-29 | 中国科学院信息工程研究所 | Video monitoring system log safety audit method |
CN108768678A (en) * | 2018-05-02 | 2018-11-06 | 广州市河东智能科技有限公司 | A kind of one effective method and system of server program of same local area network limitation |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100505645C (en) * | 2003-03-31 | 2009-06-24 | 联想(北京)有限公司 | Method of detecting equipment state in network |
CN100505898C (en) * | 2007-05-09 | 2009-06-24 | 中兴通讯股份有限公司 | Method for processing single broadcast cut-in terminal identifying assignation failure |
-
2007
- 2007-11-14 CN CN2007101245383A patent/CN101436953B/en not_active Expired - Fee Related
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102521895A (en) * | 2011-11-25 | 2012-06-27 | 航天科工深圳(集团)有限公司 | Informationized polling tracking method and system of power equipment |
CN105163335A (en) * | 2015-07-31 | 2015-12-16 | 腾讯科技(深圳)有限公司 | Network access management method, network access server, mobile terminal and network access management system |
CN105163335B (en) * | 2015-07-31 | 2019-04-26 | 腾讯科技(深圳)有限公司 | A kind of network access management method, server, mobile terminal and system |
CN105721198A (en) * | 2016-01-20 | 2016-06-29 | 中国科学院信息工程研究所 | Video monitoring system log safety audit method |
CN105721198B (en) * | 2016-01-20 | 2019-07-23 | 中国科学院信息工程研究所 | A kind of video monitoring system Log security auditing method |
CN108768678A (en) * | 2018-05-02 | 2018-11-06 | 广州市河东智能科技有限公司 | A kind of one effective method and system of server program of same local area network limitation |
Also Published As
Publication number | Publication date |
---|---|
CN101436953B (en) | 2011-02-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2713641B1 (en) | Method for receiving data, method for transmitting data, mobile terminal, and server | |
US20170366620A1 (en) | Long connection method between a plurality of smart devices and a server, and smart device thereof | |
CN105407180B (en) | The information push method and device of server | |
CN105357116B (en) | A kind of method and intelligent terminal of multiple terminal access server | |
CN101489294B (en) | Method, router and network appliance for regulating power | |
CN105392185B (en) | A kind of networking method of smart machine, apparatus and system | |
CN103312528A (en) | Heartbeat message sending method and user terminal | |
CN105610888A (en) | Method of using socket to push message based on Android and system thereof | |
CN104898435B (en) | Home services system and its fault handling method, household appliance, server | |
CN101436953B (en) | Management method and processing module for on-line announcement message of network appliance | |
CN103338144A (en) | Session data synchronization method and session data synchronization device | |
CN112751937A (en) | Distributed edge intelligent Bluetooth Mesh gateway system and implementation method | |
CN111064552A (en) | Intelligent device control method and device, electronic device and storage medium | |
CN104243259A (en) | Method and system for cooperation of distributed elastic network interconnection systems | |
CN110535767A (en) | Intelligent door lock, intelligent gateway and the communication means in cloud and system | |
CN109245911B (en) | Method and device for realizing BRAS hot standby and computer readable storage medium | |
CN105404253B (en) | Control instruction sending method, response method and device | |
CN104270255B (en) | A kind of inter-node communication system and method based on LINX processes | |
CN110620824A (en) | Network environment self-adaptive intelligent household control method | |
CN102291692A (en) | Mobile terminal and method for dynamically selecting communication network | |
CN112703816A (en) | Communication method, home gateway equipment and home control system | |
CN101888379A (en) | Multi-proxy server dynamic linking method of network television and network television system | |
CN114844738A (en) | Data management method based on service gateway | |
CN114143904A (en) | CPE management method based on 5G fusion network shunt | |
CN107147524B (en) | intelligent home networking method and 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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20110209 |