Method and device for simulating relational database through IndexedDB in browser environment

The invention discloses a method and device for simulating a relational database through IndexedDB in a browser environment, in the embodiment of the invention, some instructions need to be configured for the IndexedDB so as to adapt to basic operations of a background database, the instructions cor...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: HU YANG, ZHOU JIANPENG, LIU LIN, LU ZHANZHAO, XIE YUXIN, SHAO MINGTENG, HU SHIMENG, DU WEI
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a method and device for simulating a relational database through IndexedDB in a browser environment, in the embodiment of the invention, some instructions need to be configured for the IndexedDB so as to adapt to basic operations of a background database, the instructions correspond to the basic operations of the database and are packaged in a class library, and the class library is used for storing the instructions. Therefore, when the database operation is performed through the user interface, related operations are involved, the foreground calls the class library to simulate the operation of the background database, the background does not need to be frequently started, the resource occupation is reduced, and the user experience is improved. And if the operation changes the data, the background database can be updated according to the operation of the foreground through the synchronization step, and relatively, the starting frequency of the background is still relatively low. 本发明公开了