Unlock instant, AI-driven research and patent intelligence for your innovation.

A query method for implementing browser page business dictionary with custom tags

A browser page, custom technology, applied in the fields of instruments, digital data processing, special data processing applications, etc., can solve the problems of loose coupling between business logic and dictionary objects, and complex logic.

Active Publication Date: 2016-03-30
SHANDONG SUNDATA MANAGEMENT SOFTWARE ENG
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this way, for specific business information, the system structure is clear, the code is loosely coupled, and it is easy to maintain. However, for various dictionary-like information that is common in the system, it is necessary to write code for accessing dictionary object methods in multiple business logic objects , and refer to the properties of the dictionary object as the properties of the business logic object, so that in the system, the loose coupling between the business logic and the dictionary object will be deteriorated, and a lot of repeated code will be generated
And for different dictionary structures, it is necessary to call different dictionary object methods and introduce different dictionary object attributes, the logic is more complicated

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
  • A query method for implementing browser page business dictionary with custom tags

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] The present invention will be further described in detail below in conjunction with the accompanying drawings and preferred embodiments.

[0017] The present invention comprises the steps:

[0018] (1) Create a custom label object file, write independent background business processing logic for each custom label, first call the business dictionary object, query the database according to the incoming query condition parameters, and then query the obtained query result data according to the passed The input format requires assembly of standard browser page codes;

[0019] (2) Establish a business dictionary configuration file, write custom sql statements through the configuration file, and realize the expansion of the content of the business dictionary;

[0020] (3) Create a label description file to define the label name, description, corresponding background business logic, and legal parameter names and attributes under the label for each custom label file;

[0021] (...

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 of achieving query of a business dictionary of a browser page by a custom tag. The method is characterized by comprising the following steps: (1) building an object file of the custom tag; (2) building a configuration file of the business dictionary; (3) building a tag introduction file; and (4) compiling page codes. The method is geared to the needs of developers based on a webpage browser / server system structure, and a developing mode of the functions of the business dictionary query which is simple, rapid, independent, and extensible is achieved. Through a mode of writing the custom tag which is suitable for java standard specifications, logic of the business dictionary of a background query database is solidified, a simple foreground code can be enabled to independently achieve the function of the query of the business dictionary through various showing forms such as a radio box, a check box, a drop-down box, a single parameter value and multiple parameter values, and a custom sq1 statement is compiled through the configuration file of the business dictionary with an xm1 format so that extension of dictionary contents is achieved.

Description

technical field [0001] The invention relates to a service dictionary query method, in particular to a query method for implementing a browser page service dictionary with a self-defined label. Background technique [0002] According to the current three-layer structure development framework of view, controller and business logic under the general browser / server system, the element content on the browser page needs to be obtained from the business logic layer through the controller layer. In this way, for specific business information, the system structure is clear, the code is loosely coupled, and it is easy to maintain. However, for various dictionary-like information that is common in the system, it is necessary to write code for accessing dictionary object methods in multiple business logic objects , and refer to the properties of the dictionary object as the properties of the business logic object, so that in the system, the loose coupling between the business logic and ...

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 Patents(China)
IPC IPC(8): G06F17/30
Inventor 崔晓旭田茂圣张振宇杨春亮宋文峰
Owner SHANDONG SUNDATA MANAGEMENT SOFTWARE ENG