Method for constructing routing layer of e platform of intelligent irrigation district by adopting Node.js
The invention provides a method for constructing a routing layer of an e platform of an intelligent irrigation district by adopting Node.js, which comprises the following steps of: S1, receiving an event request initiated by an application layer, and compiling the request into a machine code for a C...
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 constructing a routing layer of an e platform of an intelligent irrigation district by adopting Node.js, which comprises the following steps of: S1, receiving an event request initiated by an application layer, and compiling the request into a machine code for a CPU (Central Processing Unit) to execute through a V8 engine; s2, a Bingding module of Node.js delivers a compiled machine code to an event driving module for processing, and a processing result is sent to a V8 engine; s3, the V8 engine decompiles the received processing result and sends a decompilation result to an application layer; according to the method for constructing the routing layer of the intelligent irrigation area e platform by adopting Node.js, an html code of an application layer cannot directly communicate with a java code of a service layer, the coupling degree of front and rear end programs is reduced, and when an application layer program or a service layer program changes or expands, the target o |
---|