[ 研究 ] 15 元月, 2007 10:55

Any logic which uses the existential quantifier or the universal quantifier is said to be a first-order logic. Any logic which views time as a sequence of states is a temporal logic, and any logic which uses only two truth values is a binary logic.
temporal logic is used to describe any system of rules and symbolism for representing, and reasoning about, propositions qualified in terms of time.

Consider the statement: "I am hungry." Though its meaning is constant in time. In fact, the truth value of the statement can vary in time.

In a temporal logic, statements can have a truth value which can vary in time. we can then express statements like "I am always hungry", "I will eventually be hungry", or "I will be hungry until I eat something".

Temporal logic has two kinds of operators: logical operators and modal operators. Logical operators are usual truth-functional operators. The modal operators used in Linear Temporal Logic and Computation Tree Logic are
U(until), X(next), F(finally), G(golbally), A(all) , E(exists) ...etc.

Temporal logics include

CTL*, which includes as a subset
1. Computation Tree Logic (CTL)
2. Linear temporal logic (LTL)
3. Interval temporal logic (ITL)
4. μ calculus

資料來源:http://en.wikipedia.org/wiki/Temporal_logic

[ 電腦 ] 13 元月, 2007 15:23
最近在工作當中常會看到一個以隨身碟上的autorun.inf檔案為媒介到處傳播的病毒
在使用NOD32掃瞄後會看到這個病毒叫/win32/Small.R
受到感染的電腦掃瞄出來會看到下面的一些檔案:

中了隨身碟病毒的病徵:
1.隨身碟或C磁碟機用點選兩下會打不開。
解決方法:在我的電腦或檔案總管點選資料夾的圖來開啟。
2.在工作管理員中的處理程序中會看到影像名稱為svchost.exe、使用者名稱為user的項目。工作管理員按ctrl+alt+del
或滑鼠移到時鐘上方按右鍵也可以看見
3.在隨身碟中會存在autorun.inf、Recycled的隱藏檔及目錄,而RECYCLED中為存在著一個INFO.EXE的檔案,windows
預設會看不到這些隱藏檔和目錄,此時要修改一下設定。
作法:開啟我的電腦或檔案總管,選取工具--->資料夾選項
再點選檢視,找到下列三個選項:
a.隱藏已知檔案類型的副檔名
b.隱藏保護的作業系檔案
c.顯示所有檔案和資料夾
在隨身碟中看到autorun.inf及Recycled後把它刪除就可以了。

其實它是之前隨身碟病毒Inetsrv的變種板本
它會在使用者的電腦c:\windows\system\的目錄中製造一個目錄名叫_SV_CMD_
目錄當中會存在一個_U_.EXE的執行檔,基本_SV_CMD_資料夾和_U_.EXE檔也都是隱藏檔找到後一樣刪除即可。

如果想透過命令提示字元視窗清除_SV_CMD_目錄以及_U_.EXE檔案
在開始--->執行中輸入cmd
接著依照下面的圖示到\windows\system\下作業
因為它們是隱藏的所以用dir的指令會找不到要用attrib來找才行
c:
cd \%windir%\system\
attrib -r -h -s svchost.exe
del svchost.exe
attrib -r -h -s *.*
cd _SV_CMD_
attrib -r -h -s *.*
del _U_.EXE
cd ..
rd _SV_CMD_


要預防這種透過autorun.inf的隨身碟病毒最好的方式還是關閉電腦中的autorun功能
關閉的方法如下請到開始--->執行中輸入gpedit.msc進入windows的群組原則當中去修改
電腦設定--->系統管理範本--->系統--->右邊視窗中的關閉自動播放
在關閉自動播放--->已啟用--->停用自動播放在--->所有磁碟機--->套用--->確定

 資料來源:http://www.wretch.cc/blog/flikkao2&article_id=5792722