Method for solving concurrent dirty read prevention in data transmission
The invention provides a method for solving concurrent dirty read prevention in data transmission and belongs to the data transmission security technology. The method comprises following steps: multi-threaded data is locked immediately after being read; before data transmission is formally started,...
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention provides a method for solving concurrent dirty read prevention in data transmission and belongs to the data transmission security technology. The method comprises following steps: multi-threaded data is locked immediately after being read; before data transmission is formally started, the data is obtained again according to a thread unique code; data transmission is carried out; data transmission is completed. By means of the method of the invention, under intersystem multi-thread data transmission, a security mechanism of accurate and no-repeat data is realized. The interface is not achieved through using the transaction isolation mechanism, but through different threads to add exclusive mark to data, transmission, and releasing the exclusive mark mechanism after transmission.
本发明提供种解决数据传输中防并发脏读方法,属于数据传输保障技术,本发明包括多线程下数据读取后立即锁定;在数据正式开始传输前再根据线程唯码获取遍数据;数据传输;数据传输完毕。本发明实现了在系统间多线程传输数据的情况下,数据准确、无重复的保障机制。接口无需采用事务隔离机制,而是通过不同线程对数据增加独占标记、传输、传输完毕后释放独占标记的机制来实现。 |
---|