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

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

Info

Publication number
CN111382382B
CN111382382B CN201811627248.5A CN201811627248A CN111382382B CN 111382382 B CN111382382 B CN 111382382B CN 201811627248 A CN201811627248 A CN 201811627248A CN 111382382 B CN111382382 B CN 111382382B
Authority
CN
China
Prior art keywords
data
name
target
terminal
content name
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811627248.5A
Other languages
Chinese (zh)
Other versions
CN111382382A (en
Inventor
熊友军
林汉锐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ubtech Robotics Corp
Original Assignee
Ubtech Robotics Corp
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 Ubtech Robotics Corp filed Critical Ubtech Robotics Corp
Priority to CN201811627248.5A priority Critical patent/CN111382382B/en
Publication of CN111382382A publication Critical patent/CN111382382A/en
Application granted granted Critical
Publication of CN111382382B publication Critical patent/CN111382382B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses a data display method, a device, computer equipment and a storage medium, comprising the following steps: acquiring demand information sent by a terminal, wherein the demand information is input through a demand information input page of the terminal; acquiring target data corresponding to the demand information according to the demand information; filling the target data into the corresponding position of the data display template according to the requirement information to generate a target display data table; and sending the generated target display data table to the terminal so as to display the target display data table on the terminal. By the mode, the table generation efficiency is improved, and the terminal can check the table in time conveniently.

Description

Data display method, device, computer equipment and storage medium
Technical Field
The present invention relates to the field of web page technologies, and in particular, to a method and apparatus for displaying data, a computer device, and a storage medium.
Background
For the cloud platform, data acquisition is the basis of statistical analysis, and personalized tables are displayed efficiently and intelligently, so that the data acquisition is an essential part of the data analysis function of the cloud platform. Currently, most forms are based on specific indexes of users, and developers write static pages based on the indexes, wherein the static pages display data to be checked by the users.
Because the requirements of different users are different, that is, different users may want to view different data, different data pages need to be written for different users, and then the users view the data through the pages, however, the pages may be only different in data, so that the existing mode causes low efficiency of generating the data table.
Disclosure of Invention
In view of the foregoing, it is necessary to provide a method, apparatus, computer device, and storage medium for displaying data with high efficiency.
A method of presentation of data, the method comprising:
acquiring demand information sent by a terminal, wherein the demand information is input through a demand information input page of the terminal;
acquiring target data corresponding to the demand information according to the demand information;
filling the target data into the corresponding position of the data display template according to the requirement information to generate a target display data table;
and sending the generated target display data table to the terminal so as to display the target display data table on the terminal.
In one embodiment, the requirement information includes a table name and a data content name; the obtaining, according to the requirement information, target data corresponding to the requirement information includes: acquiring target data corresponding to the data content name according to the data content name; the step of filling the target data into the corresponding position of the data display template according to the requirement information comprises the following steps: and filling the table names, the data content names and the target data corresponding to the data content names into corresponding positions of a data display template.
In one embodiment, the demand information further includes time information; the obtaining the target data corresponding to the data content name according to the data content name comprises the following steps: generating a data acquisition instruction according to the data content name and the time information, and sending the data acquisition instruction to a data acquisition terminal so that the data acquisition terminal acquires and feeds back target data corresponding to the data content name according to the data content name and the time information; and acquiring target data corresponding to the data content name returned by the data acquisition terminal according to the time information.
In one embodiment, the data content name includes a data topic name, and after the target data corresponding to the data content name is acquired according to the data content name, the method further includes: and acquiring a target data display template associated with the data theme name according to the data theme name, and entering the step of filling the table name, the data content name and target data corresponding to the data content name into the corresponding position of the data display template.
In one embodiment, the filling the table name, the data content name and the target data corresponding to the data content name into the corresponding positions of the data display template includes: acquiring a first position identifier corresponding to the form name according to the form name, and displaying the form name at a first position corresponding to the first position identifier; acquiring a second position identifier corresponding to the data content name according to the data content name, and displaying the data content name at a second position corresponding to the second position identifier; and acquiring a third position identifier corresponding to the target data according to the target data, and displaying the target data at a third position corresponding to the third position identifier.
In one embodiment, the acquiring the requirement information sent by the terminal includes: acquiring requirement information and identity information sent by a terminal; and if the identity information passes the verification, entering the step of acquiring target data corresponding to the requirement information according to the requirement information.
There is provided a data presentation apparatus comprising:
The first acquisition module is used for acquiring the demand information sent by the terminal, and the demand information is input through a demand information input page of the terminal;
the second acquisition module is used for acquiring target data corresponding to the demand information according to the demand information;
the form generation module is used for filling the target data into the corresponding position of the data display template according to the requirement information so as to generate a target display data form;
and the table sending module is used for sending the generated target display data table to the terminal so as to display the target display data table on the terminal.
In one embodiment, the requirement information includes a table name and a data content name; the second acquisition module includes: the content data acquisition module is used for acquiring target data corresponding to the data content name according to the data content name; the table generation module includes: and the content table generation module is used for filling the table name, the data content name and the target data corresponding to the data content name into the corresponding position of the data display template.
In one embodiment, the demand information further includes time information; the content data acquisition module includes: the time module is used for generating a data acquisition instruction according to the data content name and the time information, and sending the data acquisition instruction to a data acquisition terminal so that the data acquisition terminal acquires and feeds back target data corresponding to the data content name according to the data content name and the time information; and the acquisition data acquisition module is used for acquiring target data corresponding to the data content name returned by the data acquisition terminal according to the time information.
In one embodiment, the data content name includes a data topic name, and the apparatus further includes: and the target template acquisition module is used for acquiring a target data display template associated with the data theme name according to the data theme name, and entering the step of filling the table name, the data content name and target data corresponding to the data content name into the corresponding position of the data display template.
In one embodiment, the table of contents generation module includes: the first position generation module is used for acquiring a first position identifier corresponding to the form name according to the form name, and displaying the form name at a first position corresponding to the first position identifier; the second position generation module is used for acquiring a second position identifier corresponding to the data content name according to the data content name and displaying the data content name at a second position corresponding to the second position identifier; and the third position generation module is used for acquiring a third position identifier corresponding to the target data according to the target data and displaying the target data at a third position corresponding to the third position identifier.
In one embodiment, the first acquisition module includes: the identity acquisition module is used for acquiring the requirement information and the identity information sent by the terminal; and the verification module is used for entering the step of acquiring target data corresponding to the requirement information according to the requirement information if the identity information passes the verification.
A computer device comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of:
acquiring demand information sent by a terminal, wherein the demand information is input through a demand information input page of the terminal;
acquiring target data corresponding to the demand information according to the demand information;
filling the target data into the corresponding position of the data display template according to the requirement information to generate a target display data table;
and sending the generated target display data table to the terminal so as to display the target display data table on the terminal.
A computer readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of:
Acquiring demand information sent by a terminal, wherein the demand information is input through a demand information input page of the terminal;
acquiring target data corresponding to the demand information according to the demand information;
filling the target data into the corresponding position of the data display template according to the requirement information to generate a target display data table;
and sending the generated target display data table to the terminal so as to display the target display data table on the terminal.
The implementation of the embodiment of the invention has the following beneficial effects:
the invention provides a data display method, a data display device, computer equipment and a storage medium, wherein demand information sent by a terminal is firstly obtained and is input through a demand information input page of the terminal; then, according to the demand information, acquiring target data corresponding to the demand information; filling the target data into the corresponding position of the data display template according to the requirement information to generate a target display data table; and finally, the generated target display data table is sent to the terminal so as to display the target display data table at the terminal. Therefore, in the above manner, since the requirement information input page is set at the terminal, the user can input the requirement information through the requirement information input page to indicate the data which the user wants to view, meanwhile, the server side is provided with the data display module, after receiving the requirement information, the server acquires the target data corresponding to the requirement information, and then fills the target data into the corresponding position of the data display module to obtain the target display data form, and feeds the target display data form back to the terminal. According to the method, the user can check the corresponding data form only by filling the requirement information, a developer does not need to develop different forms according to the requirements of different users, only the data which the user wants to check is filled in the preset data display template, so that the efficiency of form generation is greatly improved, and the user can check the forms in time conveniently.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Wherein:
FIG. 1 is a schematic diagram of a presentation system of data in one embodiment;
FIG. 2 is a schematic flow chart of an implementation of a method for displaying data in one embodiment;
FIG. 3 is a schematic diagram of a demand information input page in one embodiment;
FIG. 4 is a schematic diagram of a demand information input page in one embodiment;
FIG. 5 (a) is a schematic diagram of a data presentation template in one embodiment;
FIG. 5 (b) is a schematic diagram showing a data table in one embodiment;
FIG. 6 is a flow chart illustrating the implementation of step 202 in one embodiment;
FIG. 7 is a schematic diagram of a presentation system of data in one embodiment;
FIG. 8 is a block diagram of a presentation device of data in one embodiment;
FIG. 9 is a block diagram of a computer device in one embodiment.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
FIG. 1 is an application environment diagram of a method of exposing data in one embodiment. Referring to fig. 1, the data display method is applied to a data display system. The presentation system of the data includes a terminal 110 and a server 120. The terminal 110 and the server 120 are connected through a network, and the terminal 110 may include, but is not limited to, a desktop terminal and a mobile terminal, wherein the desktop terminal may include, but is not limited to, a desktop computer; the mobile terminal may include, but is not limited to, a cell phone, a tablet computer, and a notebook computer. The terminal 110 is configured to send the acquired demand information to the server 120, and the server 120 is configured to receive the demand information sent by the terminal 110, and acquire target data corresponding to the demand information according to the demand information; filling the target data into the corresponding position of the data display template according to the requirement information to generate a target display data table; finally, the server 120 transmits the generated target presentation data table to the terminal 110, so as to display the target presentation data table at the terminal 110.
As shown in fig. 2, in an embodiment, a method for displaying data is provided, and an execution body of the method for displaying data in the embodiment of the present invention is a server. The data display method specifically comprises the following steps:
step S202, obtaining requirement information sent by a terminal, wherein the requirement information is input through a requirement information input page of the terminal.
The requirement information indicates the requirement of the user, namely what the data the user needs to view is reflected.
The requirement information input page is configured to display, to a user, content to be filled in by the user (i.e., content included in the requirement information), where the user inputs requirement information through the requirement information input page, for example, the requirement information input page shown in fig. 3, and the content to be filled in by the user is a form name and a data content that the user wants to view, or, as shown in fig. 4, the content to be filled in by the user is a form name, a data content name and identity information.
Step S204, according to the requirement information, obtaining target data corresponding to the requirement information.
Since the demand information describes information reflecting the demand of the user, that is, what the data the user needs to view, at this time, the target data corresponding to the demand information is acquired from the database according to the demand information. For example, assume that the demand information filled in by the user through fig. 4 is date and province, and then date data and province data are acquired from the database.
Step S206, filling the target data into the corresponding positions of the data display templates according to the requirement information to generate a target display data table.
The data display template is a pre-designed template, and after target data is acquired, the target data is filled into the data display template to generate a target display data table. Such as the data presentation template shown in fig. 5 (a), whose contents include a table name, a data content name, and target data, and fig. 5 (b) presents a data table for the generated target.
And step 208, the generated target display data table is sent to the terminal so as to display the target display data table on the terminal.
Firstly, acquiring the demand information sent by a terminal, wherein the demand information is input through a demand information input page of the terminal; then, according to the demand information, acquiring target data corresponding to the demand information; filling the target data into the corresponding position of the data display template according to the requirement information to generate a target display data table; and finally, the generated target display data table is sent to the terminal so as to display the target display data table at the terminal. Therefore, in the above manner, since the requirement information input page is set at the terminal, the user can input the requirement information through the requirement information input page to indicate the data which the user wants to view, meanwhile, the server side is provided with the data display module, after receiving the requirement information, the server acquires the target data corresponding to the requirement information, and then fills the target data into the corresponding position of the data display module to obtain the target display data form, and feeds the target display data form back to the terminal. According to the method, the user can check the corresponding data form only by filling the requirement information, a developer does not need to develop different forms according to the requirements of different users, only the data which the user wants to check is filled in the preset data display template, so that the efficiency of form generation is greatly improved, and the user can check the forms in time conveniently.
As one embodiment of the present invention, the requirement information includes a table name and a data content name; step 204, according to the requirement information, acquiring target data corresponding to the requirement information, specifically includes:
acquiring target data corresponding to the data content name according to the data content name;
correspondingly, in step 206, according to the requirement information, the filling the target data into the corresponding position of the data display template specifically includes:
and filling the table names, the data content names and the target data corresponding to the data content names into corresponding positions of a data display template.
For example, the user inputs a table name "robot online activity number" according to the demand information input page of fig. 4, and simultaneously inputs a data content name "robot online data: date, province and robot ", then, according to the data content name, date data, province data and robot data of the robot online data are acquired from the database, and finally, the acquired date data, province data, robot data, form names and data content names are filled in corresponding positions of the data display templates as shown in fig. 5 (a) to obtain a target display data form, as shown in fig. 5 (b).
Specifically, in order to fill the obtained target data into the corresponding position, the filling the table name, the data content name and the target data corresponding to the data content name into the corresponding position of the data display template specifically includes: acquiring a first position identifier corresponding to the form name according to the form name, and displaying the form name at a first position corresponding to the first position identifier; acquiring a second position identifier corresponding to the data content name according to the data content name, and displaying the data content name at a second position corresponding to the second position identifier; and according to the target data, acquiring a third position identifier corresponding to the target data, and displaying the target data at a third position corresponding to the third position identifier, wherein the target display data table is finally obtained as shown in table 1, and the target display data table shown in fig. 5 (b) is finally obtained.
TABLE 1
As an embodiment of the present invention, the demand information further includes time information; as shown in fig. 6 and 7, step 204 of obtaining target data corresponding to the data content name according to the data content name includes:
Step 204A, generating a data acquisition instruction according to the data content name and the time information, and sending the data acquisition instruction to a data acquisition terminal 730, so that the data acquisition terminal 730 acquires and feeds back target data corresponding to the data content name according to the data content name and the time information;
and 204B, acquiring target data corresponding to the data content name returned by the data acquisition terminal according to the time information.
The time information is used for indicating the deadline of the acquired data; the data acquisition terminal can comprise, but is not limited to, a desktop terminal and a mobile terminal, wherein the desktop terminal can comprise, but is not limited to, a computer; mobile terminals may include, but are not limited to, cell phones, tablet computers, and notebook computers.
For example, assuming that today is 10 and 20 days of 2019, the name of the data content input by the user through the demand information input page is the post ranking, the author, the browsing number and the praise number, and the input time information is 11 and 30 days of 2019, then a data acquisition instruction is generated according to the name of the data content and the time information and transmitted to the data acquisition terminal 730, so that the data acquisition terminal counts the data of the author, the browsing number and the praise number of 11 and 30 days of 2019, and returns the acquired data to the server 720 at 11 and 30 days of 2019.
Since different data may have different display styles, as an embodiment of the present invention, different data display templates are set for different data to better display the data, specifically, the data content names include data theme names, and after the target data corresponding to the data content names is acquired according to the data content names in step 204, the method further includes:
and acquiring a target data display template associated with the data theme name according to the data theme name, and entering the step of filling the table name, the data content name and target data corresponding to the data content name into the corresponding position of the data display template.
The data theme name and the data display template are associated, namely, the data display template associated with the data theme name can be obtained according to the association relation as long as the data theme name is obtained, or the data theme name associated with the data display template can be obtained according to the association relation as long as the data display template is obtained.
The data theme name is used for indicating the type of the data. For example, as shown in fig. 3, "robot online data, date, province, and robot" are data content names, wherein "robot online data" is a data subject name in the data content names, for indicating that "date, province, and robot" are data belonging to the robot online type; the "post ranking, author, browsing count, and praise" is a data content name, where "post ranking" is a subject name of the data content name, and is used to indicate that "author, browsing count, and praise" is data of post ranking. The data display template associated with the robot online data is a data display template A, and the data display template associated with the post ranking is a data display template B.
As an embodiment of the present invention, step 202 of obtaining the requirement information sent by the terminal includes:
acquiring requirement information and identity information sent by a terminal;
and if the identity information passes the verification, entering the step of acquiring target data corresponding to the requirement information according to the requirement information.
The identity information is used for indicating the identity of the user inquiring the data. In the embodiment of the invention, in order to enable the data to be disclosed only to some persons with authority so that the data is illegally utilized by others, as shown in fig. 4, in the requirement information input page, the user is required to input identity information (including an account number and a password) so as to feed back the generated target display data form to the terminal after the identity verification is passed.
As shown in fig. 8, there is provided a data display device 800, specifically including:
a first obtaining module 802, configured to obtain requirement information sent by a terminal, where the requirement information is input through a requirement information input page of the terminal;
a second obtaining module 804, configured to obtain target data corresponding to the requirement information according to the requirement information;
the table generating module 806 is configured to fill the target data into a corresponding position of the data display template according to the requirement information, so as to generate a target display data table;
And the table sending module 808 is configured to send the generated target presentation data table to the terminal, so as to display the target presentation data table on the terminal.
The data display device firstly obtains the demand information sent by the terminal, and the demand information is input through a demand information input page of the terminal; then, according to the demand information, acquiring target data corresponding to the demand information; filling the target data into the corresponding position of the data display template according to the requirement information to generate a target display data table; and finally, the generated target display data table is sent to the terminal so as to display the target display data table at the terminal. Therefore, in the above manner, since the requirement information input page is set at the terminal, the user can input the requirement information through the requirement information input page to indicate the data which the user wants to view, meanwhile, the server side is provided with the data display module, after receiving the requirement information, the server acquires the target data corresponding to the requirement information, and then fills the target data into the corresponding position of the data display module to obtain the target display data form, and feeds the target display data form back to the terminal. According to the method, the user can check the corresponding data form only by filling the requirement information, a developer does not need to develop different forms according to the requirements of different users, only the data which the user wants to check is filled in the preset data display template, so that the efficiency of form generation is greatly improved, and the user can check the forms in time conveniently.
In one embodiment, the requirement information includes a table name and a data content name;
the second obtaining module 804 includes: the content data acquisition module is used for acquiring target data corresponding to the data content name according to the data content name;
the table generation module 806 includes: and the content table generation module is used for filling the table name, the data content name and the target data corresponding to the data content name into the corresponding position of the data display template.
In one embodiment, the demand information further includes time information; the content data acquisition module includes:
the time module is used for generating a data acquisition instruction according to the data content name and the time information, and sending the data acquisition instruction to a data acquisition terminal so that the data acquisition terminal acquires and feeds back target data corresponding to the data content name according to the data content name and the time information;
and the acquisition data acquisition module is used for acquiring target data corresponding to the data content name returned by the data acquisition terminal according to the time information.
In one embodiment, the data content name includes a data topic name, and the apparatus further includes:
and the target template acquisition module is used for acquiring a target data display template associated with the data theme name according to the data theme name, and entering the step of filling the table name, the data content name and target data corresponding to the data content name into the corresponding position of the data display template.
In one embodiment, the table of contents generation module includes:
the first position generation module is used for acquiring a first position identifier corresponding to the form name according to the form name, and displaying the form name at a first position corresponding to the first position identifier;
the second position generation module is used for acquiring a second position identifier corresponding to the data content name according to the data content name and displaying the data content name at a second position corresponding to the second position identifier;
and the third position generation module is used for acquiring a third position identifier corresponding to the target data according to the target data and displaying the target data at a third position corresponding to the third position identifier.
In one embodiment, the first obtaining module 802 includes:
the identity acquisition module is used for acquiring the requirement information and the identity information sent by the terminal; and the verification module is used for entering the step of acquiring target data corresponding to the requirement information according to the requirement information if the identity information passes the verification.
FIG. 9 illustrates an internal block diagram of a computer device in one embodiment. The computer device may be a server. As shown in fig. 9, the computer device includes a processor, a memory, and a network interface connected by a system bus. The memory includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system, and may also store a computer program that, when executed by a processor, causes the processor to implement a method of presenting data. The internal memory may also store a computer program that, when executed by the processor, causes the processor to perform a method of presenting data. It will be appreciated by persons skilled in the art that the architecture shown in fig. 9 is merely a block diagram of some of the architecture relevant to the present inventive arrangements and is not limiting as to the computer device to which the present inventive arrangements are applicable, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, the method for presenting data provided by the present application may be implemented in the form of a computer program, which may be executed on a computer device as shown in fig. 9. The memory of the computer device may store the various program templates of presentation apparatus 800 that make up the data. Such as a first acquisition module 802, a second acquisition module 804, a form generation module 806, and a form transmission module 808.
A computer device comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of:
acquiring demand information sent by a terminal, wherein the demand information is input through a demand information input page of the terminal;
acquiring target data corresponding to the demand information according to the demand information;
filling the target data into the corresponding position of the data display template according to the requirement information to generate a target display data table;
and sending the generated target display data table to the terminal so as to display the target display data table on the terminal.
The computer equipment firstly acquires the demand information sent by the terminal, and the demand information is input through a demand information input page of the terminal; then, according to the demand information, acquiring target data corresponding to the demand information; filling the target data into the corresponding position of the data display template according to the requirement information to generate a target display data table; and finally, the generated target display data table is sent to the terminal so as to display the target display data table at the terminal. Therefore, in the above manner, since the requirement information input page is set at the terminal, the user can input the requirement information through the requirement information input page to indicate the data which the user wants to view, meanwhile, the server side is provided with the data display module, after receiving the requirement information, the server acquires the target data corresponding to the requirement information, and then fills the target data into the corresponding position of the data display module to obtain the target display data form, and feeds the target display data form back to the terminal. According to the method, the user can check the corresponding data form only by filling the requirement information, a developer does not need to develop different forms according to the requirements of different users, only the data which the user wants to check is filled in the preset data display template, so that the efficiency of form generation is greatly improved, and the user can check the forms in time conveniently.
In one embodiment, the requirement information includes a table name and a data content name;
the obtaining, according to the requirement information, target data corresponding to the requirement information includes: acquiring target data corresponding to the data content name according to the data content name;
the step of filling the target data into the corresponding position of the data display template according to the requirement information comprises the following steps: and filling the table names, the data content names and the target data corresponding to the data content names into corresponding positions of a data display template.
In one embodiment, the demand information further includes time information; the obtaining the target data corresponding to the data content name according to the data content name comprises the following steps:
generating a data acquisition instruction according to the data content name and the time information, and sending the data acquisition instruction to a data acquisition terminal so that the data acquisition terminal acquires and feeds back target data corresponding to the data content name according to the data content name and the time information;
and acquiring target data corresponding to the data content name returned by the data acquisition terminal according to the time information.
In one embodiment, the data content name includes a data topic name, and the computer program is further configured to perform the following steps when executed by the processor:
and acquiring a target data display template associated with the data theme name according to the data theme name, and entering the step of filling the table name, the data content name and target data corresponding to the data content name into the corresponding position of the data display template.
In one embodiment, the filling the table name, the data content name and the target data corresponding to the data content name into the corresponding positions of the data display template includes:
acquiring a first position identifier corresponding to the form name according to the form name, and displaying the form name at a first position corresponding to the first position identifier;
acquiring a second position identifier corresponding to the data content name according to the data content name, and displaying the data content name at a second position corresponding to the second position identifier;
and acquiring a third position identifier corresponding to the target data according to the target data, and displaying the target data at a third position corresponding to the third position identifier.
In one embodiment, the acquiring the requirement information sent by the terminal includes:
acquiring requirement information and identity information sent by a terminal;
and if the identity information passes the verification, entering the step of acquiring target data corresponding to the requirement information according to the requirement information.
In one embodiment, a computer-readable storage medium is provided, storing a computer program which, when executed by a processor, causes the processor to perform the steps of:
acquiring demand information sent by a terminal, wherein the demand information is input through a demand information input page of the terminal;
acquiring target data corresponding to the demand information according to the demand information;
filling the target data into the corresponding position of the data display template according to the requirement information to generate a target display data table;
and sending the generated target display data table to the terminal so as to display the target display data table on the terminal.
The computer readable storage medium firstly obtains the demand information sent by the terminal, and the demand information is input through a demand information input page of the terminal; then, according to the demand information, acquiring target data corresponding to the demand information; filling the target data into the corresponding position of the data display template according to the requirement information to generate a target display data table; and finally, the generated target display data table is sent to the terminal so as to display the target display data table at the terminal. Therefore, in the above manner, since the requirement information input page is set at the terminal, the user can input the requirement information through the requirement information input page to indicate the data which the user wants to view, meanwhile, the server side is provided with the data display module, after receiving the requirement information, the server acquires the target data corresponding to the requirement information, and then fills the target data into the corresponding position of the data display module to obtain the target display data form, and feeds the target display data form back to the terminal. According to the method, the user can check the corresponding data form only by filling the requirement information, a developer does not need to develop different forms according to the requirements of different users, only the data which the user wants to check is filled in the preset data display template, so that the efficiency of form generation is greatly improved, and the user can check the forms in time conveniently.
In one embodiment, the requirement information includes a table name and a data content name;
the obtaining, according to the requirement information, target data corresponding to the requirement information includes: acquiring target data corresponding to the data content name according to the data content name;
the step of filling the target data into the corresponding position of the data display template according to the requirement information comprises the following steps: and filling the table names, the data content names and the target data corresponding to the data content names into corresponding positions of a data display template.
In one embodiment, the demand information further includes time information; the obtaining the target data corresponding to the data content name according to the data content name comprises the following steps:
generating a data acquisition instruction according to the data content name and the time information, and sending the data acquisition instruction to a data acquisition terminal so that the data acquisition terminal acquires and feeds back target data corresponding to the data content name according to the data content name and the time information;
and acquiring target data corresponding to the data content name returned by the data acquisition terminal according to the time information.
In one embodiment, the data content name includes a data topic name, and the computer program is further configured to perform the following steps when executed by the processor:
and acquiring a target data display template associated with the data theme name according to the data theme name, and entering the step of filling the table name, the data content name and target data corresponding to the data content name into the corresponding position of the data display template.
In one embodiment, the filling the table name, the data content name and the target data corresponding to the data content name into the corresponding positions of the data display template includes:
acquiring a first position identifier corresponding to the form name according to the form name, and displaying the form name at a first position corresponding to the first position identifier;
acquiring a second position identifier corresponding to the data content name according to the data content name, and displaying the data content name at a second position corresponding to the second position identifier;
and acquiring a third position identifier corresponding to the target data according to the target data, and displaying the target data at a third position corresponding to the third position identifier.
In one embodiment, the acquiring the requirement information sent by the terminal includes:
acquiring requirement information and identity information sent by a terminal;
and if the identity information passes the verification, entering the step of acquiring target data corresponding to the requirement information according to the requirement information.
It should be noted that, the above data display method, data display device, computer device, and computer readable storage medium belong to one general inventive concept, and the content in the embodiments of the data display method, data display device, computer device, and computer readable storage medium may be mutually applicable.
Those skilled in the art will appreciate that all or part of the processes in the methods of the above embodiments may be implemented by a computer program for instructing relevant hardware, where the program may be stored in a non-volatile computer readable storage medium, and where the program, when executed, may include processes in the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the application and are described in detail herein without thereby limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.

Claims (8)

1. A method for displaying data, comprising:
acquiring demand information sent by a terminal, wherein the demand information is input through a demand information input page of the terminal;
acquiring target data corresponding to the demand information according to the demand information;
the demand information includes a table name and a data content name; the data content names comprise data theme names; after the target data corresponding to the data content name is acquired according to the data content name, the method further comprises the following steps:
Acquiring a target data display template associated with the data topic name according to the data topic name;
filling the target data into the corresponding position of the data display template according to the requirement information to generate a target display data table;
acquiring a first position identifier corresponding to the form name according to the form name, and displaying the form name at a first position corresponding to the first position identifier;
acquiring a second position identifier corresponding to the data content name according to the data content name, and displaying the data content name at a second position corresponding to the second position identifier;
according to the target data, a third position identifier corresponding to the target data is obtained, and the target data is displayed at a third position corresponding to the third position identifier;
and sending the generated target display data table to the terminal so as to display the target display data table on the terminal.
2. The method of claim 1, wherein the demand information includes a table name and a data content name;
the obtaining, according to the requirement information, target data corresponding to the requirement information includes: acquiring target data corresponding to the data content name according to the data content name;
The step of filling the target data into the corresponding position of the data display template according to the requirement information comprises the following steps: and filling the table names, the data content names and the target data corresponding to the data content names into corresponding positions of a data display template.
3. The method of claim 2, wherein the demand information further comprises time information; the obtaining the target data corresponding to the data content name according to the data content name comprises the following steps:
generating a data acquisition instruction according to the data content name and the time information, and sending the data acquisition instruction to a data acquisition terminal so that the data acquisition terminal acquires and feeds back target data corresponding to the data content name according to the data content name and the time information;
and acquiring target data corresponding to the data content name returned by the data acquisition terminal according to the time information.
4. The method of claim 1, wherein the obtaining the requirement information sent by the terminal includes:
acquiring requirement information and identity information sent by a terminal;
and if the identity information passes the verification, entering the step of acquiring target data corresponding to the requirement information according to the requirement information.
5. A data presentation device, comprising:
the first acquisition module is used for acquiring the demand information sent by the terminal, and the demand information is input through a demand information input page of the terminal;
the second acquisition module is used for acquiring target data corresponding to the demand information according to the demand information; the demand information includes a table name and a data content name; the data content names comprise data theme names; after the target data corresponding to the data content name is acquired according to the data content name, the method further comprises the following steps:
acquiring a target data display template associated with the data topic name according to the data topic name;
the form generation module is used for filling the target data into the corresponding position of the data display template according to the requirement information so as to generate a target display data form; the method is also used for acquiring a first position identifier corresponding to the form name according to the form name, and displaying the form name at a first position corresponding to the first position identifier;
acquiring a second position identifier corresponding to the data content name according to the data content name, and displaying the data content name at a second position corresponding to the second position identifier;
According to the target data, a third position identifier corresponding to the target data is obtained, and the target data is displayed at a third position corresponding to the third position identifier;
and the table sending module is used for sending the generated target display data table to the terminal so as to display the target display data table on the terminal.
6. The apparatus of claim 5, wherein the demand information includes a table name and a data content name;
the second acquisition module includes: the content data acquisition module is used for acquiring target data corresponding to the data content name according to the data content name;
the table generation module includes: and the content table generation module is used for filling the table name, the data content name and the target data corresponding to the data content name into the corresponding position of the data display template.
7. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method of presentation of data as claimed in any one of claims 1 to 4 when the computer program is executed by the processor.
8. A computer-readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the presentation method of data according to any one of claims 1 to 4.
CN201811627248.5A 2018-12-28 2018-12-28 Data display method, device, computer equipment and storage medium Active CN111382382B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811627248.5A CN111382382B (en) 2018-12-28 2018-12-28 Data display method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811627248.5A CN111382382B (en) 2018-12-28 2018-12-28 Data display method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111382382A CN111382382A (en) 2020-07-07
CN111382382B true CN111382382B (en) 2023-12-01

Family

ID=71215509

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811627248.5A Active CN111382382B (en) 2018-12-28 2018-12-28 Data display method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111382382B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113435847A (en) * 2021-06-30 2021-09-24 珠海金山办公软件有限公司 Information display method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103607427A (en) * 2013-10-30 2014-02-26 小米科技有限责任公司 Method and device for information display
CN106534356A (en) * 2016-12-12 2017-03-22 腾讯科技(深圳)有限公司 Method and apparatus for processing template data, requesting template data and displaying template data
CN106776655A (en) * 2015-11-25 2017-05-31 北京国双科技有限公司 The methods of exhibiting and device of Web application systems
CN107562821A (en) * 2017-08-17 2018-01-09 平安科技(深圳)有限公司 Pivot method, apparatus and computer-readable storage medium based on database
CN107741934A (en) * 2016-08-22 2018-02-27 腾讯科技(深圳)有限公司 page processing method and page processing system
WO2018113241A1 (en) * 2016-12-20 2018-06-28 上海壹账通金融科技有限公司 Page presentation method and device, server and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103607427A (en) * 2013-10-30 2014-02-26 小米科技有限责任公司 Method and device for information display
CN106776655A (en) * 2015-11-25 2017-05-31 北京国双科技有限公司 The methods of exhibiting and device of Web application systems
CN107741934A (en) * 2016-08-22 2018-02-27 腾讯科技(深圳)有限公司 page processing method and page processing system
CN106534356A (en) * 2016-12-12 2017-03-22 腾讯科技(深圳)有限公司 Method and apparatus for processing template data, requesting template data and displaying template data
WO2018113241A1 (en) * 2016-12-20 2018-06-28 上海壹账通金融科技有限公司 Page presentation method and device, server and storage medium
CN107562821A (en) * 2017-08-17 2018-01-09 平安科技(深圳)有限公司 Pivot method, apparatus and computer-readable storage medium based on database

Also Published As

Publication number Publication date
CN111382382A (en) 2020-07-07

Similar Documents

Publication Publication Date Title
CN109344642B (en) Interface rule checking method, device, computer equipment and storage medium
CN108573371B (en) Data approval method, device, computer equipment and storage medium
US20200195980A1 (en) Video information processing method, computer equipment and storage medium
CN108491367B (en) Report document generation method and device, computer equipment and storage medium
CN110442697B (en) Man-machine interaction method, system, computer equipment and storage medium
CN108897726B (en) Electronic resume creating method, storage medium and server
CN112000903B (en) Data query method and device, computer equipment and storage medium
CN109190067B (en) Browser input box display method and device, computer equipment and storage medium
CN113076731A (en) Report file generation method and device, computer equipment and storage medium
CN111382382B (en) Data display method, device, computer equipment and storage medium
CN108346061A (en) Corporate authentication method, apparatus, computer equipment and storage medium
CN112559938A (en) Electronic seal file generation method and device, computer equipment and storage medium
CN112035113A (en) Navigation bar loading method, device, equipment and medium of H5 page
CN110321529B (en) Frame text display method and device, computer equipment and storage medium
CN111026988A (en) Page loading method, device and system and computer equipment
CN110647350A (en) Interface document generation method and device, computer equipment and storage medium
CN108763393A (en) Book management method, device, computer equipment and storage medium
CN112434505A (en) Template generation method and device, computer equipment and storage medium
CN112783866A (en) Data reading method and device, computer equipment and storage medium
CN109597499A (en) A kind of customized value selecting method, device, computer equipment and storage medium
CN114546192B (en) Content display processing method and device and content display method and device
CN112861041B (en) Media content display method and device, electronic equipment and storage medium
CN110430233B (en) Scene file uploading method and device, computer equipment and storage medium
CN114238252A (en) File sharing control method and system, terminal device and storage medium
CN113268968A (en) Report file generation method and device, computer equipment and storage medium

Legal Events

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