Method and device for loading configuration data for page and server

A technology for configuring data and page loading, which is applied in program control devices, electrical digital data processing, program loading/starting, etc., can solve the problems of error-prone use, reduced page access speed, low development efficiency, etc., and achieves improved loading speed, Avoid naming conflicts and improve security

Active Publication Date: 2022-05-13
海南车智易通信息技术有限公司
View PDF21 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This solution has the following disadvantages: it packs the multilingual configuration into the same file, which cannot be referenced on demand, thus increasing the file size and reducing the page access speed
The disadvantages of this solution are: among them, the uniqueness of ID naming is manually checked, which leads to low development efficiency and easy to produce naming conflicts; and the defined ID is too long, which is not conducive to viewing, and it is easy to make mistakes when using; in addition, multi-language The configuration is in the same file and cannot be referenced on demand, which reduces the page access speed

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
  • Method and device for loading configuration data for page and server
  • Method and device for loading configuration data for page and server
  • Method and device for loading configuration data for page and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure, and to fully convey the scope of the present disclosure to those skilled in the art.

[0019] Aiming at the problems that the existing page language configuration scheme cannot refer to language configuration files on demand and the page access speed is low, the present invention provides a method for loading configuration data on a page, which can provide the ability to load and use on demand when accessing a web page.

[0020] The method for loading configuration data on a page of the present invention is executed ...

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 discloses a method and device for loading configuration data for a page, a server, computing equipment and a readable storage medium. The method comprises the following steps: executing directory retrieval processing on keys of a language configuration file contained in an analytic function, and searching an upward directory of the keys of the language configuration file; translating the directory retrieval symbol into a directory name, processing contents contained in the analytic function to generate a unique character string, taking a preset number of characters in the character string, and renaming a key; traversing a dependency file of the page, and if the dependency file contains the renamed key name, attributing a key value corresponding to the key to the page, and generating a corresponding relationship between each page and the language configuration file represented by the renamed key name; and searching the language configuration file represented by the renamed key name through the corresponding relationship, and adding the language configuration file to a page. According to the technical scheme of the invention, automatic directory hierarchy naming and encryption processing can be carried out, the security is improved, and on-demand reference is realized.

Description

technical field [0001] The invention relates to the field of page display, in particular to a method and device for loading configuration data on a page, a server, a computing device and a readable storage medium. Background technique [0002] In the international multilingual development process, it is usually necessary to configure a large amount of copywriting according to different languages ​​or countries. On the one hand, it is necessary to choose an efficient configuration solution to improve development efficiency; User access experience. [0003] A common approach is to configure multiple languages ​​in the business logic in a hard-coded manner. When the user visits, the corresponding content is obtained and displayed through different language identifiers. This solution has the following disadvantages: it packs multilingual configurations into the same file, which cannot be referenced on demand, thereby increasing the file size and reducing the page access speed....

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/445G06F9/451
CPCG06F9/44521G06F9/44505G06F9/451Y02D10/00
Inventor 马兴国
Owner 海南车智易通信息技术有限公司
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