Wireless-sensor network distribution type management method based on mobile agent
Technical field
The present invention relates to a kind of management method of wireless sensor network, mainly utilize distributed computing technology to solve the monitoring and the control problem of wireless sensor network, belong to Distributed Calculation, wireless sensor network and network management interleaving techniques application.
Background technology
Wireless sensor network is by having perception, the network that the sensor node of processing and wireless communication ability forms by the self-organizing mode, it can make us extend to more wide interactive space, obtain to center on our dynamic state information on every side, realization is for the peripheral world more accurate and deep understanding and control, thereby in military affairs, environment, healthy, family, traffic, manufacturing industry, commercial, facilities management, transportation, safety, there is wide application prospect in fields such as space exploration and disaster rescue, to people's live and work mode, industry development and change produce revolutionary impact.
But wireless sensor network be a kind of wireless self-organizing, fault-tolerance is high, dynamic, use relevant, data-centered novel information network, but under developments such as existing low-consumption wireless electrical communication technology, embedded computing technique, microsensor technology and integrated circuit technique, show as the little rapid large-scale of node volume dispose, can unmanned guard, but power supply energy is limited, communication capacity is limited, calculating and storage capacity are limited.Therefore, be necessary wireless sensor network is managed and reasonable distribution and control, to improve operational efficiency and reliability, to finish set application target, whole network is moved more economically, but the management to wireless sensor network is different from other existing information networks, needs to be fit to the management method of its characteristic.
Mobile proxy technology is a kind of based on network distributed computing technology, diffusing, loosely-coupled with a component in essence, movably intelligence structure realizes in distributed network environment that high efficiency cooperates with uniting mutually between colony and finds the solution, and solves conflict and contradiction under multiple cooperative strategy and the scheme.Mobile agent has independence, initiative, reactivity, mobility, characteristic such as social and intelligent, form with hardware or software, can realize the collaborative and autonomous of system, can finely be applied in the network management, and solve more insoluble key issues in present this field.Especially in wireless sensor network limited bandwidth, energy constraint, unsettled dynamic radio environment, mobile agent helps to dispose flexibly and extended network management intelligence, makes up efficiently, the management system of autonomy initiatively; Make distribution and control as close as possible information source, save bandwidth, reduce the perception data redundancy, reduce data traffic and communication overhead; Realize the task scheduling strategy of dynamic management mode and high flexible; Conserve energy effectively prolongs network system life cycle.
Existing wireless sensor network way to manage often cause aggregation node and (or) the outer application system work load of network is overweight; When the wireless sensor network scale enlarged, wireless sensor network management overall response time was longer, system's poor astringency; Because system scale and application become increasingly complex, and add the change of user's request, the wireless sensor network management logic is difficult for the expansion upgrading.
Summary of the invention
Technical problem: the objective of the invention is to make up an Efficient and Flexible distributed monitoring and control method for wireless sensor network, improve wireless sensor network operational efficiency and reliability, a kind of wireless-sensor network distribution type management method based on mobile agent is provided, make Internet resources obtain the most effective utilization, and continuous, reliable and stable service is provided.
Technical scheme: wireless-sensor network distribution type management method of the present invention is: the mobile agent of example, in hardware is distributed in the wireless sensor network, these mobile agents have sufficient energy supply, stronger processing and wireless communication ability, safety assurance ability reliably than the general node in the wireless sensor network, use movably dynamic management network (being called the mobile agent net) of concrete composition in service at wireless sensor network, monitoring and control service to wireless sensor network are provided.
One, architecture
Architecture of managing based on the wireless-sensor network distribution type of mobile agent of the present invention comprises three-decker: network layer, mobile agent layer, service layer.Network layer is based on the support system of the wireless-sensor network distribution type management of mobile agent, and being embodied in the all-network node self-organizing that comprises the general node of wireless sensor network and aggregation node and mobile agent is the hardware infrastructure of whole architecture.The mobile agent layer is based upon on the basis of network layer, is displaced in the wireless sensor network of being managed with example, in hardware, has the mobile agent of showing as net, forms the management infrastructure of whole architecture.Service layer is based on the wireless-sensor network distribution type management of mobile agent and uses abstraction hierarchy, be embodied in the basic management service of using, comprise performance management service, fault management service, configuration admin service, accounting management service and safety management service etc. towards wireless sensor network.
During basic management of using towards wireless sensor network of the present invention is served, the performance management service is the key parameter by mobile agent monitoring wireless sensor network operation, and points out in the wireless sensor network that certain performance where can improve and how to improve; The fault management service is by the fault in mobile agent detection, location and the eliminating wireless sensor network hardware and software, and the fundamental characteristics such as maintenance certainly, self-healing and self-shield is provided; Configuration admin service is to grasp and control wireless sensor network state by mobile agent, guarantees that network normally moves, and provides such as self-organizing, self-configuring, finds certainly or essential characteristic such as self-optimizing; The accounting management service is by the operating position of mobile agent tolerance wireless sensor network resource, comprises relevant resource use and mutually notifiable function; Safety management service is to realize visit wireless sensor network resource constraint and control by mobile agent, and self-shield, reliability, disposable, confidentiality, authenticity and integrity are provided.
Mobile agent of the present invention be movably, intelligent body with hardware form, this intelligence body can by in the water, land and aerial removable vehicle equipment or independently in the variation of three dimensions occurrence positions.
Two, method flow
1, disposes the mobile agent net
In the wireless-sensor network distribution type management method based on mobile agent of the present invention, at first make mobile agent migrate to concrete application region of wireless sensor network or the application message amount is many, computation requirement is high, the storage demand amount is big bottleneck, form the mobile agent net, make up the wireless-sensor network distribution type management infrastructure.
(1) divides the target area that wireless sensor network is managed
The target area of wireless sensor network being managed according to concrete application is divided into a management domain, face management domain, fence management domain and mixed management territory.Wherein, wireless sensor network point management domain only needs mobile agent that limited discrete point managed, each wireless sensor network node of wireless sensor network face management domain is managed by a mobile agent at least, the track that wireless sensor network fence management domain needs mobile agent that certain wireless sensor network node is formed manages, and wireless sensor network mixed management territory is mixed by a management domain, face management domain and fence management domain and formed.
(2) in different management domains, dispose mobile agent
One or more mobile agents migrate to this zone, and according to the concrete deployment way of wireless sensor network node, one or more mobile agents continue or the one or more wireless sensor network nodes of management as required.Mobile agent is also by the different wireless sensor network node of migration management.
(3) form the mobile agent net
For wireless sensor network point management domain, mutual coordinated management between the mobile agent, the wireless sensor network supervising the network of formation chain; For wireless sensor network face management domain, mutual coordinated management forms netted wireless sensor network supervising the network between the mobile agent; For wireless sensor network fence management domain, mutual coordinated management between the mobile agent, the wireless sensor network supervising the network of formation chain and netted mixing; For wireless sensor network mixed management territory, mutual coordinated management between the mobile agent forms chain, netted or forms such as chain and netted mixing are discrete or the supervising the network that overlaps.
2, based on the management organization of mobile agent net
In the described wireless-sensor network distribution type management method based on mobile agent, after mobile agent is disposed and is formed supervising the network, mobile agent is according to demand frequency and the management service acquisition management information that will provide, after the integrated treatment, communicate by letter with one of them mobile agent by the multi-hop routing mechanism, this mobile agent is as gateway, converge and all management information of integrated treatment, via satellite, mobile radio communication, cable network, communication links such as Internet send to Surveillance center with these management information, perhaps will be published to the supervising the network after the administration order that Surveillance center receives.
Wireless-sensor network distribution type management method based on mobile agent of the present invention is that the mobile agent with example, in hardware is distributed in the wireless sensor network, these mobile agents have sufficient energy supply, stronger processing and wireless communication ability, safety assurance ability reliably than the general node in the wireless sensor network, wireless sensor network use concrete composition in service movably the dynamic management network be called the mobile agent net, monitoring and control service to wireless sensor network are provided, and described method comprises following two stages:
Phase I, dispose the mobile agent net:
Step 1) is divided the target area that wireless sensor network is managed: the target area of wireless sensor network being managed according to concrete application is divided into face management domain, some management domain and fence management domain;
Step 2) dispose mobile agent in different management domains: one or more mobile agents migrate to the objective management zone, concrete deployment way according to wireless sensor network node, one or more mobile agents continue or the one or more wireless sensor network nodes of management as required, and mobile agent is also by the different wireless sensor network node of migration management;
Step 3) forms the mobile agent net: for wireless sensor network face management domain, mutual coordinated management forms netted supervising the network between the mobile agent; For wireless sensor network point management domain, mutual coordinated management between the mobile agent, the supervising the network of formation chain; For wireless sensor network fence management domain, mutual coordinated management between the mobile agent, the supervising the network of formation chain and netted mixing; For the wireless sensor network mixed management territory that comprises above-mentioned management domain, mutual coordinated management between the mobile agent, form have chain, netted or forms such as chain and netted mixing are discrete or the supervising the network that overlaps;
Second stage, management organization based on the mobile agent net: mobile agent is according to demand frequency and the management service acquisition management information that will provide, after the integrated treatment, communicate by letter with one of them mobile agent by the multi-hop routing mechanism, this mobile agent is as gateway, converge and all management information of integrated treatment, via satellite, communication link such as mobile radio communication, cable network, Internet sends to Surveillance center with these management information, perhaps will after the administration order that Surveillance center receives, be published to the supervising the network.
The wireless-sensor network distribution type management comprises three-decker:
1) network layer: based on the support system that the wireless-sensor network distribution type of mobile agent is managed, being embodied in the all-network node self-organizing that comprises the general node of wireless sensor network and aggregation node and mobile agent is the abstract hardware infrastructure of whole architecture;
2) mobile agent layer: be based upon on the basis of network layer, be displaced in the wireless sensor network of being managed, have the mobile agent of showing as net, form the management infrastructure of whole architecture with example, in hardware;
3) service layer: abstraction hierarchy is used in the wireless-sensor network distribution type management based on mobile agent, is embodied in the basic management service of using towards wireless sensor network.
In the basic management service of wireless sensor network application, the performance management service is the key parameter by mobile agent monitoring wireless sensor network operation, and points out in the wireless sensor network that certain performance where can improve and how to improve; The fault management service is by the fault in mobile agent detection, location and the eliminating wireless sensor network hardware and software, and the fundamental characteristics from maintenance, self-healing and self-shield is provided; Configuration admin service is to grasp and control wireless sensor network state by mobile agent, guarantees that network normally moves, and self-organizing, self-configuring is provided, finds certainly or essential characteristic such as self-optimizing; The accounting management service is by the operating position of mobile agent tolerance wireless sensor network resource, comprises relevant resource use and mutually notifiable function; Safety management service is to realize visit wireless sensor network resource constraint and control by mobile agent, and self-shield, reliability, disposable, confidentiality, authenticity and integrity are provided.
For the face management domain, each wireless sensor network node is managed by a mobile agent at least, and for a management domain, mobile agent manages limited discrete point, for the fence management domain, the track that mobile agent is formed certain wireless sensor network node manages.
Each mobile agent be movably, intelligent body with hardware form, this intelligence body can by in the water, land and aerial removable vehicle equipment or independently move at three dimensions.
Beneficial effect: in the wireless-sensor network distribution type management method based on mobile agent of the present invention, the mobile agent of example, in hardware is formed the management infrastructure of wireless sensor network with its mobility, intelligent and sufficient resources, realizes using and the separating of management.Specifically, method of the present invention has following beneficial effect:
(1) in the wireless-sensor network distribution type management method based on mobile agent of the present invention, multi-mobile agents is realized the management distribution to wireless sensor network, alleviates the outer application system work load of wireless sensor network aggregation node and network.
(2) in the wireless-sensor network distribution type management method based on mobile agent of the present invention, the dynamic of mobile agent net and scalability will effectively reduce wireless sensor network management application system overall response time, especially when the wireless sensor network scale enlarges, can increase mobile agent quantity as required on the one hand, on the other hand, also can make mobile agent migrate to concrete application region of wireless sensor network or the application message amount is many, computation requirement is high, the storage demand amount is big bottleneck, thereby make system than rapid convergence.
(3) in the wireless-sensor network distribution type management method based on mobile agent of the present invention, the mobile agent of example, in hardware is realized separating of wireless sensor network application and management, help by movably mobile agent adaptation wireless sensor network system and the complexity of the scale of application and the variation of user's request, the convenient upgrading wireless sensor network management logic of expanding neatly.
Description of drawings
Fig. 1 is a wireless sensor network application flow schematic diagram.
Fig. 2 is a wireless sensor network management domain schematic diagram.
Fig. 3 is that mobile agent is disposed and the operation schematic diagram in the wireless sensor network point management domain.
Fig. 4 is that mobile agent is disposed and the operation schematic diagram in the wireless sensor network face management domain.
Fig. 5 is that mobile agent is disposed and the operation schematic diagram in the wireless sensor network fence management domain.
Fig. 6 is the schematic diagram that mobile agent all is in appropriate section node in the wireless sensor network node.
Embodiment
Some embodiment of the present invention is for a more detailed description below in conjunction with accompanying drawing.
Based on the wireless-sensor network distribution type management method of mobile agent is that mobile agent with example, in hardware is distributed in the wireless sensor network, these mobile agents have sufficient energy supply, stronger processing and wireless communication ability, safety assurance ability reliably than the general node in the wireless sensor network, wireless sensor network use concrete composition in service movably the dynamic management network be called the mobile agent net, monitoring and control service to wireless sensor network are provided, and described method comprises following two stages:
Phase I, dispose the mobile agent net:
Step 1) is divided the target area that wireless sensor network is managed: the target area of wireless sensor network being managed according to concrete application is divided into face management domain, some management domain and fence management domain;
Step 2) dispose mobile agent in different management domains: one or more mobile agents migrate to the objective management zone, concrete deployment way according to wireless sensor network node, one or more mobile agents continue or the one or more wireless sensor network nodes of management as required, and mobile agent is also by the different wireless sensor network node of migration management;
Step 3) forms the mobile agent net: for wireless sensor network face management domain, mutual coordinated management forms netted supervising the network between the mobile agent; For wireless sensor network point management domain, mutual coordinated management between the mobile agent, the supervising the network of formation chain; For wireless sensor network fence management domain, mutual coordinated management between the mobile agent, the supervising the network of formation chain and netted mixing; For the wireless sensor network mixed management territory that comprises above-mentioned management domain, mutual coordinated management between the mobile agent, form have chain, netted or forms such as chain and netted mixing are discrete or the supervising the network that overlaps;
Second stage, management organization based on the mobile agent net: mobile agent is according to demand frequency and the management service acquisition management information that will provide, after the integrated treatment, communicate by letter with one of them mobile agent by the multi-hop routing mechanism, this mobile agent is as gateway, converge and all management information of integrated treatment, via satellite, communication link such as mobile radio communication, cable network, Internet sends to Surveillance center with these management information, perhaps will after the administration order that Surveillance center receives, be published to the supervising the network.
The wireless-sensor network distribution type management comprises three-decker:
1) network layer: based on the support system that the wireless-sensor network distribution type of mobile agent is managed, being embodied in the all-network node self-organizing that comprises the general node of wireless sensor network and aggregation node and mobile agent is the abstract hardware infrastructure of whole architecture;
2) mobile agent layer: be based upon on the basis of network layer, be displaced in the wireless sensor network of being managed, have the mobile agent of showing as net, form the management infrastructure of whole architecture with example, in hardware;
3) service layer: abstraction hierarchy is used in the wireless-sensor network distribution type management based on mobile agent, is embodied in the basic management service of using towards wireless sensor network.
In the basic management service of wireless sensor network application, the performance management service is the key parameter by mobile agent monitoring wireless sensor network operation, and points out in the wireless sensor network that certain performance where can improve and how to improve; The fault management service is by the fault in mobile agent detection, location and the eliminating wireless sensor network hardware and software, and the fundamental characteristics such as maintenance certainly, self-healing and self-shield is provided; Configuration admin service is to grasp and control wireless sensor network state by mobile agent, guarantees that network normally moves, and provides such as self-organizing, self-configuring, finds certainly or essential characteristic such as self-optimizing; The accounting management service is by the operating position of mobile agent tolerance wireless sensor network resource, comprises relevant resource use and mutually notifiable function; Safety management service is to realize visit wireless sensor network resource constraint and control by mobile agent, and self-shield, reliability, disposable, confidentiality, authenticity and integrity are provided.
For the face management domain, each wireless sensor network node is managed by a mobile agent at least, and for a management domain, mobile agent manages limited discrete point, for the fence management domain, the track that mobile agent is formed certain wireless sensor network node manages.
Each mobile agent be movably, intelligent body with hardware form, this intelligence body can by in the water, land and aerial removable vehicle equipment or independently move at three dimensions.
According to Fig. 1, the concrete application flow of wireless sensor network of the present invention is, be deployed in wireless sensor network node collection, processing and the forwarding information in certain zone, routing mode with multi-hop, after sending information to aggregation node, via satellite, communication link such as mobile radio communication, cable network, Internet sends to Surveillance center; Surveillance center also can by reverse path or other routing mode with concrete administration order or (with) information is published in the wireless sensor network.Fig. 2 provides the wireless sensor network management area of one embodiment of the invention and divides example, the target area that wireless sensor network is managed is divided into a management domain, face management domain and fence management domain, and whole zone is the mixed management territory, wherein wireless sensor network node N1~N4 forms the some management domain, node N5~N13 forms the face management domain, node N14~N19 forms the fence management domain, and node N1~N19 forms the mixed management territory.The embodiment of the present invention at these management domains is described below:
1, wireless sensor network point management domain
(1) mobile agent is placed into the zone that wireless sensor network is disposed, at least one mobile agent is in the wireless sensor network node communication range that will manage by passive or migration pattern initiatively.Describe as Fig. 3, mobile agent MA1 is in the communication range of wireless sensor network node N1, mobile agent MA2 is in the communication range of wireless sensor network node N2, mobile agent MA3 is in the communication range of wireless sensor network node N3 and N4, and mobile agent MA4 is in the communication range of wireless sensor network node N4.
(2) in wireless sensor network point management domain, mobile agent continues or the one or more wireless sensor network nodes of management as required, mobile agent is communicated by letter with the wireless sensor network node that is in its communication range, obtains management information such as performance, fault, configuration, charging, safety or management services such as performance, fault, configuration, charging, safety are provided.The point management domain that mobile agent MA1~MA6 managing wireless sensing device network node N1~N4 forms is described as Fig. 3.
(3) in wireless sensor network point management domain, mobile agent is formed the supervising the network of chain.Describe as Fig. 3, mobile agent MA1~MA6 forms the supervising the network of chain, mobile agent MA5 only transmits management information, get mobile agent MA6 as gateway, converge and all management information of integrated treatment, via satellite, communication link such as mobile radio communication, cable network, Internet sends to Surveillance center with these management information, perhaps will after the administration order that Surveillance center receives, be published to the supervising the network.
2, wireless sensor network face management domain
(1) mobile agent is placed into the zone that wireless sensor network is disposed, at least one mobile agent is in the wireless sensor network node communication range that will manage by passive or migration pattern initiatively.Describe as Fig. 4, mobile agent MA7 is in the communication range of wireless sensor network node N6~N8, mobile agent MA8 is in the communication range of wireless sensor network node N5~N6 and N10, and mobile agent MA9 is in the communication range of wireless sensor network node N9, N11~N13.
(2) in wireless sensor network face management domain, mobile agent continues or the one or more wireless sensor network nodes of management as required, mobile agent is communicated by letter with the wireless sensor network node that is in its communication range, obtains management information such as performance, fault, configuration, charging, safety or management services such as performance, fault, configuration, charging, safety are provided.The face management domain that mobile agent MA6, MA7~MA10 and MA13 managing wireless sensing device network node N5~N13 forms is described as Fig. 4.
(3) in wireless sensor network face management domain, mobile agent is formed netted supervising the network.Describe as Fig. 4, mobile agent MA6, MA7~MA10 and MA13 form the supervising the network of chain, mobile agent MA10 and MA13 only transmit management information, get mobile agent MA6 as gateway, converge and all management information of integrated treatment, via satellite, communication link such as mobile radio communication, cable network, Internet sends to Surveillance center with these management information, perhaps will after the administration order that Surveillance center receives, be published to the supervising the network.
3, wireless sensor network fence management domain
(1) mobile agent is placed into the zone that wireless sensor network is disposed, at least one mobile agent is in the wireless sensor network node communication range that will manage by passive or migration pattern initiatively.Describe as Fig. 5, mobile agent MA6 is in the communication range of wireless sensor network node N18, mobile agent MA11 is in the communication range of wireless sensor network node N14, mobile agent MA12 is in the communication range of wireless sensor network node N15, N16, mobile agent MA13 is in the communication range of wireless sensor network node N17, and mobile agent MA14 is in the communication range of wireless sensor network node N17~N19.
(2) in wireless sensor network fence management domain, mobile agent continues or the one or more wireless sensor network nodes of management as required, mobile agent is communicated by letter with the wireless sensor network node that is in its communication range, obtains management information such as performance, fault, configuration, charging, safety or management services such as performance, fault, configuration, charging, safety are provided.The fence management domain that mobile agent MA6, MA11~MA14 managing wireless sensing device network node N14~N19 forms is described as Fig. 5.
(3) in wireless sensor network fence management domain, mobile agent is formed the supervising the network of chain and netted mixing.Describe as Fig. 5, mobile agent MA6, MA11~MA14 forms the supervising the network of chain and netted mixing, get mobile agent MA6 as gateway, converge and all management information of integrated treatment, via satellite, communication link such as mobile radio communication, cable network, Internet sends to Surveillance center with these management information, perhaps will after the administration order that Surveillance center receives, be published to the supervising the network.
4, wireless sensor network mixed management territory
(1) mobile agent is placed into the zone that wireless sensor network is disposed, comprise a management domain, face management domain or fence management domain, at least one mobile agent is in the wireless sensor network node communication range that will manage by passive or migration pattern initiatively.Describe as Fig. 6, mobile agent MA1~MA14 is in the communication range of appropriate section node among wireless sensor network node N1~N19.
(2) in wireless sensor network mixed management territory, mobile agent continues or the one or more wireless sensor network nodes of management as required, mobile agent is communicated by letter with the wireless sensor network node that is in its communication range, obtains management information such as performance, fault, configuration, charging, safety or management services such as performance, fault, configuration, charging, safety are provided.The mixed management territory that mobile agent MA1~MA14 managing wireless sensing device network node N1~N19 forms is described as Fig. 5.
(3) in wireless sensor network mixed management territory, mobile agent form have chain, netted or forms such as chain and netted mixing are discrete or overlap supervising the network.Describe as Fig. 5, mobile agent MA1~MA14 composition has chain, netted and three kinds of supervising the networks that form all exists such as chain and netted mixing, get mobile agent MA6 as gateway, converge and all management information of integrated treatment, via satellite, communication link such as mobile radio communication, cable network, Internet sends to Surveillance center with these management information, perhaps will after the administration order that Surveillance center receives, be published to the supervising the network.