CN103442349B - Based on the wireless sensor network firmware update of XMPP - Google Patents

Based on the wireless sensor network firmware update of XMPP Download PDF

Info

Publication number
CN103442349B
CN103442349B CN201310370827.7A CN201310370827A CN103442349B CN 103442349 B CN103442349 B CN 103442349B CN 201310370827 A CN201310370827 A CN 201310370827A CN 103442349 B CN103442349 B CN 103442349B
Authority
CN
China
Prior art keywords
firmware
manager
device node
message
management
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
CN201310370827.7A
Other languages
Chinese (zh)
Other versions
CN103442349A (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.)
Chongqing University of Post and Telecommunications
Original Assignee
Chongqing University of Post and Telecommunications
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 Chongqing University of Post and Telecommunications filed Critical Chongqing University of Post and Telecommunications
Priority to CN201310370827.7A priority Critical patent/CN103442349B/en
Publication of CN103442349A publication Critical patent/CN103442349A/en
Application granted granted Critical
Publication of CN103442349B publication Critical patent/CN103442349B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

Based on the wireless sensor network firmware update of XMPP, relate to wireless sensor network technology field, the present invention is according to XMPP serial protocols standard, its core protocol is expanded accordingly, according to the application demand of industrial wireless sensor network, utilize Properties of Objects, design management person's system has a system management object SMO, each device node in wireless sensor network has a firmware and upgrades management object UDMO, is realized the management of network by the mode of operational administrative object.The present invention can effective guarantee industrial wireless sensor network real-time and improve holistic management quality and the efficiency of network.

Description

Based on the wireless sensor network firmware update of XMPP
Technical field
The present invention relates to wireless sensor network technology field, particularly a kind of wireless sensor network firmware update based on XMPP.
Background technology
Along with the develop rapidly of wireless sensor network technology, its application have also been obtained the extensive concern of all trades and professions.At present, in the application system of wireless sensor network, comprise multiple firmware program in server and sensor node, these firmware programs under certain conditions, need upgrade.In order to realize these objects, the function that present stage upgrades for firmware mainly installs more new tool respectively on every station server, and then on every station server, upgrades firmware respectively.This firmware update mode not only takes time and effort, but also easily occurs mistake, and such as in the process upgraded, server often omits renewal firmware.
Summary of the invention
Object of the present invention is just to provide a kind of wireless sensor network firmware update based on XMPP, and it can complete the firmware renewal work of wireless sensor network equipment node, significantly improves efficiency and the reliability of firmware renewal.
The object of the invention is by such technical scheme realize, wireless senser firmware update system include wireless sensor devices node, with the server of wireless sensor devices multi-node wireless communication and manager's system, the concrete steps that firmware upgrades are as follows:
1) in the management object SMO of creative management person's system and wireless sensor network, the firmware of each device node upgrades management object UDMO,
2) firmware defining each device node in the management object SMO of management system and wireless sensor network upgrades the attribute that management object UDMO has and the communication means supported;
3) design firmware and upgrade single point of management transmission means and multiple spot management transmission means, and completed the firmware renewal of wireless sensor devices node by single point of management or multiple spot management transmission means.
Further, the concrete steps of the transmission means of single point of management described in step 3) are as follows:
3-1-1) device node and manager's system connect with server respectively, and its transmission channel is control channel, are responsible for the relevant command information of transmission based on XMPP;
When 3-1-2) manager's system needs to carry out firmware renewal to device node, send read request message to device node, upgrade the association attributes of management object UDMO with firmware in fetch equipment node;
After 3-1-3) device node receives this request message, reply one namely to manager's system and read response;
After 3-1-4) manager's system receives and reads response, upgrade the value that returns of management object UDMO according to firmware and judge currently whether can carry out firmware renewal to equipment; If not, then firmware renewal is not carried out to equipment; If so, then starting command and device node reach upload operation agreement, and send updating message to device node to represent that manager's system will carry out firmware renewal to device node;
3-1-5) device node is after receiving updating message, namely replys gerentocratic request, and to manager's system, transmission renewal acknowledge message informs whether it agrees to carry out firmware renewal;
After 3-1-6) manager's system receives and upgrades acknowledge message, and between device node, set up the UDP message passage of out_of_band;
3-1-7) manager's system by the UDP message passage of out_of_band with binary form transmission firmware more new data in device node.
Further, in step 3-1-7) in data transmission procedure, device node arranges the download firmware lastest imformation time;
If the time does not expire, when transfer of data completes, namely device node pushes corresponding message to manager's system and is transmitted with instruction;
If time is up the phase, device node stops the transmission of firmware lastest imformation.
Further, the concrete steps of the management of multiple spot described in step 3) transmission means are as follows:
3-2-1) all devices node and manager's system connect with server respectively, and its transmission channel is control channel, and this passage is responsible for transmitting the relevant command information based on XMPP;
3-2-2) manager's system broadcasts firmware read request, shows to carry out firmware renewal to device node, upgrades the association attributes of management object UDMO with firmware in fetch equipment node;
After 3-2-3) device node receives and reads instruction, need one of the node reverts back manager system upgraded to read response, inform that it agrees to carry out firmware renewal, and proceed to step 3-2-4), do not need the node upgraded then not reply and read response, terminate renewal process;
After 3-2-4) manager's system receives and reads response, upgrade the value that returns of management object UDMO according to firmware and judge currently whether can carry out firmware renewal to equipment; If not, then firmware renewal is not carried out to equipment; If so, then starting command and device node reach upload operation agreement, and send updating message to device node to represent that manager's system will carry out firmware renewal to device node;
3-2-5) device node is after receiving updating message, namely replys gerentocratic request, and to manager's system, transmission renewal acknowledge message informs whether it agrees to carry out firmware renewal;
3-2-6) determine in manager's system and network that each device node that firmware upgrades sets up the UDP message passage of out_of_band, to realize the direct communication of manager's system and device node;
3-2-7) manager by the UDP message passage of out_of_band with binary form transmission firmware more new data in its just asked device node;
3-2-8) after firmware lastest imformation is transmitted, device node is replied manager and oneself has been received firmware lastest imformation to indicate.
Further, in step 3-2-7) in data transmission procedure, device node arranges the download firmware lastest imformation time;
If the time does not expire, when transfer of data completes, namely device node pushes corresponding message to manager's system and is transmitted with instruction;
If time is up the phase, device node stops the transmission of firmware lastest imformation.
Further, the instruction of described control channel transmission is XMPP data.
Owing to have employed technique scheme, the present invention has following advantage:
The present invention is different from existing industrial wireless sensor network firmware and upgrades management method, in firmware renewal process, and the person's system that only needs operational administrative.The present invention has the XMPP technology of real-time, autgmentability and flexibility by adopting, design XMPP data based on XML as the communication data in firmware more new management; According to the application demand of wireless sensor network, design firmware upgrades single point of management and firmware and upgrades multiple spot management transmission two kinds of firmwares and upgrade way to manages, so that according to the suitable management method of concrete application choice, reached good management effect.Therefore firmware of the present invention upgrades management method, and the demand both having met commercial Application turn improves holistic management quality and the efficiency of network.
Other advantages of the present invention, target and feature will be set forth to a certain extent in the following description, and to a certain extent, based on will be apparent to those skilled in the art to investigating hereafter, or can be instructed from the practice of the present invention.Target of the present invention and other advantages can be realized by specification below and claims and be obtained.
Accompanying drawing explanation
Accompanying drawing of the present invention is described as follows.
Fig. 1 is Fig. 1 system management architecture figure;
Fig. 2 firmware upgrades the realization of management object UDMO single point of management;
The realization of the firmware that Fig. 3 supports firmware information clean culture more new management;
The realization of the firmware that Fig. 4 supports firmware information multicast more new management;
The realization of the firmware that Fig. 5 supports firmware information to broadcast more new management;
Fig. 6 is FB(flow block) of the present invention.
Embodiment
Below in conjunction with drawings and Examples, the invention will be further described.
Wireless sensor network firmware based on XMPP upgrades management method, and its management framework as shown in Figure 1.As shown in Table 1, in the table, system management object can support all methods wherein and data, services to the method supported for the management object in this figure, but the device node in network can only support Part Methods wherein and data, services.
Table one
For the single point of management in table one and multiple spot management transmission, will introduce respectively it below.
(1) single point of management transmission
Single point of management transmission refers to sometime, and a manager only manages a node device.Be applied in the system of WSN at XMPP, single point of management transmission is mainly realized by a kind of request-response mechanism, and therefore, the realization for single point of management transmission can utilize the mode of expansion <iq/> joint to carry out.Individual cases also can utilize the mode of expansion <message/> joint to realize, and as Trouble Report, namely device node active push report information is held to its manager.Reading and writing, execution and report services can be used operate on it for the attribute using single point of management transmission means to carry out in those management objects managed.
(2) multiple spot management transmission
Multiple spot management transmission refers to that sometime, a manager can manage multiple node device.XMPP is being applied in the system of WSN, multiple spot management transmission is mainly realized by Publish-subscribe mechanism, therefore, realization for multiple spot management transmission can utilize the mode of expansion <presence/> joint to carry out, if necessary, also the mode of expansion <message/> joint can be utilized to carry out auxiliary its realize, such as, when manager issue lastest imformation complete time, the person of being managed pushes the lastest imformation that relevant information is issued to indicate oneself to receive manager to manager
For the attribute of system management object SMO, as shown in Table 2.
Table two
Attribute listed in table two is the part attribute of SMO, if necessary, also can increase more attribute, and provide more data, services.
Firmware upgrades management object UDMO and is normally used for uploading or download the occasion of bulk information to an equipment, and simultaneously it also can be used to support that the communication firmware of a download redaction or data are to a device node.The UDMO defined due to the present invention is the object in managed device, and mainly manager uploads firmware information to it, and therefore, in firmware renewal process, UDMO main manifestations of the present invention is the latter in aforementioned function.The attribute of UDMO as shown in Table 3.
Table three
The part attribute of the just UDMO listed by table three, if necessary, also can increase more attribute voluntarily, and UDMO also can provide more data, services.In the process of carrying out firmware renewal, the order may used as described in table four realizes to complete it.
Table four
Due in the process that upgrades at firmware, have a large amount of information to be transmitted, and all flow based on XML based on the communication in the XMPP system of WSN between entity device, and XML stream has larger redundancy, therefore, XMPP technology is directly used to carry out a large amount of Data Update, not only can take larger internal memory, also can a large amount of energy of consumption systems, to this, the present invention devises two kinds of passages to complete Data Update, i.e. control channel and data channel.Be applied in the system of WSN at XMPP, system by these two transmission channels separately, and distribute its respective responsibility, namely control channel generally only transmits the relevant command information based on XMPP, as firmware more newer command, request command and response command etc., and data channel transmits larger data message at this, as the firmware information etc. that need upgrade.Wherein the information of control channel transmission is based on XML stream, and the information of data channel transmission is some binary data, similar with the datapath function in traditional WSN.The process that firmware upgrades can be described as between entity first transmits the instruction of iq, presence or message message by control channel, comprise firmware more newer command, the UDP message transmission channel of out_of_band is set up again, to transmit the renewal data message of larger binary form between two entities.The method of the more new management of the firmware in the WSN that the method is traditional compared to other, has larger advantage, because its independent responsibility of each transmission channel, improves the efficiency of system communication.
Major design of the present invention two kinds of firmwares upgrade way to manages, and namely firmware upgrades single point of management transmission and firmware and upgrades multiple spot management and transmit, and will describe in detail respectively below.
1. firmware upgrades single point of management transmission
The single point of management transmission of UDMO represents that manager is sometime, only performs the associative operation of firmware renewal to some device nodes.Different and the situation only having certain or some nodes to need when carrying out firmware renewal of the file that the single point of management transmission of UDMO is mainly used in upgrading when each device node is required.Single point of management transmission described herein represents that the more new data in the XMPP message instruction and data passage in control channel is all point-to-point communication.
The performing step of UDMO single point of management transmission is as follows:
A) be first that device node is set up UDP with server respectively with manager and is connected, its transmission channel is control channel;
B) when manager needs to carry out firmware renewal to device node, iq message read request is namely sent to device node, with the association attributes of UDMO in fetch equipment node, as OperationsSupported and State etc.;
C), after device node receives this request, namely reply an iq message to manager and read response;
D), after manager receives this response, the value returned according to UDMO judges currently whether can carry out firmware renewal to equipment.If not, then firmware renewal is not carried out to equipment; If so, then start StartUpload order to reach upload operation agreement with device node, and send corresponding message message to device node to represent that manager will carry out firmware renewal to device node;
E) after device node receives this message, namely start DownloadData order to reply gerentocratic request, and send corresponding message message and inform whether it agrees to carry out firmware renewal to manager.
F) order more than in these steps is all transmitted in control channel.
G) namely to transmit firmware more before new data manager, need the UDP message passage setting up out_of_band between device node, to realize the direct communication of manager and device node.
H) manager by this data channel with binary form transmit a large amount of firmwares more new data in its just asked device node.
K) in the process, device node may arrange the time of download firmware lastest imformation, the DownloadPrepTime namely in table three, if the time does not expire, when the data transfer is complete, device node can to manager push message message with indicate transmission complete; If time is up the phase, namely device node can start EndDownload order to stop the transmission of firmware lastest imformation.Message message herein transmits in previous set up control channel.
Due to described herein be the single point of management transmission of UDMO, therefore, it realizes using mode of expansion <iq/> joint to carry out.The implementation procedure of UDMO single point of management transmission as shown in Figure 2, in this figure, when manager needs to carry out firmware renewal to device node, then send iq message read request to device node with the OperationsSupported attribute of UDMO in fetch equipment node and State attribute, if these object properties of device node show it support that download and current state are for idle, then manager can carry out firmware renewal to it, and in its implementation procedure, each message format design is as follows.
Iq message read request form:
Iq message reads response format (success):
The value of X and Y herein can see table three.
Iq message reads response format (mistake):
Wherein, the value of error-type can see the description of the RFC6120 in IETF.
The message message format that first time sends:
Property value 0 wherein represents that the current state of manager is idle condition, carry out upload operation.
The message message format that second time sends:
The description of X herein and value thereof are in shown in table three.
The message message format that third time sends:
2. firmware upgrades multiple spot management transmission
The multiple spot management transmission of UDMO represents that manager can provide firmware to upgrade management service to multiple equipment simultaneously, namely a manager can once to the associative operation that multiple equipment execution firmware upgrades, as issued oneself state information to multiple equipment, and firmware more new data etc. is issued to multiple equipment simultaneously.The multiple spot management transmission of UDMO comprises following several situation.
(1) support that the firmware of firmware information clean culture upgrades
This kind of situation represents that manager only broadcasts XMPP message instruction, and to the firmware in data channel more new data carry out clean culture, belong to multiple spot management transmission.
When the firmware of manager's equipment in supervising the network upgrades, because each equipment in network needs the file of renewal different, now, manager can by only broadcast XMPP message instruction, and the method for clean culture firmware more new data, with the energy of the system of saving, but no matter when, equipment sends to gerentocratic information to be all the point-to-point communication mode adopted.Manager herein broadcasts XMPP message instruction and refers to that manager sends XMPP message instruction not with to attribute to server, XMPP message received by it is sent to destination node by server more in a broadcast manner, if the equipment receiving these message is destination node, then perform follow-up corresponding operating; If the equipment receiving these message is routing device, the message that router then uses the method flooded it to be received forwards, and the data flow that namely router is received sends from other interfaces all except that interface just receiving data.Use the advantage flooded to be comparatively huge with under complicated situation at network, what source data also can be very fast is diffused into each object equipment.But adopting floods also also exists a larger problem, namely floods and can produce a large amount of repetitive data packet, suppress flooding process unless certain measures are taken, otherwise unlimited many packets will be produced, also can consume larger bandwidth simultaneously.Suppress packet to spread unchecked technology be the packet allowing router trace flood, thus avoid second time send them.A kind of mode realizing this target allows each source router fill out a sequence number when receiving the packet of from host, and then each router is that each source router prepares a table, to record the sequence number from source router observed; If inbound data bag in this table, then abandons this packet, no longer forwards this packet to other router.In order to avoid this table ad infinitum expands, each table should use a counter k as parameter, represents until all sequence numbers of k have been observed all, if router receives sequence number k packet in the past again, directly abandons, no longer forward, until finally all information arrives destination node all.
Support that the performing step that the firmware of firmware information clean culture upgrades is as follows:
A) be first that device node is set up UDP with server respectively with manager and is connected, its transmission channel is control channel;
B) manager broadcasts firmware renewal instruction, shows to carry out firmware renewal to equipment.
C) after device node receives this message, namely start DownloadData order to reply gerentocratic request, and send corresponding message message and inform whether it agrees to carry out firmware renewal to manager.
D) after manager receives this message, when namely will send firmware lastest imformation, then the UDP message passage of out_of_band is set up with each equipment, and with the larger firmware more new data of the format transmission of binary data information.
E) after equipment receives the firmware lastest imformation of manager's transmission, namely send message Indication message and inform that manager's firmware lastest imformation is transmitted.
In whole communication process, have employed 2 kinds of transmission channels altogether.In above-mentioned 5 steps, step a) all completes to the information transmitted in c) in control channel, and the information that step d) is transmitted completes in data channel, and the message message in step e) is transmitted in control channel.
Due to described herein be the multiple spot management transmission of UDMO, therefore, its realization can utilize the mode of expansion <presence/> joint to carry out.For the information that equipment pushes to manager, then can realize with expansion <message/> joint, as shown in Figure 3, the format design for XMPP message used in whole process of changing plan is as follows for its specific implementation process.
Presence message format:
As described in table two, when the Status property value of SMO is 0, represents that the current state of SMO is idle, can firmware renewal be carried out.Herein manager release news 0 be namely firmware upgrade instruction.Use the message format not with to attribute in structure <presence/> joint to realize the broadcast that firmware upgrades instruction herein.
Equipment first time sends the form of message message and aforementioned UDMO single point of management and transmits the second time designed to send message message format the same herein,
For the message Indication message that the second time of equipment herein sends, its form and aforementioned UDMO single point of management are transmitted the third time designed to send message message format the same.
(2) support that the firmware of firmware information multicast upgrades
In this kind of situation, manager broadcasts the XMPP message instruction in control channel, and carries out multicast to the more new data in data channel, belongs to multiple spot management transmission.
Be applied in the system of WSN at XMPP, when the file upgraded needed for the hop neighbor equipment being positioned at manager's periphery is all the same, the firmware more new management that the mode of multicast firmware more new data realizes these equipment can be adopted.Herein, manager obtains the information of one hop neighbor node is realized by the association attributes in access topology information management object.Manager is sent message instruction by the mode of broadcast and is sent firmware more new data in the mode of multicast, the energy ezpenditure that some are unnecessary can be saved, but no matter when device node sends to gerentocratic information to be all adopt point-to-point communication mode, and implementation step is as follows.
A) be first that device node is set up UDP with server respectively with manager and is connected, its transmission channel is control channel;
B) manager broadcasts firmware renewal instruction, shows to carry out firmware renewal to equipment.
C) after device node receives this message, namely start DownloadData order to reply gerentocratic request, and to manager, transmission message message informs whether it agrees to carry out firmware renewal.
D) manager obtains one hop neighbor table by access topology information management object.After the hop neighbor device node that manager is all with it is all reached an agreement and be ready, then set up the UDP message passage of out_of_band with these device nodes, and then multicast firmware more new data in the equipment of multicast address.Multicast address is herein the address of all hop neighbor device node of manager.
E) after device node receives the firmware lastest imformation of manager's transmission, namely send message Indication message and inform that manager's firmware lastest imformation is transmitted.
Due to described herein be the multiple spot management transmission of UDMO, therefore, its realization can utilize the mode of expansion <presence/> joint to carry out.For the information that equipment pushes to manager, then can realize with expansion <message/> joint, its specific implementation process as shown in Figure 4, the presence message transmitted in this figure, its form is the same with the presence message format in the firmware Renewal Design of above-mentioned support firmware information clean culture.
Equipment first time sends the form of message message and aforementioned UDMO single point of management and transmits the second time designed to send message message format the same herein,
For the message Indication message that the second time of equipment herein sends, its form and aforementioned UDMO single point of management are transmitted the third time designed to send message message format the same.
(3) broadcast of the whole network upgrades
The broadcast of the whole network upgrade refer to manager to XMPP message instruction and firmware more new data all broadcast, it is all the same occasion that this kind of mode is applicable to the required file upgraded of all equipment, belongs to multiple spot management transmission.
The firmware update mode that this section adopts is: manager broadcast XMPP message instruction and firmware more new data in node device or routing device, if the equipment receiving these message is destination node, then its implementation with support the firmware of firmware information multicast upgrade described in implementation the same, namely these nodes are similar to a gerentocratic hop neighbor node, difference is, in supporting the firmware of firmware information multicast to upgrade, gerentocratic destination address is multicast address, and gerentocratic destination address is broadcast address herein; If the equipment receiving these message is routing device, the message that router then uses the aforesaid method that floods it to be received forwards.
Broadcast for the whole network upgrades, and design implementation step is as follows.
A) be first that device node is set up UDP with server respectively with manager and is connected, its transmission channel is control channel;
B) manager broadcasts firmware renewal instruction, shows to carry out firmware renewal to equipment.
C) after object device node receives this renewal instruction, namely start DownloadData order to reply gerentocratic request, and send corresponding message message and inform whether it agrees to carry out firmware renewal to manager.
D) after all object device nodes are all reached an agreement with manager and be ready, manager coordinates firmware update time, and sets up the UDP message transmission channel of out_of_band with all devices;
E) after establishing data channel, manager broadcast firmware more new data to the router in network or object device node, when router receives this firmware more after new data, namely adopt the mode flooded that these firmwares are upgraded data retransmission to other router and object device node;
F) when object device node receives firmware more after new data, namely send message Indication message by control channel and inform that manager's firmware lastest imformation is transmitted.
Due to described herein be the multiple spot management transmission of UDMO, therefore, its realization can utilize the mode of expansion <presence/> joint to carry out.For the information that equipment pushes to manager, then can realize with expansion <message/> joint, its specific implementation process as shown in Figure 5.The presence message transmitted in this figure, presence message format designed during its form upgrades with the firmware of above-mentioned support firmware information clean culture is the same.
Equipment first time sends the form of message message and aforementioned UDMO single point of management and transmits the second time designed to send message message format the same herein,
For the message Indication message that the second time of equipment herein sends, its form and aforementioned UDMO single point of management are transmitted the third time designed to send message message format the same.
Firmware of the present invention like this upgrades management method under the condition meeting real-time, adopts data channel and control channel two kinds of passages with the transmission of separately different pieces of information, improves quality and efficiency that industrial wireless sensor network manages immediately.
What finally illustrate is, above embodiment is only in order to illustrate technical scheme of the present invention and unrestricted, although with reference to preferred embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that, can modify to technical scheme of the present invention or equivalent replacement, and not departing from aim and the scope of the technical program, it all should be encompassed in the middle of right of the present invention.

Claims (4)

1. based on the wireless sensor network firmware update of XMPP, it is characterized in that, wireless senser firmware update system include wireless sensor devices node, with the server of wireless sensor devices multi-node wireless communication and manager's system, the concrete steps that firmware upgrades are as follows:
1) in the management object SMO of creative management person's system and wireless sensor network, the firmware of each device node upgrades management object UDMO,
2) firmware defining each device node in the management object SMO of management system and wireless sensor network upgrades the attribute that management object UDMO has and the communication means supported;
3) design firmware and upgrade single point of management transmission means and multiple spot management transmission means, and completed the firmware renewal of wireless sensor devices node by single point of management or multiple spot management transmission means;
Step 3) described in the concrete steps of single point of management transmission means as follows:
3-1-1) device node and manager's system connect with server respectively, and its transmission channel is control channel, are responsible for the relevant command information of transmission based on XMPP;
When 3-1-2) manager's system needs to carry out firmware renewal to device node, send read request message to device node, upgrade the association attributes of management object UDMO with firmware in fetch equipment node;
After 3-1-3) device node receives this request message, reply one namely to manager's system and read response;
After 3-1-4) manager's system receives and reads response, upgrade the value that returns of management object UDMO according to firmware and judge currently whether can carry out firmware renewal to equipment; If not, then firmware renewal is not carried out to equipment; If so, then starting command and device node reach upload operation agreement, and send updating message to device node to represent that manager's system will carry out firmware renewal to device node;
3-1-5) device node is after receiving updating message, namely replys gerentocratic request, and to manager's system, transmission renewal acknowledge message informs whether it agrees to carry out firmware renewal;
After 3-1-6) manager's system receives and upgrades acknowledge message, and between device node, set up the UDP message passage of out_of_band;
3-1-7) manager's system by the UDP message passage of out_of_band with binary form transmission firmware more new data in device node;
Step 3) described in multiple spot management transmission means concrete steps as follows:
3-2-1) all devices node and manager's system connect with server respectively, and its transmission channel is control channel, and this passage is responsible for transmitting the relevant command information based on XMPP;
3-2-2) manager's system broadcasts firmware read request, shows to carry out firmware renewal to device node, upgrades the association attributes of management object UDMO with firmware in fetch equipment node;
After 3-2-3) device node receives and reads instruction, need one of the node reverts back manager system upgraded to read response, inform that it agrees to carry out firmware renewal, and proceed to step 3-2-4), do not need the node upgraded then not reply and read response, terminate renewal process;
After 3-2-4) manager's system receives and reads response, upgrade the value that returns of management object UDMO according to firmware and judge currently whether can carry out firmware renewal to equipment; If not, then firmware renewal is not carried out to equipment; If so, then starting command and device node reach upload operation agreement, and send updating message to device node to represent that manager's system will carry out firmware renewal to device node;
3-2-5) device node is after receiving updating message, namely replys gerentocratic request, and to manager's system, transmission renewal acknowledge message informs whether it agrees to carry out firmware renewal;
3-2-6) determine in manager's system and network that each device node that firmware upgrades sets up the UDP message passage of out_of_band, to realize the direct communication of manager's system and device node;
3-2-7) manager by the UDP message passage of out_of_band with binary form transmission firmware more new data in its just asked device node;
3-2-8) after firmware lastest imformation is transmitted, device node is replied manager and oneself has been received firmware lastest imformation to indicate.
2., as claimed in claim 1 based on the wireless sensor network firmware update of XMPP, it is characterized in that: in step 3-1-7) in data transmission procedure, device node arranges the download firmware lastest imformation time;
If the time does not expire, when transfer of data completes, namely device node pushes corresponding message to manager's system and is transmitted with instruction;
If time is up the phase, device node stops the transmission of firmware lastest imformation.
3., as claimed in claim 1 based on the wireless sensor network firmware update of XMPP, it is characterized in that: in step 3-2-7) in data transmission procedure, device node arranges the download firmware lastest imformation time;
If the time does not expire, when transfer of data completes, namely device node pushes corresponding message to manager's system and is transmitted with instruction;
If time is up the phase, device node stops the transmission of firmware lastest imformation.
4. as claimed in claim 1 based on the wireless sensor network firmware update of XMPP, it is characterized in that: the instruction of described control channel transmission is XMPP data.
CN201310370827.7A 2013-08-22 2013-08-22 Based on the wireless sensor network firmware update of XMPP Active CN103442349B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310370827.7A CN103442349B (en) 2013-08-22 2013-08-22 Based on the wireless sensor network firmware update of XMPP

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310370827.7A CN103442349B (en) 2013-08-22 2013-08-22 Based on the wireless sensor network firmware update of XMPP

Publications (2)

Publication Number Publication Date
CN103442349A CN103442349A (en) 2013-12-11
CN103442349B true CN103442349B (en) 2016-04-13

Family

ID=49696002

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310370827.7A Active CN103442349B (en) 2013-08-22 2013-08-22 Based on the wireless sensor network firmware update of XMPP

Country Status (1)

Country Link
CN (1) CN103442349B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107589955B (en) * 2017-09-19 2021-06-25 郑州云海信息技术有限公司 Method and system for upgrading double-CMC (carboxy methyl cellulose) firmware version
CN111371897B (en) * 2020-03-12 2022-10-04 深圳市共进电子股份有限公司 Reverse connection method, device and storage medium based on networking system
CN114924799A (en) * 2022-04-02 2022-08-19 沈阳飞机设计研究所扬州协同创新研究院有限公司 Decentralized system management method of avionics system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102033743A (en) * 2010-09-02 2011-04-27 西安赛斐软件科技有限公司 System and method for expanding model driving development capability by applying plug-in
JP2012155575A (en) * 2011-01-27 2012-08-16 Seiko Epson Corp Print control server and print system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9116611B2 (en) * 2011-12-29 2015-08-25 Apple Inc. Devices, methods, and graphical user interfaces for providing multitouch inputs and hardware-based features using a single touch input

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102033743A (en) * 2010-09-02 2011-04-27 西安赛斐软件科技有限公司 System and method for expanding model driving development capability by applying plug-in
JP2012155575A (en) * 2011-01-27 2012-08-16 Seiko Epson Corp Print control server and print system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨骋."基于XMPP的BMC的管理".《中国优秀硕士学位论文全文数据库》.2013, *

Also Published As

Publication number Publication date
CN103442349A (en) 2013-12-11

Similar Documents

Publication Publication Date Title
CN101820435B (en) Synchronization method and device for MAC (Media Access Control) address table information of distributed network processing system
CN100490418C (en) Virtual local network-based data exchanging method and equipment
CN103401786A (en) Method, device and system for establishing network topology, controlling path and transmitting message
CN104320345A (en) Method and device for collecting topological information in SDN network
CN104426680A (en) Data transmission method, device and system
CN102611569B (en) Path display method and device in service deployment and communication system
CN103442349B (en) Based on the wireless sensor network firmware update of XMPP
CN103974380A (en) Terminal access position keep-alive method and device
CN103532922A (en) Software version upgrade method, device and system
CN106487558A (en) A kind of method and apparatus realizing the scalable appearance of access device
CN102480420A (en) Message sending method as well as message receiving method, device and system
CN104580308A (en) Virtual desktop reappearing and pushing method and device and virtual desktop system
CN100384146C (en) Method for managing distribution network equipment
US20220345872A1 (en) Method and system for controlling id identifier network mobility based on programmable switch
CN104159267A (en) Multiple-network-integrated cloud architecture mobile self-networking system and implement method thereof
CN104320322A (en) Message control method and equipment
CN104660664A (en) Method and apparatus for managing storage system
CN103001871A (en) Label distribution method and device
CN103068000B (en) Based on the self-organizing network method and system of moonlet
CN108462657B (en) Method and equipment for acquiring resources and information of SDN (software defined network) of different operators
WO2018108168A1 (en) Method for implementing multicast service of packet transmission network, device thereof and communication system
CN101646208B (en) Message processing method, device and communication system
CN109413641B (en) Network system, communication method, device, equipment and storage medium based on MESH
CN104079485A (en) Method and device of transmitting appointed forwarder information
CN112020116B (en) Positioning method, device, system 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