CN113919311A - Data display method and device, electronic equipment and storage medium - Google Patents

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

Info

Publication number
CN113919311A
CN113919311A CN202111274576.3A CN202111274576A CN113919311A CN 113919311 A CN113919311 A CN 113919311A CN 202111274576 A CN202111274576 A CN 202111274576A CN 113919311 A CN113919311 A CN 113919311A
Authority
CN
China
Prior art keywords
template
display
data
displayed
target
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
CN202111274576.3A
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.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202111274576.3A priority Critical patent/CN113919311A/en
Publication of CN113919311A publication Critical patent/CN113919311A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates

Abstract

The disclosure relates to a data display method and device, electronic equipment and a storage medium. The method comprises the following steps: displaying the data to be displayed through an initial display template; responding to the template editing operation aiming at the data to be displayed, displaying a template editing window, and displaying template information of an initial display template in the template editing window; acquiring edited template information in response to an editing operation for the template information; and generating a target display template according to the edited template information, and displaying the data to be displayed through the target display template. Compared with the prior art that the user needs to set the display template in advance for editing, the editing mode provided by the disclosure can edit the initial display template to obtain the target display template, and can also utilize the target display template for data display, so that the data display module can be switched, and the complexity of the editing operation of the data display can be reduced.

Description

Data display method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a data display method and apparatus, an electronic device, and a storage medium.
Background
With the development of computer technology, a technology for a user to perform custom modification on a display form of displayed data appears, for example, when the number of data columns is too large, the user can edit the number of data columns to be displayed, so that only data contents corresponding to the edited number of data columns can be displayed.
In the related art, the data display form is usually edited by a user by setting a data display template in advance and storing the data display template, and the data display template stored by the user can be selected to be displayed in the data display process.
Disclosure of Invention
The present disclosure provides a data display method, an apparatus, an electronic device and a storage medium, so as to at least solve the problem of complex operation of a method for editing data display in the related art. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a data display method, including:
displaying the data to be displayed through an initial display template;
responding to the template editing operation aiming at the data to be displayed, displaying a template editing window, and displaying the template information of the initial display template in the template editing window;
acquiring edited template information in response to an editing operation for the template information;
and generating a target display template according to the edited template information, and displaying the data to be displayed through the target display template.
In an exemplary embodiment, the data to be displayed carries a template selection element for selecting an initial display template corresponding to the data to be displayed; before the data to be displayed is displayed through the initial display template, the method further comprises the following steps: in response to a trigger operation for the template selection element, displaying a first display template list for the data to be displayed; the first display template list comprises template description information of at least one pre-configured display template of the data to be displayed; and in response to the selection operation of the template description information contained in the first display template list, taking the display template corresponding to the selected template description information as the initial display template.
In an exemplary embodiment, the first display template list carries a first template editing element for displaying the template editing window; the template information comprises data display option information of the initial display template; the displaying a template editing window in response to the template editing operation on the data to be displayed comprises: responding to the triggering operation aiming at the first template editing element, displaying the template editing window, and displaying the data display option information corresponding to the initial display template in the template editing window; the acquiring the edited template information in response to the editing operation on the template information includes: and responding to the selection operation aiming at the data display option information, and using the selected data display option information as the edited template information.
In an exemplary embodiment, the presenting the data to be presented through the target presentation template includes: in response to a saving operation triggered by the target display template, displaying an input box for inputting description information of the target display template; acquiring target template description information input in the input box, taking the target template description information as template description information of the target display template, and displaying a second display template list aiming at the data to be displayed; the second display template list comprises template description information of at least one pre-configured display template of the data to be displayed and target template description information of the target display template; and responding to the selection operation of the target template description information contained in the second display template list, and displaying the data to be displayed through the target display template.
In an exemplary embodiment, the template editing window carries a first template storage element for storing the target display template; the displaying an input box for inputting the description information of the target display template in response to the saving operation triggered by the target display template comprises: and displaying the input box for inputting the description information of the target display template in the template editing window in response to the triggering operation of the first template storage element.
In an exemplary embodiment, the presenting an input box for inputting description information of the target presentation template in response to the saving operation triggered for the target presentation template includes: displaying a third display template list aiming at the data to be displayed; the third display template list comprises template description information of at least one pre-configured display template of the data to be displayed and default template description information of the target display template; the third display template list carries a second template storage element for storing the target display template; in response to a trigger operation for the second template saving element, displaying a description information input window, and displaying the input box for inputting the description information of the target display template in the description information input window; the displaying a second display template list for the data to be displayed, including: and replacing the default template description information contained in the third display template list with the target template description information to obtain and display the second display template list.
In an exemplary embodiment, the target template description information displayed in the second display template list carries a template deletion identifier; after the displaying the second display template list aiming at the data to be displayed, the method further comprises the following steps: and deleting the target display template in response to the trigger operation aiming at the template deletion identifier.
In an exemplary embodiment, the data to be displayed carries a second template editing element for displaying a template editing window; the displaying a template editing window in response to the template editing operation on the data to be displayed comprises: and displaying the template editing window in response to the triggering operation of the second template editing element.
According to a second aspect of the embodiments of the present disclosure, there is provided a data presentation apparatus, including:
the initial template display unit is configured to display the data to be displayed through an initial display template;
a template information presentation unit configured to perform a template editing operation in response to the data to be presented, present a template editing window, and present template information of the initial presentation template in the template editing window;
a template information editing unit configured to execute an editing operation for the template information, and acquire edited template information;
and the target template display unit is configured to generate a target display template according to the edited template information, and display the data to be displayed through the target display template.
In an exemplary embodiment, the data to be displayed carries a template selection element for selecting an initial display template corresponding to the data to be displayed; the table display device further comprises: an initial template determination unit configured to perform presentation of a first presentation template list for the data to be presented in response to a trigger operation for the template selection element; the first display template list comprises template description information of at least one pre-configured display template of the data to be displayed; and in response to the selection operation of the template description information contained in the first display template list, taking the display template corresponding to the selected template description information as the initial display template.
In an exemplary embodiment, the first display template list carries a first template editing element for displaying the template editing window; the template information comprises data display option information of the initial display template; the template information display unit is further configured to execute that the first display template list carries a first template editing element for displaying the template editing window; the template information comprises data display option information of the initial display template; the template information editing unit is further configured to perform a selection operation in response to the data presentation option information, and to take the selected data presentation option information as the edited template information.
In an exemplary embodiment, the target template presenting unit is further configured to perform a saving operation triggered for the target presentation template, and present an input box for inputting description information of the target presentation template; acquiring target template description information input in the input box, taking the target template description information as template description information of the target display template, and displaying a second display template list aiming at the data to be displayed; the second display template list comprises template description information of at least one pre-configured display template of the data to be displayed and target template description information of the target display template; and responding to the selection operation of the target template description information contained in the second display template list, and displaying the data to be displayed through the target display template.
In an exemplary embodiment, the template editing window carries a first template storage element for storing the target display template; the target template presentation unit is further configured to perform, in response to a trigger operation for the first template saving element, presentation of the input box for inputting the description information of the target presentation template in the template edit window.
In an exemplary embodiment, the target template presenting unit is further configured to perform presenting a third presentation template list for the data to be presented; the third display template list comprises template description information of at least one pre-configured display template of the data to be displayed and default template description information of the target display template; the third display template list carries a second template storage element for storing the target display template; in response to a trigger operation for the second template saving element, displaying a description information input window, and displaying the input box for inputting the description information of the target display template in the description information input window; and replacing the default template description information contained in the third display template list with the target template description information to obtain and display the second display template list.
In an exemplary embodiment, the target template description information displayed in the second display template list carries a template deletion identifier; the table display device further comprises: and the target template deleting unit is configured to execute a trigger operation for the template deleting identification, and delete the target display template.
In an exemplary embodiment, the data to be displayed carries a second template editing element for displaying a template editing window; the template information presentation unit is further configured to perform presentation of the template editing window in response to a trigger operation for the second template editing element.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including: a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement the table showing method as defined in any one of the embodiments of the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein instructions, when executed by a processor of an electronic device, enable the electronic device to perform the table presentation method of any one of the embodiments of the first aspect.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a computer program product, which includes instructions that, when executed by a processor of an electronic device, enable the electronic device to perform the table display method according to any one of the embodiments of the first aspect.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
displaying the data to be displayed through an initial display template; responding to the template editing operation aiming at the data to be displayed, displaying a template editing window, and displaying template information of an initial display template in the template editing window; acquiring edited template information in response to an editing operation for the template information; and generating a target display template according to the edited template information, and displaying the data to be displayed through the target display template. According to the data display method, when a user needs to edit the display template of the display data, template information of an initial display template can be displayed, editing operation is performed on the basis of the template information of the initial display template, and then a target display template is generated for display.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a flow chart illustrating a method of data presentation in accordance with an exemplary embodiment.
FIG. 2 is a flow diagram illustrating the presentation of a form to be presented via an initial form template according to an exemplary embodiment.
FIG. 3 is an interface diagram illustrating a form to be presented according to an exemplary embodiment.
FIG. 4 is an interface diagram illustrating a first form template list according to an example embodiment.
FIG. 5 is an interface diagram illustrating a first form template list according to another example embodiment.
FIG. 6 is an interface diagram illustrating a template editing window according to an exemplary embodiment.
FIG. 7 is a flowchart illustrating the presentation of a form to be presented via a target form template according to an exemplary embodiment.
FIG. 8 is an interface diagram illustrating a second form template list according to an example embodiment.
Fig. 9 is an interface diagram illustrating a template editing window according to another exemplary embodiment.
FIG. 10 is an interface diagram illustrating a third list of form templates, according to an example embodiment.
Fig. 11 is an interface diagram illustrating a second form template list according to another exemplary embodiment.
FIG. 12 is an interface diagram illustrating a form to be presented according to another exemplary embodiment.
FIG. 13 is a block diagram illustrating a form presentation apparatus according to an exemplary embodiment.
FIG. 14 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
It should also be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for presentation, analyzed data, etc.) referred to in the present disclosure are both information and data that are authorized by the user or sufficiently authorized by various parties.
Fig. 1 is a flowchart illustrating a form presentation method according to an exemplary embodiment, where the form presentation method is used in a terminal, as shown in fig. 1, and includes the following steps.
In step S101, the data to be displayed is displayed through the initial display template.
The terminal may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and for example, the terminal may be a user terminal corresponding to a user viewing data to be displayed, the data to be displayed refers to data edited in a display manner on the user terminal, the data to be displayed may be provided by a certain service system, the user may log in the service system providing the data through the terminal, so as to display the data to be displayed on the terminal, the initial display template refers to a reference template configured in advance for the data to be displayed, and may be a display template of the data to be displayed currently displayed on the user terminal. Specifically, when the terminal displays the data to be displayed, the data to be displayed is displayed through a pre-configured reference template, namely an initial display template.
In step S102, in response to a template editing operation for data to be displayed, a template editing window is displayed, and template information of an initial display template is displayed in the template editing window.
The template editing window refers to a window for editing template information, the template editing window may display template information corresponding to the initial display template, and the template information may be used to reflect template features of the initial display template. Specifically, when a user needs to edit a data display template of data to be displayed on a terminal, a template editing operation may be triggered to the terminal, for example, an option button for implementing editing of the data display template may be displayed on the terminal, when the user needs to edit the display template of the data to be displayed, the template editing operation for the data to be displayed may be triggered by clicking the option button, and the terminal may respond to the operation, so that template information corresponding to an initial display template serving as a reference editing template is displayed on the terminal, and the user may edit template information corresponding to the initial display template to change a template characteristic of the initial display template, thereby changing a display mode of the data to be displayed on the terminal.
In step S103, in response to an editing operation for the template information, edited template information is acquired.
The edited template information refers to template information of an initial display template displayed on the terminal by a user after the template information of the initial display template is edited, and specifically, after the template information of the initial display template is obtained by the terminal and displayed on the terminal in step S101, the user may edit the template information of the initial display template displayed on the terminal to change the template characteristics of the data display template, so as to change the data display mode, for example, the user needs to change the size range of the data display, and may modify information used for representing the data display range in the template information of the initial display template, so as to change the range of the displayed data, or may modify the data type used for representing the displayed data in the template information of the initial display template when the user needs to modify the content of the data display, or may hide partial data, thereby changing the data content of the presentation.
In step S104, a target display template is generated according to the edited template information, and the data to be displayed is displayed through the target display template.
The target display template is a data display template reconstructed after template information editing is carried out on the basis of the initial display template by a user, after the user finishes editing the template information of the initial display template, the terminal can generate a newly established display template according to the edited template information, the newly established display template is used as the target display template, and when the data to be displayed is displayed, the data to be displayed can be displayed through the target display template, so that the display mode of the data to be displayed on the user terminal is changed.
In the data display method, the data to be displayed is displayed through an initial display template; responding to the template editing operation aiming at the data to be displayed, displaying a template editing window, and displaying template information of an initial display template in the template editing window; acquiring edited template information in response to an editing operation for the template information; and generating a target display template according to the edited template information, and displaying the data to be displayed through the target display template. According to the data display method, when a user needs to edit the display template of the display data, template information of an initial display template can be displayed, editing operation is performed on the basis of the template information of the initial display template, and then a target display template is generated for display.
In an exemplary embodiment, the form to be displayed carries a template selection element for selecting an initial form template corresponding to the form to be displayed; as shown in fig. 2, before step S101, the method may further include:
in step S201, in response to a trigger operation for a template selection element, a first display template list for data to be displayed is displayed; the first display template list includes template description information of at least one pre-configured display template of data to be displayed.
In this embodiment, the data to be displayed may be preconfigured with display templates that are displayed in different display modes, the display templates may be preset by a user that provides the data to be displayed, and may also carry template selection elements for switching the display templates of the data to be displayed when the data to be displayed is displayed on the terminal, and when the user views the data to be displayed, the template selection elements may be triggered, so as to change the display template preconfigured for the data to be displayed, so as to change the display mode of the data to be displayed. Specifically, the user may perform a trigger operation on the template selection element, for example, by clicking the template selection element carried in the data to be displayed to trigger, at this time, the terminal may respond to the trigger operation to display a first display template list for the data to be displayed, where the list may carry pre-configured template description information of a display template for the data to be displayed, for example, a template name of the pre-configured display template.
In step S202, in response to a selection operation of the template description information included in the first presentation template list, a presentation template corresponding to the selected template description information is used as an initial presentation template.
When the terminal displays a first display template list aiming at the data to be displayed, a user can select the data display template of the data to be displayed by selecting certain template description information in the first display template list. The terminal may respond to a selection operation of the user for the template description information included in the first display template list, determine the template description information selected by the user, and use the display template corresponding to the template description information selected by the user as the initial display template.
As shown in fig. 3, the upper right of the data to be displayed may carry a pull-down option frame corresponding to a display template for switching the data to be displayed, the pull-down option frame may be used as a template selection element, a template name of an initial display template corresponding to the current data to be displayed is shown in the option frame as template a, that is, the data to be displayed is displayed by the display template corresponding to template a, when the user switches the display mode of the data to be displayed, the pull-down option frame may be clicked to trigger the trigger operation for the template selection element, at this time, the terminal may display a first display template list as shown in fig. 4, it is apparent that the first display template list may carry three pre-configured display templates with template names of template a, template B and template C, when the user selects template B, the data to be displayed may be switched to be displayed by the display template corresponding to template B, and the display template corresponding to the template B is used as an initial display template, and if the user selects the template C, the data to be displayed can be switched to be displayed by the display template corresponding to the template C, and the display template corresponding to the template C is used as the initial display template.
In this embodiment, a template selection element for selecting an initial display template may be displayed on the form to be displayed, and a user may display the first display template list by performing a trigger operation on the template selection element, and perform selection of the initial display template and switching of the template display mode by selecting the template description information carried in the first display template list, thereby improving efficiency of switching of the display mode of the data to be displayed.
Further, the first display template list carries a first template editing element for displaying the template editing window; the template information comprises data display option information of the initial display template; step S102 may further include: responding to the triggering operation aiming at the first template editing element, displaying a template editing window, and displaying data display option information corresponding to the initial display template in the template editing window; step S103 may further include: and responding to the selection operation aiming at the data display option information, and using the selected data display option information as the edited template information.
The template information of the initial display template may include data display option information of the initial display template, and the data display option information may be used to represent data attributes of the to-be-displayed data that need to be displayed when the to-be-displayed data is displayed through the initial display template. The data to be displayed can be composed of data with different data attributes, and when the user needs to change the data with different attributes, the data attributes needing to be displayed can be changed by editing the data display option information in the template information of the initial display template. Meanwhile, the data display option information of the initial display template can be displayed in a template editing window, all the data display option information in the data to be displayed and the data display option information displayed on the initial display template can be displayed in the template editing window, and when a user needs to change the displayed data, the data display option information needing to be displayed can be edited in the template editing window to change the displayed data.
Specifically, in the process of displaying the first display template list by the terminal, an element for opening a template editing window, that is, a first template editing element, may be displayed at the same time, the user may perform a trigger operation for the first template editing element by clicking the first template editing element, the terminal may respond to the trigger operation to display a template editing window for editing template information, the template editing window may carry data display option information corresponding to an initial display template currently displayed on the terminal, and the user may perform an editing operation for the template information by performing a selection operation on the data display option information displayed on the template editing window, the terminal may use the data display option information selected by the user as the edited template information, so that in the process of displaying data to be displayed by the target display template, the data corresponding to the data option information selected by the user may be displayed only, and may be data corresponding to different data column numbers, that is, assuming that the data of the data to be displayed includes column number a, column number B, column number C, column number D, and column number E, when the user selects only column number a, column number D, and column number E as the selected data display option information, in the process of displaying the data to be displayed at the terminal, the data of column number a, column number D, and column number E may be displayed only.
As shown in fig. 5, a control of "custom column" may also be displayed in the first table template list in which the template a, the template B, and the template C are shown as template names, the control may serve as a first template editing element, when a user clicks the control of "custom column", a trigger operation for the first template editing element may be triggered, at this time, the terminal may open the template editing window shown in fig. 6, it can be seen that the data to be shown under the initial display template at this time may display data of column number a, column number B, column number C, column number D, and column number E, when the user needs to change the display of the data, for example, only the data of column number a, column number D, and column number E is shown, the selection of column number B and column number C may be cancelled in the display column number, or the cross number of column number B and column number C may be clicked in the selected number, and triggering selection operation aiming at the data display option information, and taking the column number A, the column number D and the column number E as the selected data display option information.
In this embodiment, the template information may be data display option information of the initial display template, and by displaying the data display option information of the initial display template in the template editing window, the user may perform corresponding selection operation on the data display option information in the template editing window, so that the selected data display option information may be used as new edited template information, thereby implementing change of data display.
In an exemplary embodiment, as shown in fig. 7, step S103 may further include:
in step S701, in response to a save operation triggered for the target presentation template, an input box for inputting description information of the target presentation template is presented.
After the target display template is generated, the user can further save the edited target display template, before the target display template is not saved, if the user edits a new template again, the current edited target display template can be replaced, and if the user switches from the current target display template to other display templates before the target display template is not saved, the target display template can disappear. Therefore, in order to avoid the target display template from being replaced or disappeared, after the target display template is generated, the user can also store the target display template through the terminal, and after the target form template is stored, the business system providing the data to be displayed can also perform association processing on the user and the target display template, for example, the account of the user can be associated with the target display template, and when the user logs in the business system through the account, the edited target display template can be checked.
Specifically, when the user needs to save the target presentation template, a saving operation may be triggered to the terminal, for example, the saving operation may be triggered by clicking a control for saving the target presentation template displayed on the terminal, and then the terminal may respond to the saving operation and display a description information for inputting the target presentation template, for example, an input box for inputting a template name of the target presentation template.
In step S702, target template description information input in the input frame is acquired, the target template description information is used as template description information of a target presentation template, and a second presentation template list for data to be presented is presented; the second display template list includes template description information of at least one pre-configured display template of the data to be displayed and target template description information of the target display template.
The target description information refers to description information, which is input in the input box by a user and is specific to a target display template, after the terminal displays the input box, the user can input the target description information, which may be a template name of the target display template, in the input box, and then the terminal can use the target template description information input by the user as template description information of the target display template, and further add the display target template description information on the basis that the template description information of the display template, which is configured in advance for data to be displayed, is displayed in the displayed first display template list, so as to obtain a second display template list.
The second display template list may be displayed as shown in fig. 8, where the data to be displayed may be preconfigured with three display templates, where the template a, the template B, and the template C are template names, and when the user stores the target display template, the template name input in the input box of the template name of the target display template may be used as the template name of the target display template, for example, the input template name may be a template D, and then the template name of the target display template may be a template D, and at this time, the second display template list may simultaneously display the template names of the display templates, which are preconfigured with the data to be displayed, that is, the template a, the template B, and the template C, and the target template description information of the target display template, that is, the template D.
In step S703, in response to a selection operation of the target template description information included in the second presentation template list, the data to be presented is presented through the target presentation template.
After the target display template is saved in step S702, the user may select the displayed target template description information in the second display template list, and the terminal may respond to the selection operation, so that the data to be displayed may be displayed through the target display template.
In this embodiment, the target display template may be further triggered to be stored in the display template list of the data to be displayed, and template description information of the target display template included in the display template list is selected, so that the target display template can be switched to display the data to be displayed, thereby reducing complexity in the operation of displaying the data to be displayed through the target display template.
Further, the template editing window carries a first template storage element for storing the target display template; step S701 may further include: and in response to the triggering operation of the first template saving element, displaying an input box for inputting the description information of the target display template in the template editing window.
In this embodiment, after a user triggers a template editing operation on data to be displayed, the terminal may display a template editing window, and display template information of an initial data template in the window, and the template editing window may also carry a first template storage element for storing a generated target display template, and when the user triggers the first template storage element in the displayed template editing window, the terminal may also directly display an input box for inputting description information of the target display template in the template editing window.
As shown in fig. 9, a control "save as template" may be displayed below the template editing window, the control may serve as a first template saving element, and when the user selects the control "save as template", an input box may be displayed on the right side of the control, and the input box may be used to input a template name for the target exhibition template, for example, a template name that may be input as a template D as the target exhibition template.
In this embodiment, the first template storage element may be displayed in the template editing window, when the user edits the template information through the template editing window, the storage operation may be triggered through the first template storage element, and the input frame for inputting the description information of the target display template is displayed in the template editing window, so that the triggering convenience of the storage operation is improved.
In addition, step S701 may further include: displaying a third display template list aiming at the data to be displayed; the third display template list comprises template description information of at least one pre-configured display template of the data to be displayed and default template description information of the target display template; the third display template list carries a second template storage element for storing the target display template; in response to a trigger operation for the second template saving element, displaying a description information input window, and displaying an input box for inputting description information of the target display template in the description information input window; step S702 may further include: and replacing the default template description information contained in the third display template list with the target template description information to obtain and display the second display template list.
In this embodiment, after the target display template is generated but before the target display template is not saved, the data to be displayed can be displayed on the terminal through the target display template, so that the display effect of the target display template is provided for the user. And at this time, when the user calls out the display template list for the data to be displayed, that is, when the third display template list is called out, the saving operation for the target display template can also be triggered on the third display template list. At this time, the third display template list may carry description information of a display template configured in advance for the data to be displayed, default template description information of an unsaved target display template, and a second template storage element for storing the target display template.
Specifically, the terminal may display the third display template list after generating the target display template but before storing the target display template, when a user performs a trigger operation on a second template storage element carried in the third display template list, the terminal may trigger a storage operation on the target display template, at this time, the terminal may display a description information input window of an input box carrying description information for inputting the target display template, when the user inputs the target template description information through the input box, the storage operation may be completed, at this time, the terminal may replace default template description information of the target display template displayed in the original third display template list with the target template description information input by the user, thereby displaying the second display template list.
The third display template list may be displayed as shown in fig. 10, where the data to be displayed may be preconfigured with three display templates, where the template a, the template B, and the template C are template names, and when the terminal generates the target display template but does not store the target display template, the third display template list may be displayed, where default template description information of the target display template, that is, the default template name may be a custom template, and then the third display template list may simultaneously display the template names of the display templates, that is, the template a, the template B, and the template C, that are preconfigured with the data to be displayed, and the default template description information of the target display template, that is, the custom template. Meanwhile, a 'save' button is displayed beside the custom template and used as a second template saving element, when a user clicks the second template saving element, a window of 'custom template name' can be popped up, namely, a description information input window, and the window carries an input frame and can be used for inputting the template name aiming at the target display template, for example, the template name of the template D used as the target display template can be input.
In this embodiment, the target display template can be stored by the second template storage element carried in the third display template list, that is, after the target display template is generated, the display effect of the target display template is checked and then stored, so that the display effect of the stored target display template can be ensured.
In an exemplary embodiment, the target template description information displayed in the second display template list carries a template deletion identifier; after step S702, the method may further include: and deleting the target display template in response to the trigger operation aiming at the template deletion identifier.
The template deletion identifier is a symbol identifier for deleting a target display template edited by a user, the symbol identifier may be set in the second display template list, and when the user needs to delete a stored target display template, for example, the system may only allow the user to store a preset number of display templates, and when the user needs to edit a new display template, the stored target display template may be deleted to edit the new display template. Specifically, the user may perform a trigger operation on the template deletion identifier in the second displayed template list, so that the terminal responds to the trigger operation and performs a deletion process for the target displayed template.
As shown in fig. 11, the second display template list may simultaneously display template names of display templates, which are pre-configured with data to be displayed, that is, a template a, a template B, and a template C, and a template name of a target display template, which is stored by a user, that is, a template D, where a template deletion identifier is displayed beside the template D, and when the user clicks the template deletion identifier, a trigger operation on the template deletion identifier may be triggered, so as to delete the target display template.
In this embodiment, the user may also delete the edited target display template, so that a new display template may be edited at any time when the number of edited display templates is limited.
In an exemplary embodiment, the form to be displayed carries a second template editing element for displaying the template editing window; step S102 may further include: and displaying the template editing window in response to the triggering operation aiming at the second template editing element.
In this embodiment, a user may directly perform a trigger operation on the second template editing element carried in the data to be displayed, so as to edit the display template of the data to be displayed, and the terminal may respond to the trigger operation, and display template information for the initial display template in the opened template editing window.
As shown in fig. 12, the data content of the data to be displayed may carry a plus sign button as a second template editing element, and when the user clicks the plus sign button, the second template editing element may be triggered to open the template editing window, and since the template name of the display template corresponding to the current data to be displayed is the template a, that is, the data to be displayed is displayed using the display template corresponding to the template a, the terminal may use the display template corresponding to the template a as the initial display template, and display the template information of the display template corresponding to the template a in the template editing window.
In this embodiment, the user may also perform a trigger operation on the second template editing element carried in the data to be displayed, so as to open the template editing window to perform template information editing, which may further reduce the operation steps of template information editing and improve the efficiency of template information editing.
In an exemplary embodiment, a method for selecting a table self-defined column template and supporting a user to self-define, edit and save the table self-defined column template as a new template is further provided, and a column template preset by a system is added on the function of the table self-defined column, so that the operation of the user is facilitated; the user is supported to customize on the basis of the column template prefabricated by the system and can store the column template as a column template special for the user, so that convenience of the user in checking different types of data is improved, and comprehensiveness and diversity of product data functions are met. The method can be realized by the following steps:
1. a user logs in a service platform to check a form, and selects different templates by clicking a pull-down selection box of a form column template to check corresponding column data;
2. clicking a self-defining button in a pull-down selection box of the form column template, and storing the self-defining button as a new template on the basis of the current form template;
3. when the user edits the current template but does not save the current template, the user can check the edited current template, but the system does not store the editing result of the user at the moment, the current template disappears after other column templates are switched, and the current template is not supported to be modified;
4. in a drop-down selection box of the table column template, the currently edited template can be saved by one key;
5. by clicking an adding button at the tail of the form, a new template can be stored on the basis of the current template;
6. the template is stored aiming at the same user login information, so that the template pre-created by the user can be checked when the user logs in different devices.
According to the method, the data columns of the table are subdivided in a scene mode and provided for the user to select in the form of the template, the operation cost and the use threshold of the user are reduced, the operation efficiency of the user is improved, the user can create the table display template through self definition, the function use flexibility is improved, more use scenes of the user are met, the user can accurately find required data, and the data use efficiency of the service platform is improved.
It should be understood that, although the steps in the flowcharts of the present disclosure are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in the figures may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of execution of the steps or stages is not necessarily sequential, but may be performed alternately or in alternation with other steps or at least some of the other steps or stages.
It is understood that the same/similar parts between the embodiments of the method described above in this specification can be referred to each other, and each embodiment focuses on the differences from the other embodiments, and it is sufficient that the relevant points are referred to the descriptions of the other method embodiments.
FIG. 13 is a block diagram illustrating a data presentation device according to an example embodiment. Referring to fig. 13, the apparatus includes an initial template presentation unit 1301, a template information presentation unit 1302, a template information editing unit 1303, and an object template presentation unit 1304.
An initial template presentation unit 1301 configured to perform presentation of data to be presented through an initial presentation template;
a template information presentation unit 1302 configured to perform a template editing operation in response to data to be presented, present a template editing window, and present template information of an initial presentation template in the template editing window;
a template information editing unit 1303 configured to perform acquiring edited template information in response to an editing operation for the template information;
and the target template display unit 1304 is configured to generate a target display template according to the edited template information, and display the data to be displayed through the target display template.
In an exemplary embodiment, the data to be displayed carries a template selection element for selecting an initial display template corresponding to the data to be displayed; the table display device further comprises: an initial template determination unit configured to perform presentation of a first presentation template list for data to be presented in response to a trigger operation for a template selection element; the first display template list comprises template description information of at least one pre-configured display template of data to be displayed; and responding to the selection operation of the template description information contained in the first display template list, and taking the display template corresponding to the selected template description information as an initial display template.
In an exemplary embodiment, the first display template list carries a first template editing element for displaying a template editing window; the template information comprises data display option information of the initial display template; the template information display unit 1302 is further configured to execute that the first display template list carries a first template editing element for displaying the template editing window; the template information comprises data display option information of the initial display template; the template information editing unit 1303 is further configured to perform a selection operation for the data presentation option information in response to the selection operation, and take the selected data presentation option information as the edited template information.
In an exemplary embodiment, the target template presenting unit 1304 is further configured to perform a saving operation triggered in response to the target presentation template, and present an input box for inputting description information of the target presentation template; acquiring target template description information input in the input frame, taking the target template description information as template description information of a target display template, and displaying a second display template list aiming at data to be displayed; the second display template list comprises template description information of at least one pre-configured display template of the data to be displayed and target template description information of a target display template; and responding to the selection operation of the target template description information contained in the second display template list, and displaying the data to be displayed through the target display template.
In an exemplary embodiment, the template editing window carries a first template storage element for storing the target display template; the target template presentation unit 1304 is further configured to perform presenting, in response to a trigger operation for saving an element for the first template, an input box for inputting description information of the target presentation template in the template edit window.
In an exemplary embodiment, the target template presenting unit 1304 is further configured to perform presenting a third presentation template list for the data to be presented; the third display template list comprises template description information of at least one pre-configured display template of the data to be displayed and default template description information of the target display template; the third display template list carries a second template storage element for storing the target display template; in response to a trigger operation for the second template saving element, displaying a description information input window, and displaying an input box for inputting description information of the target display template in the description information input window; and replacing the default template description information contained in the third display template list with the target template description information to obtain and display the second display template list.
In an exemplary embodiment, the target template description information displayed in the second display template list carries a template deletion identifier; the table display device further comprises: and the target template deleting unit is configured to execute a trigger operation for the template deleting identification, and delete the target display template.
In an exemplary embodiment, the data to be displayed carries a second template editing element for displaying the template editing window; the template information presentation unit 1302 is further configured to perform presenting the template editing window in response to a trigger operation for the second template editing element.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
FIG. 14 is a block diagram illustrating an electronic device 1400 for table presentation, according to an example embodiment. For example, the electronic device 1400 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a gaming console, a tablet device, a medical device, a fitness device, a personal digital assistant, and so forth.
Referring to fig. 14, electronic device 1400 may include one or more of the following components: a processing component 1402, a memory 1404, a power component 1406, a multimedia component 1408, an audio component 1410, an input/output (I/O) interface 1412, a sensor component 1414, and a communication component 1416.
The processing component 1402 generally controls overall operation of the electronic device 1400, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. Processing component 1402 may include one or more processors 1420 to execute instructions to perform all or a portion of the steps of the methods described above. Further, processing component 1402 can include one or more modules that facilitate interaction between processing component 1402 and other components. For example, the processing component 1402 can include a multimedia module to facilitate interaction between the multimedia component 1408 and the processing component 1402.
The memory 1404 is configured to store various types of data to support operations at the electronic device 1400. Examples of such data include instructions for any application or method operating on the electronic device 1400, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1404 may be implemented by any type or combination of volatile or non-volatile storage devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, optical disk, or graphene memory.
The power supply component 1406 provides power to the various components of the electronic device 1400. The power components 1406 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the electronic device 1400.
The multimedia component 1408 includes a screen providing an output interface between the electronic device 1400 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1408 includes a front-facing camera and/or a rear-facing camera. The front camera and/or the rear camera may receive external multimedia data when the electronic device 1400 is in an operation mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1410 is configured to output and/or input audio signals. For example, the audio component 1410 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 1400 is in operating modes, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1404 or transmitted via the communication component 1416. In some embodiments, audio component 1410 also includes a speaker for outputting audio signals.
I/O interface 1412 provides an interface between processing component 1402 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 1414 includes one or more sensors for providing various aspects of status assessment for the electronic device 1400. For example, the sensor component 1414 may detect an open/closed state of the electronic device 1400, the relative positioning of components, such as a display and keypad of the electronic device 1400, the sensor component 1414 may also detect a change in the position of the electronic device 1400 or components of the electronic device 1400, the presence or absence of user contact with the electronic device 1400, orientation or acceleration/deceleration of the device 1400, and a change in the temperature of the electronic device 1400. The sensor assembly 1414 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 1414 may also include a photosensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1414 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1416 is configured to facilitate wired or wireless communication between the electronic device 1400 and other devices. The electronic device 1400 may access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G, or 5G), or a combination thereof. In an exemplary embodiment, the communication component 1416 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1416 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 1400 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a computer-readable storage medium comprising instructions, such as the memory 1404 comprising instructions, executable by the processor 1420 of the electronic device 1400 to perform the above-described method is also provided. For example, the computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a computer program product is also provided that includes instructions executable by the processor 1420 of the electronic device 1400 to perform the above-described method.
It should be noted that the descriptions of the above-mentioned apparatus, the electronic device, the computer-readable storage medium, the computer program product, and the like according to the method embodiments may also include other embodiments, and specific implementations may refer to the descriptions of the related method embodiments, which are not described in detail herein.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A method for displaying data, comprising:
displaying the data to be displayed through an initial display template;
responding to the template editing operation aiming at the data to be displayed, displaying a template editing window, and displaying the template information of the initial display template in the template editing window;
acquiring edited template information in response to an editing operation for the template information;
and generating a target display template according to the edited template information, and displaying the data to be displayed through the target display template.
2. The method according to claim 1, wherein the data to be displayed carries a template selection element for selecting an initial display template corresponding to the data to be displayed;
before the data to be displayed is displayed through the initial display template, the method further comprises the following steps:
in response to a trigger operation for the template selection element, displaying a first display template list for the data to be displayed; the first display template list comprises template description information of at least one pre-configured display template of the data to be displayed;
and in response to the selection operation of the template description information contained in the first display template list, taking the display template corresponding to the selected template description information as the initial display template.
3. The method according to claim 2, wherein the first display template list carries a first template editing element for displaying the template editing window; the template information comprises data display option information of the initial display template;
the displaying a template editing window in response to the template editing operation on the data to be displayed comprises:
responding to the triggering operation aiming at the first template editing element, displaying the template editing window, and displaying the data display option information corresponding to the initial display template in the template editing window;
the acquiring the edited template information in response to the editing operation on the template information includes:
and responding to the selection operation aiming at the data display option information, and using the selected data display option information as the edited template information.
4. The method according to claim 1, wherein the presenting the data to be presented through the target presentation template comprises:
in response to a saving operation triggered by the target display template, displaying an input box for inputting description information of the target display template;
acquiring target template description information input in the input box, taking the target template description information as template description information of the target display template, and displaying a second display template list aiming at the data to be displayed; the second display template list comprises template description information of at least one pre-configured display template of the data to be displayed and target template description information of the target display template;
and responding to the selection operation of the target template description information contained in the second display template list, and displaying the data to be displayed through the target display template.
5. The method according to claim 4, wherein the template editing window carries a first template storage element for storing the target display template;
the displaying an input box for inputting the description information of the target display template in response to the saving operation triggered by the target display template comprises:
and displaying the input box for inputting the description information of the target display template in the template editing window in response to the triggering operation of the first template storage element.
6. The method according to claim 4, wherein the presenting an input box for inputting description information of the target presentation template in response to the saving operation triggered for the target presentation template comprises:
displaying a third display template list aiming at the data to be displayed; the third display template list comprises template description information of at least one pre-configured display template of the data to be displayed and default template description information of the target display template; the third display template list carries a second template storage element for storing the target display template;
in response to a trigger operation for the second template saving element, displaying a description information input window, and displaying the input box for inputting the description information of the target display template in the description information input window;
the displaying a second display template list for the data to be displayed, including:
and replacing the default template description information contained in the third display template list with the target template description information to obtain and display the second display template list.
7. A data presentation device, comprising:
the initial template display unit is configured to display the data to be displayed through an initial display template;
a template information presentation unit configured to perform a template editing operation in response to the data to be presented, present a template editing window, and present template information of the initial presentation template in the template editing window;
a template information editing unit configured to execute an editing operation for the template information, and acquire edited template information;
and the target template display unit is configured to generate a target display template according to the edited template information, and display the data to be displayed through the target display template.
8. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the data presentation method of any one of claims 1 to 6.
9. A computer-readable storage medium, wherein instructions in the computer-readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the data presentation method of any one of claims 1 to 6.
10. A computer program product comprising instructions which, when executed by a processor of an electronic device, enable the electronic device to perform the data presentation method of any one of claims 1 to 6.
CN202111274576.3A 2021-10-29 2021-10-29 Data display method and device, electronic equipment and storage medium Pending CN113919311A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111274576.3A CN113919311A (en) 2021-10-29 2021-10-29 Data display method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111274576.3A CN113919311A (en) 2021-10-29 2021-10-29 Data display method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113919311A true CN113919311A (en) 2022-01-11

Family

ID=79243903

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111274576.3A Pending CN113919311A (en) 2021-10-29 2021-10-29 Data display method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113919311A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115379136A (en) * 2022-08-19 2022-11-22 北京字跳网络技术有限公司 Special effect prop processing method and device, electronic equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115379136A (en) * 2022-08-19 2022-11-22 北京字跳网络技术有限公司 Special effect prop processing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111381746B (en) Parameter adjusting method, device and storage medium
CN105786507B (en) Display interface switching method and device
EP3147802B1 (en) Method and apparatus for processing information
CN111324249B (en) Multimedia material generation method and device and storage medium
CN106126025B (en) Interactive method and device for copying and pasting
CN111479158B (en) Video display method and device, electronic equipment and storage medium
CN113065021A (en) Video preview method, video preview device, electronic equipment, storage medium and program product
CN113238752A (en) Code generation method and device, electronic equipment and storage medium
CN108984098B (en) Information display control method and device based on social software
CN111814088A (en) Page processing method and device
CN113988021A (en) Content interaction method and device, electronic equipment and storage medium
CN107295167B (en) Information display method and device
CN106447747B (en) Image processing method and device
CN113919311A (en) Data display method and device, electronic equipment and storage medium
CN107885571B (en) Display page control method and device
CN111049732B (en) Push message display method and device, electronic equipment and medium
CN114268802A (en) Virtual space display method and device, electronic equipment and storage medium
CN114443160A (en) Message pushing method and device, electronic equipment and storage medium
CN112581102A (en) Task management method and device, electronic equipment and storage medium
CN109144287B (en) Method and device for setting input method interface
CN106126246B (en) Item display method and device
CN110825483A (en) Method and device for realizing OSD (on Screen display) of screen menu type adjustment mode
CN111538450B (en) Theme background display method and device and storage medium
CN115937350A (en) Picture editing method and device, electronic equipment and storage medium
CN115329734A (en) Document template processing method and device, electronic 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