CN105488123A - 一种快速加载多级下拉选择、联动框的方法 - Google Patents

一种快速加载多级下拉选择、联动框的方法 Download PDF

Info

Publication number
CN105488123A
CN105488123A CN201510821525.6A CN201510821525A CN105488123A CN 105488123 A CN105488123 A CN 105488123A CN 201510821525 A CN201510821525 A CN 201510821525A CN 105488123 A CN105488123 A CN 105488123A
Authority
CN
China
Prior art keywords
drop
down selection
database
loading
node
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
CN201510821525.6A
Other languages
English (en)
Other versions
CN105488123B (zh
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.)
G Cloud Technology Co Ltd
Original Assignee
G Cloud 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 G Cloud Technology Co Ltd filed Critical G Cloud Technology Co Ltd
Priority to CN201510821525.6A priority Critical patent/CN105488123B/zh
Publication of CN105488123A publication Critical patent/CN105488123A/zh
Application granted granted Critical
Publication of CN105488123B publication Critical patent/CN105488123B/zh
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4488Object-oriented
    • G06F9/449Object-oriented method invocation or resolution

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明涉及软件开发技术领域,具体涉及一种快速加载多级下拉选择、联动框的方法。本发明通过一次性异步加载数据库中的所有节点数据,再通过调用封装好的代码,返回各级节点的集合,最终达到快速加载多级联动下拉框。本发明用户提供更好的用户体验,同时也可以尽量减少多次访问数据库。本发明的方法可以广泛应用于web应用开发中。

Description

一种快速加载多级下拉选择、联动框的方法
技术领域
本发明涉及软件开发技术领域,具体涉及一种快速加载多级下拉选择、联动框的方法。
背景技术
现在是信息化的时代,人们在网上访问网站时,很注重用户体验,如果网页加载太慢、数据要等几秒甚至十多秒才加载出来,用户就会失去耐心,直接关闭该网页。
用户体验就是商机,给用户一个积极、高效的体验,他们会持续使用你的产品,提高网站用户粘性。
发明内容
本发明解决的技术问题在于提供一种快速加载多级下拉选择、联动框的方法。为用户提供一种更好的用户体验方法,同时也可以尽量减少系统对数据库的访问。
本发明解决上述技术问题的技术方案是:
所述的方法是一次性异步加载数据库中的所有节点数据,再通过调用封装好的代码,返回各级节点的集合,实现快速加载多级联动下拉框。
所述的方法具体包括如下步骤:
第1步、web应用访问带有该下拉联动框页面时,通过AJAX异步访问数据库;
第2步、一次性把该树的所有节点查询出来,返回LIST集合到JAVA类中;
第3步、通过调用封装好的JAVA类,返回各级节点的LIST集合;
第4步、在第一步的AJAX请求的JS代码中,把返回的LIST数据组装成为HTML代码,替换页面数据。
本发明的有益效果是:提供良好的用户体验,提高用户粘性,减少系统对数据库的访问次数。
附图说明
下面结合附图对本发明进一步说明:
图1为快速加载多级下拉选择、联动框流程图;
具体实施方式
本发明通过一次性异步加载数据库中的所有节点数据,再通过调用封装好的代码,返回各级节点的集合,最终达到快速加载多级联动下拉框。为用户提供更好的用户体验,同时也可以尽量减少多次访问数据库。
下面具体以某网站的组织框架查询为例。
如附图1所示,是快速加载多级组织框架下拉选择、联动框的方法流程图;快速加载多级下拉选择、联动框的方法包括如下步骤:
第1步、web应用访问带有该下拉联动框页面时,通过AJAX异步访问数据库;
第2步、一次性把该树的所有节点查询出来,返回LIST集合到JAVA类中;
第3步、通过调用封装好的JAVA类,返回各级节点的LIST集合;
第4步、在第一步的AJAX请求的JS代码中,把返回的LIST数据组装成为HTML代码,替换页面数据。

Claims (2)

1.一种快速加载多级下拉选择、联动框的方法,其特征在于:所述的方法是一次性异步加载数据库中的所有节点数据,再通过调用封装好的代码,返回各级节点的集合,实现快速加载多级联动下拉框。
2.根据权利要求1所述的快速加载多级下拉选择、联动框的方法,其特征在于:所述的方法具体包括如下步骤:
第1步、web应用访问带有该下拉联动框页面时,通过AJAX异步访问数据库;
第2步、一次性把该树的所有节点查询出来,返回LIST集合到JAVA类中;
第3步、通过调用封装好的JAVA类,返回各级节点的LIST集合;
第4步、在第一步的AJAX请求的JS代码中,把返回的LIST数据组装成为HTML代码,替换页面数据。
CN201510821525.6A 2015-11-23 2015-11-23 一种快速加载多级下拉选择、联动框的方法 Active CN105488123B (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510821525.6A CN105488123B (zh) 2015-11-23 2015-11-23 一种快速加载多级下拉选择、联动框的方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510821525.6A CN105488123B (zh) 2015-11-23 2015-11-23 一种快速加载多级下拉选择、联动框的方法

Publications (2)

Publication Number Publication Date
CN105488123A true CN105488123A (zh) 2016-04-13
CN105488123B CN105488123B (zh) 2019-03-26

Family

ID=55675098

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510821525.6A Active CN105488123B (zh) 2015-11-23 2015-11-23 一种快速加载多级下拉选择、联动框的方法

Country Status (1)

Country Link
CN (1) CN105488123B (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108038142A (zh) * 2017-11-24 2018-05-15 平安科技(深圳)有限公司 实现多级联动下拉框的方法、电子装置及存储介质
CN109426415A (zh) * 2017-08-31 2019-03-05 北京国双科技有限公司 一种生成级联选择器的方法及装置
WO2021022722A1 (zh) * 2019-08-02 2021-02-11 苏州浪潮智能科技有限公司 一种页面表单、同时输入多个下拉选择框的方法及系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101408877A (zh) * 2007-10-10 2009-04-15 英业达股份有限公司 树节点加载系统及其方法
CN101446973A (zh) * 2008-12-19 2009-06-03 北京数码大方科技有限公司 用于管理信息系统的树视图节点加载显示方法
CN102299966A (zh) * 2011-09-06 2011-12-28 深圳中兴力维技术有限公司 一种在web客户端加载大数据量的方法及装置
US20130007588A1 (en) * 2011-06-30 2013-01-03 International Business Machines Corporation Systems and methods for globalizing web applications

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101408877A (zh) * 2007-10-10 2009-04-15 英业达股份有限公司 树节点加载系统及其方法
CN101446973A (zh) * 2008-12-19 2009-06-03 北京数码大方科技有限公司 用于管理信息系统的树视图节点加载显示方法
US20130007588A1 (en) * 2011-06-30 2013-01-03 International Business Machines Corporation Systems and methods for globalizing web applications
CN102299966A (zh) * 2011-09-06 2011-12-28 深圳中兴力维技术有限公司 一种在web客户端加载大数据量的方法及装置

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109426415A (zh) * 2017-08-31 2019-03-05 北京国双科技有限公司 一种生成级联选择器的方法及装置
CN109426415B (zh) * 2017-08-31 2020-10-27 北京国双科技有限公司 一种生成级联选择器的方法及装置
CN108038142A (zh) * 2017-11-24 2018-05-15 平安科技(深圳)有限公司 实现多级联动下拉框的方法、电子装置及存储介质
WO2019100645A1 (zh) * 2017-11-24 2019-05-31 平安科技(深圳)有限公司 实现多级联动下拉框的方法、电子装置及存储介质
WO2021022722A1 (zh) * 2019-08-02 2021-02-11 苏州浪潮智能科技有限公司 一种页面表单、同时输入多个下拉选择框的方法及系统
US11500521B2 (en) 2019-08-02 2022-11-15 Inspur Suzhou Intelligent Technology Co., Ltd. Page form, and method and system for simultaneously inputting plurality of pull-down menus

Also Published As

Publication number Publication date
CN105488123B (zh) 2019-03-26

Similar Documents

Publication Publication Date Title
Charron Ecosystem approaches to health for a global sustainability agenda
Kumar et al. Nexus between tourism earnings and economic growth: A study of Malaysia
CN110999214A (zh) 用于提供以加密方式保护并且经过过滤以及排序的、区块链的链节的交易数据记录的集合的设备
CN111104635B (zh) 一种表格网页的生成方法和装置
CN109242164A (zh) 优化产品路径的方法及装置、计算机存储介质、电子设备
CN105488123A (zh) 一种快速加载多级下拉选择、联动框的方法
CN102214098A (zh) 一种基于WebKit浏览器引擎的动态页面数据采集方法
CN105354237A (zh) 一种业务数据展示方法
CN110058989B (zh) 用户行为意图预测方法和装置
CA2952154A1 (en) Method and system for generating a split questionnaire
CN109544253A (zh) 基于ai的营销活动制定方法、装置、设备及存储介质
CN104050212A (zh) 调用网络应用以利用本地设备性能的方法及系统
CN109670101A (zh) 爬虫调度方法、装置、电子设备及存储介质
CN104050218A (zh) 用于提供要显示在用户界面中的信息的方法和系统
Forster et al. Optimal decision rules for HTA under uncertainty: a wider, dynamic perspective
CN106777352A (zh) 数据访问方法及系统
CN102929877B (zh) 将网页上的表格数据生成表格文件的方法及装置
CN104572095B (zh) 一种面向最终用户搭建Ajax应用的自适应方法
CN104063219A (zh) 一种web系统的表格开发方法及系统
CN104615697B (zh) 一种网页层次记忆返回方法
CN111462348B (zh) 基于签到行为的资源分配方法、装置及设备
US20200342161A1 (en) Declarative interface for interaction design
CN102662938A (zh) 处置控制器
CN108255911A (zh) 网络信息的评价方法、设备及电子设备
CN103136362A (zh) 一种根据客户特色要求快速设计综合型网站的方法

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 523808 19th Floor, Cloud Computing Center, Chinese Academy of Sciences, No. 1 Kehui Road, Songshan Lake Hi-tech Industrial Development Zone, Dongguan City, Guangdong Province

Applicant after: G-Cloud Technology Co., Ltd.

Address before: 523808 No. 14 Building, Songke Garden, Songshan Lake Science and Technology Industrial Park, Dongguan City, Guangdong Province

Applicant before: G-Cloud Technology Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant