面向健康小屋的新型分布式安全認證數(shu)據(ju)同步方法(fa)和數(shu)據(ju)同步系(xi)統,包括一(yi)個中(zhong)心工作站(zhan)與多(duo)個分站(zhan)點,通(tong)過一(yi)個中(zhong)心工作站(zhan)與其他分站(zhan)點分別通(tong)信連接。
首先是中(zhong)(zhong)心(xin)工(gong)(gong)作(zuo)站(zhan)(zhan)(zhan)接(jie)收(shou)到傳(chuan)(chuan)輸(shu)請求后,處(chu)于空閑狀態(tai)同意(yi)傳(chuan)(chuan)輸(shu),非空閑整體則(ze)(ze)拒絕(jue)傳(chuan)(chuan)輸(shu);同意(yi)傳(chuan)(chuan)輸(shu)后中(zhong)(zhong)心(xin)工(gong)(gong)作(zuo)站(zhan)(zhan)(zhan)會接(jie)收(shou)到站(zhan)(zhan)(zhan)點(dian)(dian)(dian)公鑰,中(zhong)(zhong)心(xin)工(gong)(gong)作(zuo)站(zhan)(zhan)(zhan)將(jiang)其與站(zhan)(zhan)(zhan)點(dian)(dian)(dian)IP-公鑰表比對(dui),比對(dui)成(cheng)功(gong)則(ze)(ze)通(tong)過(guo)認證(zheng);中(zhong)(zhong)心(xin)工(gong)(gong)作(zuo)站(zhan)(zhan)(zhan)向(xiang)該(gai)站(zhan)(zhan)(zhan)點(dian)(dian)(dian)發(fa)送傳(chuan)(chuan)輸(shu)密鑰,傳(chuan)(chuan)輸(shu)站(zhan)(zhan)(zhan)點(dian)(dian)(dian)使用密鑰將(jiang)增(zeng)改(gai)數(shu)(shu)據(ju)包加密發(fa)給(gei)中(zhong)(zhong)心(xin)工(gong)(gong)作(zuo)站(zhan)(zhan)(zhan);中(zhong)(zhong)心(xin)工(gong)(gong)作(zuo)站(zhan)(zhan)(zhan)解(jie)密數(shu)(shu)據(ju)包將(jiang)其存儲(chu),向(xiang)所有站(zhan)(zhan)(zhan)點(dian)(dian)(dian)發(fa)出數(shu)(shu)據(ju)傳(chuan)(chuan)輸(shu)請求;收(shou)到請求的其他站(zhan)(zhan)(zhan)點(dian)(dian)(dian)向(xiang)中(zhong)(zhong)心(xin)工(gong)(gong)作(zuo)站(zhan)(zhan)(zhan)發(fa)送自己的公鑰進行身(shen)份(fen)認證(zheng),若身(shen)份(fen)認證(zheng)不成(cheng)功(gong)則(ze)(ze)重(zhong)新發(fa)出二次傳(chuan)(chuan)輸(shu)請求,認證(zheng)成(cheng)功(gong)后中(zhong)(zhong)心(xin)工(gong)(gong)作(zuo)站(zhan)(zhan)(zhan)發(fa)出加密數(shu)(shu)據(ju)包,各站(zhan)(zhan)(zhan)點(dian)(dian)(dian)完成(cheng)數(shu)(shu)據(ju)同步。