The embodiment of the invention discloses a webpage loading method and
system and a border gateway. The method comprises the steps that under the condition that a terminal lacks a TCP / IP
protocol stack, a terminal browser obtains and encapsulates an HTTP / HTTPS request as a user-defined
message frame, and sends the user-defined
message frame to a border gateway; and the border gateway obtains the HTTP request message according to the self-defined
message frame, obtains a webpage response message of the HTTP request message through an external TCP / IP network, and returns the webpage response message to the terminal to complete webpage loading. The method has the following advantages: (1) under the condition that the terminal lacks a TCP / IP
protocol stack, the native browser can still safely and smoothly load the webpage content, and meanwhile, an
operating system kernel and an existing
security policy are prevented from being changed; and (2) the terminal rendering adapter is responsible for recombining response, recovering DOM and
multimedia resources, and cooperating with an integrated session cache and a bidirectional
authentication mechanism to ensure interaction security and continuity.