CN108153877B - Data dictionary display method and device, terminal equipment and storage medium - Google Patents

Data dictionary display method and device, terminal equipment and storage medium Download PDF

Info

Publication number
CN108153877B
CN108153877B CN201711430269.3A CN201711430269A CN108153877B CN 108153877 B CN108153877 B CN 108153877B CN 201711430269 A CN201711430269 A CN 201711430269A CN 108153877 B CN108153877 B CN 108153877B
Authority
CN
China
Prior art keywords
local
theme
display
option value
displayed
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.)
Active
Application number
CN201711430269.3A
Other languages
Chinese (zh)
Other versions
CN108153877A (en
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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201711430269.3A priority Critical patent/CN108153877B/en
Priority to PCT/CN2018/073749 priority patent/WO2019127772A1/en
Publication of CN108153877A publication Critical patent/CN108153877A/en
Application granted granted Critical
Publication of CN108153877B publication Critical patent/CN108153877B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Abstract

The invention discloses a data dictionary display method, a device, terminal equipment and a storage medium, wherein the data dictionary display method comprises the following steps: acquiring a data dictionary display request on an information configuration interface, wherein the data dictionary display request comprises at least one theme to be displayed; if at least one to-be-displayed theme does not have a corresponding local display theme in the local database, sending a data acquisition request to a server, wherein the data acquisition request comprises at least one target display theme, and the target display theme is the to-be-displayed theme without the corresponding local display theme; acquiring a data query result returned by the server, wherein the data query result comprises at least one target display theme and a corresponding remote option value; and displaying the remote option value corresponding to the at least one target display theme on the information configuration interface. When the data dictionary display method is used for displaying data, the server burden is reduced, and the efficiency is improved.

Description

Data dictionary display method and device, terminal equipment and storage medium
Technical Field
The present invention relates to the field of data processing, and in particular, to a method and an apparatus for displaying a data dictionary, a terminal device, and a storage medium.
Background
In an information management system, a data dictionary is generally used to manage values of relatively fixed meanings, such as gender (male/female), status (enabled/disabled), and the like, so as to ensure consistency and accuracy of data entry and improve efficiency of data entry. The digital dictionary refers to the configuration items with the same type, which are configured in a data dictionary table of the system so as to facilitate the maintenance of the system. When the information management system selects or displays a value with a relatively fixed meaning by using the data dictionary, a request is generally sent to the server by the client, and then the server queries the data dictionary table based on the request to determine the corresponding data dictionary, so that a selection frame is created based on the data dictionary, and the digital dictionary corresponding to the selection frame is displayed at the client. The data dictionary implementation process enables the server to process the request sent by each client, so that the server is heavier in burden, and the processing efficiency of the server is easily reduced.
Disclosure of Invention
The embodiment of the invention provides a data dictionary display method, which aims to solve the problems that a server needs to process a request sent by each client, so that the server is heavier in load and the processing efficiency of the server is easy to reduce.
In a first aspect, an embodiment of the present invention provides a data dictionary display method, including:
acquiring a data dictionary display request on an information configuration interface, wherein the data dictionary display request comprises at least one theme to be displayed;
judging whether each topic to be displayed has a corresponding local display topic in a local database based on at least one topic to be displayed;
if at least one to-be-displayed theme does not have a corresponding local display theme in a local database, sending a data acquisition request to a server, wherein the data acquisition request comprises at least one target display theme, and the target display theme is a to-be-displayed theme without a corresponding local display theme;
acquiring a data query result returned by the server, wherein the data query result comprises at least one target display theme and a corresponding remote option value;
and displaying at least one target display theme and the corresponding remote option value on the information configuration interface.
In a second aspect, an embodiment of the present invention provides a data dictionary display apparatus, including:
the data dictionary display request acquisition module is used for acquiring a data dictionary display request on an information configuration interface, wherein the data dictionary display request comprises at least one theme to be displayed;
the to-be-displayed theme judging module is used for judging whether each to-be-displayed theme has a corresponding local display theme in a local database based on at least one to-be-displayed theme;
a data obtaining request sending module, configured to send a data obtaining request to a server when at least one to-be-displayed topic does not have a corresponding local display topic in a local database, where the data obtaining request includes at least one target display topic, and the target display topic is a to-be-displayed topic where no corresponding local display topic exists;
the data query result acquisition module is used for acquiring a data query result returned by the server, wherein the data query result comprises at least one target display theme and a corresponding remote option value;
and the remote option value display module is used for displaying at least one target display theme and the corresponding remote option value on the information configuration interface.
In a third aspect, an embodiment of the present invention provides a terminal device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the data dictionary presentation method when executing the computer program.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the steps of the data dictionary presentation method are implemented.
In the data dictionary display method, the data dictionary display device, the terminal device and the storage medium provided by the embodiment of the invention, whether a corresponding local display theme exists in the local database is judged based on at least one to-be-displayed theme in the data display request, and if the corresponding local display theme does not exist in the local database of the at least one to-be-displayed theme, a data acquisition request is sent to the server, wherein the data acquisition request comprises at least one target display theme, so that the access times of the server are reduced, the burden of the server is reduced, and the efficiency is improved. And finally, based on a data query result returned by the server, at least one target display theme and a corresponding remote option value are further acquired and displayed on the information configuration interface, so that the aim of updating the local database is fulfilled, and the practicability is enhanced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
Fig. 1 is a flowchart of a data dictionary presentation method provided in embodiment 1 of the present invention.
Fig. 2 is a specific diagram of step S50 in fig. 1.
Fig. 3 is another flowchart of the data dictionary presenting method provided in embodiment 1 of the present invention.
Fig. 4 is a specific diagram of step S60 in fig. 3.
Fig. 5 is a specific diagram of step S62 in fig. 4.
Fig. 6 is a functional block diagram of the data dictionary presentation apparatus provided in embodiment 2 of the present invention.
Fig. 7 is a schematic diagram of a terminal device provided in embodiment 4 of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1
Fig. 1 shows a flowchart of a data dictionary presentation method in the present embodiment. The data dictionary display method is applied to the terminal equipment of financial institutions such as banks, securities and insurance, or other institutions to display the data dictionary. The data dictionary display method can be applied to an information management system (hereinafter referred to as a system) installed on the terminal equipment, and can reduce the frequency of sending requests to the server by the system, so as to reduce the burden of the server and improve the efficiency of information processing. As shown in fig. 1, the data dictionary display method includes the following steps:
s10: and acquiring a data dictionary display request on the information configuration interface, wherein the data dictionary display request comprises at least one theme to be displayed.
The information configuration interface is an interface which is displayed on the terminal device and used for configuring information, and the interface can be an information entry interface in the system. The data dictionary display request is a request for enabling the information configuration interface to display the data dictionary. The to-be-displayed subject refers to a subject which needs to be filled by a user on the information configuration interface, and the to-be-displayed subject includes, but is not limited to, gender, region and occupation in the embodiment. Specifically, the user may input a data dictionary presentation request by clicking a data presentation button on the information configuration interface. For example, when the system configures an information configuration interface of a newly registered user filling personal information, the system may obtain at least one to-be-displayed topic according to a data dictionary display request input by the user clicking a data display button, where the to-be-displayed topic includes but is not limited to gender, region, occupation, and the like.
S20: and judging whether each topic to be displayed has a corresponding local display topic in the local database or not based on at least one topic to be displayed.
The local database is a database existing in the terminal device running the application program and does not need to be connected with the server. The local database comprises at least one local display theme stored in advance. The local presentation topic is a topic pre-stored in the local database. The local display theme includes but is not limited to gender, region, occupation, and the like. Specifically, whether each topic to be displayed in the data dictionary display request has a corresponding local display topic in the local database is determined, so as to determine whether to access the server additionally to obtain the topic to be displayed. In the embodiment, the local database connected with the terminal device is set, and the local display theme is set in the local database, so that whether each theme to be displayed has a corresponding local display theme in the local database is judged, the times of accessing the server are reduced, and the performance of the server is improved.
S30: if at least one to-be-displayed theme does not have a corresponding local display theme in the local database, sending a data acquisition request to the server, wherein the data acquisition request comprises at least one target display theme, and the target display theme is the to-be-displayed theme without the corresponding local display theme.
The target display theme refers to a to-be-displayed theme without a corresponding local display theme in the local database, that is, the target display theme is the to-be-displayed theme but not the local display theme. The data acquisition request is a request for acquiring a target presentation theme from a server. Specifically, if at least one to-be-displayed theme does not have a corresponding local display theme in the local database, a data acquisition request is sent to the server, so that information corresponding to the corresponding target display theme is acquired from the server, and the improvement of an information configuration interface of the system is facilitated. In this embodiment, when a local display theme corresponding to the theme to be displayed does not exist in the local database, the data acquisition request is sent to the server, and the data acquisition request includes the target display theme, which may be beneficial to reducing the number of times of access of the server and reducing the burden of the server.
S40: and acquiring a data query result returned by the server, wherein the data query result comprises at least one target display subject and a corresponding remote option value.
The remote option value is an option value corresponding to the target presentation theme acquired from the server, for example, the target presentation theme is an operating state of a function in the system, and the remote option value may be a startup state or a disable state. The data query result is a processing result obtained after the server performs processing based on the data acquisition request. In the embodiment, the purpose of updating the local database is achieved by acquiring at least one target display theme returned by the server and the corresponding remote option value, so that the practicability is enhanced.
Further, in the case of obtaining at least one target presentation topic and a corresponding remote option value returned by the server, the data dictionary presentation method further includes the following steps: and storing the target display theme as a local display theme in a local database, and saving the remote option value as a local option value corresponding to the local display theme.
Specifically, 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 the local option value corresponding to the local display theme, so as to achieve the purpose of updating the local database and enhance the practicability.
In this embodiment, the system may further send a data request to the server at regular time to obtain the latest data and/or add a theme that does not exist in the local database, and understandably, if a local display theme that matches the target display theme returned by the server exists in the local database, the local option value corresponding to the local display theme that matches the target display theme in the local database is updated based on the remote option value corresponding to the obtained target display theme; and if the local database does not have a local display theme matched with the target display theme returned by the server, adding the acquired target display theme and the corresponding remote option value into the local database so as to achieve the purpose of updating the local database in real time and meet the increasing requirements of users.
S50: and displaying at least one target display theme and the corresponding remote option value on the information configuration interface.
Specifically, the at least one target display theme and the corresponding remote option value are displayed on the information configuration interface, so that the remote option value corresponding to the at least one target display theme and capable of being selected by the user is formed on the corresponding interface of the system formed by configuration, and the user experience is improved.
In this embodiment, a data dictionary request is acquired on an information configuration interface, so as to determine whether a corresponding local display theme exists in a local database based on at least one to-be-displayed theme in the data display request, and if the corresponding local display theme does not exist in the local database for the at least one to-be-displayed theme, a data acquisition request is sent to a server, where the data acquisition request includes at least one target display theme, so as to reduce the number of times of access to the server, reduce the load on the server, and improve the efficiency. And finally, based on a data query result returned by the server, at least one target display theme and a corresponding remote option value are further acquired and displayed on the information configuration interface, so that the aim of updating the local database is fulfilled, and the practicability is enhanced.
In a specific embodiment, when the remote option value corresponding to the local presentation theme is at least one, as shown in fig. 2, the step S50, that is, displaying the remote option value corresponding to the at least one target presentation theme on the information configuration interface, specifically includes the following steps:
s51: and if the number of the remote option values is 1, displaying the remote option values in a display area corresponding to the target display theme by default.
Wherein the presentation area is an area for displaying remote option values, which may be an area in the system for entering information. Specifically, the number of the remote option values acquired in step S40 is determined, and if the number of the remote option values is 1, the remote option values are displayed in the display area corresponding to the target display theme by default, so that the user does not need to fill in manually, time is saved, and efficiency is improved.
S52: and if the number of the remote option values is larger than 1, displaying the remote option values in a pull-down list form in a display area corresponding to the target display theme.
Specifically, if the number of the remote option values is greater than 1, the remote option values are displayed in a pull-down list form in a display area corresponding to the target display theme. Wherein the drop down list is a list generated by calling a combo common component of the easy ui. Easy UI is a plug-in assembly of a group of jQuery-based user interfaces, and a Combo assembly is a self-defined drop-down list assembly, so that the system has the advantages of simplicity in use and interface space saving. In this embodiment, a drop-down list is generated from at least one remote option value by calling a Combo common component of the easy ui, so as to achieve the purposes of saving interface space and facilitating user operation.
In this embodiment, the remote option values are presented in different forms according to the number of the remote option values. If the number of the remote option values is 1, displaying the remote option values in a display area corresponding to the target display theme by default so that a user does not need to fill in the remote option values manually, time is saved, and efficiency is improved. If the number of the remote option values is larger than 1, the remote option values are displayed in a pull-up list form in a display area corresponding to the target display theme, so that the purposes of saving interface space and facilitating user operation are achieved.
In this embodiment, a data dictionary request is acquired on an information configuration interface, so as to determine whether a corresponding local display theme exists in a local database based on at least one to-be-displayed theme in the data display request, and if the corresponding local display theme does not exist in the local database for the at least one to-be-displayed theme, a data acquisition request is sent to a server, where the data acquisition request includes at least one target display theme, so as to reduce the number of times of access to the server, reduce the load on the server, and improve the efficiency. And finally, based on a data query result returned by the server, at least one target display theme and a corresponding remote option value are further acquired and displayed on the information configuration interface, so that the aim of updating the local database is fulfilled, and the practicability is enhanced. If at least one theme to be displayed has a corresponding local display theme in the local database, directly displaying a local option value corresponding to the local display theme on the information configuration interface so as to reduce the access times of the server, reduce the burden of the server and improve the efficiency.
In a specific embodiment, as shown in fig. 3, after step S20, the data dictionary presenting method further includes the following steps:
s60: and if at least one theme to be displayed has a corresponding local display theme in the local database, displaying a local option value corresponding to the local display theme on the information configuration interface.
The local option value is an option value which is stored in a local database and corresponds to the local display theme. Specifically, if at least one to-be-displayed theme 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 without accessing the server, so that the burden of the server is reduced, and the system operation efficiency is improved.
In this embodiment, if the obtained local option value corresponding to the local display theme is equal to 1, the local option value is displayed in a display area corresponding to the local display theme by default. And if the obtained local option value corresponding to the local display theme is larger than 1, displaying the local option value in a drop-down list mode in a display area corresponding to the local display theme so as to achieve the purposes of saving interface space and facilitating user operation.
In a specific embodiment, when the personal information of the user needs to be managed in the system, a configuration interface for the user to fill in the personal information needs to be configured, and a user information base for storing the personal information of the user is arranged in the local database. The user information base is a database which stores personal information of users, and the user information base 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 method includes the following steps:
s61: and inquiring a user information base based on the target user ID to acquire user information corresponding to the target user ID.
The target user is a user who wants to acquire personal information. The target user ID is a unique identifier for identifying the target user, and the target user ID may be an identifier such as a mobile phone number or an identification number of the target user. Specifically, the user information base includes user information of at least one user, including but not limited to name, gender, region, age, and the like. And querying the user information in the user information base through the target user ID to acquire the user information corresponding to the target user ID.
S62: and acquiring a local option value corresponding to the local display theme from the user information.
In this embodiment, when the user registers with the system, he or she fills in a personal profile table that includes local display topics, such as gender and region, that the user is required to fill in. Each local exhibition subject corresponds to at least one local option value, for example, the local exhibition subject such as gender corresponds to two local option values of male or female, the user needs to perfect each local exhibition subject to be filled, and when the user fills the personal profile table, the user clicks and saves the personal profile table, and then the personal profile table filled by the user can be stored in the user information base. For example, when a user fills in an information table of an entry test, if the table contains a local display topic (such as gender or region) related to user information, which needs to be filled by the user, the system directly reads the user information base of the user to obtain the user information, and obtains a local option value corresponding to the local display topic, which is filled by the user in advance, from the user information base.
In the embodiment, the user information base is inquired based on the target user ID, the user information corresponding to the target user ID is obtained, the local option value corresponding to the local display theme is obtained from the user information, the obtained local option value is mapped to the display area corresponding to the local display theme in the information table to be filled by the user currently, the user information does not need to be filled by the user again in the process, the system can directly read the personal information in the local database, and the input efficiency of the user information is improved.
In another specific embodiment, when the local option values corresponding to the local presentation topic are at least two, as shown in fig. 5, the step S62 of presenting the local option value corresponding to the local presentation topic specifically includes the following steps:
s621: at least one local option value corresponding to a local presentation topic is obtained.
Specifically, the system may obtain at least one local option value corresponding to the local exhibition subject, for example, in the past month, the living area (i.e., the local exhibition subject) selected by the user is beijing (local option value), but in the current month, because the user needs to change the living area due to the user's own condition, the living area (local exhibition subject) selected by the user is shanghai (local option value), and then beijing (local option value) and shanghai (local option value) corresponding to the living area (local exhibition subject) are local option values.
S622: and counting the selected times of each local option value.
Specifically, the number of times of selection of each local option value of the user in a preset period is counted in real time and stored in the local database. It will be appreciated that the local database includes fields for local presentation topics, corresponding local option values and the number of times the local option value is selected. The system counts the selected times of each local option value in a period of time in real time, and fills the counted selected times into the selected times field of the local option values in the local database. In this embodiment, the preset period is defined by a system administrator.
S623: and sorting the selected times of all the local option values, and displaying the local option value corresponding to the local display subject based on the sorting result.
Specifically, the selected times of all the local option values are sorted from large to small, and the local option values corresponding to the local display topics with the selected times ranked at the top N (where N is an integer greater than 1) are displayed, so as to increase the rendering speed of the interface.
In the embodiment, at least one local option value corresponding to a local display theme is acquired to count the number of times of selection of each local option value, then the number of times of selection of all the local option values is sorted, and the local option value corresponding to the local display theme is displayed based on the sorting result, so that a user can directly select the local option value recommended by the system, the number of times of selection or filling operation of the user is reduced, and the efficiency is improved.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Example 2
Fig. 6 is a schematic block diagram of a data dictionary presentation apparatus corresponding to the data dictionary presentation method in one-to-one in embodiment 1. As shown in fig. 6, the data dictionary presentation apparatus includes a data dictionary presentation request obtaining module 10, a to-be-presented theme judging module 20, a data acquisition request sending module 30, a data query result obtaining module 40, and a remote option value presentation module 50. The implementation functions of the data dictionary display request obtaining module 10, the to-be-displayed subject determining module 20, the data obtaining request sending module 30, the data query result obtaining module 40, and the remote option value displaying module 50 correspond to the steps corresponding to the data dictionary display method in embodiment 1 one to one, and for avoiding redundant description, detailed descriptions are not needed in this embodiment.
The data dictionary display request obtaining module 10 is configured to obtain, on the information configuration interface, a data dictionary display request, where the data dictionary display request includes at least one theme to be displayed.
The to-be-displayed theme judging module 20 is configured to judge whether each to-be-displayed theme has a corresponding local display theme in the local database based on at least one to-be-displayed theme.
The data obtaining request sending module 30 is configured to send a data obtaining request to the server if at least one to-be-displayed theme does not have a corresponding local display theme in the local database, where the data obtaining request includes at least one target display theme, and the target display theme is a to-be-displayed theme without a corresponding local display theme.
And the data query result acquisition module 40 is configured to acquire a data query result returned by the server, where the data query result includes at least one target display topic and a corresponding remote option value.
And the remote option value display module 50 displays the remote option value corresponding to the at least one target display theme on the information configuration interface.
Preferably, the remote option value presentation module 50 includes a remote option value default presentation unit 51 and a remote option value presentation unit 52.
The remote option value default display unit 51 is configured to display the remote option value in a default display area corresponding to the target display theme if the number of the remote option values is 1.
And the remote option value display unit 52 is configured to display the remote option values in a pull-down list form in a display area corresponding to the target display theme if the number of the remote option values is greater than 1.
Preferably, the data dictionary presenting apparatus further includes a local option value presenting module 60.
The local option value display module 60 is configured to, when at least one to-be-displayed topic has a corresponding local display topic in the local database, display a local option value corresponding to the local display topic on the information configuration interface.
Preferably, the local option value presentation 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, when at least one to-be-displayed topic has a corresponding local display topic in the local database, query the user information base based on the target user ID, and obtain user information corresponding to the target user ID.
A local option value obtaining unit 62, configured to obtain a local option value corresponding to the local display topic from the user information.
Preferably, the local option value acquiring unit 62 includes a local option value acquiring sub-unit 621, a local option value counting sub-unit 622, and a local option value presenting sub-unit 623.
The local option value obtaining subunit 621 is configured to obtain at least one local option value corresponding to the local presentation topic.
The local option value statistics subunit 622 is configured to count the number of times each local option value is selected.
And a local option value presentation subunit 623, configured to rank the selected times of all the local option values, and present a local option value corresponding to the local presentation topic based on a ranking result.
Example 3
This embodiment provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the method for displaying a data dictionary in embodiment 1 is implemented, and details are not repeated here to avoid repetition. Alternatively, the computer program, when executed by the processor, implements the functions of each module/unit in the data dictionary presentation apparatus in embodiment 2, and is not described herein again to avoid repetition.
Example 4
Fig. 7 is a schematic diagram of a terminal device according to an embodiment of the present invention. As shown in fig. 7, the terminal device 70 of this embodiment includes: a processor 71, a memory 72, and a computer program 73 stored in the memory 72 and executable on the processor 71. The processor 71 executes the computer program 73 to implement the steps in the above-mentioned data dictionary display method embodiments, such as the steps S10 to S50 shown in fig. 1. Alternatively, the processor 71, when executing the computer program 73, implements the functions of the various modules/units in the various device embodiments described above, such as the functions of the modules 10 to 60 shown in fig. 6.
Illustratively, the computer program 73 may be divided into one or more modules/units, which are stored in the memory 72 and executed by the processor 71 to carry out the invention. One or more of the modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 73 in the terminal device 70. For example, the computer program 73 may be divided into the functions of the data dictionary presentation request acquisition module 10, the to-be-presented subject determination module 20, the data acquisition request transmission module 30, the data query result acquisition module 40, and the remote option value presentation module 50.
The terminal device 70 may be a computing device such as a desktop computer, a notebook, a palm computer, and a cloud server. The terminal equipment may include, but is not limited to, a processor 71, a memory 72. Those skilled in the art will appreciate that fig. 7 is merely an example of a terminal device 70 and does not constitute a limitation of terminal device 70 and may include more or fewer components than shown, or some components may be combined, or different components, e.g., the terminal device may also include input-output devices, network access devices, buses, etc.
The Processor 71 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 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 Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, 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 for storing computer programs and other programs and data required by the terminal device. The memory 72 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a 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. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media which may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (7)

1. A method for displaying a data dictionary, comprising:
acquiring a data dictionary display request on an information configuration interface, wherein the data dictionary display request comprises at least one to-be-displayed theme and a target user ID;
judging whether each theme to be displayed has a corresponding local display theme in a local database based on at least one theme to be displayed, wherein the local database comprises a user information base;
if at least one to-be-displayed theme does not have a corresponding local display theme in a local database, sending a data acquisition request to a server, wherein the data acquisition request comprises at least one target display theme, and the target display theme is a to-be-displayed theme without a corresponding local display theme;
acquiring a data query result returned by the server, wherein the data query result comprises at least one target display theme and a corresponding remote option value;
displaying at least one target display theme and the corresponding remote option value according to the number of the remote option values on the information configuration interface;
storing the target display theme as the local display theme in the local database, and saving the remote option value as a local option value corresponding to the local display theme;
if at least one to-be-displayed theme has a corresponding local display theme in a local database, inquiring the user information base based on the target user ID to acquire user information corresponding to the target user ID; acquiring a local option value corresponding to the local display theme from the user information; and displaying a local option value corresponding to the local display theme on the information configuration interface.
2. The data dictionary presentation method of claim 1, wherein said presenting local option values corresponding to said local presentation topic comprises:
acquiring at least one local option value corresponding to the local display theme;
counting the selected times of each local option value;
and sorting the selected times of all the local option values, and displaying the local option value corresponding to the local display theme based on a sorting result.
3. The data dictionary presentation method of claim 1, wherein said presenting the remote option values corresponding to at least one of the target presentation topics and the corresponding target presentation topics on the information configuration interface comprises:
if the number of the remote option values is 1, displaying the remote option values in a display area corresponding to the target display theme by default;
and if the number of the remote option values is larger than 1, displaying the remote option values in a pull-down list form in a display area corresponding to the target display theme.
4. The data dictionary presentation method of claim 1, wherein after the step of presenting the remote option value corresponding to at least one of the target presentation topics and the target presentation topic on the information configuration interface, the data dictionary presentation method further comprises:
and storing the target display theme as a local display theme in the local database, and saving the remote option value as a local option value corresponding to the local display theme.
5. A data dictionary presentation device is characterized by comprising the following steps:
the data dictionary display request acquisition module is used for acquiring a data dictionary display request on an information configuration interface, wherein the data dictionary display request comprises at least one theme to be displayed and a target user ID;
the system comprises a to-be-displayed theme judging module, a to-be-displayed theme judging module and a display module, wherein the to-be-displayed theme judging module is used for judging whether each to-be-displayed theme has a corresponding local display theme in a local database based on at least one to-be-displayed theme, and the local database comprises a user information base;
a data obtaining request sending module, configured to send a data obtaining request to a server when at least one to-be-displayed topic does not have a corresponding local display topic in a local database, where the data obtaining request includes at least one target display topic, and the target display topic is a to-be-displayed topic where no corresponding local display topic exists;
the data query result acquisition module is used for acquiring a data query result returned by the server, wherein the data query result comprises at least one target display theme and a corresponding remote option value;
the remote option value display module is used for displaying at least one target display theme and the corresponding remote option value according to the number of the remote option values on the information configuration interface; storing the target display theme as the local display theme in the local database, and saving the remote option value as a local option value corresponding to the local display theme;
a local option value display module, configured to, when at least one to-be-displayed topic has a corresponding local display topic in a local database, query the user information base based on the target user ID to obtain user information corresponding to the target user ID; acquiring a local option value corresponding to the local display theme from the user information; and displaying a local option value corresponding to the local display theme on the information configuration interface.
6. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the data dictionary presentation method according to any one of claims 1 to 4 when executing the computer program.
7. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the data dictionary presentation method according to any one of claims 1 to 4.
CN201711430269.3A 2017-12-26 2017-12-26 Data dictionary display method and device, terminal equipment and storage medium Active CN108153877B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201711430269.3A CN108153877B (en) 2017-12-26 2017-12-26 Data dictionary display method and device, terminal equipment and storage medium
PCT/CN2018/073749 WO2019127772A1 (en) 2017-12-26 2018-01-23 Data dictionary display method and device, terminal device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711430269.3A CN108153877B (en) 2017-12-26 2017-12-26 Data dictionary display method and device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108153877A CN108153877A (en) 2018-06-12
CN108153877B true CN108153877B (en) 2021-03-12

Family

ID=62463053

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711430269.3A Active CN108153877B (en) 2017-12-26 2017-12-26 Data dictionary display method and device, terminal equipment and storage medium

Country Status (2)

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

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109033379B (en) * 2018-07-27 2022-05-31 四川爱创科技有限公司 Raw material information management method and system suitable for coffee machine
CN110888931B (en) * 2019-10-30 2022-05-20 南京领行科技股份有限公司 Data display method and device, server, terminal equipment and readable storage medium
CN111159278B (en) * 2019-12-30 2023-07-14 新浪技术(中国)有限公司 Data display method and device, electronic equipment and computer readable storage medium
CN116700725B (en) * 2023-08-04 2023-10-31 太平金融科技服务(上海)有限公司 Page generation method, page generation device, computer equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103838781A (en) * 2012-11-27 2014-06-04 中兴通讯股份有限公司 Database access method and system
CN104951565A (en) * 2015-07-10 2015-09-30 上海斐讯数据通信技术有限公司 XML configuration maintenance method and system based on memory database

Family Cites Families (8)

* 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
US7403934B2 (en) * 2003-06-10 2008-07-22 Sbc Properties, L.P. Script generator for automating system administration operations
CN101930443B (en) * 2009-06-22 2012-12-19 金蝶软件(中国)有限公司 Data service system and data service realization method
CN104331290B (en) * 2014-10-31 2017-10-17 北京思特奇信息技术股份有限公司 A kind of resource category management and the method and system of page presentation
CN106547898A (en) * 2016-10-27 2017-03-29 北京锐安科技有限公司 A kind of data processing method and device of distributed data base
CN107316207B (en) * 2017-06-19 2021-03-16 北京小米移动软件有限公司 Method and device for acquiring display effect information
CN107330059A (en) * 2017-06-29 2017-11-07 珠海市魅族科技有限公司 A kind of information displaying method, relevant device and computer-readable recording medium
CN107491562A (en) * 2017-09-25 2017-12-19 四川长虹电器股份有限公司 The method of Dynamic Announce web data attribute status

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103838781A (en) * 2012-11-27 2014-06-04 中兴通讯股份有限公司 Database access method and system
CN104951565A (en) * 2015-07-10 2015-09-30 上海斐讯数据通信技术有限公司 XML configuration maintenance method and system based on memory database

Also Published As

Publication number Publication date
WO2019127772A1 (en) 2019-07-04
CN108153877A (en) 2018-06-12

Similar Documents

Publication Publication Date Title
CN108153877B (en) Data dictionary display method and device, terminal equipment and storage medium
US10534635B2 (en) Personal digital assistant
WO2017114116A1 (en) Method, apparatus and device for managing functional icon of application program of terminal
US20200333930A1 (en) Information processing method, terminal, server, and computer storage medium
CN109508218B (en) APP message pushing display control method, device, equipment and storage medium
CN109558384B (en) Log classification method, device, electronic equipment and storage medium
CN109359142A (en) A kind of data processing method, data processing equipment, computer equipment and readable storage medium storing program for executing
WO2019041500A1 (en) Pagination realization method and device, computer equipment and storage medium
JP2014518418A (en) System and method for recommending fonts
CN113849748A (en) Information display method and device, electronic equipment and readable storage medium
CN109711190A (en) Tables of data batch authorization method and device
CN109933595B (en) Internet of things equipment information sharing system and device and terminal equipment
CN109634986B (en) System monitoring method, device, computer and computer readable storage medium
CN108062401B (en) Application recommendation method and device and storage medium
CN109525951A (en) Junk short message processing method, device and equipment
CN108319721B (en) Application program recommendation method and device, user terminal and server
CN112487067A (en) Method, device and storage medium for page display based on data configuration
CN109828902B (en) Interface parameter determining method and device, electronic equipment and storage medium
EP3923164A2 (en) Method and apparatus of presenting information, electronic device and storage medium
JP2022106948A (en) Information display method, device, electronic apparatus, storage media, and computer program
CN115543317A (en) Front-end page development method and device
CN111552715B (en) User query method and device
US9922139B2 (en) Method and device for data screening
CN112947918A (en) Data display method and device
CN110858201A (en) Data processing method and system, processor and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant