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

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

Info

Publication number
CN114721642A
CN114721642A CN202210365818.8A CN202210365818A CN114721642A CN 114721642 A CN114721642 A CN 114721642A CN 202210365818 A CN202210365818 A CN 202210365818A CN 114721642 A CN114721642 A CN 114721642A
Authority
CN
China
Prior art keywords
component
data
information
data item
option
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
CN202210365818.8A
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.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202210365818.8A priority Critical patent/CN114721642A/en
Publication of CN114721642A publication Critical patent/CN114721642A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/33Intelligent editors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a data display method and device, a storage medium and electronic equipment, which can be applied to the financial field or other fields, wherein the method comprises the following steps: responding to a component generation instruction, acquiring each original data item corresponding to the component generation instruction, and converting each original data item into tuple information; packaging each tuple information into a context data item, and generating an initial component in a preset page according to a preset page template file; generating dictionary format data based on each of the context data items; rendering the dictionary format data to obtain component information, wherein the component information at least comprises front-end option data corresponding to each original data item; rendering the component information to the initial component to obtain a target component; and responding to the operation of a user for the target component, and displaying the front-end option data corresponding to the operation. The components capable of displaying multiple options can be automatically generated in the page, and development efficiency is improved.

Description

Data display method and device, storage medium and electronic equipment
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a data display method and apparatus, a storage medium, and an electronic device.
Background
At present, in the process of developing an application front end, a selective query function can be realized through an input tag and a selection tag in a native HTML language, however, when there are a large number of pages and a demand for the selective query function exists, a set of drop-down boxes for correspondingly processing different data is usually designed by a technician in a manual design mode for each page to realize the selective query function, and the development efficiency is low.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a data display method, which can improve the development efficiency.
The invention also provides a data display device for ensuring the realization and the application of the method in practice.
A method of displaying data, comprising:
responding to a component generation instruction, acquiring each original data item corresponding to the component generation instruction, and converting each original data item into tuple information;
packaging each tuple information into a context data item, and generating an initial component in a preset page according to a preset page template file;
generating dictionary format data based on each of the context data items;
rendering the dictionary format data to obtain component information, wherein the component information comprises front-end option data corresponding to each original data item;
rendering the component information to the initial component to obtain a target component;
and responding to the operation of the user for the target component, and displaying the front-end option data corresponding to the operation.
Optionally, the obtaining of each data item corresponding to the component generation instruction includes:
acquiring instruction information in the component generation instruction; the instruction information comprises an option keyword input by a user;
determining a data table associated with the option keyword in a preset database;
acquiring each data item corresponding to the component generation instruction in the data table; the type of each data item is one of a source data item and a default data item.
Optionally, in the method described above, the generating an initial component in a preset page according to a preset page template file includes:
acquiring component configuration parameters in the page template file; the component configuration parameters comprise component template information and component position information;
determining a page position in the page corresponding to the component position information;
generating the initial component at the page location based on the component template information.
The above method, optionally, after obtaining the target component, further includes:
and displaying the target component.
The above method, optionally, the dictionary format data includes: at least one of option list data, tag names, front-end element identifications, default values, and option box prompt content.
Optionally, the method further includes, after displaying the component information, the step of:
and receiving selection operation of a user aiming at any option list data, and executing the logic operation corresponding to the option list data.
A data display device comprising:
the acquisition unit is used for responding to a component generation instruction, acquiring each original data item corresponding to the component generation instruction, and converting each original data item into tuple information;
the first generation unit is used for packaging each tuple information into a context data item and generating an initial component in a preset page according to a preset page template file;
a second generation unit configured to generate dictionary format data based on each of the context data items;
the first rendering unit is used for rendering the dictionary format data to obtain component information, and the component information comprises front-end option data corresponding to each original data item;
the second rendering unit is used for rendering the component information to the initial component to obtain a target component;
and the display unit is used for responding to the operation of the target component by the user and displaying the front-end option data corresponding to the operation.
The above apparatus, optionally, the obtaining unit includes:
the first acquisition subunit is used for acquiring instruction information in the component generation instruction; the instruction information comprises option keywords input by a user;
a determining subunit, configured to determine, in a preset database, a data table associated with the option keyword;
the second obtaining subunit is configured to obtain, in the data table, each data item corresponding to the component generation instruction; the type of each data item is one of a source data item and a default data item.
A storage medium, comprising stored instructions, wherein when executed, the instructions control a device on which the storage medium is located to execute the data display method as described above.
An electronic device comprising a memory, and one or more instructions, wherein the one or more instructions are stored in the memory and configured to be executed by the one or more processors to perform the data display method as described above.
Compared with the prior art, the invention has the following advantages:
the invention provides a data display method and device, a storage medium and electronic equipment, wherein the method comprises the following steps: responding to a component generation instruction, acquiring each original data item corresponding to the component generation instruction, and converting each original data item into tuple information; packaging each tuple information into a context data item, and generating an initial component in a preset page according to a preset page template file; generating dictionary format data based on each of the context data items; rendering the dictionary format data to obtain component information, wherein the component information at least comprises front-end option data corresponding to each original data item; rendering the component information to the initial component to obtain a target component; and responding to the operation of the user for the target component, and displaying the front-end option data corresponding to the operation. The components capable of displaying multiple options can be automatically generated in the page, and development efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of a method of displaying data according to the present invention;
FIG. 2 is a flowchart of a process for obtaining data items corresponding to a component generation instruction according to the present invention;
FIG. 3 is a flowchart of a process for generating initial components in a page through a page template file according to the present invention;
FIG. 4 is a schematic structural diagram of a data display device according to the present invention;
fig. 5 is a schematic structural diagram of an electronic device provided in the present invention;
FIG. 6 is a flow chart of a component generation process provided by the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In this application, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
An embodiment of the present invention provides a data display method, which may be applied to an electronic device, and a method flowchart of the method is shown in fig. 1, and specifically includes:
s101: and responding to a component generation instruction, acquiring each original data item corresponding to the component generation instruction, and converting each original data item into tuple information.
In this embodiment, the component generation instruction may be an instruction generated after the query operation is performed, or may be an instruction triggered by a user accessing a preset page.
Optionally, the original data item may be a preset default value, or may be a source data item in the data table, and the original data item may be obtained in the data table, or may be all existing data in a preset field.
S102: and packaging each tuple information into a context data item, and generating an initial component in a preset page according to a preset page template file.
In this embodiment, each tuple information may be encapsulated as a context data item using a preset view function.
S103: dictionary format data is generated based on each of the context data items.
In the present embodiment, dictionary format data may be generated based on the respective context data items by a component registration function.
Optionally, the dictionary format data may include at least one of option list data, tag names, front-end element identifications, default values, and option box prompt content.
S104: rendering the dictionary format data to obtain component information, wherein the component information comprises front-end option data corresponding to each original data item.
In this embodiment, the component information may further include a tag name, a front-end element identifier, a default value, and option box prompt content.
S105: and rendering the component information to the initial component to obtain a target component.
In this embodiment, the initial component may include at least one of a selection control and an input control; the component information may be rendered into a selection control and an input control to obtain a target component, for example, the option box prompt content may be rendered into the input control, the front-end option data in the option list data may be rendered into a selection control, and the selection control may be a pull-down selection control.
S106: and responding to the operation of the user on the target component, and displaying the front-end option data corresponding to the operation.
In this embodiment, the operation for the target component may be clicking a pull-down option control of the target component, and in this case, all front-end option data may be displayed; the operation for the target component may also be to input query content in a query box in the target component and then click a query control of the target component, in which case, front-end option data matching the query content may be displayed.
The embodiment of the invention provides a data display method, which can respond to a component generation instruction, acquire each original data item corresponding to the component generation instruction, and convert each original data item into tuple information; packaging each tuple information into a context data item, and generating an initial component in a preset page according to a preset page template file; generating dictionary format data based on each of the context data items; rendering the dictionary format data to obtain component information, wherein the component information at least comprises front-end option data corresponding to each original data item; rendering the component information to the initial component to obtain a target component; and responding to the operation of the user on the target component, and displaying the front-end option data corresponding to the operation to automatically generate a component capable of displaying multiple options in a page, so that the development efficiency is improved, and the development workload of technicians is reduced.
In an embodiment provided by the present invention, based on the foregoing implementation process, optionally, the acquiring each data item corresponding to the component generation instruction, as shown in fig. 2, includes:
s201: acquiring instruction information in the component generation instruction; the instruction information includes an option keyword.
In this embodiment, the option keyword may be a preset keyword corresponding to a page accessed by a user, or an option keyword input by the user.
S202: and determining a data table associated with the option keyword in a preset database.
In this embodiment, the database may include a plurality of tables, the option keyword may be matched with table data in each table in the preset database, and a table to which table data that is successfully matched with the option keyword belongs may be used as a data table associated with the option keyword; or, taking a table with alternative values in the database as a data table associated with the option keywords; the alternative values are determined based on a list filter, which may use the option keywords as filtering conditions.
S203: acquiring each original data item corresponding to the component generation instruction in the data table; the type of each original data item is one of a source data item and a default data item.
In this embodiment, part or all of the data in the data table may be used as the original data items.
In an embodiment provided by the present invention, based on the foregoing implementation process, optionally, the generating an initial component in a preset page through a preset page template file, as shown in fig. 3, includes:
s301: acquiring component configuration parameters in the page template file; the component configuration parameters include component template information and component location information.
In this embodiment, the page template file may include a layout file of the component, for example, a Javascript file, a css file, and the like, the component configuration parameter may be obtained from the layout file, the component template information may be used to define a structure, a style, and the like of the component, and the component location information may specify a location of the component in the page.
S302: determining a page position in the page corresponding to the component position information.
In the present embodiment, the page position in the page corresponding to the component position information may be a position specified by the component position information.
S303: generating the initial component at the page location based on the component template information.
In the present embodiment, the initial component is generated in the page position according to the structure, style, and the like of the component defined by the component template information.
By applying the method provided by the embodiment of the invention, the initial assembly required to be displayed can be quickly generated.
In an embodiment provided by the present invention, based on the foregoing implementation process, optionally, after obtaining the target component, the method further includes:
and displaying the target component.
In this embodiment, after the target component is generated, the target component may be displayed in a page.
In an embodiment provided by the present invention, based on the foregoing implementation process, optionally, after displaying each piece of component information, the method further includes:
and receiving selection operation of a user aiming at any front-end option data, and executing logic operation corresponding to the option list data.
In this embodiment, the selection operation may be an operation in which a user clicks front-end option data in a selection control of the target component, and each front-end option data in the target component may be encapsulated with a logic operation, which may be set by a technician according to actual needs.
Corresponding to the method illustrated in fig. 1, an embodiment of the present invention further provides a data display device, which is used for implementing the method illustrated in fig. 1 specifically, and the data display device provided in the embodiment of the present invention may be applied to an electronic device, and a schematic structural diagram of the data display device is illustrated in fig. 4, and specifically includes:
an obtaining unit 401, configured to, in response to a component generation instruction, obtain each original data item corresponding to the component generation instruction, and convert each original data item into tuple information;
a first generating unit 402, configured to encapsulate each tuple information as a context data item, and generate an initial component in a preset page according to a preset page template file;
a second generating unit 403, configured to generate dictionary format data based on each of the context data items;
a first rendering unit 404, configured to render the dictionary format data to obtain component information, where the component information includes front-end option data corresponding to each original data item;
a second rendering unit 405, configured to render the component information into the initial component, to obtain a target component;
a display unit 406, configured to display, in response to an operation of the target component by a user, the front-end option data corresponding to the operation.
By applying the device provided by the embodiment of the invention, the components capable of displaying multiple options can be automatically generated in the page, the development efficiency is improved, and the development workload of technical personnel is reduced.
In an embodiment provided by the present invention, based on the above scheme, optionally, the obtaining unit 401 includes:
the first acquisition subunit is used for acquiring instruction information in the component generation instruction; the instruction information comprises an option keyword input by a user;
the determining subunit is used for determining a data table associated with the option keyword in a preset database;
the second obtaining subunit is configured to obtain, in the data table, each data item corresponding to the component generation instruction; the type of each data item is one of a source data item and a default data item.
In an embodiment of the present invention, based on the above scheme, optionally, the first generating unit 402 includes:
the third acquiring subunit is used for acquiring the component configuration parameters in the page template file; the component configuration parameters comprise component template information and component position information;
an execution subunit, configured to determine a page position in the page corresponding to the component position information;
and the generating subunit is used for generating the initial assembly at the page position based on the assembly template information.
In an embodiment provided by the present invention, based on the above scheme, optionally, the data display apparatus further includes:
and the output unit is used for displaying the target assembly.
In an embodiment provided by the present invention, based on the above scheme, optionally, the data display unit further includes:
and the receiving unit is used for receiving the selection operation of the user aiming at any option list data and executing the logic operation corresponding to the option list data.
In an embodiment provided by the present invention, based on the above scheme, optionally, the first generating unit 402 is configured to:
acquiring component configuration parameters in the page template file; the component configuration parameters comprise component template information and component position information;
determining a page position in the page corresponding to the component position information;
generating the initial component at the page location based on the component template information.
In an embodiment provided by the present invention, based on the above scheme, optionally, the data display device further includes:
and the display unit is used for displaying the target assembly.
In an embodiment provided by the present invention, based on the above scheme, optionally, the dictionary format data includes: at least one of option list data, tag names, front-end element identifications, default values, and option box prompt content.
In an embodiment provided by the present invention, based on the above scheme, optionally, the data display apparatus further includes:
and the receiving unit is used for executing the logic operation corresponding to the option list data after receiving the selection operation of the user aiming at any front-end option data.
The specific principle and the implementation process of each unit and module in the data display device disclosed in the embodiment of the present invention are the same as those of the data display method disclosed in the embodiment of the present invention, and reference may be made to corresponding parts in the data display method provided in the embodiment of the present invention, which are not described herein again.
The embodiment of the invention also provides a storage medium, which comprises a stored instruction, wherein when the instruction runs, the device where the storage medium is located is controlled to execute the data display method.
An electronic device is provided in an embodiment of the present invention, and the structural diagram of the electronic device is shown in fig. 5, which specifically includes a memory 501 and one or more instructions 502, where the one or more instructions 502 are stored in the memory 501, and are configured to be executed by one or more processors 503 to perform the following operations according to the one or more instructions 502:
responding to a component generation instruction, acquiring each original data item corresponding to the component generation instruction, and converting each original data item into tuple information;
packaging each tuple information into a context data item, and generating an initial component in a preset page according to a preset page template file;
generating dictionary format data based on each of the context data items;
rendering the dictionary format data to obtain component information, wherein the component information at least comprises front-end option data corresponding to each original data item;
rendering the component information to the initial component to obtain a target component;
and responding to the operation of the user for the target component, and displaying the front-end option data corresponding to the operation.
Through research of the inventor, the native HTML language provides input tags for accepting text content input and selection tags for drop-down box selection in the application front-end development process. The input label can realize the input and storage of any text, the selection label can realize the acquisition of one of the set option values, but when the number of options is indefinite or more, for example, the option source is the full data item of a certain table of the database, the user needs to select one of dozens or even hundreds of options with naked eyes, and the user experience is poor. Moreover, if the option query function requirements exist in a plurality of pages, a set of drop-down boxes for correspondingly processing different data needs to be designed for each different page, so that the development cost is high.
Based on the above, in the embodiment of the invention, the option query function is extracted into a common component suitable for various database tables through the superiority of Django, so that the problem can be effectively avoided. Specifically, the Django framework in this embodiment follows an MTV design mode, a user request is received by a browser, a URL Dispatcher is used to match a correct URL through a regular expression, a View function in a correct View layer (View) is found, after an operation on a Model layer (Model) is implemented in the View function, an http response object is returned and displayed in a Template layer (Template), and a flow of interaction between a front end and a background of the whole user is completed. The whole set of process is automatically completed by a Django framework mechanism, and a developer only needs to configure and bind corresponding model s.py, view.py, url.py and template front-end files.
Based on the characteristics, the Django framework can quickly render the database data to a Template layer (Template) after the database data is processed through a view function, and the Template layer is used for forming contents such as pull-down options on a front-end page.
Based on the characteristic that the database data is quickly rendered on the front-end page in the Django frame MTV mode, the method can realize that all possible values of fields in the database can be obtained to screen the list when a list filter is screened; when the data of the data table is associated, all the data items of the data table can be acquired as options, and the like. As shown in fig. 6, the specific scheme is as follows:
1. the data preprocessing function module processes all data items required to be used, which are acquired from a Model layer (Model) database, into an array format consisting of tuples, and if default values are set, the data items are also processed into one tuple, and the two items are simultaneously returned to the view function.
2. And the view function packages the received data into context data items and transmits the context data items to the page template file, and the page template file inserts the component into a required position through Django template statements {% } and calls the component registration function.
3. The component registration function receives the data and then carries out secondary processing on the data, reassembles the data into dictionary format data and transmits the dictionary format data to the component template module bound by the function.
4. And the component template module correspondingly renders all data items of the dictionary to generate a target component, and renders the target component to a page template file. And the user interactively obtains the data which is finally required to be selected through the drop-down box component of the page.
It should be noted that the data display method and apparatus, the storage medium, and the electronic device provided by the present invention can be used in the field of artificial intelligence, the field of block chaining, the field of distributed computing, the field of cloud computing, the field of big data, the field of internet of things, the field of mobile internet, the field of network security, the field of chips, the field of virtual reality, the field of augmented reality, the field of holography, the field of quantum computing, the field of quantum communication, the field of quantum measurement, the field of digital twins, or the field of finance. The foregoing is merely an example, and does not limit the application fields of the data display method and apparatus, the storage medium, and the electronic device provided by the present invention.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functions of the units may be implemented in the same software and/or hardware or in a plurality of software and/or hardware when implementing the invention.
From the above description of the embodiments, it is clear to those skilled in the art that the present invention can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
The data display method provided by the present invention is described in detail above, and the principle and the implementation of the present invention are explained in the present document by applying specific examples, and the description of the above examples is only used to help understanding the method of the present invention and the core idea thereof; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A method of displaying data, comprising:
responding to a component generation instruction, acquiring each original data item corresponding to the component generation instruction, and converting each original data item into tuple information;
packaging each tuple information into a context data item, and generating an initial component in a preset page according to a preset page template file;
generating dictionary format data based on each of the context data items;
rendering the dictionary format data to obtain component information, wherein the component information at least comprises front-end option data corresponding to each original data item;
rendering the component information to the initial component to obtain a target component;
and responding to the operation of the user for the target component, and displaying the front-end option data corresponding to the operation.
2. The method of claim 1, wherein obtaining the respective data items corresponding to the component generation instructions comprises:
acquiring instruction information in the component generation instruction; the instruction information comprises option keywords;
determining a data table associated with the option keyword in a preset database;
acquiring each data item corresponding to the component generation instruction in the data table; the type of each data item is one of a source data item and a default data item.
3. The method according to claim 1, wherein the generating of the initial component in the preset page according to the preset page template file comprises:
acquiring component configuration parameters in the page template file; the component configuration parameters comprise component template information and component position information;
determining a page position in the page corresponding to the component position information;
generating the initial component at the page location based on the component template information.
4. The method of claim 1, wherein after obtaining the target component, further comprising:
and displaying the target component.
5. The method of claim 1, wherein the dictionary format data comprises: at least one of option list data, tag names, front-end element identifications, default values, and option box prompt content.
6. The method of claim 1, wherein after displaying the component information, the method further comprises:
and receiving selection operation of a user aiming at any front-end option data, and executing logic operation corresponding to the option list data.
7. A data display device, comprising:
the acquisition unit is used for responding to a component generation instruction, acquiring each original data item corresponding to the component generation instruction, and converting each original data item into tuple information;
the first generation unit is used for packaging each tuple information into a context data item and generating an initial component in a preset page according to a preset page template file;
a second generation unit configured to generate dictionary format data based on each of the context data items;
the first rendering unit is used for rendering the dictionary format data to obtain component information, and the component information comprises front-end option data corresponding to each original data item;
the second rendering unit is used for rendering the component information to the initial component to obtain a target component;
and the display unit is used for responding to the operation of the target component by the user and displaying the front-end option data corresponding to the operation.
8. The apparatus of claim 7, wherein the obtaining unit comprises:
the first acquisition subunit is used for acquiring instruction information in the component generation instruction; the instruction information comprises option keywords;
the determining subunit is used for determining a data table associated with the option keyword in a preset database;
the second obtaining subunit is configured to obtain, in the data table, each data item corresponding to the component generation instruction; the type of each data item is one of a source data item and a default data item.
9. A storage medium, comprising a storage instruction, wherein the storage medium is configured to control a device on which the storage medium is located to perform the data display method according to any one of claims 1 to 6 when the instruction is executed.
10. An electronic device comprising a memory and one or more instructions, wherein the one or more instructions are stored in the memory and configured to be executed by the one or more processors to perform the data display method of any one of claims 1-6.
CN202210365818.8A 2022-04-08 2022-04-08 Data display method and device, storage medium and electronic equipment Pending CN114721642A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210365818.8A CN114721642A (en) 2022-04-08 2022-04-08 Data display method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210365818.8A CN114721642A (en) 2022-04-08 2022-04-08 Data display method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN114721642A true CN114721642A (en) 2022-07-08

Family

ID=82242355

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210365818.8A Pending CN114721642A (en) 2022-04-08 2022-04-08 Data display method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN114721642A (en)

Similar Documents

Publication Publication Date Title
US20200410031A1 (en) Systems and methods for cloud computing
CN105824787B (en) A kind of control method and system of html template dynamic configuration
US10223339B2 (en) Web-intrinsic interactive documents
WO2017124952A1 (en) Webpage script loading method and device
CN107818143A (en) A kind of page configuration, generation method and device
CN112286513A (en) Visual design method and device based on component metadata
EP2227760A1 (en) Templating system and method for updating content in real time
EP3640817A1 (en) System and method to convert a webpage built on a legacy framework to a webpage compatible with a target framework
US20150227276A1 (en) Method and system for providing an interactive user guide on a webpage
CN105683957A (en) Style sheet speculative preloading
CN116992081A (en) Page form data processing method and device and user terminal
US20220284371A1 (en) Method, device and medium for a business function page
CN105183453B (en) Information acquisition method and device based on webpage
CN112947900B (en) Web application development method and device, server and development terminal
Roussel et al. Web-based cooperative document understanding
CN115065945B (en) Short message link generation method and device, electronic equipment and storage medium
CN115758016A (en) Webpage content staticizing processing method and system
CN114721642A (en) Data display method and device, storage medium and electronic equipment
CN110928540A (en) Page generation method and device
CN113608745B (en) Method for initializing user permission and storage medium
US11886381B2 (en) Meta-format and technique to produce tutorials for multiple publishing formats
CN111061971B (en) Method and device for extracting information
CN111367515B (en) Page card development method, device, computing equipment and storage medium
CN115688679A (en) Processing method and device for webpage embedded document based on RPA
KR20000051520A (en) A method for executing a dynamic HTML

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