Multi-language performance improvement method and system based on front-end isomorphic framework

A system-enhancing, multi-language technology, applied in the Internet field, can solve problems such as slow loading of the first screen, prolonged client request file time, and large HTML files

Pending Publication Date: 2020-01-24
HANGZHOU TUYA INFORMATION TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

After successfully obtaining multilingual data, all the data will be stuffed into the HTML file, resulting in a large HTML file, a longer time for the client to request the file, and slower loading of the first screen, which will cause a lot of performance problems and poor user experience.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Multi-language performance improvement method and system based on front-end isomorphic framework
  • Multi-language performance improvement method and system based on front-end isomorphic framework
  • Multi-language performance improvement method and system based on front-end isomorphic framework

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] In order to understand the above-mentioned purpose, features and advantages of the present invention more clearly, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that, in the case of no conflict, the embodiments of the present application and the features in the embodiments can be combined with each other.

[0032] In the following description, many specific details are set forth in order to fully understand the present invention, but the present invention can also be implemented in other ways different from those described here, therefore, the protection scope of the present invention is not limited to the specific details disclosed below. EXAMPLE LIMITATIONS.

[0033] Refer below Figure 1 to Figure 6 The multilingual performance improvement method and system based on the front-end isomorphic framework according to some embodiments of the present invention are ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a multi-language performance improvement method. The method comprises the following steps of obtaining a multi-language data request submitted by a user first screen at a server; acquiring multilingual data and version identifiers corresponding to the multilingual data according to the multi-language data request; generating server cache data according to the multi-language data and the version identifier; mounting the cache data of the server to the global object of the page rendered by the server, and transmitting the page generated by the server to the client; and the client analyzing the multilingual data and the version identifier of the global object on the page, and taking the version identifier and the multi-language data as client cache data. According tothe technical scheme, after the first time of first screen rendering, the server and the client perform multi-language data caching and do not need to be transmitted to the client from the server again, most importantly, the client page does not need to mount a large amount of multi-language data to the client through the server page every time, and the page is smaller, higher in speed and betterin performance.

Description

technical field [0001] The present invention relates to the field of Internet technology, in particular to a multilingual performance improvement method based on a front-end isomorphic framework and a multilingual performance improvement system based on a front-end isomorphic framework. Background technique [0002] In the front-end web isomorphic solution, it is mainly divided into two parts: server-side rendering and client-side rendering. In server-side rendering, data is usually obtained from the back-end interface. After getting the data, it is passed into the props of the page component. On the one hand, it is used to render the page on the server side, and on the other hand, the props data is stuffed into the global object of the page. In order to transfer the data obtained by the server to the client. In client-side rendering, after the client gets the data from the global object of the page, it performs another client-side rendering, and finally displays the render...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F8/20G06F16/958
CPCG06F8/22G06F16/958Y02D10/00
Inventor 刘鹏
Owner HANGZHOU TUYA INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products