[summary of the invention]
Based on this, be necessary to provide a kind of remote monitoring system based on mobile intelligent agent, its expanded function is stronger, and can carry out telemanagement and configuration to the long distance monitoring network of isomery.
A kind of remote monitoring system based on mobile intelligent agent, comprise: long distance monitoring network, comprise tele-care device, described tele-care device runs mobile intelligent agent management platform, by described mobile intelligent agent management platform changeable assembling with load mobile intelligent agent, and the mobile intelligent agent in platform data processing unit is provided to carry out the mechanism of remote testing, debugging and configuration; Telemanagement station, for carrying out remote testing, debugging and configuration to mobile intelligent agent management platform; Proxies store server, for the intelligent agent that provides Remote Dynamic to download for tele-care device with act on behalf of johning knot composition, coordinates the Remote configuration function at described telemanagement station, carries out changeable assembling to intelligent agent on tele-care device and function.
Preferably, described mobile intelligent agent management platform comprises: data processing unit, the state node comprising the intelligent agent that is interconnected and cooperates and distribute for unlike signal processing procedure; Control unit, for service data processing unit, create data processing unit and preserve quoting data processing unit internal structure, add in data processing unit, delete, search intelligent agent, realize distribution and the recovery of associated internal memory resource, set up between relevant intelligent agent and state node and quote alternately, realize the scheduling to factorage; Intelligent agent manager, for the intelligent agent in access proxy storage server and act on behalf of johning knot composition, to intelligent agent with act on behalf of the certification that johning knot composition is decrypted and realizes based on certificate or digital signature, resolve acting on behalf of johning knot composition, the local policy for the description of intelligent agent in function, safety, interoperability and tele-care device according to acting on behalf of in johning knot composition, certificate is authorized connection scheme, the description summary creation operation plan of resource when running according to each agency comprised in certificate.
Preferably, described johning knot composition of acting on behalf of adopts extend markup language to describe, and comprises the intelligent agent that annexation between all state nodes of each signal stream mode figure, state node and each node use.
Further preferably, described system also comprises: management tool, for managing and load the special smart agency for debugging, testing and configure.
In addition, there is a need to provide a kind of long distance monitoring method based on mobile intelligent agent, its expanded function is stronger, and can carry out telemanagement and configuration to the long distance monitoring network of isomery.
Based on a long distance monitoring method for mobile intelligent agent, comprise the following steps: start mobile intelligent agent management platform; What be supplied to tele-care device requirement by mobile intelligent agent management platform acts on behalf of johning knot composition, according to acting on behalf of johning knot composition changeable assembling and loading mobile intelligent agent, and carries out remote testing, debugging and configuration to mobile intelligent agent.
Preferably, the step of described startup mobile intelligent agent management platform specifically: load and act on behalf of johning knot composition; Certificate according to acting on behalf of johning knot composition carries out certification, and authorizes and specify operation plan about the certificate of each intelligent agent in function, fail safe, interoperability, performance and computational resource to acting on behalf of johning knot composition according in certificate; Load intelligent agent according to the johning knot composition of acting on behalf of of authorizing, for acting on behalf of the state node storage allocation resource described in johning knot composition, and be patterned to set up between state node and between state node and intelligent agent quote alternately according to acting on behalf of johning knot.
The above-mentioned remote monitoring system based on mobile intelligent agent and method, by acting on behalf of johning knot composition, multiple parallel data handling procedure is decomposed into state node, intelligent agent and the annexation between them, and to state node, the memory data structure of intelligent agent and annexation thereof manages, by the mobile intelligent agent management platform set up, the functional module of remote household monitoring protecting system is made to download with the form of mobile intelligent agent and changeable assembling to tele-care device runs, operating personnel carry out the remote testing of agents level to the tele-care device of the Various Functions be made up of different mobile intelligent agent by single user interface, debugging and configuration, thus make remote monitoring system have good retractility, extensibility, and can carry out online debugging and configuring, the software module that different developer is developed is easy to integrated and cooperation.
In addition, the above-mentioned remote monitoring system based on mobile intelligent agent and method, tested and certification by the function, fail safe, interoperability, resource requirement etc. of test authentication platform to different mobile intelligent agent, thus can the design of predigested running system, meet the robustness requirement of resource embedded system relatively in short supply.
[embodiment]
Fig. 1 shows the remote monitoring system based on mobile intelligent agent in an embodiment, and this system comprises long distance monitoring network 10, telemanagement station 20 and multiple distributed proxies store server 30.Wherein:
Long distance monitoring network 10 for by doctor workstation 101, family's relay station 102 and multiple be arranged in patients home the network that forms of the tele-care device such as sensor node 103.Doctor workstation 101 and family's relay station 102 run mobile intelligent agent management platform 40, by mobile intelligent agent management platform 40 changeable assembling with load mobile intelligent agent, and provide the mechanism of the mobile intelligent agent in platform data processing unit being carried out to remote testing, debugging and configuration.Telemanagement station 20 is for carrying out remote testing, debugging and configuration to mobile intelligent agent management platform.The intelligent agent that proxies store server 30 provides Remote Dynamic to download for tele-care device and act on behalf of johning knot composition, coordinates the Remote configuration function at telemanagement station 20, carries out changeable assembling to intelligent agent on tele-care device and function.
Fig. 2 shows the mobile intelligent agent management platform 40 in an embodiment, comprises data processing unit 401, control unit 402, intelligent agent manager 403 and management tool 404.Wherein:
Data processing unit 401 is that the internal memory of the data structure comprising multiple signal processing represents, comprises and is interconnected co-operating intelligent agent and the state node for the distribution of unlike signal processing procedure.The asynchronous interface of intelligent agent is embodied as the thread of independent operating, realizes synchronous each other by mutexes and conditional-variable; The sync cap of intelligent agent is embodied as can the function of recursive call; The debugging test configurations interface of intelligent agent both can comprise asynchronous interface, also can comprise sync cap, and wherein, sync cap is for changing the intelligent agent parameter of particular state, and asynchronous interface is used for for the data handling procedure of intelligent agent increase for debugging test.
Control unit 402 is for service data processing unit 401, comprise and create data processing unit 401 and preserve quoting data processing unit internal structure, add in data processing unit, delete, search intelligent agent, realize distribution and the recovery of associated internal memory resource, set up between relevant intelligent agent and state node and quote alternately, realize the scheduling to factorage.In the establishment and maintenance process of data processing unit, control unit 402 loads intelligent agent and operation plan (also may use the scheduler of system default) by intelligent agent manager 403 according to acting on behalf of johning knot composition, for the different conditions storage allocation space of different signal processings, start asynchronous thread.Control unit 402 also for responsible remote control commands loaded tubes grooming tool (the special smart agency for debugging, testing and configure), and distributes the resource needed for respective process.
Intelligent agent manager 403 is for the intelligent agent in access proxy storage server 30 and act on behalf of johning knot composition, if desired to intelligent agent with act on behalf of the certification that johning knot composition is decrypted and realizes based on certificate or digital signature, resolve acting on behalf of johning knot composition, according to acting on behalf of in johning knot composition, certificate, the local policy of the description of each agency in function, safety, interoperability etc. and tele-care device is authorized connection scheme, the description summary creation operation plan of resource when running according to each agency comprised in certificate.
Management tool 404 manages and loads the special smart agency for debugging, testing and configure.
Proxies store server 30 stores the special smart agency in common intelligent agent and management tool 404, stores simultaneously and acts on behalf of johning knot composition.Acting on behalf of johning knot composition is the one group of signal stream mode figure for particular remote monitoring scenarios and custodial care facility described with the form of extend markup language (XML), comprise the intelligent agent that annexation between all state nodes of each signal stream mode figure, state node and each node use, also can comprise the pointer pointing to long-distance intelligent proxies store position.
In one embodiment, signal processing in native system can be modeled as the loop-free directed graph structure chart be formed by connecting by multiple treatment state node, signal flows according to the direction of directed graph from the state node of source, process via specific software module (i.e. intelligent agent) is asynchronous in the middle of two state nodes, produce new data and be delivered to next state node (as shown in Figure 3).The feedback loop of restraining for needing single step, be then modeled as multiple state node sequence synchronization process in formation loop until the process (as shown in Figure 4) of convergence.Wherein, each state node safeguard oneself data buffer zone, state information, the pointer list of sensing father state node and sub-state node, the pointer pointing to the intelligent agent being responsible for this state node of process data and process parameter thereof; Each intelligent agent safeguards the pointer of all state nodes handled by oneself, the mutexes synchronous for intelligent agent and conditional-variable, and for asynchronous data process, synchrodata process and the worker thread for remote debugging and configuration.
The directed graph (as Fig. 3 and Fig. 4) that above-mentioned state node is formed by connecting according to the direction of signal flow is signal stream mode figure.In same signal stream mode figure, the dynamic changing process of sub-state node is subject to the impact of father's state node, sub-state node can not have an impact to the dynamic change logic of father's state node, can not interact between state node and its non-ancestor state node on function logic.If a tele-care device exists multiple data handling procedure, then can regard multiple parallel signal stream mode figure as, be between the state node in unlike signal stream mode figure and can not interact on function logic.
In one embodiment, the output deposit data of intelligent agent A has arrived in state node B, then claim intelligent agent A to be responsible for treatment state Node B, or the intelligent agent claiming state node B is A.An intelligent agent can be responsible for processing different state nodes, and these state nodes sharing same intelligent agent in same signal stream mode figure, also can be able to be in different signal stream mode figure.Such as, a finite impulse response digital filtering module both can be used as low pass filter, also can be used as notch filter, only need at corresponding state node stored in different filter parameters.Because different intelligent agents works on different state nodes, in order to ensure the correctness of dynamic logic between father and son's state node in same signal stream mode figure, need a kind of synchronization mechanism that cooperates between the intelligent agent of father and son's state node.
As shown in Figure 5, in one embodiment, there are two signal stream mode figure I and II, 3 intelligent agents A, B and C are shown in figure, wherein intelligent agent A is responsible for the state node 1 in signal stream mode figure I, intelligent agent B is responsible for the state node 2 in signal stream mode figure I and the state node in signal stream mode figure II 5 and 6, intelligent agent C is responsible for the state node 3 in signal stream mode figure I and the state node 4 in signal stream mode figure II.Intelligent agent A and intelligent agent B forms cooperation because of the set membership between state node 1 and state node 2; Intelligent agent A and intelligent agent C forms cooperation because of the set membership between state node 1 and state node 3; Intelligent agent C and intelligent agent B forms cooperation because of the set membership between state node 4 and state node 5; Intelligent agent B then sequential working in state node 5 and state node 6.In this embodiment, the cooperating process between intelligent agent A and intelligent agent B is as follows:
(1) work of intelligent agent A completion status node 1, the data length that the child status node 2 that now state node 1 have collected state node 1 requires; The working mark of intelligent agent A SM set mode node 2, and the conditional-variable of the intelligent agent B of the state node 2 that sets out.Now state node 1 not yet collects the data length that child status node 3 requires, thus the working mark of state node 3 is not by intelligent agent A set, and the conditional-variable of its intelligent agent is not triggered.(2) after intelligent agent B is waken up by conditional-variable, travel through oneself all state nodes of being responsible for, Discovery Status node 2 has the work needing oneself process; The working mark of intelligent agent B Reset Status node 2, from the buffering area of state node 1, obtain data process, result and treatment state are saved in state node 2, and whether the data length required according to the child node of state node 2 meets determines whether the intelligent agent waking them up.After process terminates, intelligent agent B waits in conditional-variable.
The data structure shown in Fig. 5 is adopted to come state node in supervisory signal stream mode figure and intelligent agent, set up the internal structure of state node and intelligent agent, make can access mutually by reference between father and son's state node and between state node and intelligent agent, intelligent agent also can pass through the intelligent agent that be responsible for state node finds its child node, thus the synchronous communication realized between intelligent agent or the asynchronous communication by conditional-variable.
Fig. 6 shows the test authentication platform 50 in an embodiment medium-long range monitor system, and it is responsible for testing and certification single intelligent agent or specific intelligence agency.This platform comprises proxy database 501 and test certification work station 502, wherein: proxy database 501 stores the test summary that conscientious intelligent agent and developer thereof provide; Mobile intelligent agent management platform 40 is run at test 502, certification work station, and the intelligent agent provided by loading specific development business starts test process with test summary.Test summary comprises test script, acts on behalf of johning knot composition, test agent, test data and test specification document.Wherein:
(1) test script describes the testing procedure that needs order performs, the order that can comprise acting on behalf of johning knot composition performs, and also comprises and carries out the step of interoperation test for what get with the certificate of intelligent agent interoperability verified in proxy database 501 and the test summary that uses this agency to provide.
(2) acting on behalf of johning knot composition can be to be tested act on behalf of johning knot composition, also can be test single intelligent agent and recommend act on behalf of johning knot composition, agency in the latter may be not necessarily concrete agency, but there is the agency of some function and/or interface characteristics, also may be that this agency wishes the intelligent agent list that test connects.
(3) test agent is a kind of special intelligent agent for test design, and the unit testing comprised in simulation signal generator, running environment is acted on behalf of or test result carried out to the proxy module of analyzing and processing and checking.Test agent can be the general test agent (signal source as use test digital simulation) of test platform or the test agent (as unit testing agency) for fc-specific test FC customization.The Output rusults that also have recorded in fc-specific test FC step fc-specific test FC agency in test script to how for the function of tested intelligent agent, interface, safety and encryption mechanism, and how for system performance and resource requirement determine levy, thus make test platform automatically can complete checking and test function, and the certificate of generation system in function, safety encipher, interoperability, performance and computational resource requirements etc.The above-mentioned certification to interoperability comprises: 1, the certification of docking port structure; 2, to other intelligence and this intelligent agent interoperable Valuation Standard (based on test agent export standard).
(4) test specification document is the test case of the text description supplying tester to check, there is illustrated some testing procedure needing user interactions and observational techniques, as supplementing above-mentioned automatic testing process.Tester can test and certification system according to test specification document interactively in function, safety encipher, interoperability, performance and computational resource requirements etc.
Fig. 7 shows the long distance monitoring method based on mobile intelligent agent in an embodiment, and the method comprises the following steps:
In step slo, mobile intelligent agent management platform is started.
As shown in Figure 8, in one embodiment, the method flow detailed process starting mobile intelligent agent management platform is as follows:
In step S101, intelligent agent manager 403 loads and acts on behalf of johning knot composition from proxies store server 30.
In step s 102, carry out certification according to the certificate acting on behalf of johning knot composition, and authorize and specify operation plan about the certificate of each intelligent agent in function, fail safe, interoperability, performance and computational resource etc. to acting on behalf of johning knot composition according in certificate.
In step s 103, control unit 402 loads intelligent agent by intelligent agent manager 403 according to the johning knot composition of acting on behalf of of authorizing, for acting on behalf of the state node storage allocation resource described in johning knot composition, and be patterned to set up between state node and between state node and intelligent agent quote alternately according to acting on behalf of johning knot.
In step S104, control unit 402 starts the asynchronous interface of the intelligent agent having asynchronous process task in thread mode.
In step S20, what be supplied to tele-care device requirement by mobile intelligent agent management platform 40 acts on behalf of johning knot composition, according to acting on behalf of johning knot composition changeable assembling and loading mobile intelligent agent, and remote testing, debugging and configuration are carried out to mobile intelligent agent.
Fig. 9 shows the method flow in an embodiment, mobile intelligent agent being carried out to Remote configuration, and detailed process is as follows:
Below before step, run mobile intelligent agent management platform 40.
In step s 201, tele-care device requires remote control and regulation.
In step S202, mobile intelligent agent management platform 40 pairs of remote system Certificate Authorities.
In step S203, what tele-care device required current use acts on behalf of johning knot composition.
In step S204, mobile intelligent agent management platform 40 is passed back and is acted on behalf of johning knot composition and/or its remote location is quoted.
In step S205, tele-care device is loaded into visual edit interface by acting on behalf of johning knot composition.
In step S206, user is by visual edit interface configurations mobile intelligent agent and state node.
In step S207, pass back to mobile intelligent agent management platform 40 and act on behalf of johning knot composition after change.
In step S208, the johning knot composition of acting on behalf of of change is authorized and set up new operation plan according to the johning knot composition after this change.
In step S209, according to acting on behalf of intelligent agent in johning knot composition additions and deletions configuration data processing unit 401 and state node after change.In this step, mobile intelligent agent platform 40 loads corresponding intelligent agent from proxies store server 30.
In step S210, upgrade the quoting alternately between intelligent agent and state node acted on behalf of in johning knot composition.
It should be noted that to carry out the process of the process of remote testing and debugging and Remote configuration and assembling to mobile intelligent agent similar, its difference is that the intelligent agent newly increased is the intelligent agent with remote communications capability being specifically designed to test and debugging.These special intelligents agency can comprise simulation signal generator and tune-up data follower, be added in the data structure of data processing unit 401 according to the johning knot composition of acting on behalf of after change, the former accepts to come from long-range data-driven, the latter by this agency in data processing unit 401 the data of state node, the state and parameter etc. be responsible for export to remote system, thus realize remote testing and the debugging of intelligent agent.
Figure 10 shows the method flow carrying out testing certification in an embodiment to intelligent agent, and detailed process is as follows:
In step S301, load intelligent agent to be tested and test summary.
In step s 302, corresponding testing procedure is once performed according to the test script in test summary.
In step S303, perform and act on behalf of johning knot composition based on intelligent agent to be measured.
In step s 304, according to the certificate of output automatic creation system in function, safety encipher, interoperability, performance and computational resource requirements etc. of test agent.
In step S305, perform the test summary based on interoperability intelligent agent.
In step S306, once perform according to the test script in test summary and relevant act on behalf of johning knot composition.
The above embodiment only have expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.