WO2019127772A1 - 数据字典展示方法、装置、终端设备及存储介质 - Google Patents

数据字典展示方法、装置、终端设备及存储介质 Download PDF

Info

Publication number
WO2019127772A1
WO2019127772A1 PCT/CN2018/073749 CN2018073749W WO2019127772A1 WO 2019127772 A1 WO2019127772 A1 WO 2019127772A1 CN 2018073749 W CN2018073749 W CN 2018073749W WO 2019127772 A1 WO2019127772 A1 WO 2019127772A1
Authority
WO
WIPO (PCT)
Prior art keywords
local
theme
display
displayed
option value
Prior art date
Application number
PCT/CN2018/073749
Other languages
English (en)
French (fr)
Inventor
李双灵
邓俊俊
黄度新
方小伟
Original Assignee
平安科技(深圳)有限公司
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 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2019127772A1 publication Critical patent/WO2019127772A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/36Creation of semantic tools, e.g. ontology or thesauri
    • G06F16/374Thesaurus

Definitions

  • the present application relates to the field of data processing, and in particular, to a data dictionary display method, apparatus, terminal device, and storage medium.
  • a digital dictionary means that configuration items with the same type are configured into the system's data dictionary table for system maintenance.
  • the client When the information management system adopts the data dictionary to select or display a value of a relatively fixed meaning, the client generally sends a request to the server, and then the server queries the data dictionary table based on the request to determine a corresponding data dictionary, so as to create a data dictionary based on the data dictionary. Select the box to display the number dictionary corresponding to the selection box on the client.
  • This data dictionary implementation process makes the server need to process the request sent by each client, resulting in a heavy burden on the server, which easily reduces the processing efficiency of the server.
  • the present application provides a data dictionary display method for solving the problem that the server needs to process the request sent by each client, resulting in a heavy burden on the server and easily reducing the processing efficiency of the server.
  • the present application provides a data dictionary display method, including:
  • At least one of the target presentation theme and the corresponding remote option value is displayed on the information configuration interface.
  • a data dictionary display apparatus including:
  • a data dictionary display request obtaining module configured to acquire a data dictionary display request on the information configuration interface, where the data dictionary display request includes at least one topic to be displayed;
  • a theme determining module to be displayed configured to determine, according to at least one of the topics to be displayed, whether each of the to-be-displayed topics has a corresponding local display theme in a local database
  • a data acquisition request sending module configured to send a data acquisition request to the server, where the data acquisition request includes at least one target display theme, where the at least one of the to-be-displayed topics does not have a corresponding local display topic in the local database
  • the display theme is a theme to be displayed that does not have a corresponding local display theme
  • a data query result obtaining module configured to obtain a data query result returned by the server, where the data query result includes at least one target display theme and a corresponding remote option value;
  • a remote option value display module on the information configuration interface, displaying the remote option value corresponding to at least one of the target presentation topics.
  • the present application provides a terminal device including a memory, a processor, and computer readable instructions stored in the memory and executable on the processor, the processor executing the computer readable instructions The following steps are implemented:
  • At least one of the target presentation theme and the corresponding remote option value is displayed on the information configuration interface.
  • the present application provides a computer readable storage medium storing computer readable instructions that, when executed by a processor, implement the following steps:
  • At least one of the target presentation theme and the corresponding remote option value is displayed on the information configuration interface.
  • the data dictionary display method, device, terminal device and storage medium provided by the present application are configured to determine whether a corresponding local display theme exists in the local database based on at least one topic to be displayed in the data presentation request, if at least one topic to be displayed is locally If there is no corresponding local display topic in the database, the data acquisition request is sent to the server, and the data acquisition request includes at least one target display theme to reduce the number of accesses of the server, reduce the burden on the server, and improve efficiency. Finally, based on the data query result returned by the server, the at least one target display theme and the corresponding remote option value are obtained and displayed on the information configuration interface, thereby achieving the purpose of updating the local database and enhancing the practicability.
  • Embodiment 1 is a flow chart of a data dictionary display method provided in Embodiment 1.
  • FIG. 2 is a specific schematic diagram of step S50 of FIG. 1.
  • FIG 3 is another flow chart of the data dictionary display method provided in Embodiment 1.
  • FIG. 4 is a specific schematic diagram of step S60 of FIG. 3.
  • FIG. 5 is a specific schematic diagram of step S62 of FIG. 4.
  • FIG. 6 is a schematic block diagram of a data dictionary display device provided in Embodiment 2.
  • FIG. 7 is a schematic diagram of a terminal device provided in Embodiment 4.
  • FIG. 1 shows a flow chart of a data dictionary display method in this embodiment.
  • the data dictionary display method is applied to a data dictionary display in a terminal device of a financial institution such as a bank, a securities, an insurance, or another institution.
  • the data dictionary display method can be specifically applied to an information management system (hereinafter referred to as a system) installed on a terminal device, which can reduce the number of times the system sends a request to the server, thereby reducing the burden on the server and improving the efficiency of information processing.
  • the data dictionary display method includes the following steps:
  • the information configuration interface is an interface for performing information configuration displayed on the terminal device, and the interface may be an information input interface in the system.
  • the data dictionary display request is a request for the information configuration interface to display the data dictionary.
  • the subject to be displayed refers to a topic that needs to be filled in by the user on the information configuration interface, and the subject to be displayed includes, but is not limited to, gender, region, and occupation in the embodiment. Specifically, the user can present the request by clicking on the data dictionary button entered on the information configuration interface.
  • the system when the system configures the newly registered user to fill in the information configuration interface of the personal information, the system may obtain at least one subject to be displayed according to the data dictionary display request input by the data display button clicked by the user, and the subject to be displayed includes but is not limited to Gender, region and occupation.
  • S20 Determine, according to at least one topic to be displayed, whether each topic to be displayed has a corresponding local display theme in the local database.
  • the local database refers to the database that exists in the terminal device running the application, and does not need to be connected to the server.
  • the local database includes at least one local display theme pre-stored.
  • the local display theme is a pre-stored theme in the local database.
  • the local display theme includes but is not limited to gender, region, and occupation. Specifically, based on the data dictionary, each of the to-be-displayed topics in the request is displayed in the local database whether there is a corresponding local presentation topic, so as to determine whether additional access to the server is required to obtain the topic to be displayed.
  • the target display theme refers to a theme to be displayed in the local database that does not have a corresponding local display theme, that is, the target display theme is a theme to be displayed but not a local display theme.
  • a data acquisition request is a request to obtain a target presentation topic from a server. Specifically, if at least one topic to be displayed does not have a corresponding local display topic in the local database, sending a data acquisition request to the server, so as to obtain information corresponding to the target display theme from the server, which is helpful to improve system information. Configuration interface.
  • the data acquisition request is sent to the server, and the data acquisition request includes the target display theme, which can help reduce the number of accesses of the server and reduce The burden on the server.
  • S40 Acquire a data query result returned by the server, where the data query result includes at least one target display theme and a corresponding remote option value.
  • the remote option value is an option value obtained from the server and corresponding to the target display theme.
  • the target display theme is a running state of a function in the system, and the remote option value may be a startup state or a disabled state.
  • the data query result is the processing result obtained by the server after processing based on the data acquisition request.
  • the at least one target presentation theme and the corresponding remote option value returned by the server are obtained, so as to achieve the purpose of updating the local database, and enhancing the practicability.
  • the data dictionary display method further includes the steps of: storing the target display theme as a local display theme in a local database, and The option value is saved as a local option value that corresponds to the local display theme.
  • the target display theme acquired in step S40 is stored in the local database as a local display theme, and the remote option value is saved and/or updated to a local option value corresponding to the local display theme, so as to achieve the purpose of updating the local database. Enhance practicality.
  • the system may also periodically send data requests to the server to obtain the latest data and/or increase the topic that does not exist in the local database. It is understood that if there is a local display in the local database that matches the target display theme returned by the server.
  • the theme updates the local option value corresponding to the local display theme matching the target display theme in the local database based on the remote option value corresponding to the obtained target display theme; if the target display theme returned by the server does not exist in the local database
  • the matching local display theme adds the obtained target display theme and the corresponding remote option value to the local database to achieve the purpose of updating the local database in real time to meet the increasing user demand.
  • S50 Display at least one target display theme and corresponding remote option value on the information configuration interface.
  • the at least one target presentation theme and the corresponding remote option value are displayed, so that the corresponding interface of the system formed by the configuration forms a corresponding to at least one target display theme that is required for the user to select.
  • Remote option values to enhance the user experience.
  • the data dictionary request is obtained on the information configuration interface, so as to determine whether there is a corresponding local display theme in the local database based on at least one topic to be displayed in the data display request, if at least one topic to be displayed is in the local database. If there is no corresponding local display theme, the data acquisition request is sent to the server, and the data acquisition request includes at least one target display theme to reduce the number of accesses of the server, reduce the burden on the server, and improve efficiency. Finally, based on the data query result returned by the server, the at least one target display theme and the corresponding remote option value are obtained and displayed on the information configuration interface, thereby achieving the purpose of updating the local database and enhancing the practicability.
  • the remote option value corresponding to the local display topic is at least one, as shown in FIG. 2, in step S50, that is, on the information configuration interface, at least one target display theme and corresponding are displayed.
  • the remote option value specifically includes the following steps:
  • the display area is an area for displaying remote option values, which may be an area in the system for entering information. Specifically, the number of remote option values obtained in step S40 is determined. If the number of remote option values is 1, the remote option value is displayed by default in the display area corresponding to the target display theme, so that the user does not need to manually fill in, saving time. ,Improve efficiency.
  • the drop-down list is a list generated by the combo common component that calls EasyUI.
  • EasyUI is a set of plug-ins based on the jQuery user interface.
  • the Combo component is a custom drop-down list component, so that the system has the advantages of simple use and space saving.
  • a drop-down list is generated by calling the Combo common component of the EasyUI to save the interface space and facilitate the operation of the user.
  • the remote option values are displayed in different forms according to the number of remote option values. If the number of remote option values is 1, the remote option value is displayed by default in the display area corresponding to the target display theme, so that the user does not need to manually fill in, saving time and improving efficiency. If the number of remote option values is greater than 1, the remote option value is displayed in the following manner in the display area corresponding to the target display theme, so as to save interface space and facilitate user operation.
  • the data dictionary request is obtained on the information configuration interface, so as to determine whether there is a corresponding local display theme in the local database based on at least one topic to be displayed in the data display request, if at least one topic to be displayed is in the local database. If there is no corresponding local display theme, the data acquisition request is sent to the server, and the data acquisition request includes at least one target display theme to reduce the number of accesses of the server, reduce the burden on the server, and improve efficiency. Finally, based on the data query result returned by the server, the at least one target display theme and the corresponding remote option value are obtained and displayed on the information configuration interface, thereby achieving the purpose of updating the local database and enhancing the practicability.
  • the local option value corresponding to the local display theme is directly displayed on the information configuration interface, so as to reduce the number of accesses of the server, reduce the burden on the server, and improve the efficiency.
  • the data dictionary display method further includes the following steps:
  • the local option value is an option value stored in the local database corresponding to the local display theme. Specifically, if at least one topic to be displayed has a corresponding local display theme in the local database, the local option value corresponding to the local display theme is directly displayed on the information configuration interface, and the server is not required to be accessed, thereby reducing the burden on the server and improving System operation efficiency.
  • the display area corresponding to the local display theme displays the local option value by default. If the value of the local option corresponding to the local display theme is greater than 1, the local option value is displayed in the form of a pull-down list corresponding to the display area of the local display theme, so as to save the interface space and facilitate the operation of the user.
  • a configuration interface for the user to fill in personal information needs to be configured, and user information for storing the personal information of the user is provided in the local database.
  • Library The user information database is a database storing user personal information, and the user information inventory is stored in a local database. If the personal information of any user is stored in the local database, as shown in FIG. 4, in step S60, the local option value corresponding to the local display theme is displayed, which includes the following steps:
  • S61 Query the user information database based on the target user ID, and obtain user information corresponding to the target user ID.
  • the target user is the user who wants to get personal information.
  • the target user ID is a unique identifier for identifying the target user, and the target user ID may be an identifier of the target user's mobile phone number or ID number.
  • the user information database includes user information of at least one user, including but not limited to name, gender, region, age, and the like. The user information in the user information database is queried by the target user ID to obtain user information corresponding to the target user ID.
  • a personal profile table is filled in, and the personal profile includes local display themes that need to be filled out by the user, such as gender and region.
  • Each local display theme corresponds to at least one local option value.
  • the local display theme of gender corresponds to two local option values of male or female, and the user needs to perfect each local display theme that needs to be filled in, when the user fills in the personal profile form.
  • you click Save you can store the user's completed profile page in the user information database.
  • the system directly reads the user information database of the user.
  • the user information is obtained, and the local option value corresponding to the local display theme pre-filled by the user is obtained from the user information database.
  • the process does not require the user to fill in the user information again, and the system directly reads the pre-stored user information database in the database.
  • the user information in the user information is mapped to the display area corresponding to the local display theme in the user information database in the information table currently filled by the user, thereby improving efficiency.
  • the user information corresponding to the target user ID is obtained by querying the user information database based on the target user ID, and the local option value corresponding to the local display theme is obtained from the user information, and the local option to be obtained is obtained.
  • the value is mapped to the display area corresponding to the local display theme in the information table that the user currently fills. This process does not require the user to fill in the user information again, and the system directly reads the personal information in the local database, thereby improving the efficiency of user information entry.
  • step S62 displaying the local option value corresponding to the local display theme specifically includes the following steps. :
  • S621 Acquire at least one local option value corresponding to the local display theme.
  • the system obtains at least one local option value corresponding to the local display theme, for example, the living area selected by the user (ie, the local display theme) in the past month is Beijing (local option value), but in the current one Because the user needs to change the place of residence due to the user's own situation, the user's selected residential area (local display theme) is Shanghai (local option value), then the living area (local display theme) corresponds to Beijing (local option value) and Shanghai (local The option value) is the local option value.
  • the selected number of times each local option value of the user in the preset period is counted in real time and stored in the local database.
  • the local database includes fields such as local display topics, corresponding local option values, and selected number of local option values.
  • the system collects the selected number of times each local option value in the user's time period in real time, and fills in the selected number of times of the selected number of times of the local option value in the local database.
  • the preset period is customized by the system administrator.
  • S623 Sort the selected number of times of all local option values, and display local option values corresponding to the local display theme based on the sorting result.
  • the selected number of times of all local option values are sorted in descending order, and the local number corresponding to the local display theme corresponding to the top N bits (where N is an integer greater than 1) is displayed.
  • Option value to increase the rendering speed of the interface.
  • the selected number of times of each local option value is counted, then the selected times of all the local option values are sorted, and the ranking result is displayed based on the sorting result.
  • the local option value corresponding to the local display theme so that the user can directly select the local option value recommended by the system, reduce the user's selection or fill in the operation times, and improve the efficiency.
  • Fig. 6 is a block diagram showing the structure of a data dictionary display device corresponding to the data dictionary display method in the first embodiment.
  • the data dictionary display device includes a data dictionary display request obtaining module 10, a subject to be displayed determining module 20, a data obtaining request sending module 30, a data query result obtaining module 40, and a remote option value display module 50.
  • the implementation functions of the data dictionary display request acquisition module 10, the to-be-displayed topic determination module 20, the data acquisition request sending module 30, the data query result obtaining module 40, and the remote option value display module 50 correspond to the data dictionary display method in the first embodiment.
  • the steps are one-to-one, and the details are not described in detail in order to avoid redundancy.
  • the data dictionary display request obtaining module 10 is configured to obtain a data dictionary display request on the information configuration interface, where the data dictionary display request includes at least one topic to be displayed.
  • the topic determining module 20 is configured to determine, according to at least one topic to be displayed, whether each topic to be displayed has a corresponding local display theme in the local database.
  • the data acquisition request sending module 30 is configured to send a data acquisition request to the server, where the at least one topic to be displayed does not have a corresponding local display topic in the local database, where the data acquisition request includes at least one target display theme, and the target display theme is non-existent The theme of the local display theme to be displayed.
  • the data query result obtaining module 40 is configured to obtain a data query result returned by the server, where the data query result includes at least one target display theme and a corresponding remote option value.
  • the remote option value display module 50 displays, on the information configuration interface, the at least one target presentation theme and the corresponding remote option value.
  • the remote option value display module 50 includes a remote option value default display unit 51 and a remote option value display unit 52.
  • the remote option value default display unit 51 for the number of remote option values is 1, the remote option value is displayed by default in the display area corresponding to the target display theme.
  • the remote option value display unit 52 is configured to display the remote option value in the form of a pull-down list in the display area corresponding to the target display theme.
  • the data dictionary display device further includes a local option value display module 60.
  • the local option value display module 60 is configured to display a corresponding local display theme in the local database for at least one topic to be displayed, and display a local option value corresponding to the local display theme on the information configuration interface.
  • the local option value display module 60 includes a user information acquisition unit 61 and a local option value acquisition unit 62.
  • the user information obtaining unit 61 is configured to query the user information database based on the target user ID, and acquire user information corresponding to the target user ID.
  • the local option value obtaining unit 62 is configured to obtain a local option value corresponding to the local display theme from the user information.
  • the local option value acquisition unit 62 includes a local option value acquisition sub-unit 621, a local option value statistics sub-unit 622, and a local option value display sub-unit 623.
  • the local option value acquisition sub-unit 621 is configured to obtain at least one local option value corresponding to the local display theme.
  • the local option value statistics sub-unit 622 is configured to count the selected number of times each local option value.
  • the local option value display sub-unit 623 is configured to sort the selected number of times of all local option values, and display local option values corresponding to the local display theme based on the sorting result.
  • the embodiment provides a computer readable storage medium having stored thereon computer readable instructions, which are implemented by the processor to implement the data dictionary display method in Embodiment 1, in order to avoid duplication, here No longer.
  • the computer readable instructions are executed by the processor, the functions of the modules/units in the data dictionary display device in Embodiment 2 are implemented. To avoid repetition, details are not described herein again.
  • FIG. 7 is a schematic diagram of a terminal device according to an embodiment of the present application.
  • the terminal device 70 of this embodiment includes a processor 71, a memory 72, and computer readable instructions 73 stored in the memory 72 and operable on the processor 71.
  • the processor 71 implements the steps in the various data dictionary display method embodiments described above when the computer readable instructions 73 are executed, such as steps S10 through S50 shown in FIG.
  • the processor 71 implements the functions of the modules/units in the various apparatus embodiments described above when the computer readable instructions 73 are executed, such as the functions of the modules 10 through 60 shown in FIG.
  • computer readable instructions 73 may be partitioned into one or more modules/units, one or more modules/units being stored in memory 72 and executed by processor 71 to complete the application.
  • the one or more modules/units may be an instruction segment of a series of computer readable instructions 73 capable of performing a particular function, which is used to describe the execution of computer readable instructions 73 in the terminal device 70.
  • the computer readable instructions 73 may be partitioned by a data dictionary to display the functions of the request acquisition module 10, the subject matter determination module 20 to be displayed, the data acquisition request transmission module 30, the data query result acquisition module 40, and the remote option value display module 50.
  • the terminal device 70 can be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server.
  • the terminal device may include, but is not limited to, a processor 71, a memory 72. It will be understood by those skilled in the art that FIG. 7 is merely an example of the terminal device 70, and does not constitute a limitation of the terminal device 70, and may include more or less components than those illustrated, or may combine certain components or different components.
  • the terminal device may further include an input/output device, a network access device, a bus, and the like.
  • the processor 71 may be a central processing unit (CPU), or may be other general-purpose processors, a digital signal processor (DSP), an application specific integrated circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the memory 72 may be an internal storage unit of the terminal device 70, such as a hard disk or a memory of the terminal device 70.
  • the memory 72 may also be an external storage device of the terminal device 70, such as a plug-in hard disk provided on the terminal device 70, a smart memory card (SMC), a Secure Digital (SD) card, and a flash memory card (Flash). Card) and so on.
  • the memory 72 may also include both an internal storage unit of the terminal device 70 and an external storage device.
  • the memory 72 is used to store computer readable instructions 73 and other programs and data required by the terminal device.
  • the memory 72 can also be used to temporarily store data that has been or will be output.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated modules/units if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium.
  • the present application implements all or part of the processes in the foregoing embodiments, and may also be implemented by computer readable instructions, which may be stored in a computer readable storage medium.
  • the computer readable instructions when executed by a processor, may implement the steps of the various method embodiments described above.
  • the computer readable instructions comprise computer readable instruction code, which may be in the form of source code, an object code form, an executable file or some intermediate form or the like.
  • the computer readable medium can include any entity or device capable of carrying the computer readable instruction code, a recording medium, a USB flash drive, a removable hard drive, a magnetic disk, an optical disk, a computer memory, a read only memory (ROM, Read-Only) Memory), random access memory (RAM), electrical carrier signals, telecommunications signals, and software distribution media.
  • a recording medium a USB flash drive
  • a removable hard drive a magnetic disk, an optical disk
  • a computer memory a read only memory (ROM, Read-Only) Memory
  • RAM random access memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种数据字典展示方法、装置、终端设备及存储介质,该数据字典展示方法包括:在信息配置界面上,获取数据字典展示请求,数据字典展示请求包括至少一个待展示主题(S10);基于至少一个所述待展示主题,判断每一所述待展示主题在本地数据库中是否存在对应的本地展示主题(S20);若至少一个待展示主题在本地数据库中不存在对应的本地展示主题,则向服务器发送数据获取请求,数据获取请求包括至少一个目标展示主题,目标展示主题为不存在对应的本地展示主题的待展示主题(S30);获取服务器返回的数据查询结果,数据查询结果包括至少一个目标展示主题和对应的远程选项值(S40);在信息配置界面上,展示与至少一个目标展示主题和对应的远程选项值(S50)。该数据字典展示方法展示数据时,具有减轻服务器负担,提高效率的优点。

Description

数据字典展示方法、装置、终端设备及存储介质
本专利申请以2017年12月26日提交的申请号为201711430269.3,名称为“数据字典展示方法、装置、终端设备及存储介质”的中国发明专利申请为基础,并要求其优先权。
技术领域
本申请涉及数据处理领域,尤其涉及一种数据字典展示方法、装置、终端设备及存储介质。
背景技术
在信息管理系统中,通常会使用数据字典来管理相对固定含义的值,例如,性别(男/女)、状态(启用/禁用)等,以保证数据录入的一致性和准确性,提高数据录入的效率。数字字典是指将具有相同类型的配置项,配置到系统的数据字典表中,以便于系统进行维护。在信息管理系统采用数据字典选择或展示相对固定含义的值时,一般由客户端向服务器发送请求,再由服务器基于该请求查询数据字典表以确定对应的数据字典,以便基于该数据字典创建出选择框,以在客户端显示该选择框对应的数字字典。这种数据字典实现过程,使得服务器需对每一客户端发送的请求进行处理,导致服务器的负担较重,容易降低服务器的处理效率。
发明内容
本申请供一种数据字典展示方法,以解决服务器需对每一客户端发送的请求进行处理,导致服务器的负担较重,容易降低服务器的处理效率的问题。
第一方面,本申请提供一种数据字典展示方法,包括:
在信息配置界面上,获取数据字典展示请求,所述数据字典展示请求包括至少一个待展示主题;
基于至少一个所述待展示主题,判断每一所述待展示主题在本地数据库中是否存在对应的本地展示主题;
若至少一个所述待展示主题在本地数据库中不存在对应的本地展示主题,则向服务器发送数据获取请求,所述数据获取请求包括至少一个目标展示主题,所述目标展示主题为不存在对应的本地展示主题的待展示主题;
获取所述服务器返回的数据查询结果,所述数据查询结果包括至少一个所述目标展示主题和对应的远程选项值;
在所述信息配置界面上,展示至少一个所述目标展示主题和对应的所述远程选项值。
第二方面,本申请提供一种数据字典展示装置,包括:
数据字典展示请求获取模块,用于在信息配置界面上,获取数据字典展示请求,所述数据字典展示请求包括至少一个待展示主题;
待展示主题判断模块,用于基于至少一个所述待展示主题,判断每一所述待展示主题在本地数据库中是否存在对应的本地展示主题;
数据获取请求发送模块,用于至少一个所述待展示主题在本地数据库中不存在对应的本地展示主题,则向服务器发送数据获取请求,所述数据获取请求包括至少一个目标展示主题,所述目标展示主题为不存在对应的本地展示主题的待展示主题;
数据查询结果获取模块,用于获取所述服务器返回的数据查询结果,所述数据查询结果包括至少一个所述目标展示主题和对应的远程选项值;
远程选项值展示模块,在所述信息配置界面上,展示与至少一个所述目标展示主题和对应的所述远程选项值。
第三方面,本申请提供一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现如下步骤:
在信息配置界面上,获取数据字典展示请求,所述数据字典展示请求包括至少一个待展示主题;
基于至少一个所述待展示主题,判断每一所述待展示主题在本地数据库中是否存在对应的本地展示主题;
若至少一个所述待展示主题在本地数据库中不存在对应的本地展示主题,则向服务器发送数据获取请求,所述数据获取请求包括至少一个目标展示主题,所述目标展示主题为不存在对应的本地展示主题的待展示主题;
获取所述服务器返回的数据查询结果,所述数据查询结果包括至少一个所述目标展示主题和对应的远程选项值;
在所述信息配置界面上,展示至少一个所述目标展示主题和对应的所述远程选项值。
第四方面,本申请提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可读指令,所述计算机可读指令被处理器执行时实现如下步骤:
在信息配置界面上,获取数据字典展示请求,所述数据字典展示请求包括至少一个待展示主题;
基于至少一个所述待展示主题,判断每一所述待展示主题在本地数据库中是否存在对应的本地展示主题;
若至少一个所述待展示主题在本地数据库中不存在对应的本地展示主题,则向服务器发送数据获取请求,所述数据获取请求包括至少一个目标展示主题,所述目标展示主题为不存在对应的本地展示主题的待展示主题;
获取所述服务器返回的数据查询结果,所述数据查询结果包括至少一个所述目标展示主题和对应的远程选项值;
在所述信息配置界面上,展示至少一个所述目标展示主题和对应的所述远程选项值。
本申请提供的数据字典展示方法、装置、终端设备及存储介质中,以便基于该数据展示请求中至少一个待展示主题判断本地数据库中是否存在对应的本地展示主题,若至少一个待展示主题在本地数据库中不存在对应的本地展示主题,则向服务器发送数据获取请求,该数据获取请求包括至少一个目标展示主题,以减少服务器的访问次数,减轻服务器的负担,提高效率。最后,基于服务器返回的数据查询结果,进而获取并在信息配置界面上展示至少一个目标展示主题和对应的远程选项值,达到更新本地数据库的目的,增强实用性。
附图说明
为了更清楚地说明本申请的技术方案,下面将对本申请的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1是实施例1中提供的数据字典展示方法的一流程图。
图2是图1中步骤S50的一具体示意图。
图3是实施例1中提供的数据字典展示方法的另一流程图。
图4是图3中步骤S60的一具体示意图。
图5是图4中步骤S62的一具体示意图。
图6是实施例2中提供的数据字典展示装置的一原理框图。
图7是实施例4中提供的终端设备的一示意图。
具体实施方式
下面将结合本申请中的附图,对本申请中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
实施例1
图1示出本实施例中数据字典展示方法的流程图。该数据字典展示方法应用在银行、证券、保险等金融机构或者其他机构的终端设备中进行数据字典展示。该数据字典展示方法具体可应用在终端设备上安装的信息管理系统(以下简称系统)上,可减少系统向服务器发送请求的次数,以减轻服务器的负担,提高信息处理的效率。如图1所示,该数据字典展示方法包括如下步骤:
S10:在信息配置界面上,获取数据字典展示请求,数据字典展示请求包括至少一个待展示主题。
其中,信息配置界面是终端设备上显示的用于进行信息配置的界面,该 界面可以是系统中的信息录入界面。数据字典展示请求是用于使信息配置界面进行数据字典展示的请求。待展示主题是指信息配置界面上需要用户填写的主题,该待展示主题包括但不限于本实施例中的性别、地区和职业。具体地,用户可以通过点击信息配置界面上的数据展示按钮而输入的数据字典展示请求。例如,在系统配置新注册用户在填写个人信息的信息配置界面时,系统会根据用户点击的数据展示按钮而输入的数据字典展示请求,获取至少一个待展示主题,该待展示主题包括但不限于性别、地区和职业等。
S20:基于至少一个待展示主题,判断每一待展示主题在本地数据库中是否存在对应的本地展示主题。
其中,本地数据库是指存在于运行应用程序的终端设备的数据库,无需与服务器连接。本地数据库中包括预先存储的至少一个本地展示主题。本地展示主题是本地数据库中预先存储的主题。该本地展示主题包括但不限于性别、地区和职业等。具体地,基于数据字典展示请求中的每一待展示主题在本地数据库中是否存在对应的本地展示主题,以便于确定是否需要另行访问服务器以获取待展示主题。本实施例中,通过设置与终端设备相连的本地数据库并在本地数据库中设置本地展示主题,以判断每一待展示主题在本地数据库中是否存在对应的本地展示主题,减少访问服务器的次数,提升服务器性能。
S30:若至少一个待展示主题在本地数据库中不存在对应的本地展示主题,则向服务器发送数据获取请求,数据获取请求包括至少一个目标展示主题,目标展示主题为不存在对应的本地展示主题的待展示主题。
其中,目标展示主题是指本地数据库中不存在对应的本地展示主题的待展示主题,即目标展示主题是待展示主题但不是本地展示主题。数据获取请 求是向服务器获取目标展示主题的请求。具体地,若至少一个待展示主题在本地数据库中不存在对应的本地展示主题,则向服务器发送数据获取请求,以便于从服务器获取对应的目标展示主题对应的信息,有助于完善系统的信息配置界面。本实施例中,在本地数据库中不存在与待展示主题相对应的本地展示主题时,才向服务器发送数据获取请求,数据获取请求中包括目标展示主题,可有利于减少服务器的访问次数,减轻服务器的负担。
S40:获取服务器返回的数据查询结果,数据查询结果包括至少一个目标展示主题和对应的远程选项值。
其中,远程选项值是从服务器获取的与目标展示主题对应的选项值,例如目标展示主题为系统中某一功能的运行状态,其远程选项值为可以为启动状态或禁用状态。数据查询结果是服务器基于数据获取请求进行处理后获取的处理结果。本实施例中,通过获取服务器返回的至少一个目标展示主题和对应的远程选项值,以达到更新本地数据库的目的,增强实用性。
进一步地,在获取服务器返回的至少一个目标展示主题和对应的远程选项值的情况下,该数据字典展示方法还包括如下步骤:将目标展示主题作为本地展示主题存储在本地数据库中,并将远程选项值保存为与本地展示主题对应的本地选项值。
具体地,将步骤S40获取到的目标展示主题作为本地展示主题存储在本地数据库中,将远程选项值保存和/或更新为与本地展示主题对应的本地选项值,以达到更新本地数据库的目的,增强实用性。
本实施例中,系统还可定时向服务器发送数据请求获取最新数据和/或增加本地数据库中不存在的主题,可以理解地,若本地数据库中存在与服务器返回的目标展示主题相匹配的本地展示主题,则基于获取到的目标展示主题 对应的远程选项值,更新本地数据库中与目标展示主题相匹配的本地展示主题所对应的本地选项值;若本地数据库中不存在与服务器返回的目标展示主题相匹配的本地展示主题,则将获取到的目标展示主题和对应的远程选项值增加到本地数据库中,以达到实时更新本地数据库的目的,满足用户日益渐增的需求。
S50:在信息配置界面上,展示至少一个目标展示主题和对应的远程选项值。
具体地,在信息配置界面上,展示与至少一个目标展示主题和对应的远程选项值,以使配置形成的系统的相应界面上形成可供用户选择所需的与至少一个目标展示主题相对应的远程选项值,提升用户体验。
本实施例中,通过在信息配置界面上获取数据字典请求,以便基于该数据展示请求中至少一个待展示主题判断本地数据库中是否存在对应的本地展示主题,若至少一个待展示主题在本地数据库中不存在对应的本地展示主题,则向服务器发送数据获取请求,该数据获取请求包括至少一个目标展示主题,以减少服务器的访问次数,减轻服务器的负担,提高效率。最后,基于服务器返回的数据查询结果,进而获取并在信息配置界面上展示至少一个目标展示主题和对应的远程选项值,达到更新本地数据库的目的,增强实用性。
在一具体实施方式中,在本地展示主题对应的远程选项值为至少一个的情况下,如图2所示,步骤S50中,即在信息配置界面上,展示与至少一个目标展示主题和对应的远程选项值具体包括如下步骤:
S51:若远程选项值的数量为1,则在目标展示主题对应的展示区域默认展示远程选项值。
其中,展示区域是用于显示远程选项值的区域,该区域可以是系统中用 于录入信息的区域。具体地,对步骤S40获取到的远程选项值的数量进行判断,若远程选项值的数量为1,则在目标展示主题对应的展示区域默认展示远程选项值,以使用户无需手动填写,节省时间,提高效率。
S52:若远程选项值的数量大于1,则在目标展示主题对应的展示区域以下拉列表形式展示远程选项值。
具体地,若远程选项值的数量大于1,则在目标展示主题对应的展示区域以下拉列表形式展示远程选项值。其中,下拉列表是调用EasyUI的combo公共组件生成的列表。EasyUI是一组基于jQuery的用户界面的插件集合,Combo组件为自定义下拉列表组件,以使系统具有使用简单,节省界面空间的优点。本实施例中,通过调用EasyUI的Combo公共组件将至少一个远程选项值生成下拉列表,以达到节省界面空间,并方便用户操作的目的。
本实施例中,根据远程选项值的数量,以不同形式展示远程选项值。若远程选项值的数量为1,则在目标展示主题对应的展示区域默认展示远程选项值,以使用户无需手动填写,节省时间,提高效率。若远程选项值的数量大于1,则在目标展示主题对应的展示区域以下拉列表形式展示远程选项值,以达到节省界面空间,方便用户操作的目的。
本实施例中,通过在信息配置界面上获取数据字典请求,以便基于该数据展示请求中至少一个待展示主题判断本地数据库中是否存在对应的本地展示主题,若至少一个待展示主题在本地数据库中不存在对应的本地展示主题,则向服务器发送数据获取请求,该数据获取请求包括至少一个目标展示主题,以减少服务器的访问次数,减轻服务器的负担,提高效率。最后,基于服务器返回的数据查询结果,进而获取并在信息配置界面上展示至少一个目标展示主题和对应的远程选项值,达到更新本地数据库的目的,增强实用性。若 至少一个待展示主题在本地数据库中存在对应的本地展示主题,则在信息配置界面上,直接展示与本地展示主题对应的本地选项值,以减少服务器的访问次数,减轻服务器的负担,提高效率。
在一具体实施方式中,如图3所示,步骤S20之后,该数据字典展示方法还包括如下步骤:
S60:若至少一个待展示主题在本地数据库中存在对应的本地展示主题,则在信息配置界面上,展示与本地展示主题对应的本地选项值。
其中,本地选项值是存储在本地数据库中与本地展示主题对应的选项值。具体地,若至少一个待展示主题在本地数据库中存在对应的本地展示主题,则在信息配置界面上,直接展示与本地展示主题对应的本地选项值,无需访问服务器,以减轻服务器的负担,提高系统运行效率。
本实施例中,若获取到的本地展示主题对应的本地选项值等于1时,则在本地展示主题对应的展示区域默认展示本地选项值。若获取到的本地展示主题对应的本地选项值大于1时,则在本地展示主题对应的展示区域以下拉列表的形式展示本地选项值,以达到节省界面空间,方便用户操作的目的。
在一具体实施方式中,在系统中,通过需要对用户个人信息进行管理进,需配置一用于供用户填写个人信息的配置界面,并在本地数据库中设有用于存储用户个人信息的用户信息库。其中,用户信息库是存储有用户个人信息的数据库,该用户信息库存储在本地数据库中。若本地数据库中存储有任一用户的个人信息的情况下,如图4所示,步骤S60中,展示与本地展示主题对应的本地选项值,具体包括如下步骤:
S61:基于目标用户ID查询用户信息库,获取与目标用户ID相对应的用户信息。
目标用户是要获取个人信息的用户。目标用户ID是用于识别目标用户的唯一标识,该目标用户ID可以为目标用户的手机号或身份证号等标识。具体地,用户信息库中包括至少一个用户的用户信息,该用户信息包括但不限于姓名、性别、地区和年龄等。通过该目标用户ID查询用户信息库中的用户信息,以获取与目标用户ID相对应的用户信息。
S62:从用户信息中获取与本地展示主题相对应的本地选项值。
本实施例中,用户在注册系统时,会填写一张个人简介表,该个人简介表中包括需要用户填写的本地展示主题,如性别和地区等。每一本地展示主题对应至少一个本地选项值,如性别这一本地展示主题对应男或女这两个本地选项值,用户需完善每一个需要填写的本地展示主题,当用户填写好该个人简介表时,点击保存,即可将该用户填写好的个人简介表存储在用户信息库中。例如,当用户在填写报名考试的信息表时,若该表中包含有需要用户填写的与用户信息相关的本地展示主题(如性别或地区),则系统会直接读取该用户的用户信息库以获取用户信息,并从用户信息库中获取用户预先填写好的与本地展示主题对应的本地选项值,该过程无需用户再一次填写用户信息,系统会直接读取数据库中预存储的用户信息库中的用户信息,并映射到用户当前所要填写的信息表中与用户信息库中的本地展示主题对应的展示区域中,提高效率。
本实施例中,通过基于目标用户ID查询用户信息库,获取与目标用户ID相对应的用户信息,并从用户信息中获取与本地展示主题相对应的本地选项值,将将获取到的本地选项值映射到用户当前所要填写的信息表中与本地展示主题对应的展示区域,该过程无需用户再一次填写用户信息,系统会直接读取本地数据库中的个人信息,提高用户信息的录入效率。
在另一具体实施方式中,在本地展示主题对应的本地选项值为至少两个的情况下,如图5所示,步骤S62中,即展示与本地展示主题对应的本地选项值具体包括如下步骤:
S621:获取与本地展示主题相对应的至少一个本地选项值。
具体地,系统会获取与本地展示主题相对应的至少一个本地选项值,例如在过去的一个月内用户选择的居住地区(即本地展示主题)是北京(本地选项值),但在当前的一个月由于用户的自身情况需要更换居住地,因此用户选择的居住地区(本地展示主题)是上海(本地选项值),则居住地区(本地展示主题)对应的北京(本地选项值)和上海(本地选项值)即为本地选项值。
S622:统计每一本地选项值的被选择次数。
具体地,实时统计用户在预设周期内的每一本地选项值的被选择次数,并存储在本地数据库中。可以理解地,本地数据库包括本地展示主题、对应的本地选项值和本地选项值的被选择次数等字段。系统实时统计用户一段时间内每一本地选项值的被选择次数,并将统计得到的被选择次数填入本地数据库中的本地选项值的被选择次数字段。本实施例中,预设周期为系统管理员自定义。
S623:对所有本地选项值的被选择次数进行排序,并基于排序结果展示与本地展示主题对应的本地选项值。
具体地,对所有本地选项值的被选择次数按从大到小的顺序进行排序,并展示被选择次数排名在前N位(其中,N为大于1的整数)的与本地展示主题对应的本地选项值,以增加界面的渲染速度。
本实施例中,通过获取与本地展示主题相对应的至少一个本地选项值, 以统计每一本地选项值的被选择次数,然后对所有本地选项值的被选择次数进行排序,并基于排序结果展示与本地展示主题对应的本地选项值,以使用户能够直接选取系统推荐的本地选项值,减少用户的选择或填写操作次数,提高效率。
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请的实施过程构成任何限定。
实施例2
图6示出与实施例1中数据字典展示方法一一对应的数据字典展示装置的原理框图。如图6所示,该数据字典展示装置包括数据字典展示请求获取模块10、待展示主题判断模块20、数据获取请求发送模块30、数据查询结果获取模块40和远程选项值展示模块50。其中,数据字典展示请求获取模块10、待展示主题判断模块20、数据获取请求发送模块30、数据查询结果获取模块40和远程选项值展示模块50的实现功能与实施例1中数据字典展示方法对应的步骤一一对应,为避免赘述,本实施例不一一详述。
数据字典展示请求获取模块10,用于在信息配置界面上,获取数据字典展示请求,数据字典展示请求包括至少一个待展示主题。
待展示主题判断模块20,用于基于至少一个待展示主题,判断每一待展示主题在本地数据库中是否存在对应的本地展示主题。
数据获取请求发送模块30,用于至少一个待展示主题在本地数据库中不存在对应的本地展示主题,则向服务器发送数据获取请求,数据获取请求包括至少一个目标展示主题,目标展示主题为不存在对应的本地展示主题的待展示主题。
数据查询结果获取模块40,用于获取服务器返回的数据查询结果,数据查询结果包括至少一个目标展示主题和对应的远程选项值。
远程选项值展示模块50,在信息配置界面上,展示与至少一个目标展示主题和对应的远程选项值。
优选地,远程选项值展示模块50包括远程选项值默认展示单元51和远程选项值展示单元52。
远程选项值默认展示单元51,用于远程选项值的数量为1,则在目标展示主题对应的展示区域默认展示远程选项值。
远程选项值展示单元52,用于远程选项值的数量大于1,则在目标展示主题对应的展示区域以下拉列表形式展示远程选项值。
优选地,该数据字典展示装置还包括本地选项值展示模块60。
本地选项值展示模块60,用于至少一个待展示主题在本地数据库中存在对应的本地展示主题,则在信息配置界面上,展示与本地展示主题对应的本地选项值。
优选地,本地选项值展示模块60包括用户信息获取单元61和本地选项值获取单元62。
用户信息获取单元61,用于基于目标用户ID查询用户信息库,获取与目标用户ID相对应的用户信息。
本地选项值获取单元62,用于从用户信息中获取与本地展示主题相对应的本地选项值。
优选地,本地选项值获取单元62包括本地选项值获取子单元621、本地选项值统计子单元622和本地选项值展示子单元623。
本地选项值获取子单元621,用于获取与本地展示主题相对应的至少一个 本地选项值。
本地选项值统计子单元622,用于统计每一本地选项值的被选择次数。
本地选项值展示子单元623,用于对所有本地选项值的被选择次数进行排序,并基于排序结果展示与本地展示主题对应的本地选项值。
实施例3
本实施例提供一计算机可读存储介质,该计算机可读存储介质上存储有计算机可读指令,该计算机可读指令被处理器执行时实现实施例1中数据字典展示方法,为避免重复,这里不再赘述。或者,该计算机可读指令被处理器执行时实现实施例2中数据字典展示装置中各模块/单元的功能,为避免重复,这里不再赘述。
实施例4
图7是本申请一实施例提供的终端设备的示意图。如图7所示,该实施例的终端设备70包括:处理器71、存储器72以及存储在存储器72中并可在处理器71上运行的计算机可读指令73。处理器71执行计算机可读指令73时实现上述各数据字典展示方法实施例中的步骤,例如图1所示的步骤S10至S50。或者,处理器71执行计算机可读指令73时实现上述各装置实施例中各模块/单元的功能,例如图6所示模块10至60的功能。
示例性的,计算机可读指令73可以被分割成一个或多个模块/单元,一个或者多个模块/单元被存储在存储器72中,并由处理器71执行,以完成本申请。一个或多个模块/单元可以是能够完成特定功能的一系列计算机可读指令73的指令段,该指令段用于描述计算机可读指令73在终端设备70中的执行过程。例如,计算机可读指令73可以被分割数据字典展示请求获取模块10、待展示主题判断模块20、数据获取请求发送模块30、数据查询结果获取模块 40和远程选项值展示模块50的功能。
终端设备70可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。终端设备可包括,但不仅限于,处理器71、存储器72。本领域技术人员可以理解,图7仅仅是终端设备70的示例,并不构成对终端设备70的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如终端设备还可以包括输入输出设备、网络接入设备、总线等。
所称处理器71可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
存储器72可以是终端设备70的内部存储单元,例如终端设备70的硬盘或内存。存储器72也可以是终端设备70的外部存储设备,例如终端设备70上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,存储器72还可以既包括终端设备70的内部存储单元也包括外部存储设备。存储器72用于存储计算机可读指令73以及终端设备所需的其他程序和数据。存储器72还可以用于暂时地存储已经输出或者将要输出的数据。
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,也可以通过计算机可读指令来指令相关的硬件来完成,所述的计算机可读指令可存储于一计算机可读存储介质中,该计算机可读指令在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机可读指令包括计算机可读指令代码,所述计算机可读指令代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机可读指令代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括是电载波信号和电信信号。
上述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。

Claims (20)

  1. 一种数据字典展示方法,其特征在于,包括:
    在信息配置界面上,获取数据字典展示请求,所述数据字典展示请求包括至少一个待展示主题;
    基于至少一个所述待展示主题,判断每一所述待展示主题在本地数据库中是否存在对应的本地展示主题;
    若至少一个所述待展示主题在本地数据库中不存在对应的本地展示主题,则向服务器发送数据获取请求,所述数据获取请求包括至少一个目标展示主题,所述目标展示主题为不存在对应的本地展示主题的待展示主题;
    获取所述服务器返回的数据查询结果,所述数据查询结果包括至少一个所述目标展示主题和对应的远程选项值;
    在所述信息配置界面上,展示至少一个所述目标展示主题和对应的所述远程选项值。
  2. 如权利要求1所述的数据字典展示方法,其特征在于,在所述判断每一所述待展示主题在本地数据库中是否存在对应的本地展示主题的步骤之后,所述数据字典展示方法还包括:
    若至少一个所述待展示主题在本地数据库中存在对应的本地展示主题,则在所述信息配置界面上,展示与所述本地展示主题对应的本地选项值。
  3. 如权利要求2所述的数据字典展示方法,其特征在于,所述本地数据库中包括用户信息库;
    所述数据字典展示请求还包括目标用户ID;
    所述展示与所述本地展示主题对应的本地选项值,包括:
    基于所述目标用户ID查询所述用户信息库,获取与所述目标用户ID相对应的用户信息;
    从所述用户信息中获取与所述本地展示主题相对应的本地选项值。
  4. 如权利要求2所述的数据字典展示方法,其特征在于,所述展示与所述本地展示主题对应的本地选项值,包括:
    获取与所述本地展示主题相对应的至少一个所述本地选项值;
    统计每一所述本地选项值的被选择次数;
    对所有所述本地选项值的被选择次数进行排序,并基于排序结果展示与所述本地展示主题对应的本地选项值。
  5. 如权利要求1所述的数据字典展示方法,其特征在于,所述在所述信息配置界面上,展示与至少一个所述目标展示主题和对应的所述远程选项值,包括:
    若所述远程选项值的数量为1,则在所述目标展示主题对应的展示区域默认展示所述远程选项值;
    若所述远程选项值的数量大于1,则在所述目标展示主题对应的展示区域以下拉列表形式展示所述远程选项值。
  6. 如权利要求1所述的数据字典展示方法,其特征在于,所述在所述信息配置界面上,展示与至少一个所述目标展示主题和对应的所述远程选项值的步骤之后,所述数据字典展示方法还包括:
    将所述目标展示主题作为本地展示主题存储在所述本地数据库中,并将所述远程选项值保存为与所述本地展示主题对应的本地选项值。
  7. 一种数据字典展示装置,其特征在于,包括如下步骤:
    数据字典展示请求获取模块,用于在信息配置界面上,获取数据字典展 示请求,所述数据字典展示请求包括至少一个待展示主题;
    待展示主题判断模块,用于基于至少一个所述待展示主题,判断每一所述待展示主题在本地数据库中是否存在对应的本地展示主题;
    数据获取请求发送模块,用于至少一个所述待展示主题在本地数据库中不存在对应的本地展示主题,则向服务器发送数据获取请求,所述数据获取请求包括至少一个目标展示主题,所述目标展示主题为不存在对应的本地展示主题的待展示主题;
    数据查询结果获取模块,用于获取所述服务器返回的数据查询结果,所述数据查询结果包括至少一个所述目标展示主题和对应的远程选项值;
    远程选项值展示模块,在所述信息配置界面上,展示与至少一个所述目标展示主题和对应的所述远程选项值。
  8. 如权利要求7所述的数据字典展示装置,其特征在于,所述数据字典展示装置还包括:
    本地选项值展示模块,用于至少一个所述待展示主题在本地数据库中存在对应的本地展示主题,则在所述信息配置界面上,展示与所述本地展示主题对应的本地选项值。
  9. 一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,其特征在于,所述处理器执行所述计算机可读指令时实现如下步骤:
    在信息配置界面上,获取数据字典展示请求,所述数据字典展示请求包括至少一个待展示主题;
    基于至少一个所述待展示主题,判断每一所述待展示主题在本地数据库中是否存在对应的本地展示主题;
    若至少一个所述待展示主题在本地数据库中不存在对应的本地展示主题,则向服务器发送数据获取请求,所述数据获取请求包括至少一个目标展示主题,所述目标展示主题为不存在对应的本地展示主题的待展示主题;
    获取所述服务器返回的数据查询结果,所述数据查询结果包括至少一个所述目标展示主题和对应的远程选项值;
    在所述信息配置界面上,展示至少一个所述目标展示主题和对应的所述远程选项值。
  10. 如权利要求9所述的终端设备,其特征在于,在所述判断每一所述待展示主题在本地数据库中是否存在对应的本地展示主题的步骤之后,所述处理器执行所述计算机可读指令时还实现如下步骤:
    若至少一个所述待展示主题在本地数据库中存在对应的本地展示主题,则在所述信息配置界面上,展示与所述本地展示主题对应的本地选项值。
  11. 如权利要求10所述的终端设备,其特征在于,所述本地数据库中包括用户信息库;
    所述数据字典展示请求还包括目标用户ID;
    所述展示与所述本地展示主题对应的本地选项值,包括:
    基于所述目标用户ID查询所述用户信息库,获取与所述目标用户ID相对应的用户信息。
  12. 如权利要求10所述的终端设备,其特征在于,所述展示与所述本地展示主题对应的本地选项值,包括:
    获取与所述本地展示主题相对应的至少一个所述本地选项值;
    统计每一所述本地选项值的被选择次数;
    对所有所述本地选项值的被选择次数进行排序,并基于排序结果展示与 所述本地展示主题对应的本地选项值。
  13. 如权利要求9所述的终端设备,其特征在于,所述在所述信息配置界面上,展示与至少一个所述目标展示主题和对应的所述远程选项值,包括:
    若所述远程选项值的数量为1,则在所述目标展示主题对应的展示区域默认展示所述远程选项值;
    若所述远程选项值的数量大于1,则在所述目标展示主题对应的展示区域以下拉列表形式展示所述远程选项值。
  14. 如权利要求9所述的终端设备,其特征在于,所述在所述信息配置界面上,展示与至少一个所述目标展示主题和对应的所述远程选项值的步骤之后,所述处理器执行所述计算机可读指令时还实现如下步骤:
    将所述目标展示主题作为本地展示主题存储在所述本地数据库中,并将所述远程选项值保存为与所述本地展示主题对应的本地选项值。
  15. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可读指令,其特征在于,所述计算机可读指令被处理器执行时实现如下步骤:
    在信息配置界面上,获取数据字典展示请求,所述数据字典展示请求包括至少一个待展示主题;
    基于至少一个所述待展示主题,判断每一所述待展示主题在本地数据库中是否存在对应的本地展示主题;
    若至少一个所述待展示主题在本地数据库中不存在对应的本地展示主题,则向服务器发送数据获取请求,所述数据获取请求包括至少一个目标展示主题,所述目标展示主题为不存在对应的本地展示主题的待展示主题;
    获取所述服务器返回的数据查询结果,所述数据查询结果包括至少一个所述目标展示主题和对应的远程选项值;
    在所述信息配置界面上,展示至少一个所述目标展示主题和对应的所述远程选项值。
  16. 如权利要求15所述的计算机可读存储介质,其特征在于,在所述判断每一所述待展示主题在本地数据库中是否存在对应的本地展示主题的步骤之后,所述计算机可读指令被处理器执行时还实现如下步骤:
    若至少一个所述待展示主题在本地数据库中存在对应的本地展示主题,则在所述信息配置界面上,展示与所述本地展示主题对应的本地选项值。
  17. 如权利要求16所述的计算机可读存储介质,其特征在于,所述本地数据库中包括用户信息库;
    所述数据字典展示请求还包括目标用户ID;
    所述展示与所述本地展示主题对应的本地选项值,包括:
    基于所述目标用户ID查询所述用户信息库,获取与所述目标用户ID相对应的用户信息;
    从所述用户信息中获取与所述本地展示主题相对应的本地选项值。
  18. 如权利要求16所述的计算机可读存储介质,其特征在于,所述展示与所述本地展示主题对应的本地选项值,包括:
    获取与所述本地展示主题相对应的至少一个所述本地选项值;
    统计每一所述本地选项值的被选择次数;
    对所有所述本地选项值的被选择次数进行排序,并基于排序结果展示与所述本地展示主题对应的本地选项值。
  19. 如权利要求15所述的计算机可读存储介质,其特征在于,所述在所述信息配置界面上,展示与至少一个所述目标展示主题和对应的所述远程选项值,包括:
    若所述远程选项值的数量为1,则在所述目标展示主题对应的展示区域默认展示所述远程选项值;
    若所述远程选项值的数量大于1,则在所述目标展示主题对应的展示区域以下拉列表形式展示所述远程选项值。
  20. 如权利要求15所述的计算机可读存储介质,其特征在于,所述在所述信息配置界面上,展示与至少一个所述目标展示主题和对应的所述远程选项值的步骤之后,所述计算机可读指令被处理器执行时还实现如下步骤:
    将所述目标展示主题作为本地展示主题存储在所述本地数据库中,并将所述远程选项值保存为与所述本地展示主题对应的本地选项值。
PCT/CN2018/073749 2017-12-26 2018-01-23 数据字典展示方法、装置、终端设备及存储介质 WO2019127772A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711430269.3 2017-12-26
CN201711430269.3A CN108153877B (zh) 2017-12-26 2017-12-26 数据字典展示方法、装置、终端设备及存储介质

Publications (1)

Publication Number Publication Date
WO2019127772A1 true WO2019127772A1 (zh) 2019-07-04

Family

ID=62463053

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/073749 WO2019127772A1 (zh) 2017-12-26 2018-01-23 数据字典展示方法、装置、终端设备及存储介质

Country Status (2)

Country Link
CN (1) CN108153877B (zh)
WO (1) WO2019127772A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109033379B (zh) * 2018-07-27 2022-05-31 四川爱创科技有限公司 适用于咖啡机的原料信息管理方法与系统
CN110888931B (zh) * 2019-10-30 2022-05-20 南京领行科技股份有限公司 数据展示方法、装置、服务器、终端设备及可读存储介质
CN111159278B (zh) * 2019-12-30 2023-07-14 新浪技术(中国)有限公司 数据展示方法及装置、电子设备和计算机可读存储介质
CN116700725B (zh) * 2023-08-04 2023-10-31 太平金融科技服务(上海)有限公司 页面生成方法、装置、计算机设备和存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101930443A (zh) * 2009-06-22 2010-12-29 金蝶软件(中国)有限公司 数据业务系统及数据业务实现方法
US7945551B1 (en) * 2001-06-14 2011-05-17 Oracle International Corporation Redirection of misses in queryable caches
CN104331290A (zh) * 2014-10-31 2015-02-04 北京思特奇信息技术股份有限公司 一种资源种类管理和页面展示的方法及系统
CN106547898A (zh) * 2016-10-27 2017-03-29 北京锐安科技有限公司 一种分布式数据库的数据处理方法及装置
CN107491562A (zh) * 2017-09-25 2017-12-19 四川长虹电器股份有限公司 动态显示网页数据属性状态的方法

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7403934B2 (en) * 2003-06-10 2008-07-22 Sbc Properties, L.P. Script generator for automating system administration operations
CN103838781A (zh) * 2012-11-27 2014-06-04 中兴通讯股份有限公司 数据库访问方法及系统
CN104951565B (zh) * 2015-07-10 2018-07-24 上海斐讯数据通信技术有限公司 一种基于内存数据库的xml配置维护方法及系统
CN107316207B (zh) * 2017-06-19 2021-03-16 北京小米移动软件有限公司 一种获取展示效果信息的方法和装置
CN107330059A (zh) * 2017-06-29 2017-11-07 珠海市魅族科技有限公司 一种信息展示方法、相关设备及计算机可读存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7945551B1 (en) * 2001-06-14 2011-05-17 Oracle International Corporation Redirection of misses in queryable caches
CN101930443A (zh) * 2009-06-22 2010-12-29 金蝶软件(中国)有限公司 数据业务系统及数据业务实现方法
CN104331290A (zh) * 2014-10-31 2015-02-04 北京思特奇信息技术股份有限公司 一种资源种类管理和页面展示的方法及系统
CN106547898A (zh) * 2016-10-27 2017-03-29 北京锐安科技有限公司 一种分布式数据库的数据处理方法及装置
CN107491562A (zh) * 2017-09-25 2017-12-19 四川长虹电器股份有限公司 动态显示网页数据属性状态的方法

Also Published As

Publication number Publication date
CN108153877B (zh) 2021-03-12
CN108153877A (zh) 2018-06-12

Similar Documents

Publication Publication Date Title
WO2020143620A1 (zh) 显示区块链数据的方法、区块链浏览器、用户节点和介质
WO2019127772A1 (zh) 数据字典展示方法、装置、终端设备及存储介质
US8762428B2 (en) Rapidly deploying virtual database applications using data model analysis
US8185546B2 (en) Enhanced control to users to populate a cache in a database system
US11586585B2 (en) Method and system for historical call lookup in distributed file systems
CN111767268B (zh) 数据库表分区方法、装置、电子设备及存储介质
CN112434015B (zh) 数据存储的方法、装置、电子设备及介质
US10650478B2 (en) Real-time aggregation and processing of healthcare records
CN106257452B (zh) 基于上下文特征修改搜索结果
US20130054554A1 (en) Secured searching
CN109359142A (zh) 一种数据处理方法、数据处理装置、计算机设备及可读存储介质
AU2014309318B2 (en) System and method for implementing a 64 bit data searching and delivery portal
US9665618B2 (en) Information retrieval from a database system
US11204925B2 (en) Enabling data source extensions
US8271493B2 (en) Extensible mechanism for grouping search results
WO2020015114A1 (zh) 应用运行状态查询方法及终端设备
US8676787B2 (en) Distributed multi-step abstract queries
US11645274B2 (en) Minimizing group generation in computer systems with limited computing resources
US11169979B2 (en) Database-documentation propagation via temporal log backtracking
CN111159214B (zh) 一种api的访问方法、装置、电子设备及存储介质
CN108629003B (zh) 内容加载方法与装置
CN114115796A (zh) 数据处理方法、装置、计算机可读介质及电子设备
US8832079B2 (en) Methods, apparatuses, and computer program products for facilitating searching
CN113849520B (zh) 异常sql的智能识别方法、装置、电子设备及存储介质
US11151194B2 (en) Data collection and integration system

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 07/10/2020)

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18894508

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 18894508

Country of ref document: EP

Kind code of ref document: A1