CN111258466A - Data visualization method and device, computer equipment and storage medium - Google Patents
Data visualization method and device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN111258466A CN111258466A CN202010005649.8A CN202010005649A CN111258466A CN 111258466 A CN111258466 A CN 111258466A CN 202010005649 A CN202010005649 A CN 202010005649A CN 111258466 A CN111258466 A CN 111258466A
- Authority
- CN
- China
- Prior art keywords
- data
- government affair
- editing
- interface
- editing operation
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application relates to a data visualization method, a data visualization device, computer equipment and a storage medium. The method comprises the following steps: acquiring a plurality of candidate government affair data through a big data platform; receiving data editing operation in a data editing page, and obtaining a data set according to the data editing operation; wherein the data set consists of target government affair data selected from the candidate government affair data; the editing area in the data editing page is used for displaying data editing content; a preview area in the data editing page is used for displaying the data set; receiving an interface editing operation in an interface editing page; an editing area in the interface editing page is used for displaying interface editing content, and a preview area in the interface editing page is used for displaying a preview image of a data display interface; and generating the data display interface according to the data set and the interface editing operation. The embodiment of the invention can save time and labor and reduce the processing difficulty of data visualization.
Description
Technical Field
The present application relates to the field of visualization technologies, and in particular, to a data visualization method and apparatus, a computer device, and a storage medium.
Background
With the development of urban information datamation and big data field, the demand of people for data visualization is increasing.
In the related art, data visualization is usually implemented through programming development, that is, for each data visualization project, code is written by a programmer. If the customer wishes to optimize the modification of the presentation data, presentation pages, or other content, the programmer is required to modify the code.
This way of implementing data visualization takes a lot of time to write code and is also very labor intensive.
Disclosure of Invention
In view of the above, there is a need to provide a data visualization method, apparatus, computer device and storage medium capable of saving time and labor in the data visualization process.
In a first aspect, an embodiment of the present invention provides a data visualization method, where the method includes:
acquiring a plurality of candidate government affair data through a big data platform;
receiving data editing operation in a data editing page, and obtaining a data set according to the data editing operation; wherein, the data set consists of target government affair data selected from the candidate government affair data; the editing area in the data editing page is used for displaying data editing content; the preview area in the data editing page is used for displaying a data set;
receiving an interface editing operation in an interface editing page; an editing area in the interface editing page is used for displaying interface editing content, and a preview area in the interface editing page is used for displaying a preview image of the data display interface;
and generating a data display interface according to the data set and the interface editing operation.
In one embodiment, the data editing operation includes: setting data display levels and target government affair data in each data display level;
the interface editing operation comprises: setting data display levels, adding data display modules in the data display levels, adjusting the size and the layout of the data display modules, setting data attribute parameters in the data display modules and setting chart parameters in the data display modules.
In one embodiment, the data display module is provided with at least one of a name input box, a width input box, a next data display level input box, a data attribute parameter selection menu and a chart parameter selection menu;
the data attribute parameters comprise character attributes and chart attributes; the chart parameters include at least one of chart color, chart size, and data spacing.
In one embodiment, the data editing operation further includes setting a data exception range, and the method further includes:
when the target government affair data are determined to be in the data abnormal range, alarm information is generated;
and displaying alarm information in a data display interface.
In one embodiment, the method further comprises:
receiving authority editing operation on an authority editing page, and setting user use authority according to the authority editing operation; the user use authority comprises a common user use authority and an administrator user use authority.
In one embodiment, the obtaining of the plurality of candidate government affair data through the big data platform includes:
acquiring a plurality of intermediate government affair data from a big data platform; the intermediate government affair data is obtained by performing data cleaning processing on original government affair data by a big data platform, wherein the original government affair data comprises static government affair data and dynamic government affair data;
and processing each intermediate government affair data into a plurality of data fields to obtain candidate government affair data.
In one embodiment, the method further comprises:
acquiring new intermediate government affair data from the big data platform according to a preset time interval;
and updating the candidate government affair data and the target government affair data in the data set according to the new intermediate government affair data.
In a second aspect, an embodiment of the present invention provides a data visualization apparatus, including:
the candidate government affair data acquisition module is used for acquiring a plurality of candidate government affair data through the big data platform;
the data set obtaining module is used for receiving data editing operation in the data editing page and obtaining a data set according to the data editing operation; wherein, the data set consists of target government affair data selected from the candidate government affair data; the editing area in the data editing page is used for displaying data editing content; the preview area in the data editing page is used for displaying a data set;
the interface editing operation receiving module is used for receiving interface editing operation in an interface editing page; an editing area in the interface editing page is used for displaying interface editing content, and a preview area in the interface editing page is used for displaying a preview image of the data display interface;
and the data display interface generating module is used for generating a data display interface according to the data set and the interface editing operation.
In one embodiment, the data editing operation includes: setting data display levels and target government affair data in each data display level;
the interface editing operation comprises: setting data display levels, adding data display modules in the data display levels, adjusting the size and the layout of the data display modules, setting data attribute parameters in the data display modules and setting chart parameters in the data display modules.
In one embodiment, the data display module is provided with at least one of a name input box, a width input box, a next data display level input box, a data attribute parameter selection menu and a chart parameter selection menu;
the data attribute parameters comprise character attributes and chart attributes; the chart parameters include at least one of chart color, chart size, and data spacing.
In one embodiment, the data editing operation further includes setting a data exception range, and the apparatus further includes:
the alarm information generation module is used for generating alarm information when the target government affair data are determined to be in the data abnormal range;
and the alarm information display module is used for displaying the alarm information in the data display interface.
In one embodiment, the apparatus further comprises:
the authority setting module is used for receiving authority editing operation on the authority editing page and setting the use authority of the user according to the authority editing operation; the user use authority comprises a common user use authority and an administrator user use authority.
In one embodiment, the candidate government affair data acquiring module is specifically configured to acquire a plurality of intermediate government affair data from a big data platform; the intermediate government affair data is obtained by performing data cleaning processing on original government affair data by a big data platform, wherein the original government affair data comprises static government affair data and dynamic government affair data; and processing each intermediate government affair data into a plurality of data fields to obtain candidate government affair data.
In one embodiment, the apparatus further comprises:
the intermediate government affair data acquisition module is used for acquiring new intermediate government affair data from the big data platform according to a preset time interval;
and the data updating module is used for updating the candidate government affair data and the target government affair data in the data set according to the new intermediate government affair data.
In a third aspect, an embodiment of the present invention provides a computer device, including a memory and a processor, where the memory stores a computer program, and the processor implements the steps in the method when executing the computer program.
In a fourth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, the computer program, when being executed by a processor, implementing the steps in the method as described above.
According to the data visualization method, the data visualization device, the computer equipment and the storage medium, a plurality of candidate government affair data are obtained through a big data platform; receiving data editing operation in a data editing page, and obtaining a data set according to the data editing operation; receiving an interface editing operation in an interface editing page; and generating a data display interface according to the data set and the interface editing operation. According to the embodiment of the invention, the user only needs to edit the data on the data editing page and edit the data display interface on the interface editing page, so that the visual processing of the government affair data can be realized, the user does not need to write codes, the time and the labor can be saved, and the processing difficulty of the data visualization can be reduced.
Drawings
FIG. 1 is a diagram of an application environment of a data visualization method in one embodiment;
FIG. 2 is a schematic flow chart diagram of a data visualization method in one embodiment;
FIG. 3 is a schematic flow chart diagram of a data visualization method in another embodiment;
FIG. 4 is a schematic diagram of a data editing page in one embodiment;
FIG. 5 is a diagram of an interface editing page in one embodiment;
FIG. 6a is a schematic diagram of a data presentation interface in one embodiment;
FIG. 6b is a schematic diagram of a data presentation interface in one embodiment;
FIG. 7 is a block diagram of a data visualization device in one embodiment;
FIG. 8 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The data visualization method provided by the application can be applied to the application environment shown in fig. 1. The application environment comprises a terminal 102 and a server 104; the terminal 102 and the server 104 communicate via a network. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the server 104 may be implemented by an independent server or a server cluster formed by a plurality of servers.
In one embodiment, as shown in fig. 2, a data visualization method is provided, which is described by taking the example that the method is applied to the terminal in fig. 1, and includes the following steps:
In this embodiment, the big data platform may be disposed in the server, and the terminal and the server communicate with each other through the network, that is, the candidate government affair data may be obtained through the big data platform. The big data platform can be connected with various data acquisition devices, so that various monitoring data can be obtained. For example, the big data platform is connected with production monitoring equipment, environment monitoring equipment, traffic monitoring equipment and the like, so that monitoring data such as safety supervision data, three-proofing data, regional public transportation data, construction environmental protection data, market supervision data, social security data, modified financial data and the like are obtained. The embodiment of the invention does not limit the data acquisition equipment and the monitoring data in detail, and can be set according to the actual situation.
In the prior art, monitoring data is generally processed into data packets, and then data visualization processing is performed according to the data packets. In the embodiment of the invention, the terminal directly acquires the monitoring data from the big data platform and preprocesses the monitoring data to obtain the candidate government affair data. Compared with the prior art, the embodiment of the invention can acquire the data to be visualized more timely.
In this embodiment, the data set is composed of target government affair data selected from the candidate government affair data; the editing area in the data editing page is used for displaying data editing content; the preview area in the data editing page is used to present the data collection. Specifically, the user selects a data editing page on the terminal, and the terminal displays the data editing page. Then, the user selects a plurality of candidate government affair data as target government affair data in an editing area of the data editing page, the terminal receives data editing operation of the user, and the selected target government affair data form a data set according to the data editing operation. And meanwhile, displaying the obtained data set in a preview area of the data editing page.
For example, a plurality of candidate government affair data are a1 and a2 … … a15, a1 is dragged to a first designated position in a data editing page by a user, and the terminal determines a1 as a target government affair data according to the dragging operation of the user; and dragging the a7 to a second designated position by the user, determining the a7 as another target government affair data by the terminal according to the dragging operation of the user, and selecting a plurality of target government affair data by analogy. After the target government affair data are determined, the terminal generates a data set according to the target government affair data and displays the data set in a preview area of a data editing page. The embodiment of the invention does not limit the data editing operation and can be set according to the actual situation.
In this embodiment, an editing area in the interface editing page is used to display the interface editing content, and a preview area in the interface editing page is used to display a preview image of the data display interface. Specifically, when the user selects the interface editing page at the terminal, the terminal displays the interface editing page. Then, a user edits a data display interface to be displayed in an editing area of the interface editing page; and the terminal receives the interface editing operation and displays a data display interface to be generated in a preview area of the interface editing page according to the interface editing operation.
For example, the user sets a text format corresponding to the target government data a1 and sets a chart format corresponding to the target government data a7 in an interface editing page; the terminal determines the text format corresponding to the target government affair data a1 and the chart format corresponding to the target government affair data a7 according to the setting of the user. The embodiment of the invention does not define the interface editing operation in detail, and can be set according to the actual situation.
The sequence of step 202 and step 203 is not limited in detail in this embodiment, and may be set according to actual situations.
And step 204, generating a data display interface according to the data set and the interface editing operation.
In this embodiment, after the data set is determined and the interface editing operation is received, the data set and the preview image displayed in the preview area of the interface editing page are integrated together to generate the data display interface.
For example, the terminal receives a data editing operation on a data editing page to obtain a data set, wherein the data set comprises 6990 of talents in the family and 127381 of family planning statistical population; then, receiving an interface editing operation on an interface editing page, wherein the interface editing operation is specifically to set two data display modules which are respectively enterprise talents and age distribution; and finally, generating a data display interface according to the data set and the interface editing operation, wherein on the data display interface, the data display module of the enterprise talents displays that the number of the talents in the family is 6990, and the data display module of the age distribution displays that the family planning statistic population is 127381.
The generated data display interface can be displayed on a large screen, can be displayed in a browser, and can also be displayed in a terminal application program. The embodiment of the present invention is not limited in detail, and may be set according to actual situations.
In the data visualization method, a plurality of candidate government affair data are obtained through a big data platform; receiving data editing operation in a data editing page, and obtaining a data set according to the data editing operation; receiving an interface editing operation in an interface editing page; and generating a data display interface according to the data set and the interface editing operation. According to the embodiment of the invention, the user only needs to edit the data on the data editing page and edit the data display interface on the interface editing page, so that the visual processing of the government affair data can be realized, the user does not need to write codes, the time and the labor can be saved, and the processing difficulty of the data visualization can be reduced.
In another embodiment, as shown in FIG. 3, this embodiment relates to an alternative process of data visualization. On the basis of the embodiment shown in fig. 2, the method may include the following steps:
In this embodiment, the intermediate government affair data is obtained by performing data cleaning processing on the original government affair data by the big data platform, and the original government affair data includes static government affair data and dynamic government affair data. Specifically, the big data platform acquires original government affair data from the data acquisition device, and the original government affair data can be static true and false data, dynamic government affair data acquired by a crawler, and government affair data acquired by an API interface provided by a third party. Because the data structures of the data are different and a large amount of junk data exists, the big data platform performs data cleaning processing on the original government affair data to obtain intermediate government affair data with a uniform data format.
When data visualization is carried out, the terminal obtains a plurality of pieces of intermediate government affair data from the big data platform, and then each piece of intermediate government affair data is processed into a plurality of data fields, wherein each data field is one piece of candidate government affair data.
In this embodiment, the data set is composed of target government affair data selected from the candidate government affair data; the editing area in the data editing page is used for displaying data editing content; the preview area in the data editing page is used to present the data collection.
In one embodiment, the data editing operation comprises: setting data display levels and setting target government affair data in each data display level.
Specifically, referring to the data editing page shown in fig. 4, the user can set a plurality of data presentation levels in the data editing page, and set target government data in each data presentation level. The terminal receives data editing operation that a user sets a plurality of data display levels and sets target government affair data in each data display level.
For example, a first data display level is set, and the first data display level comprises enterprise talents and age distribution; setting target government affair data corresponding to the talents of the enterprise as the number 6990 of the talents in the family in a first data display level, and setting target government affair data corresponding to age distribution as a family planning statistic population 127381; setting a second data hierarchy, wherein the second data display hierarchy of the enterprise talents comprises a form of talent academic situation distribution and a pie chart of enterprise talent quantity distribution; target government affair data corresponding to talent study situation distribution are set as the subjects 6990, the masters 1712, the doctors 97, the specialties 428 and the others 190, and target government affair data corresponding to talent quantity distribution of enterprises are set in a pie chart. The number of the data display levels is not limited in detail in the embodiment of the invention, and the data display levels can be set according to actual conditions.
In the prior art, the visual processing of government affair data is generally only suitable for large-screen display. In the embodiment of the invention, a single data display hierarchy structure can be set, which is also suitable for large-screen display, and a multi-data display hierarchy structure can also be set, so that the method is suitable for displaying browsers and terminal application programs; or the large screen display is controlled by the terminal. Therefore, the application scenarios of the embodiment of the invention are richer than those of the prior art.
In this embodiment, an editing area in the interface editing page is used to display the interface editing content, and a preview area in the interface editing page is used to display a preview image of the data display interface.
In one embodiment, the interface editing operation comprises: setting data display levels, adding data display modules in the data display levels, adjusting the size and the layout of the data display modules, setting data attribute parameters in the data display modules and setting chart parameters in the data display modules.
Specifically, referring to the interface editing page shown in fig. 5, a user sets a plurality of data display levels in the interface editing page corresponding to the data display levels set in the data editing page; then, a data presentation module is provided in each data presentation hierarchy. For example, a data presentation module of the corporate talents and a data presentation module of the age distribution are provided at a first data presentation level. Then, the size of each data display module and the arrangement layout among the plurality of data display modules can be adjusted. For example, the data presentation module of the business talent and the data presentation module of the age distribution are set to be the same size, and the presentation module of the business talent is set on the data presentation module of the age distribution. The embodiment of the invention does not limit the interface editing operation in detail and can be set according to the actual situation.
Furthermore, data attribute parameters in each data presentation module and chart parameters in each data presentation module can be set. Optionally, the data display module is provided with at least one of a name input box, a width input box, a next data display level input box, a data attribute parameter selection menu and a chart parameter selection menu; the data attribute parameters comprise character attributes and chart attributes; the chart parameters include at least one of chart color, chart size, and data spacing.
Specifically, referring to FIG. 5, the user may enter the name of the data presentation module in a name entry box, the width of the data presentation module in a width entry box, and a link to the next data presentation level in the next data presentation level. In addition, the user can also select whether the data is the character attribute or the chart attribute in the data attribute parameter selection menu; if the data is a chart attribute, a chart color, a chart size, a data spacing in the chart, and the like may also be set. The embodiment of the invention does not define the data display module, the data attribute parameters and the chart parameters in detail, and can be set according to the actual situation.
And step 304, receiving the authority editing operation on the authority editing page, and setting the use authority of the user according to the authority editing operation.
In this embodiment, the user usage right includes a general user usage right and an administrator user usage right. Specifically, if the user selects the authority editing page, the terminal displays the authority editing page; then, the user sets different user identifications corresponding to different user use authorities on the authority editing page.
For example, if the user a is set as the administrator user usage right, the user a may select target government affair data, set a data display interface, and view the data display interface; if the user B, C is set to be the normal user, the user B, C can only view the data display interface, cannot select the target government affair data, and cannot set the data display interface.
The use permission of the administrator user and the use permission of the common user can be further subdivided, wherein different use permissions of the administrator user have different editing permissions, and different use permissions of the common user have different viewing permissions of the content.
The sequence of steps 302-304 is not limited in detail in the embodiment of the present invention, and may be set according to actual situations.
And 305, generating a data display interface according to the data set and the interface editing operation.
In this embodiment, after determining a data set and an interface editing operation, a data display interface is generated, referring to the data display interfaces shown in fig. 6a and 6 b.
In this embodiment, the terminal acquires new intermediate government affair data from the big data platform according to a preset time interval, and then processes the acquired new intermediate government affair data into a plurality of data fields to obtain new candidate government affair data. And then, the terminal replaces the existing candidate government affair data with the new candidate government affair data, namely, the candidate government affair data and the target government affair data in the data set are updated. Compared with the prior art, the embodiment of the invention can update the visual data, and the updating process does not need to modify codes and only needs to acquire new intermediate government affair data from a large data platform. The updating time is saved, the difficulty of updating the visual data is reduced, and the visual data is more real-time and accurate.
In this embodiment, the data editing operation further includes: and setting a data exception range. Specifically, a user can set a data abnormal range on a data editing page, after target government affair data are updated, the terminal judges whether the target government affair data are in the data abnormal range, and if the target government affair data are in the data abnormal range, alarm information is generated and displayed on a data display interface.
For example, a user sets a data abnormal range for reservoir flood prevention, meteorological information, forest fire prevention, environmental quality, electric energy detection and other types of government affair data on a data editing page, and gives an alarm when the types of target government affair data are in the data abnormal range. The data exception range is not limited in detail in the embodiment of the invention, and can be set according to actual conditions.
In the data visualization method, a plurality of intermediate government affair data are acquired from a big data platform; processing each intermediate government affair data into a plurality of data fields to obtain candidate government affair data; receiving data editing operation in a data editing page, and obtaining a data set according to the data editing operation; receiving an interface editing operation in an interface editing page; receiving authority editing operation on an authority editing page, and setting user use authority according to the authority editing operation; generating a data display interface according to the data set and the interface editing operation; acquiring new intermediate government affair data from the big data platform according to a preset time interval; updating the candidate government affair data and the target government affair data in the data set according to the new intermediate government affair data; when the target government affair data are determined to be in the data abnormal range, alarm information is generated; and displaying alarm information in a data display interface. In the embodiment of the invention, the middle government affair data is obtained through the big data platform, the channels for obtaining the government affair data are more, and static government affair data and dynamic government affair data can be obtained. The user edits the data on the data editing page, and edits the data display interface on the interface editing page without compiling codes, so that not only is the time and the labor saved, but also the difficulty of data visualization processing is reduced. In addition, the user can edit the user use authority on the authority editing page, so that information leakage can be prevented, and data safety is guaranteed. Furthermore, the user can set a data abnormal range, alarm information is displayed when target government affair data are abnormal, and the data monitoring function enables a manager to find problems and process the problems in time.
It should be understood that although the various steps in the flowcharts of fig. 2-3 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-3 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 7, there is provided a data visualization apparatus comprising:
a candidate government affair data acquisition module 401, configured to acquire multiple candidate government affair data through a big data platform;
a data set obtaining module 402, configured to receive a data editing operation in a data editing page, and obtain a data set according to the data editing operation; wherein, the data set consists of target government affair data selected from the candidate government affair data; the editing area in the data editing page is used for displaying data editing content; the preview area in the data editing page is used for displaying a data set;
an interface editing operation receiving module 403, configured to receive an interface editing operation in an interface editing page; an editing area in the interface editing page is used for displaying interface editing content, and a preview area in the interface editing page is used for displaying a preview image of the data display interface;
and a data display interface generating module 404, configured to generate a data display interface according to the data set and the interface editing operation.
In one embodiment, the data editing operation includes: setting data display levels and target government affair data in each data display level;
the interface editing operation comprises: setting data display levels, adding data display modules in the data display levels, adjusting the size and the layout of the data display modules, setting data attribute parameters in the data display modules and setting chart parameters in the data display modules.
In one embodiment, the data display module is provided with at least one of a name input box, a width input box, a next data display level input box, a data attribute parameter selection menu and a chart parameter selection menu;
the data attribute parameters comprise character attributes and chart attributes; the chart parameters include at least one of chart color, chart size, and data spacing.
In one embodiment, the data editing operation further includes setting a data exception range, and the apparatus further includes:
the alarm information generation module is used for generating alarm information when the target government affair data are determined to be in the data abnormal range;
and the alarm information display module is used for displaying the alarm information in the data display interface.
In one embodiment, the apparatus further comprises:
the authority setting module is used for receiving authority editing operation on the authority editing page and setting the use authority of the user according to the authority editing operation; the user use authority comprises a common user use authority and an administrator user use authority.
In one embodiment, the candidate government affair data acquiring module is specifically configured to acquire a plurality of intermediate government affair data from a big data platform; the intermediate government affair data is obtained by performing data cleaning processing on original government affair data by a big data platform, wherein the original government affair data comprises static government affair data and dynamic government affair data; and processing each intermediate government affair data into a plurality of data fields to obtain candidate government affair data.
In one embodiment, the apparatus further comprises:
the intermediate government affair data acquisition module is used for acquiring new intermediate government affair data from the big data platform according to a preset time interval;
and the data updating module is used for updating the candidate government affair data and the target government affair data in the data set according to the new intermediate government affair data.
For specific limitations of the data visualization apparatus, reference may be made to the above limitations of the data visualization method, which are not described herein again. The respective modules in the data visualization device may be wholly or partially implemented by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 8. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of data visualization. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 8 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
acquiring a plurality of candidate government affair data through a big data platform;
receiving data editing operation in a data editing page, and obtaining a data set according to the data editing operation; wherein, the data set consists of target government affair data selected from the candidate government affair data; the editing area in the data editing page is used for displaying data editing content; the preview area in the data editing page is used for displaying a data set;
receiving an interface editing operation in an interface editing page; an editing area in the interface editing page is used for displaying interface editing content, and a preview area in the interface editing page is used for displaying a preview image of the data display interface;
and generating a data display interface according to the data set and the interface editing operation.
In one embodiment, the data editing operation includes: setting data display levels and target government affair data in each data display level;
the interface editing operation comprises: setting data display levels, adding data display modules in the data display levels, adjusting the size and the layout of the data display modules, setting data attribute parameters in the data display modules and setting chart parameters in the data display modules.
In one embodiment, the data display module is provided with at least one of a name input box, a width input box, a next data display level input box, a data attribute parameter selection menu and a chart parameter selection menu;
the data attribute parameters comprise character attributes and chart attributes; the chart parameters include at least one of chart color, chart size, and data spacing.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
when the target government affair data are determined to be in the data abnormal range, alarm information is generated;
and displaying alarm information in a data display interface.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
receiving authority editing operation on an authority editing page, and setting user use authority according to the authority editing operation; the user use authority comprises a common user use authority and an administrator user use authority.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring a plurality of intermediate government affair data from a big data platform; the intermediate government affair data is obtained by performing data cleaning processing on original government affair data by a big data platform, wherein the original government affair data comprises static government affair data and dynamic government affair data;
and processing each intermediate government affair data into a plurality of data fields to obtain candidate government affair data.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring new intermediate government affair data from the big data platform according to a preset time interval;
and updating the candidate government affair data and the target government affair data in the data set according to the new intermediate government affair data.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
acquiring a plurality of candidate government affair data through a big data platform;
receiving data editing operation in a data editing page, and obtaining a data set according to the data editing operation; wherein, the data set consists of target government affair data selected from the candidate government affair data; the editing area in the data editing page is used for displaying data editing content; the preview area in the data editing page is used for displaying a data set;
receiving an interface editing operation in an interface editing page; an editing area in the interface editing page is used for displaying interface editing content, and a preview area in the interface editing page is used for displaying a preview image of the data display interface;
and generating a data display interface according to the data set and the interface editing operation.
In one embodiment, the data editing operation includes: setting data display levels and target government affair data in each data display level;
the interface editing operation comprises: setting data display levels, adding data display modules in the data display levels, adjusting the size and the layout of the data display modules, setting data attribute parameters in the data display modules and setting chart parameters in the data display modules.
In one embodiment, the data display module is provided with at least one of a name input box, a width input box, a next data display level input box, a data attribute parameter selection menu and a chart parameter selection menu;
the data attribute parameters comprise character attributes and chart attributes; the chart parameters include at least one of chart color, chart size, and data spacing.
In one embodiment, the computer program when executed by the processor further performs the steps of:
when the target government affair data are determined to be in the data abnormal range, alarm information is generated;
and displaying alarm information in a data display interface.
In one embodiment, the computer program when executed by the processor further performs the steps of:
receiving authority editing operation on an authority editing page, and setting user use authority according to the authority editing operation; the user use authority comprises a common user use authority and an administrator user use authority.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring a plurality of intermediate government affair data from a big data platform; the intermediate government affair data is obtained by performing data cleaning processing on original government affair data by a big data platform, wherein the original government affair data comprises static government affair data and dynamic government affair data;
and processing each intermediate government affair data into a plurality of data fields to obtain candidate government affair data.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring new intermediate government affair data from the big data platform according to a preset time interval;
and updating the candidate government affair data and the target government affair data in the data set according to the new intermediate government affair data.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile 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), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (10)
1. A method for data visualization, the method comprising:
acquiring a plurality of candidate government affair data through a big data platform;
receiving data editing operation in a data editing page, and obtaining a data set according to the data editing operation; wherein the data set consists of target government affair data selected from the candidate government affair data; the editing area in the data editing page is used for displaying data editing content; a preview area in the data editing page is used for displaying the data set;
receiving an interface editing operation in an interface editing page; an editing area in the interface editing page is used for displaying interface editing content, and a preview area in the interface editing page is used for displaying a preview image of a data display interface;
and generating the data display interface according to the data set and the interface editing operation.
2. The method of claim 1, wherein the data editing operation comprises: setting data display levels and setting the target government affair data in each data display level;
the interface editing operation comprises the following steps: setting the data display levels, adding data display modules in the data display levels, adjusting the size and the layout of the data display modules, setting data attribute parameters in the data display modules and setting chart parameters in the data display modules.
3. The method according to claim 2, wherein at least one of a name input box, a width input box, a next data presentation level input box, a data attribute parameter selection menu, and a chart parameter selection menu is provided in the data presentation module;
the data attribute parameters comprise character attributes and chart attributes; the chart parameters include at least one of chart color, chart size, and data spacing.
4. The method of claim 2, wherein the data editing operation further comprises setting a data exception range, the method further comprising:
when the target government affair data are determined to be in the data abnormal range, alarm information is generated;
and displaying the alarm information in the data display interface.
5. The method of claim 1, further comprising:
receiving authority editing operation on an authority editing page, and setting user use authority according to the authority editing operation; the user use authority comprises a common user use authority and an administrator user use authority.
6. The method according to claim 1, wherein said obtaining a plurality of candidate government data via a big data platform comprises:
obtaining a plurality of intermediate government affair data from the big data platform; the intermediate government affair data is obtained by performing data cleaning processing on original government affair data by the big data platform, wherein the original government affair data comprises static government affair data and dynamic government affair data;
and processing each intermediate government affair data into a plurality of data fields to obtain the candidate government affair data.
7. The method of claim 6, further comprising:
acquiring new intermediate government affair data from the big data platform according to a preset time interval;
and updating the candidate government affair data and the target government affair data in the data set according to the new intermediate government affair data.
8. A data visualization device, the device comprising:
the candidate government affair data acquisition module is used for acquiring a plurality of candidate government affair data through the big data platform;
the data set obtaining module is used for receiving data editing operation in a data editing page and obtaining a data set according to the data editing operation; wherein the data set consists of target government affair data selected from the candidate government affair data; the editing area in the data editing page is used for displaying data editing content; a preview area in the data editing page is used for displaying the data set;
the interface editing operation receiving module is used for receiving interface editing operation in an interface editing page; an editing area in the interface editing page is used for displaying interface editing content, and a preview area in the interface editing page is used for displaying a preview image of a data display interface;
and the data display interface generating module is used for generating the data display interface according to the data set and the interface editing operation.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010005649.8A CN111258466A (en) | 2020-01-03 | 2020-01-03 | Data visualization method and device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010005649.8A CN111258466A (en) | 2020-01-03 | 2020-01-03 | Data visualization method and device, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111258466A true CN111258466A (en) | 2020-06-09 |
Family
ID=70946843
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010005649.8A Pending CN111258466A (en) | 2020-01-03 | 2020-01-03 | Data visualization method and device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111258466A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112449232A (en) * | 2020-10-28 | 2021-03-05 | 北京三快在线科技有限公司 | Interface display scheme generation method, device, equipment and storage medium |
CN112686226A (en) * | 2021-03-12 | 2021-04-20 | 深圳市安软科技股份有限公司 | Big data management method and device based on gridding management and electronic equipment |
CN112685489A (en) * | 2020-12-21 | 2021-04-20 | 珠海格力电器股份有限公司 | Data display method, device, terminal, storage medium and processor |
CN112732795A (en) * | 2021-01-19 | 2021-04-30 | 华东师范大学 | Big data visualization method and system |
CN113360154A (en) * | 2021-06-17 | 2021-09-07 | 北京光启元数字科技有限公司 | Page construction method, device, equipment and readable medium |
CN114125555A (en) * | 2021-11-12 | 2022-03-01 | 深圳麦风科技有限公司 | Method, terminal and storage medium for previewing edited data |
CN114138388A (en) * | 2021-11-29 | 2022-03-04 | 北京声智科技有限公司 | Display data processing method, device, terminal and storage medium |
CN115047996A (en) * | 2022-05-05 | 2022-09-13 | 北京达佳互联信息技术有限公司 | Data processing method and device, electronic equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104767813A (en) * | 2015-04-08 | 2015-07-08 | 江苏国盾科技实业有限责任公司 | Public bank big data service platform based on openstack |
CN105787034A (en) * | 2016-02-25 | 2016-07-20 | 海智网聚网络技术(北京)有限公司 | Data presentation method and device |
CN108446381A (en) * | 2018-03-19 | 2018-08-24 | 武汉华大国家数字化学习工程技术有限公司 | A kind of data visualisation system and method based on Web |
CN109460542A (en) * | 2018-01-15 | 2019-03-12 | 安徽七禾软件有限公司 | A kind of grain and oil report form generation method and system |
CN110019246A (en) * | 2018-07-13 | 2019-07-16 | 浙江甲骨文超级码科技股份有限公司 | A kind of poverty alleviation big data visual information system |
CN110297958A (en) * | 2019-05-24 | 2019-10-01 | 杭州快忆科技有限公司 | Data visualization processing method and processing device |
-
2020
- 2020-01-03 CN CN202010005649.8A patent/CN111258466A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104767813A (en) * | 2015-04-08 | 2015-07-08 | 江苏国盾科技实业有限责任公司 | Public bank big data service platform based on openstack |
CN105787034A (en) * | 2016-02-25 | 2016-07-20 | 海智网聚网络技术(北京)有限公司 | Data presentation method and device |
CN109460542A (en) * | 2018-01-15 | 2019-03-12 | 安徽七禾软件有限公司 | A kind of grain and oil report form generation method and system |
CN108446381A (en) * | 2018-03-19 | 2018-08-24 | 武汉华大国家数字化学习工程技术有限公司 | A kind of data visualisation system and method based on Web |
CN110019246A (en) * | 2018-07-13 | 2019-07-16 | 浙江甲骨文超级码科技股份有限公司 | A kind of poverty alleviation big data visual information system |
CN110297958A (en) * | 2019-05-24 | 2019-10-01 | 杭州快忆科技有限公司 | Data visualization processing method and processing device |
Non-Patent Citations (2)
Title |
---|
张晓凌等: "《技术转移信息服务平台建设》", 31 May 2011, 知识产权出版社 * |
王元光: "模型驱动的数据可视化平台的设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112449232A (en) * | 2020-10-28 | 2021-03-05 | 北京三快在线科技有限公司 | Interface display scheme generation method, device, equipment and storage medium |
CN112685489A (en) * | 2020-12-21 | 2021-04-20 | 珠海格力电器股份有限公司 | Data display method, device, terminal, storage medium and processor |
CN112732795A (en) * | 2021-01-19 | 2021-04-30 | 华东师范大学 | Big data visualization method and system |
CN112686226A (en) * | 2021-03-12 | 2021-04-20 | 深圳市安软科技股份有限公司 | Big data management method and device based on gridding management and electronic equipment |
CN113360154A (en) * | 2021-06-17 | 2021-09-07 | 北京光启元数字科技有限公司 | Page construction method, device, equipment and readable medium |
CN114125555A (en) * | 2021-11-12 | 2022-03-01 | 深圳麦风科技有限公司 | Method, terminal and storage medium for previewing edited data |
CN114125555B (en) * | 2021-11-12 | 2024-02-09 | 深圳麦风科技有限公司 | Editing data preview method, terminal and storage medium |
CN114138388A (en) * | 2021-11-29 | 2022-03-04 | 北京声智科技有限公司 | Display data processing method, device, terminal and storage medium |
CN115047996A (en) * | 2022-05-05 | 2022-09-13 | 北京达佳互联信息技术有限公司 | Data processing method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111258466A (en) | Data visualization method and device, computer equipment and storage medium | |
CN110377851B (en) | Method and device for realizing multi-stage linkage drop-down frame and computer equipment | |
CN111930370A (en) | Visualized page processing method and device, computer equipment and storage medium | |
CN109543162B (en) | Multi-chart display method and device for data, computer equipment and storage medium | |
CN110413922B (en) | Page information display method, device, computer equipment and storage medium | |
US11621936B2 (en) | Integrating a communication platform into a third-party platform | |
CN111222153B (en) | Application program authority management method and device and storage medium | |
WO2020019454A1 (en) | Method and device for displaying risk data, computer apparatus and storage medium | |
CN111596911A (en) | Method and device for generating control, computer equipment and storage medium | |
CN111783405A (en) | Online document processing method and device, computer equipment and storage medium | |
CN113129155B (en) | Multi-type personnel information processing method, equipment and storage medium | |
CN109542558B (en) | Information visualization method and device for billboard, computer equipment and storage medium | |
CN112613275A (en) | Receipt generation method and device, computer equipment and storage medium | |
CN114518815B (en) | Method, device, equipment, medium and program product for displaying building drawing | |
CN114428899B (en) | Multimedia resource pushing method and device, electronic equipment and storage medium | |
CN115471582A (en) | Map generation method and device, computer equipment and storage medium | |
CN115145674A (en) | Page jump method, device, equipment and medium based on dynamic anchor point | |
CN114239525A (en) | Contract template editing method and device, computer equipment and storage medium | |
CN115269529A (en) | Document processing method and device, electronic equipment and storage medium | |
CN111428182B (en) | Evaluation index processing method, device, computer equipment and storage medium | |
CN113110835A (en) | Layout management method, device, medium and equipment for medical operating system interface | |
CN109542559B (en) | Billboard card processing method and device, computer equipment and storage medium | |
CN112597749A (en) | Target template generation method and device, computer equipment and storage medium | |
CN113095047A (en) | Experiment report generation method and device, computer equipment and storage medium | |
CN113961110B (en) | User operation response method, device, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200609 |
|
RJ01 | Rejection of invention patent application after publication |