CN110727422A - Multi-language performance improving method and system based on front-end isomorphic framework - Google Patents

Multi-language performance improving method and system based on front-end isomorphic framework Download PDF

Info

Publication number
CN110727422A
CN110727422A CN201910938468.8A CN201910938468A CN110727422A CN 110727422 A CN110727422 A CN 110727422A CN 201910938468 A CN201910938468 A CN 201910938468A CN 110727422 A CN110727422 A CN 110727422A
Authority
CN
China
Prior art keywords
data
server
language
client
page
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910938468.8A
Other languages
Chinese (zh)
Other versions
CN110727422B (en
Inventor
刘鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Tuya Information Technology Co Ltd
Original Assignee
Hangzhou Tuya Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Tuya Information Technology Co Ltd filed Critical Hangzhou Tuya Information Technology Co Ltd
Priority to CN201910938468.8A priority Critical patent/CN110727422B/en
Publication of CN110727422A publication Critical patent/CN110727422A/en
Application granted granted Critical
Publication of CN110727422B publication Critical patent/CN110727422B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/22Procedural
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to a multilingual performance improving method, which comprises the following steps: acquiring a multilingual data request submitted by a user's first screen at a server; acquiring multi-language data and version identification corresponding to the multi-language data according to the multi-language data request; generating server cache data according to the multi-language data and the version identification; mounting server cache data on a global object of a page rendered by a server, and transmitting the page generated by the server to a client; the client analyzes the multi-language data and the version identification of the global object on the page, and takes the version identification and the multi-language data as client cache data. According to the technical scheme, after the first screen rendering, the server and the client can perform multi-language data caching and do not need to transmit the multi-language data to the client from the server again, and most importantly, a client page does not need to mount a large amount of multi-language data to the client through the server page every time, so that the page is smaller, the speed is higher, and the performance is better.

Description

Multi-language performance improving method and system based on front-end isomorphic framework
Technical Field
The invention relates to the technical field of internet, in particular to a multi-language performance improving method based on a front-end isomorphic framework and a multi-language performance improving system based on the front-end isomorphic framework.
Background
In the front-end web isomorphic scheme, the front-end web isomorphic scheme is mainly divided into two parts, namely server rendering and client rendering. In the server rendering, data acquisition is usually performed from a backend interface, and the acquired data is transmitted to the tips of the page component, so that the data is used for rendering the page by the server, and the tips data is plugged into a global object of the page so as to be convenient for transmitting the data acquired by the server to the client for use. In the client rendering, after the client takes data from the global object of the page, the client rendering is performed again, and finally the rendered web is displayed in the browser.
To update multiple languages more conveniently and in real time, the multiple languages are usually managed by moving to a central system. As shown in the following drawings, each time the browser makes a first screen request, the rendering part at the server side needs to obtain multilingual data from the backend interface once for rendering and data transmission. In the client rendering section, the page has been stuffed with a large amount of multilingual data.
In a large project, the multi-language data volume is usually large, an interface needs to be called once during each first screen rendering, and the subsequent work is performed only after the calling of a server is completed. After the multi-language data is successfully acquired, all data can be stuffed into the HTML file, so that the HTML file is very large, the file requesting time of a client is prolonged, the first screen loading is slow, the performance problem is very large, and the user experience is poor.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art or the related art.
Therefore, an object of the present invention is to provide a method for improving multi-language performance based on a front-end isomorphic framework, which can perform multi-language data caching on both a server and a client after a first screen rendering, and can directly obtain subsequent client rendering and server rendering data from the cache at a higher speed.
Another object of the present invention is to provide a system for improving multi-language performance based on a front-end isomorphic framework, which does not need to stuff bulky multi-language data in a file each time a page is requested, and has the advantages of small file size, fast loading, fast rendering, and good user experience.
In order to achieve the above object, a technical solution of a first aspect of the present invention provides a method for improving multi-language performance based on a front-end isomorphic framework, including the following steps: acquiring a multilingual data request submitted by a user's first screen at a server; acquiring multi-language data and version identification corresponding to the multi-language data according to the multi-language data request; generating server cache data according to the multi-language data and the version identification; mounting server cache data on a global object of a page rendered by a server, transmitting the page generated by the server to a client and transmitting the page to the client; the method comprises the steps that a client receives a page and analyzes multi-language data and version identification on a global object of the page, and the version identification and the multi-language data are used as client cache data; and the user can respectively obtain the multilingual data from the server cache data and the client cache data after calling each time.
In the technical scheme, a multilingual data request submitted when a user accesses a page for the first time through a browser first reaches a server, a server calling interface acquires the multilingual data and then stores a version identifier and the multilingual data as server cache data, and the subsequently submitted multilingual data request does not need the server frequently calling interface any more; after receiving the multi-language data and the version identification, the client takes the multi-language data and the version identification as client cache data; therefore, subsequent client rendering data and server rendering data can be directly obtained from respective cache data, and the speed is higher. In addition, due to the new data transmission mode, the final page file is not stuffed into the overstaffed multiple languages any more, the file is small, the loading is fast, the rendering is fast, and the user experience is good.
In the above technical solution, preferably, the method further includes the following steps: verifying whether the version identification is abnormal according to the preset interval time; wherein the preset interval time is 5min-10 min.
In the technical scheme, the time interval for verifying whether the version identification is abnormal is set, and the updating frequency of the application object can be properly adjusted, so that whether the version of the application object is abnormal is not required to be monitored in real time, the load of the application object is reduced, and the operation efficiency is improved.
In any of the above technical solutions, preferably, the exception includes that the version identifier is blank or the version identifier is low.
In the technical scheme, the server determines whether to put the multi-language data into a window to be transmitted to the client according to whether the version identification is empty or not or whether the version identification is out of date; and the client determines whether to update the data according to whether the version identification is empty or outdated.
In any of the above technical solutions, preferably, the method further includes the following steps: and receiving a control instruction, and controlling whether the multilingual data is loaded on the global object of the access page according to the control instruction.
According to the technical scheme, whether the multi-language data needs to be plugged into the global object is controlled through the control instruction, so that the multi-language data can be selectively plugged into the global object, the file is small, the loading is fast, the rendering is fast, and the user experience is good.
The technical solution of the second aspect of the present invention provides a multilingual performance enhancement system based on a front-end isomorphic framework, including: the first acquisition module is set to be used for acquiring a multilingual data request submitted by a user's first screen at a server; the calling module is set to be used for acquiring the multilingual data and the version identification of the corresponding multilingual data according to the multilingual data request; the server cache module is used for generating server cache data according to the multi-language data and the version identification; the communication module is used for mounting the cache data of the server to a global object of a page rendered by the server and transmitting the page to the client; the client cache module is used for receiving the page, analyzing the version identification and the multi-language data on the global object of the page and taking the version identification and the multi-language data as client cache data; the user can obtain the multilingual data from the client cache data and the server cache data respectively after calling the multilingual data each time.
In the technical scheme, a multilingual data request submitted when a user accesses a page for the first time through a browser first reaches a server, a server calling interface acquires the multilingual data and then stores a version identifier and the multilingual data as server cache data, and the subsequently submitted multilingual data request does not need the server frequently calling interface any more; after receiving the multi-language data and the version identification, the client takes the multi-language data and the version identification as client cache data; therefore, subsequent client rendering data and server rendering data can be directly obtained from respective cache data, and the speed is higher. Most importantly, due to the new data transmission mode, the final page file is not stuffed into the overstaffed multiple languages any more, the file is small, the loading is fast, the rendering is fast, and the user experience is good.
In the above technical solution, preferably, the method further includes: the verification module is arranged for verifying whether the version identification is abnormal according to the preset interval time; wherein the preset interval time is 5min-10min, and can be selected from 7min, 8min or 9 min.
In the technical scheme, the time interval for verifying whether the version identification is abnormal is set, and the updating frequency of the application object can be properly adjusted, so that whether the version of the application object is abnormal is not required to be monitored in real time, the load of the application object is reduced, and the operation efficiency is improved.
In any of the above technical solutions, preferably, the exception includes that the version identifier is blank or the version identifier is low.
In the technical scheme, the server determines whether to put the multi-language data into a window to be transmitted to the client according to whether the version identification is empty or not or whether the version identification is out of date; and the client determines whether to update the data according to whether the version identification is empty or outdated.
In the above technical solution, preferably, the method further includes: and the control module is used for receiving the control instruction and controlling whether the multilingual data is loaded on the global object of the page rendered by the server side according to the control instruction.
According to the technical scheme, whether the multi-language data needs to be plugged into the global object is controlled through the control instruction, so that the multi-language data can be selectively plugged into the global object, the file is small, the loading is fast, the rendering is fast, and the user experience is good.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a flow chart illustrating a multilingual performance-enhancement method according to a first embodiment of the present invention;
FIG. 2 is a flow chart illustrating a multilingual performance-enhancement method according to a second embodiment of the present invention;
FIG. 3 is a flow chart illustrating a multilingual performance-enhancement method according to a third embodiment of the present invention;
FIG. 4 is a block diagram illustrating a multi-language performance enhancement system according to a fourth embodiment of the present invention;
FIG. 5 is a block diagram illustrating a flow chart of a multilingual performance-enhancement system according to a fifth embodiment of the present invention;
fig. 6 is a block diagram showing a flow of a multilingual performance-enhancement system according to a sixth embodiment of the present invention.
Detailed Description
In order that the above objects, features and advantages of the present invention can be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those specifically described herein, and therefore the scope of the present invention is not limited to the specific embodiments disclosed below.
A multi-language performance improvement method and system based on a front-end isomorphic framework according to some embodiments of the present invention will be described with reference to fig. 1 to 6.
As shown in fig. 1, the method for improving multi-language performance based on a front-end isomorphic framework according to the first embodiment of the present invention includes the following steps:
s100, acquiring a multilingual data request submitted by a user' S first screen at a server;
s200, acquiring multi-language data and version identification of the corresponding multi-language data according to the multi-language data request;
s300, generating server cache data according to the multi-language data and the version identification;
s500, mounting the server cache data on a global object of a page rendered by the server, transmitting the page generated by the server to the client and transmitting the page to the client;
s600, the client analyzes the multi-language data and the version identification on the global object of the page, and takes the version identification and the multi-language data as client cache data;
and the user can respectively obtain the multilingual data from the server cache data and the client cache data after calling each time.
In the embodiment, a multilingual data request submitted when a user accesses a page for the first time through a browser first reaches a server, a server calls an interface to obtain the multilingual data and then stores a version identifier and the multilingual data as cache data of the server, and the subsequently submitted multilingual data request does not need the frequent calling of the interface by the server any more; after receiving the multi-language data and the version identification, the client takes the multi-language data and the version identification as client cache data; therefore, subsequent client rendering data and server rendering data can be directly obtained from respective cache data, and the speed is higher. In addition, due to the new data transmission mode, the final web page file is not stuffed into the overstaffed multiple languages any more, the file is small, the loading is fast, the rendering is fast, and the user experience is good.
As shown in fig. 2, a multi-language performance improving method based on a front-end isomorphic framework according to a second embodiment of the present invention includes the following steps:
s100, acquiring a multilingual data request submitted by a user' S first screen at a server;
s200, acquiring multi-language data and version identification of the corresponding multi-language data according to the multi-language data request;
s300, generating server cache data according to the multi-language data and the version identification;
s400, verifying whether the version identification is blank or low according to a preset interval time, wherein the preset interval time is 5 min;
s500, mounting the server cache data on a global object of a page rendered by the server, transmitting the page generated by the server to the client and transmitting the page to the client;
s600, the client analyzes the multi-language data and the version identification on the global object of the page, and takes the version identification and the multi-language data as client cache data;
and the user can respectively obtain the multilingual data from the server cache data and the client cache data after calling each time.
In this embodiment, not only the technical effect of the first embodiment described above is achieved, but also the time interval for verifying whether the version identifier is abnormal is set, and the time interval can be appropriately adjusted according to the update frequency of the application object, so that it is not necessary to monitor whether the version of the application object is abnormal in real time, the load of the application object is reduced, and the operation efficiency is improved; the server determines whether to put the multi-language data into a window to be transmitted to the client according to whether the version identification is empty or not or whether the version identification is outdated; and the client determines whether to update the data according to whether the version identification is empty or outdated.
As shown in fig. 3, a method for improving multi-language performance based on a front-end isomorphic framework according to a third embodiment of the present invention includes the following steps:
s100, acquiring a multilingual data request submitted by a user' S first screen at a server;
s200, acquiring multi-language data and version identification of the corresponding multi-language data according to the multi-language data request;
s300, generating server cache data according to the multi-language data and the version identification;
s400, verifying whether the version identification is blank or low according to a preset interval time, wherein the preset interval time is 5 min;
s500, mounting the server cache data on a global object of a page rendered by the server, transmitting the page generated by the server to the client and transmitting the page to the client;
s600, the client analyzes the multi-language data and the version identification on the global object of the page, and takes the version identification and the multi-language data as client cache data;
s700, receiving a control instruction, and controlling whether the multilingual data is loaded on a global object of the access page according to the control instruction;
and the user can respectively obtain the multilingual data from the cache data of the server and the client after calling each time.
In this embodiment, not only the technical effect of the second embodiment described above is achieved, but also whether the multi-language data is to be plugged into the global object can be controlled by the control instruction, so that the multi-language data can be selectively plugged into the global object, and the method has the advantages of small file size, fast loading, fast rendering, and good user experience.
As shown in fig. 4, a multi-language performance enhancing system 1000 based on a front-end isomorphic framework according to a fourth embodiment of the present invention includes:
a first obtaining module 100, configured to obtain a multilingual data request submitted by a user's first screen at a server;
a calling module 200 configured to obtain the multi-language data and the version identifier corresponding to the multi-language data according to the multi-language data request;
a server cache module 300 configured to generate server cache data according to the multilingual data and the version identifier;
the communication module 500 is configured to mount server cache data on a global object of a page rendered by a server, transmit a page generated by the server to a client, and transmit the page to the client;
a client cache module 600 configured to be used by the client to parse the multi-language data and the version identifier on the global object of the page, and use the version identifier and the multi-language data as client cache data;
and the user can respectively obtain the multilingual data from the server cache data and the client cache data after calling each time.
In the embodiment, a multilingual data request submitted when a user accesses a page for the first time through a browser first reaches a server, a server calls an interface to obtain the multilingual data and then stores a version identifier and the multilingual data as cache data of the server, and the subsequently submitted multilingual data request does not need the frequent calling of the interface by the server any more; after receiving the multi-language data and the version identification, the client takes the multi-language data and the version identification as client cache data; therefore, subsequent client rendering data and server rendering data can be directly obtained from respective cache data, and the speed is higher. In addition, due to the new data transmission mode, the final web page file is not stuffed into the overstaffed multiple languages any more, the file is small, the loading is fast, the rendering is fast, and the user experience is good.
As shown in fig. 5, a multi-language performance enhancing system 1000 based on a front-end isomorphic framework according to a fifth embodiment of the present invention includes:
a first obtaining module 100, configured to obtain a multilingual data request submitted by a user's first screen at a server;
a calling module 200 configured to obtain the multi-language data and the version identifier corresponding to the multi-language data according to the multi-language data request;
a server cache module 300 configured to generate server cache data according to the multilingual data and the version identifier;
a verification module 400 configured to verify whether the version identifier is blank or low according to a preset interval time, wherein the preset interval time is 7 min;
the communication module 500 is configured to mount server cache data on a global object of a page rendered by a server, transmit a page generated by the server to a client, and transmit the page to the client;
a client cache module 600 configured to be used by the client to parse the multi-language data and the version identifier on the global object of the page, and use the version identifier and the multi-language data as client cache data;
and the user can respectively obtain the multilingual data from the server cache data and the client cache data after calling each time.
In this embodiment, not only the technical effect of the fourth embodiment described above is achieved, but also the time interval for verifying whether the version identifier is abnormal is set, and the time interval can be appropriately adjusted according to the update frequency of the application object, so that it is not necessary to monitor whether the version of the application object is abnormal in real time, the load of the application object is reduced, and the operation efficiency is improved.
As shown in fig. 6, a multi-language performance enhancing system 1000 based on a front-end isomorphic framework according to a sixth embodiment of the present invention includes:
a first obtaining module 100, configured to obtain a multilingual data request submitted by a user's first screen at a server;
a calling module 200 configured to obtain the multi-language data and the version identifier corresponding to the multi-language data according to the multi-language data request;
a server cache module 300 configured to generate server cache data according to the multilingual data and the version identifier;
a verification module 400 configured to verify whether the version identifier is blank or low according to a preset interval time, wherein the preset interval time is 7 min;
the communication module 500 is configured to mount server cache data on a global object of a page rendered by a server, transmit a page generated by the server to a client, and transmit the page to the client;
a client cache module 600 configured to be used by the client to parse the multi-language data and the version identifier on the global object of the page, and use the version identifier and the multi-language data as client cache data;
a control module 700 configured to receive a control instruction and control whether the multilingual data is loaded on a global object of the access page according to the control instruction;
and the user can respectively obtain the multilingual data from the cache data of the server and the client after calling each time.
In this embodiment, not only the technical effect of the fifth embodiment described above is achieved, but also whether the multi-language data is to be plugged into the global object can be controlled by the control instruction, so that the multi-language data can be selectively plugged into the global object, and the method has the advantages of small file size, fast loading, fast rendering, and good user experience.
Based on the above-mentioned method shown in fig. 1 to 3, correspondingly, the present application further provides a storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the multi-language performance improving method shown in fig. 1 to 3.
Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.), and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method of the embodiments of the present application.
Based on the method shown in fig. 1 to fig. 3 and the virtual device embodiment shown in fig. 4 to fig. 6, in order to achieve the above object, the present application further provides a computer device, which may specifically be a personal computer, a server, a network device, and the like, where the computer device includes a storage medium and a processor; a storage medium for storing a computer program; a processor for executing a computer program to implement the steps of the multi-language performance enhancement method shown in fig. 1 to 3.
Optionally, the computer device may also include a user interface, a network interface, a camera, Radio Frequency (RF) circuitry, sensors, audio circuitry, a WI-FI module, and so forth. The user interface may include a Display screen (Display), an input unit such as a keypad (Keyboard), etc., and the optional user interface may also include a USB interface, a card reader interface, etc. The network interface may optionally include a standard wired interface, a wireless interface (e.g., a bluetooth interface, WI-FI interface), etc.
It will be appreciated by those skilled in the art that the present embodiment provides a computer device architecture that is not limiting of the computer device, and that may include more or fewer components, or some components in combination, or a different arrangement of components.
The storage medium may further include an operating system and a network communication module. An operating system is a program that manages and maintains the hardware and software resources of a computer device, supporting the operation of information handling programs, as well as other software and/or programs. The network communication module is used for realizing communication among components in the storage medium and other hardware and software in the entity device.
The storage medium may further include an operating system and a network communication module. An operating system is a program that manages and maintains the hardware and software resources of a computer device, supporting the operation of information handling programs, as well as other software and/or programs. The network communication module is used for realizing communication among components in the storage medium and other hardware and software in the entity device.
In the description herein, the description of the terms "one embodiment," "some embodiments," "specific embodiments," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (8)

1. A multi-language performance improving method based on a front-end isomorphic framework is characterized by comprising the following steps:
acquiring a multilingual data request submitted by a user's first screen at a server;
acquiring multi-language data and a version identifier corresponding to the multi-language data according to the multi-language data request;
generating server cache data according to the multi-language data and the version identification;
mounting the server cache data to a global object of a page rendered by the server, and transmitting the page to a client;
the client analyzes the multilingual data and the version identification on the global object of the page, and takes the version identification and the multilingual data as client cache data;
and the user can respectively obtain the multilingual data from the server cache data and the client cache data after calling the multilingual data each time.
2. The method for multi-language performance enhancement based on front-end isomorphic framework according to claim 1, further comprising the steps of:
verifying whether the version identification is abnormal according to preset interval time;
wherein the preset interval time is 5min-10 min.
3. The method for multi-language performance improvement based on front-end isomorphic framework according to claim 2, wherein: the exception includes the version identification being blank or the version identification being low.
4. The method for multi-language performance enhancement based on the front-end isomorphic framework according to any of the claims 1 to 3, further comprising the following steps:
and receiving a control instruction, and controlling whether the multilingual data is loaded on the global object of the access page according to the control instruction.
5. A multi-language performance improving system based on a front-end isomorphic framework is characterized by comprising:
the first acquisition module is set to be used for acquiring a multilingual data request submitted by a user's first screen at a server;
the calling module is set to be used for acquiring the multilingual data and the version identification of the corresponding multilingual data according to the multilingual data request;
the server cache module is used for generating server cache data according to the multi-language data and the version identification;
the communication module is used for mounting the cache data of the server to a global object of a page rendered by the server and transmitting the page to the client;
the client cache module is used for analyzing the version identification and the multi-language data on the global object of the page and taking the version identification and the multi-language data as client cache data;
and the user can obtain the multilingual data from the client cache data and the server cache data respectively in each calling process.
6. The multi-language performance enhancement system based on the front-end isomorphic framework of claim 5 further comprising:
the verification module is arranged for verifying whether the version identification is abnormal according to preset interval time;
wherein the preset interval time is 5min-10 min.
7. The multi-language performance enhancement system based on the front-end isomorphic framework of claim 6 wherein: the exception includes the version identification being blank or the version identification being low.
8. The multi-language performance enhancement system based on the front-end isomorphic framework according to any of the claims 5 to 7, further comprising:
and the control module is used for receiving a control instruction and controlling whether the multi-language data is loaded on a global object of the page rendered by the server side according to the control instruction.
CN201910938468.8A 2019-09-30 2019-09-30 Multi-language performance improving method and system based on front-end isomorphic framework Active CN110727422B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910938468.8A CN110727422B (en) 2019-09-30 2019-09-30 Multi-language performance improving method and system based on front-end isomorphic framework

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910938468.8A CN110727422B (en) 2019-09-30 2019-09-30 Multi-language performance improving method and system based on front-end isomorphic framework

Publications (2)

Publication Number Publication Date
CN110727422A true CN110727422A (en) 2020-01-24
CN110727422B CN110727422B (en) 2023-10-20

Family

ID=69218639

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910938468.8A Active CN110727422B (en) 2019-09-30 2019-09-30 Multi-language performance improving method and system based on front-end isomorphic framework

Country Status (1)

Country Link
CN (1) CN110727422B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111427641A (en) * 2020-02-27 2020-07-17 深圳壹账通智能科技有限公司 Multi-language adaptation method, device, system, computer equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102360391A (en) * 2011-10-21 2012-02-22 福建星网锐捷网络有限公司 Page display method, device and system
US20130124621A1 (en) * 2007-10-15 2013-05-16 Viasat, Inc. Methods and systems for implementing a cache model in a prefetching system
US20150012819A1 (en) * 2013-07-02 2015-01-08 Linkedin Corporation Template-driven decoration engine
CN106886545A (en) * 2016-06-08 2017-06-23 阿里巴巴集团控股有限公司 The caching method and device of page display method, page resource
CN106933937A (en) * 2015-12-31 2017-07-07 五八同城信息技术有限公司 A kind of webpage deployment method and device, client
CN107451181A (en) * 2017-06-14 2017-12-08 北京小度信息科技有限公司 Page rendering method and apparatus
US20180032491A1 (en) * 2016-07-26 2018-02-01 Google Inc. Web page display systems and methods
CN108984170A (en) * 2017-06-02 2018-12-11 阿里巴巴集团控股有限公司 The multilingual rendering method of the H5 page and device
US20190056961A1 (en) * 2017-08-15 2019-02-21 Sap Se Server-side internationalization framework for web applications
CN110209695A (en) * 2018-02-06 2019-09-06 北京京东尚科信息技术有限公司 Method and apparatus towards multilingual data buffer storage

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130124621A1 (en) * 2007-10-15 2013-05-16 Viasat, Inc. Methods and systems for implementing a cache model in a prefetching system
CN102360391A (en) * 2011-10-21 2012-02-22 福建星网锐捷网络有限公司 Page display method, device and system
US20150012819A1 (en) * 2013-07-02 2015-01-08 Linkedin Corporation Template-driven decoration engine
CN106933937A (en) * 2015-12-31 2017-07-07 五八同城信息技术有限公司 A kind of webpage deployment method and device, client
CN106886545A (en) * 2016-06-08 2017-06-23 阿里巴巴集团控股有限公司 The caching method and device of page display method, page resource
US20180032491A1 (en) * 2016-07-26 2018-02-01 Google Inc. Web page display systems and methods
CN108984170A (en) * 2017-06-02 2018-12-11 阿里巴巴集团控股有限公司 The multilingual rendering method of the H5 page and device
CN107451181A (en) * 2017-06-14 2017-12-08 北京小度信息科技有限公司 Page rendering method and apparatus
US20190056961A1 (en) * 2017-08-15 2019-02-21 Sap Se Server-side internationalization framework for web applications
CN110209695A (en) * 2018-02-06 2019-09-06 北京京东尚科信息技术有限公司 Method and apparatus towards multilingual data buffer storage

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
闫兴亚;潘治颖;黄姝琦;: "首屏数据并行式预加载方案的研究与应用", 计算机与数字工程, no. 05 *
陆祁;穆斌;刘岩;: "基于typo3内容管理框架的多语言门户系统开发", no. 31 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111427641A (en) * 2020-02-27 2020-07-17 深圳壹账通智能科技有限公司 Multi-language adaptation method, device, system, computer equipment and storage medium

Also Published As

Publication number Publication date
CN110727422B (en) 2023-10-20

Similar Documents

Publication Publication Date Title
CN107992346B (en) Interface display method and interface display system of application program
JP4791133B2 (en) Simulation system
EP3140732B1 (en) Startup accelerating method and apparatus
CN108345543B (en) Data processing method, device, equipment and storage medium
US9990214B2 (en) Dynamic agent delivery
CN110109628B (en) Data reconstruction method, device, equipment and storage medium of distributed storage system
US9338313B2 (en) Document management apparatus and document management system
CN110727422A (en) Multi-language performance improving method and system based on front-end isomorphic framework
CN112286586A (en) Configuration method of plug-in and related equipment
CN108123970A (en) Method for exhibiting data and relevant apparatus
EP1598739A1 (en) Native compile method, native compile preprocessing method, computer program, and server
CN111309464A (en) Task scheduling method and system
JP4978329B2 (en) Backlight control program, information processing apparatus, and backlight control method
CN107491446B (en) Three-dimensional object searching method, device and system
CN112163178A (en) Page data display method and device, storage medium and electronic device
US20180088930A1 (en) Updating code within an application
CN110532494B (en) User personalized configuration method and system of B/S application and computer equipment
US20060064632A1 (en) Method and system to inverse graphs
CN112035102A (en) Configuration method and device of data interface, storage medium and electronic device
CN117235017A (en) Data upgrading method, device, equipment and storage medium
JP2002268893A (en) Method for downloading program and program for performing the method
US20070168952A1 (en) Methods for producing, transferring, and renewing virtual machine applications using flash, and system thereof
JP7231823B2 (en) Program, information processing system and its control method
JP2020052716A (en) Execution control method, execution control device and execution control program
JP5894320B1 (en) Information processing apparatus and information processing program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant