CN116719892A - Data display method, device, computer equipment and storage medium - Google Patents

Data display method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN116719892A
CN116719892A CN202310627359.0A CN202310627359A CN116719892A CN 116719892 A CN116719892 A CN 116719892A CN 202310627359 A CN202310627359 A CN 202310627359A CN 116719892 A CN116719892 A CN 116719892A
Authority
CN
China
Prior art keywords
page
acquisition
information
template
display
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.)
Pending
Application number
CN202310627359.0A
Other languages
Chinese (zh)
Inventor
袁飞
沈金
赵宁
高炎秋
龚挺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial Bank Co Ltd
CIB Fintech Services Shanghai Co Ltd
Original Assignee
Industrial Bank Co Ltd
CIB Fintech Services Shanghai 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 Industrial Bank Co Ltd, CIB Fintech Services Shanghai Co Ltd filed Critical Industrial Bank Co Ltd
Priority to CN202310627359.0A priority Critical patent/CN116719892A/en
Publication of CN116719892A publication Critical patent/CN116719892A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • G06F16/285Clustering or classification
    • G06F16/287Visualization; Browsing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Abstract

The application relates to a data display method, a data display device, computer equipment and a storage medium. The method comprises the following steps: responding to an acquisition instruction, displaying an acquisition page, and storing acquisition information input on the acquisition page; the acquisition page is rendered based on a preconfigured custom template, and the custom template comprises page structure information; responding to the inquiry instruction, and assembling a display form according to the page structure information; and rendering the display form according to the acquired information and displaying the display form. The method can flexibly adjust the acquisition page and the display page, shortens the page development time and reduces the development cost.

Description

Data display method, device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer processing technologies, and in particular, to a data display method, apparatus, computer device, and storage medium.
Background
The information collection is to collect the required data by acquiring the content filled in by the user through the network page, and then to recycle and sort the data for the collector to review or analyze.
In order to acquire accurate data, the setting of the acquisition page is critical, and the current setting of the acquisition page is mainly communicated with service personnel through developers, the service personnel provide requirements, and the developers develop the acquisition page and the display page. The adjustment of the page needs a development mode executed by a developer, the content of the acquisition page and the content of the display page are relatively fixed, and the adjustment cannot be flexibly carried out according to new services.
Disclosure of Invention
Based on the above, it is necessary to provide a data display method, device, computer equipment and storage medium for solving the problems that in the conventional technology, the adjustment of the page needs a development mode executed by a developer, the content of the acquisition page and the display page is relatively fixed, and flexible adjustment cannot be performed according to new services.
In a first aspect, the present application provides a data display method. The method comprises the following steps:
responding to an acquisition instruction, displaying an acquisition page, and storing acquisition information input on the acquisition page; the acquisition page is rendered based on a preconfigured custom template, and the custom template comprises page structure information;
responding to the inquiry instruction, and assembling a display form according to the page structure information;
and rendering the display form according to the acquired information and displaying the display form.
In one embodiment, pre-configuring the custom template includes:
responding to the page configuration instruction, and displaying a configuration page; the configuration page comprises a plurality of acquisition items capable of adding target objects;
for any one acquisition item, when a target object input on the acquisition item is received, associating the target object with the acquisition item;
and responding to an addition ending instruction, and storing target objects corresponding to the acquisition items into a database to form the custom template.
In one embodiment, each of the collection items includes a plurality of template elements, each of the template elements includes element content and element types, and each of the collection items is preconfigured with location information, and the element types are preconfigured with verification rules;
the step of storing the target object corresponding to each acquisition item in a database includes:
saving the input element content and the position information corresponding to the acquisition item to a database, and
according to the selected element type, storing a verification rule corresponding to the element type into a database;
wherein the element types include any one or more of text, number, date, phone, radio, and compound; when the element type is composite, the template element includes at least one sub-element.
In one embodiment, before storing the collection information input on the collection page, the method includes:
and checking the input acquisition information according to the checking rule of the custom template, and storing the successful checking result into the database.
In one embodiment, the page structure information includes identification information, element content, and element type;
the step of assembling the display form according to the page structure information comprises the following steps:
acquiring a corresponding initial form according to the identification information;
analyzing the page structure information as page elements, and loading each page element onto the initial form to form the display form.
In one embodiment, when the element type is composite, the template element includes at least one sub-element when the element type is composite;
the analyzing the page structure information as page elements, loading each page element onto the initial form to form the display form, including:
analyzing the element types to obtain nesting relations among the sub-elements;
determining the loading position of the element content corresponding to each sub-element according to the nesting relationship;
analyzing the element content corresponding to each sub-element into a page element meeting the field attribute requirement of the initial form;
and loading page elements meeting the field attribute requirements of the initial form onto the initial form according to the loading position to form the display form.
In a second aspect, the application further provides a data display device. The device comprises:
the data filling module is used for responding to the acquisition instruction, displaying an acquisition page and storing acquisition information input on the acquisition page; the acquisition page is rendered based on a preconfigured custom template, and the custom template comprises page structure information;
the form assembly module is used for responding to the query instruction and assembling the display form according to the page structure information;
and the display module is used for rendering the display form according to the acquired information and displaying the display form.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor implementing the method steps of any of the first aspects when the processor executes the computer program.
In a fourth aspect, the present application also provides a computer-readable storage medium. The computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method steps of any of the first aspects.
In a fifth aspect, the present application also provides a computer program product. The computer program product comprising a computer program which, when executed by a processor, implements the method steps of any of the first aspects.
The data display method, the data display device, the computer equipment and the storage medium have at least the following advantages:
the application can self-define the acquisition page according to the service requirement; and after receiving the acquisition information input by the user, storing an acquisition page and the acquisition information. After receiving the inquiry command, assembling a display form according to the page structure information, and rendering the acquired information to the display form for the acquisition party to review or analyze. The application can flexibly adjust the acquisition page and the display page, shortens the page development time and reduces the development cost.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application.
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is an application environment diagram of a data display method in one embodiment;
FIG. 2 is a flow chart of a method of displaying data in one embodiment;
FIG. 3 is a flow chart illustrating steps for configuring custom templates in one embodiment;
FIG. 4 is a schematic diagram of a configuration page in one embodiment;
FIG. 5 is a schematic diagram of a configuration page in another embodiment;
FIG. 6 is a block diagram showing the structure of a data display device in one embodiment;
fig. 7 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
Other advantages and effects of the present application will become apparent to those skilled in the art from the following disclosure, which describes the embodiments of the present application with reference to specific examples. The application may be practiced or carried out in other embodiments that depart from the specific details, and the details of the present description may be modified or varied from the spirit and scope of the present application. It should be noted that the following embodiments and features in the embodiments may be combined with each other without conflict.
Some exemplary embodiments of the application have been described for illustrative purposes, it being understood that the application may be practiced otherwise than as specifically shown in the accompanying drawings.
The data display method provided by the embodiment of the application can be applied to an application environment shown in fig. 1. Wherein the terminal 102 communicates with the server 104 via a network. The data storage system may store data that the server 104 needs to process. The data storage system may be integrated on the server 104 or may be located on a cloud or other network server.
The terminal 102 may send an acquisition instruction or a query instruction to the server 104, so that the server 104 processes the acquisition instruction or the query instruction, for example, the server 104 responds to the acquisition instruction, displays an acquisition page, and stores acquisition information input on the acquisition page; the acquisition page is rendered based on a preconfigured custom template, and the custom template comprises page structure information. The server 104 also responds to the inquiry instruction and assembles a display form according to the page structure information; and rendering and displaying a display form according to the acquired information.
The data display method can self-define the acquisition page according to the service requirement; and after receiving the acquisition information input by the user, storing an acquisition page and the acquisition information. After receiving the inquiry command, assembling a display form according to the page structure information, and rendering the acquired information to the display form for the acquisition party to review or analyze. The application can flexibly adjust the acquisition page and the display page, shortens the page development time and reduces the development cost.
The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, internet of things devices, and portable wearable devices, where the internet of things devices may be smart speakers, smart televisions, smart air conditioners, smart vehicle devices, and the like. The portable wearable device may be a smart watch, smart bracelet, headset, or the like. The server 104 may be implemented as a stand-alone server or as a server cluster of multiple servers.
In a possible embodiment, the embodiment of the present application provides a data display method, and the following description will take the application of the method to the server in fig. 1 as an example.
Referring to fig. 2, fig. 2 is a flow chart of a data display method according to the present embodiment, which specifically includes the following steps:
step S202, responding to an acquisition instruction, displaying an acquisition page, and storing acquisition information input on the acquisition page; the acquisition page is rendered based on a preconfigured custom template, and the custom template comprises page structure information.
Step S204, responding to the inquiry instruction, and assembling the display form according to the page structure information.
And step S206, rendering and displaying the form according to the acquired information.
Specifically, the acquisition instruction and the query instruction are triggered based on the operation of the user on the front-end page, for example, the user selects an option related to the acquisition page on the front-end page, namely, triggers to generate the acquisition instruction, and the server responds to the acquisition instruction and jumps to a corresponding address to display the acquisition page for the user. The collection page comprises a plurality of collection items for editing by a user, the user can input, modify, delete and the like on each collection item, and after the user finishes inputting and clicking and storing all the collection items on the collection page, the server stores the input collection information into the database. When the user selects the option related to the query collection information on the front-end page, namely triggering to generate a query instruction, the server searches the corresponding page structure information from the database according to the query instruction, and assembles the display form according to the page structure information. Further, the page structure information characterizes the page information of the user-defined template configured by the user according to the need, and mainly comprises identification information, element content and element types. It should be understood that there may be multiple custom templates, and each custom template may be associated with unique identification information, based on which the custom templates, acquisition pages, and display forms may be associated.
The data display method can self-define the acquisition page according to the service requirement; and after receiving the acquisition information input by the user, storing an acquisition page and the acquisition information. After receiving the inquiry command, assembling a display form according to the page structure information, and rendering the acquired information to the display form for the acquisition party to review or analyze. The application can flexibly adjust the acquisition page and the display page, shortens the page development time and reduces the development cost.
Referring to fig. 3, optionally, pre-configuring the custom template includes:
step S302, responding to a page configuration instruction, and displaying a configuration page; the configuration page comprises a plurality of acquisition items capable of adding target objects;
step S304, for any one acquisition item, when receiving a target object input on the acquisition item, associating the target object with the acquisition item;
step S306, in response to the addition ending instruction, storing the target object corresponding to each acquisition item into a database to form a custom template.
Specifically, each definition template is constructed by a plurality of base components, and each base component is preset according to development requirements. When the user-defined template is used, the user selects proper basic components and adds corresponding contents on each basic component, and the server generates the user-defined template according to the user selection result and the added contents. In particular, in this embodiment, the user may select the above base component through the configuration page, and each base component is a plurality of collection items capable of adding the target object. It should be noted that, the target object may be filled in by the user, or may be selected from preset options.
Further, because of different business scenes, the types of the page configuration instructions can be multiple, the configuration pages can be preset according to different types of the page configuration instructions, the identifiers or names of different configuration pages are different, and acquisition items which can be provided by different configuration pages are also different. For example, if the type corresponding to the page configuration instruction is a questionnaire of training satisfaction, correspondingly displaying acquisition items related to training for filling by a user; and if the type corresponding to the page configuration instruction is basic information of the staff, correspondingly displaying acquisition items related to the staff for filling by a user.
Optionally, each acquisition item includes a plurality of template elements, each template element includes element content and element type, and each acquisition item is preconfigured with location information, and the element type is preconfigured with a verification rule.
Storing the target object corresponding to each acquisition item to a database, wherein the method comprises the following steps:
saving the input element content and the position information corresponding to the acquisition item to a database, and
and storing the verification rule corresponding to the element type into a database according to the selected element type.
Wherein the element types include any one or more of text, number, date, telephone, radio, and compound; when the element type is composite, the template element includes at least one sub-element.
Referring to fig. 4 and 5, fig. 4 and 5 show configuration pages of employee basic information in one possible embodiment, and for convenience of understanding, the following description will be given with reference to fig. 4 and 5 of the operation procedure of the configuration pages: the collection items in fig. 4 include template names, departments and usage categories, and each collection item is successfully added with a target object on a configuration page, and after the target object is stored in a database to form a custom template, the template names, departments or usage categories can be used as identification information of the custom template. Further, the configuration page in fig. 4 also provides a collection item including a plurality of template elements, and a user can add or delete any template element as required. Specifically, each template element includes element content and element type. In a possible embodiment, the target object added by the user in the element content of the template element 1 is a name, the element type is selected as a text box, further, the element type can configure a verification rule according to the selection result, for example, when the selection result of the element type is a text box, the verification rule can be set as a text, and the length of the text is less than 200 words; the verification rule is used for verifying whether the acquired information input by the user is correct or not in the acquired page, and reminding the user of filling in errors if the acquired information input by the user is numbers or letters. In another possible embodiment, the target object added by the user in the element content of the template element 2 is "gender", and the element type is selected as "single selection", so that the template element further comprises an element value field, and the sequence number a can be set as "male", and the sequence number B can be set as "female"; then the input of the acquisition information can be completed by selecting 'men' or 'women' through the pull-down key in the gender column of the acquisition page.
Further, when the element type is composite, the template element in fig. 5 includes at least one sub-element. For example, when the target object added in the element content of the template element 4 is a "family member" and the element type is selected to be "composite", the template element further includes a sub-element 1, the target object added in the sub-element content thereof is a "relationship", the sub-element type is selected to be "single-selected", the sequence number a of the sub-element value range is set to be "spouse", the sequence number B is set to be "parent", the sequence number C is set to be "child", and the sub-element 2, the sub-element 3 and the sub-element 4 are continuously added based on the sub-element 1, so that the addition of the target objects such as the name, the sex, the work/study unit and the like is completed.
Further, each acquisition item corresponds to position information, for example, in fig. 4, the template element 1 is located above the template element 2, and accordingly, in an acquisition page rendered based on the custom template, the column of "name" is also located above the column of "gender". Alternatively, it may be defined that the template element 1 and the template element 2 are located in the same row, and the template element 1 is located at the left side of the template element 2, and accordingly, the "name" column and the "gender" column in the acquisition page are located in the same row, and the "name" column is located at the left side of the "gender" column.
By adopting the scheme, a custom template can be formed according to the requirement by adding the proper target object into each acquisition item, and the position of each acquisition item corresponds to the position in the acquisition page rendered based on the custom template. Meanwhile, sub-elements can be added in the template elements through different selections of element types, so that the addition of the target objects of the nested information is completed.
Optionally, before saving the collection information input on the collection page, the method includes:
and checking the input acquisition information according to the checking rule of the custom template, and storing the successful checking result into a database.
Specifically, the verification rule of the custom template is the verification rule corresponding to the element type, after the collected information input by the user is received, the collected information is verified, and if the verification fails, the user is reminded of inputting errors, so that the input of invalid information is avoided.
Optionally, the page structure information includes identification information element content and element type, and the display form is assembled according to the page structure information, including:
acquiring a corresponding initial form according to the identification information;
analyzing the page structure information as page elements, and loading each page element onto the initial form to form a display form.
Specifically, the initial form may be set to be plural according to the application scenario. And selecting a corresponding form from a plurality of pre-stored initial forms according to the identification information, wherein it is understood that the initial state of the form is empty. It should be understood that the page structure information characterizes the page information of the custom template formed in the above embodiment, and each acquisition item in the custom template corresponds to an added target object. By parsing the page structure information, a plurality of page elements can be obtained. Illustratively, by parsing the custom template formed in fig. 4, page elements such as "name", "gender", "age" and the like can be obtained from the parsed page structure information, and by loading the above page elements onto the initial form, a display form can be formed.
Optionally, when the element type is composite, analyzing the page structure information as page elements, and loading each page element onto the initial form to form a display form, including:
analyzing element types and obtaining nesting relations among all sub-elements;
determining loading positions of element contents corresponding to all sub-elements according to the nesting relationship;
analyzing the content of each element into page elements meeting the field attribute requirements of the initial form;
and loading the page elements meeting the field attribute requirements of the initial form onto the initial form according to the loading position.
Specifically, when the element type is composite, the template element includes at least one sub-element, and at this time, the element type needs to be analyzed, so as to obtain the nesting relationship between the sub-elements. And determining the loading position of the target object in each sub-element according to the nesting relationship. Illustratively, for the template element 4 in fig. 4, which includes the sub-elements 1-4, the template element 4 is located at a first level, and the sub-elements 1-4 are located at a second level below the first level, and the sub-elements 1-4 are in a parallel relationship. Further, according to the field attribute in the initial form, analyzing each element content, for example, if the length of one element content is greater than the maximum length required in the field attribute, extracting the keyword according to the preset rule, and replacing the original element content with the keyword. And finally, loading the content of each element to the corresponding position of the initial form to form a display form.
Further, the acquired information is extracted from the database, rendered to the corresponding position of the display form, and displayed to the user. It should be understood that the location where information is collected corresponds one-to-one to the location of the element content.
In order to enable those skilled in the art to fully understand the present application, the following describes the steps of the data display method of the present application in detail:
the application firstly responds to a page configuration instruction, and displays a configuration page comprising a plurality of acquisition items capable of adding target objects. For any one acquisition item, when a target object input on the acquisition item is received, the target object is associated with the acquisition item. Each acquisition item comprises a plurality of template elements, each template element comprises element content and element types, each acquisition item is pre-configured with position information, and each element type is pre-configured with a verification rule; and responding to the addition ending instruction, storing the input element content and the position information corresponding to the acquisition item into a database, and storing the verification rule corresponding to the element type into the database according to the selected element type to form a custom template. Wherein the element types include any one or more of text, number, date, telephone, radio, and compound; when the element type is composite, the template element includes at least one sub-element.
Further, the application responds to the acquisition instruction and renders according to the self-defined template to obtain an acquisition page; and displaying the acquisition page to a user. When the acquisition information input by the user is received, the input acquisition information is checked according to the check rule of the custom template, and the check is successfully saved to the database.
Further, the application responds to the inquiry instruction and assembles the display form according to the page structure information. Wherein the page structure information includes identification information element content and element type. Specifically, assembling a display form according to page structure information, including: and acquiring a corresponding initial form according to the identification information, analyzing the page structure information as page elements, and loading each page element onto the initial form to form a display form. If the element type is composite, analyzing the page structure information as page elements, loading each page element onto an initial form to form a display form, wherein the method comprises the following steps: analyzing element types and obtaining nesting relations among all sub-elements; determining loading positions of element contents corresponding to all sub-elements according to the nesting relationship; analyzing the content of each element into page elements meeting the field attribute requirements of the initial form; and loading the page elements meeting the field attribute requirements of the initial form onto the initial form according to the loading position.
And finally, rendering and displaying a display form according to the acquired information.
The data display method can self-define the acquisition page according to the service requirement; and after receiving the acquisition information input by the user, storing an acquisition page and the acquisition information. After receiving the inquiry command, assembling a display form according to the page structure information, and rendering the acquired information to the display form for the acquisition party to review or analyze. The application can flexibly adjust the acquisition page and the display page, shortens the page development time and reduces the development cost.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a data display device for realizing the above related data display method. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation in one or more embodiments of the data display device provided below may refer to the limitation of the data display method hereinabove, and will not be repeated herein.
Referring to fig. 6, in one possible embodiment, the present application provides a data display device, including: the system comprises a data filling module, a form assembling module and a display module, wherein:
the data filling module is used for responding to the acquisition instruction, displaying an acquisition page and storing acquisition information input on the acquisition page; the acquisition page is rendered based on a preconfigured custom template, and the custom template comprises page structure information;
the form assembly module is used for responding to the query instruction and assembling the display form according to the page structure information;
and the display module is used for rendering a display form according to the acquired information and displaying the display form.
Optionally, the data display device of the embodiment of the present application further includes a configuration module, configured to display a configuration page in response to a page configuration instruction; the configuration page comprises a plurality of acquisition items capable of adding target objects; for any one acquisition item, when receiving a target object input on the acquisition item, associating the target object with the acquisition item; and responding to the addition ending instruction, and storing the target object corresponding to each acquisition item into a database to form a custom template.
Optionally, each acquisition item includes a plurality of template elements, each template element includes element content and element type, and each acquisition item is preconfigured with location information, and the element type is preconfigured with a verification rule.
The configuration module is also used for storing the input element content and the position information corresponding to the acquisition item into a database, and storing the verification rule corresponding to the element type into the database according to the selected element type. Wherein the element types include any one or more of text, number, date, telephone, radio, and compound; when the element type is composite, the template element includes at least one sub-element.
Optionally, before the data filling module stores the acquired information input on the acquisition page, the data filling module is further configured to verify the input acquired information according to a verification rule of the custom template, and if the verification is successful, the data filling module stores the acquired information into the database.
Optionally, the page structure information includes content of the identification information element and element type, and the form assembling module is further configured to obtain a corresponding initial form according to the identification information; analyzing the page structure information as page elements, and loading each page element onto the initial form to form a display form.
Optionally, when the element types are compound, the form assembly module is further configured to parse the element types to obtain a nesting relationship between the sub-elements; determining loading positions of element contents corresponding to all sub-elements according to the nesting relationship; analyzing the content of each element into page elements meeting the field attribute requirements of the initial form; and loading the page elements meeting the field attribute requirements of the initial form onto the initial form according to the loading position.
The data display device can self-define the acquisition page according to the service requirement; and after receiving the acquisition information input by the user, storing an acquisition page and the acquisition information. After receiving the inquiry command, assembling a display form according to the page structure information, and rendering the acquired information to the display form for the acquisition party to review or analyze. The application can flexibly adjust the acquisition page and the display page, shortens the page development time and reduces the development cost.
The respective modules in the above-described data display apparatus may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one possible embodiment, a computer device is provided, which may be a terminal, and the internal structure thereof may be as shown in fig. 7. The computer device includes a processor, a memory, an input/output interface, a communication interface, a display unit, and an input means. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The input/output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a data display method. The display unit of the computer device is used for forming a visual picture, and can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be a key, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in FIG. 7 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In a possible embodiment, a computer device is provided, comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the method steps of the data display method of the above embodiments when the computer program is executed.
In a possible embodiment, a computer readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, implements the method steps of the data display method in the above-described embodiments.
In a possible embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the method steps of the data display method of the above-described embodiment.
It should be noted that, the user information (including but not limited to user equipment information, user personal information, etc.) and the data (including but not limited to data for analysis, stored data, presented data, etc.) related to the present application are information and data authorized by the user or sufficiently authorized by each party, and the collection, use and processing of the related data need to comply with the related laws and regulations and standards of the related country and region.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the embodiments provided herein may include at least one of a relational database and a non-relational database. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processor referred to in the embodiments provided in the present application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, or the like, but is not limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the application and are described in detail herein without thereby limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of the application should be assessed as that of the appended claims.

Claims (10)

1. A data display method, the method comprising:
responding to an acquisition instruction, displaying an acquisition page, and storing acquisition information input on the acquisition page; the acquisition page is rendered based on a preconfigured custom template, and the custom template comprises page structure information;
responding to the inquiry instruction, and assembling a display form according to the page structure information;
and rendering the display form according to the acquired information and displaying the display form.
2. The method of claim 1, wherein pre-configuring the custom template comprises:
responding to the page configuration instruction, and displaying a configuration page; the configuration page comprises a plurality of acquisition items capable of adding target objects;
for any one acquisition item, when a target object input on the acquisition item is received, associating the target object with the acquisition item;
and responding to an addition ending instruction, and storing target objects corresponding to the acquisition items into a database to form the custom template.
3. The method of claim 2, wherein each of the collection items includes a plurality of template elements, each of the template elements includes element content and element types, and each of the collection items is preconfigured with location information, the element types being preconfigured with a verification rule;
the step of storing the target object corresponding to each acquisition item in a database includes:
saving the input element content and the position information corresponding to the acquisition item to a database, and
according to the selected element type, storing a verification rule corresponding to the element type into a database;
wherein the element types include any one or more of text, number, date, phone, radio, and compound; when the element type is composite, the template element includes at least one sub-element.
4. The method of claim 1, wherein the storing the acquisition information entered on the acquisition page is preceded by:
and checking the input acquisition information according to the checking rule of the custom template, and storing the successful checking result into the database.
5. The method of claim 1, wherein the page structure information includes identification information, element content, and element type;
the step of assembling the display form according to the page structure information comprises the following steps:
acquiring a corresponding initial form according to the identification information;
analyzing the page structure information as page elements, and loading each page element onto the initial form to form the display form.
6. The method of claim 5, wherein when the element type is composite, the template element comprises at least one sub-element when the element type is composite;
the analyzing the page structure information as page elements, loading each page element onto the initial form to form the display form, including:
analyzing the element types to obtain nesting relations among the sub-elements;
determining the loading position of the element content corresponding to each sub-element according to the nesting relationship;
analyzing the element content corresponding to each sub-element into a page element meeting the field attribute requirement of the initial form;
and loading page elements meeting the field attribute requirements of the initial form onto the initial form according to the loading position to form the display form.
7. A data display device, the device comprising:
the data filling module is used for responding to the acquisition instruction, displaying an acquisition page and storing acquisition information input on the acquisition page; the acquisition page is rendered based on a preconfigured custom template, and the custom template comprises page structure information;
the form assembly module is used for responding to the query instruction and assembling the display form according to the page structure information;
and the display module is used for rendering the display form according to the acquired information and displaying the display form.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 6 when the computer program is executed.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
CN202310627359.0A 2023-05-30 2023-05-30 Data display method, device, computer equipment and storage medium Pending CN116719892A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310627359.0A CN116719892A (en) 2023-05-30 2023-05-30 Data display method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310627359.0A CN116719892A (en) 2023-05-30 2023-05-30 Data display method, device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116719892A true CN116719892A (en) 2023-09-08

Family

ID=87868924

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310627359.0A Pending CN116719892A (en) 2023-05-30 2023-05-30 Data display method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116719892A (en)

Similar Documents

Publication Publication Date Title
CN108809811B (en) Object sharing method and device
CN114115844A (en) Page generation method and device, computer equipment and storage medium
CN113988029A (en) Form generation method and device, computer equipment and storage medium
CN114637866B (en) Information management method and device for digitalized new media
CN116719892A (en) Data display method, device, computer equipment and storage medium
CN116700725B (en) Page generation method, page generation device, computer equipment and storage medium
CN115617324B (en) Client webpage generation method
CN116400922A (en) Interface guide schematic diagram generation method, device, computer equipment and storage medium
CN116775955A (en) Data tag solidifying method, device, computer equipment and storage medium
CN114547066A (en) Nuclear power business data standardization method and device and computer equipment
CN116187286A (en) Method, device, platform, storage medium and product for generating potential perception report
CN115878746A (en) Policy text determination method and device
CN116843789A (en) Method, device, computer equipment and storage medium for generating folding column diagram
CN117112089A (en) Payment service processing method, device, equipment, storage medium and product
CN115407974A (en) Business pushing method, device, computer equipment, storage medium and program product
CN116431260A (en) Interface rendering method and device based on data model driving and computer equipment
CN117908879A (en) Self-adaptive page rendering method and development method of functional module
CN117519871A (en) Method, device and equipment for configuring operation layout of financial service application
CN117131307A (en) Page processing result acquisition method, device, equipment, medium and program product
CN116661648A (en) Application recommendation method, apparatus, computer device, storage medium and computer program product
CN116661921A (en) Method, device and equipment for determining information display page of financial service system
CN115878715A (en) Method and device for generating page display scheme and computer equipment
CN116304407A (en) Page rendering method, device, computer equipment and storage medium
CN117612192A (en) Electronic drawing information identification method, system, electronic equipment and storage medium
CN118051686A (en) User portrait processing method, device, computer equipment 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