Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for displaying a large number of business objects based on lazy loading technique

A technology of business objects and technologies, applied in the field of computer communication, can solve the problems of slow loading for the first time, no way of data, application of business rules, etc., to achieve the effect of reducing waiting time, improving user experience, and reducing time

Active Publication Date: 2015-05-13
北京神舟航天软件技术股份有限公司
View PDF7 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The user experience of this method is slow loading for the first time and fast page turning. When there is a large amount of data and complex business rules, the waiting time for the first display of data is long
[0007] Among the above two methods, although the first method is efficient, there is no way to apply business rules to each piece of data, and there is no way to load complex business attributes
The second method solves the problem of loading complex attributes of business objects and applying business rules, but when loading each page of data, it is necessary to load all the data and apply business rules first. This process is time-consuming, and the waiting time required to display the data Linear relationship with data size
[0008] Chinese patent CN102411585A discloses a webpage paging data preloading method and system, but it cannot meet the needs of complex business object application business rules, and at the same time solve the problem of slow data display in tables caused by the large amount of data existing in traditional methods question
[0009] At present, there is no relevant report on a method to solve the problem of applying business rules while using complex business objects, and at the same time improving the display performance of a large number of complex business objects in tables

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 for displaying a large number of business objects based on lazy loading technique
  • Method for displaying a large number of business objects based on lazy loading technique

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The present invention will be further described below in conjunction with the embodiments and with reference to the accompanying drawings.

[0035] The storage form of the business object in the database is a two-dimensional table, the business object corresponds to the table in the database, and the attributes of the business object correspond to the fields in the database table. The display of business objects in the table control is also displayed in the form of a two-dimensional table. Each row in the table control represents a business object, and the values ​​in the columns of the table control represent the attributes of the business object.

[0036] When the business object is displayed in the table control, it uses ajax asynchronous loading to send a request to the server, and passes the parameters required to display the business object. The server side receives the parameters passed in by the client, performs simple processing on the parameters, and calls the...

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 method for displaying a large number of business objects based on the lazy loading technique. The method comprises the steps that a server-side Servlet prepares the precondition of a query; a client side transmits request parameters to a server side; the server-side Servlet acquires the parameters and takes measures; the server-side Servlet submits a query request, and a business component queries data, conducts authority verification and returns data; the server-side Servlet receives a returned query result or a result obtained from a cache, conducts format conversion and returns data to the client side; the client side displays the result in a form, a form control judges whether submission continues or the request ends. The method has the advantages that paging display is achieved under the condition with complicated business objects and a large number of data, requirements of a complicated business object application service rule are met, the problem of a traditional method that displaying of data in a form is slow due to large data size is solved, and a user can check data in the shortest possible time.

Description

technical field [0001] The invention relates to a computer communication technology, in particular to a method for displaying a large number of business objects based on slow loading technology. Background technique [0002] There are generally two traditional implementation methods: [0003] 1. Database-based query paging method [0004] The database provides a development interface to support the function of query paging, and provides the start position index and end position index of the query during the data query process, and the database can query the data of the corresponding position range. When displaying a certain page of data in paging, calculate the start position index and end position index required by the database query according to the current page number and the number of displayed items on each page, pass in the start position index and end position index query data, and convert the data into Business objects, display business objects in the table control...

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): G06F17/30
CPCG06F16/24539
Inventor 李天立单承方温小龙郑博文
Owner 北京神舟航天软件技术股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products