Front-end and rear-end separation method based on application program interface gateway and related equipment

The invention relates to a front-end and rear-end separation method based on an application program interface gateway and related equipment. The method comprises the following steps: pulling a virtualdirectory and a static resource compressed packet published by a front end from a multi-tenant confi...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: NIU JIANGFEI, ZHONG YUNJIAN
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 relates to a front-end and rear-end separation method based on an application program interface gateway and related equipment. The method comprises the following steps: pulling a virtualdirectory and a static resource compressed packet published by a front end from a multi-tenant configuration center, downloading the static resource compressed packet, and decompressing the static resource compressed packet to the local of gateway equipment to initialize the gateway equipment; receiving a first access request which is sent by the front end to gateway equipment and is used for requesting static resources, searching a virtual directory of the front end according to the first access request, and returning a page of the front end and static file contents to the front end; receiving a second access request which is sent by the front end to the initialized gateway equipment and is used for requesting dynamic resources, and triggering a request for calling a rear-end API according to the second access r