Research Article
Design and Simulation of Lightweight Identity Authentication Mechanism in Body Area Network
Algorithm 3
Information access process based on the security level of sensor node.
(1). | //INPUT: request access to information. | (2) | //OUTPUT: physiological information collected by nodes. | (3) | BEGIN | (4). | Doctors send request message to ; | (5). | certifies doctors according to in the message; | (6) | IF the certification is successful, judge the safety level of medical sensor equipment according to ; | (7). | IF ; | (8). | sends physiological messages collected by to doctors; | (9). | ELSE ; | (10). | sends unable to process message to doctors; | (11). | After receiving the , the doctor sends the request message to again; | (12). | END IF | (13). | judges the state of the human body according to Algorithm 2; | (14). | IF the human body is in the normal state, execute Algorithm 1 for authentication; | (15). | IF the authentication is successful, looks up the authority table and sends the information; | (16). | ELSE Authentication failed; | (17). | END IF | (18). | ELSE the human body is in an emergency; | (19). | Send physiological information to within safe distance; | (20). | END IF | (21). | ELSE Authentication failed. No message will be sent. | (22). | END IF | (23). | END |
|