Visual display method and device of data and electronic equipment

Through the method of updating the mapping relationship of the original data and determining the target display format, the data is visually displayed, which solves the problem of low data display efficiency in the prior art and achieves fast and efficient data display.

CN119762622APending Publication Date: 2025-04-04GUANGDONG POWER GRID CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411917939.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-24
Publication Date
2025-04-04

AI Technical Summary

Technical Problem

The efficiency of displaying data in the prior art is low, and the problem of low data display efficiency cannot be effectively solved.

Method used

By obtaining the original data of the target resource and the display data of the display platform, the original data is updated based on the mapping relationship between the display field and the information field, the target data is obtained, and the target display format of the target data on the display platform is determined based on the target data type and display data. Finally, the target data is visually displayed through the chart function and/or list function.

Benefits of technology

It effectively reduces the display time of visual display target data, improves the efficiency of data display, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119762622A_ABST
    Figure CN119762622A_ABST
Patent Text Reader

Abstract

The invention discloses a data visual display method and device and electronic equipment. The method relates to the field of data processing, and comprises the following steps: acquiring original data of a target resource and display data of a display platform corresponding to the target resource; updating the original data based on a mapping relationship between the display field and the information field to obtain target data; determining a target display format of the target data on a display platform based on the target data type of the target data and the display data; and performing visual display on the target data on the display platform through a chart function and / or a list function based on the target display format. The technical problem of relatively low data display efficiency in related technologies is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing, and in particular to a method, device and electronic equipment for visualizing data. Background Art

[0002] With the development of science and technology, more and more industries are becoming more and more complex, and more and more processes and procedures are being carried out. More and more industries will generate a large amount of data after going through complex processes and procedures, and the development of the industry is inseparable from the analysis of these data. Users can obtain the direction of optimizing or reforming the industry through the analysis of a large amount of data in the industry, and even analyze the development direction of the industry. Therefore, analyzing the data generated in the industry is essential for industry development and optimization, and displaying the data to users is one of the important processing links before analyzing the data, but the efficiency of displaying data in related technologies is low.

[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0004] The embodiments of the present invention provide a method, device and electronic device for visually displaying data, so as to at least solve the technical problem of low efficiency in displaying data in the related art.

[0005] According to one aspect of an embodiment of the present invention, a method for visual display of data is provided, comprising: obtaining original data of a target resource and display data of a display platform corresponding to the target resource, wherein the original data comprises information fields associated with the target resource, and the display data comprises display fields pre-set by the display platform and display formats corresponding to different data types; updating the original data based on a mapping relationship between the display fields and the information fields to obtain target data; determining a target display format of the target data on the display platform based on a target data type and the display data of the target data; and visually displaying the target data on the display platform through a chart function and / or a list function based on the target display format.

[0006] Furthermore, the information field includes multiple subfields, and the original data is updated based on the mapping relationship between the display field and the information field to obtain the target data, including: determining the first field in the information field that is not included in the display field based on the mapping relationship between the information field and the display field; filling the first field based on the associated data with the first field in the original data to obtain the first data corresponding to the first field; merging the first field, the first data and the original data to obtain the target data.

[0007] Further, the first field, the first data and the original data are merged to obtain target data, including: merging the first field, the first data and the original data to obtain first merged data, wherein the first merged data includes a main table and multiple sub-tables, and there is a mapping relationship between the main table and the multiple sub-tables; performing an association query on the main table and the multiple sub-tables in the first merged data to obtain associated data in the multiple sub-tables associated with the main table; and merging the main table and the multiple sub-tables based on the associated data to obtain the target data.

[0008] Further, the main table and the multiple sub-tables are merged based on the associated data to obtain target data, including: merging the main table and the multiple sub-tables based on the associated data to obtain second merged data; converting the first data relationship in the second merged data into a second data relationship to obtain the target data, wherein the first data relationship is used to represent the corresponding relationship between any type of data and multiple types of data, and the second data relationship is used to represent the corresponding relationship between any type of data and other single type of data.

[0009] Furthermore, the first data relationship in the second merged data is converted into a second data relationship to obtain target data, including: converting the first data relationship in the second merged data into a second data relationship to obtain converted data; determining a field to be derived in the converted data based on preset keywords, wherein the field to be derived contains preset keywords; and expanding the converted data based on the field to be derived to obtain target data.

[0010] Furthermore, the conversion data is expanded based on the field to be derived to obtain the target data, including: decomposing the field to be derived to obtain multiple fields; filling the multiple fields based on the associated data with the multiple fields in the conversion data to obtain multiple data corresponding to the multiple fields; merging the multiple fields, the multiple data and the conversion data to obtain the target data.

[0011] Furthermore, based on the mapping relationship between the information field and the display field, determining the first field in the information field that is not included in the display field includes: merging different subfields belonging to the same attribute in the information field to obtain a merged field; based on the mapping relationship between the merged field and the display field, determining the first field in the merged field that is not included in the display field.

[0012] According to another aspect of an embodiment of the present invention, there is further provided an electronic device, comprising: a memory storing an executable program; and a processor for running the program, wherein the method in each embodiment of the present invention is executed when the program is running.

[0013] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided. The computer-readable storage medium includes a stored executable program, wherein when the executable program is running, the device where the computer-readable storage medium is located is controlled to execute the methods in various embodiments of the present invention.

[0014] According to another aspect of an embodiment of the present invention, a computer program product is provided, including a computer program. When the computer program is executed by a processor, the method in each embodiment of the present invention is implemented.

[0015] According to another aspect of the embodiments of the present invention, a computer program is further provided. When the computer program is executed by a processor, the methods in the embodiments of the present invention are implemented.

[0016] In an embodiment of the present invention, the original data of the target resource and the display data of the display platform corresponding to the target resource are obtained; the original data is updated based on the mapping relationship between the display field and the information field to obtain the target data; based on the target data type and the display data of the target data, the target display format of the target data on the display platform is determined; based on the target display format, the target data is visualized on the display platform through the chart function and / or the list function. The present application updates the original data through the mapping relationship between the display field and the information field to obtain more accurate target data, and accurately determines the target display format of the target data on the display platform according to the target data type and the display data, and quickly visualizes the target data on the display platform according to the target display format, thereby achieving the purpose of effectively reducing the display time of the visual display target data, thereby achieving the technical effect of effectively improving the efficiency of displaying data, and thus solving the technical problem of low efficiency of displaying data in related technologies. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0018] Figure 1 is a flow chart of an optional data visualization method according to an embodiment of the present invention;

[0019] Figure 2 is a schematic diagram of an optional visualization display of human data according to an embodiment of the present invention;

[0020] Figure 3 It is a schematic structural diagram of an optional data visualization display device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0021] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0022] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0023] According to an embodiment of the present invention, an embodiment of a method for visual display of data is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0024] Figure 1 is a flowchart of an optional data visualization method according to an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:

[0025] Step S102, obtaining original data of the target resource and display data of the display platform corresponding to the target resource, wherein the original data includes information fields associated with the target resource, and the display data includes display fields preset by the display platform and display formats corresponding to different data types.

[0026] The above-mentioned target resources refer to resources whose corresponding data need to be displayed to users. The above-mentioned target resources refer to resources that can be represented by data. Among them, the above-mentioned target resources include but are not limited to: personnel basic information resources, personnel training information resources, personnel work performance resources or vehicle power consumption resources and other resources with large amounts of data.

[0027] The above-mentioned raw data refers to the unprocessed raw data in the above-mentioned target resources. In the present application, the above-mentioned raw data is associated with the above-mentioned target resources. The above-mentioned raw data includes information fields associated with the target resources, wherein the above-mentioned raw data includes but is not limited to: basic information data of personnel, work performance data of personnel, training information data of personnel or power consumption data of vehicles, etc.

[0028] The above-mentioned display platform refers to a platform used to display the above-mentioned target resources to users. Users can determine the allocation of the above-mentioned target resources or the status of the above-mentioned target resources through the above-mentioned display platform. Users can analyze the target resources through the above-mentioned display platform and then determine the planning of the above-mentioned target resources. The above-mentioned display platform includes but is not limited to: software platform, commercial display platform, self-built platform or cloud platform, etc.

[0029] The above-mentioned display data refers to the data displayed on the above-mentioned display platform. The above-mentioned display data represents the data that the user wants to see, wherein the above-mentioned display data can be set according to the status of the display platform, the above-mentioned display data can also be set manually according to experience and needs, and the above-mentioned display data can also be set according to the actual application scenario.

[0030] The above information fields refer to fields in which the target resources included in the original data are associated with the original data. The above information fields are components of the original data. Each information field represents a different type of data. The above original data can be displayed through the above information fields.

[0031] The above-mentioned display fields refer to the fields pre-set in the above-mentioned display platform. Users can set the above-mentioned display fields according to their own needs. The display fields included in the display data can specify the display data that the user needs to see. The display data can be adjusted through the above-mentioned display fields.

[0032] The above-mentioned data types refer to the data types of display data. Different types of display data may not be displayed in the same way in the display platform. The data types of the above-mentioned display data include but are not limited to: integers, fractions, decimals or percentages, etc. The display data can be displayed in different display formats in the display platform according to the data type of the display data.

[0033] The above-mentioned display format refers to the display format in which the data type of the above-mentioned display data is displayed in the above-mentioned display platform, wherein different data types do not necessarily correspond to the same display format. The above-mentioned display format includes but is not limited to: bar chart display, coordinate display, data display or pie chart display, etc.

[0034] In an optional embodiment, the user can obtain the original data of the target resource from the server storing the original data of the target resource, and determine the display data of the display platform corresponding to the target resource by analyzing the display platform corresponding to the target resource. The display data includes information fields associated with the target resource, and the display data includes display fields preset by the display platform and display formats corresponding to different data types.

[0035] In another optional embodiment, the user may also obtain the original data of the target resource from the cloud where the original data of the target resource is stored, and obtain the display data of the display platform and the display fields pre-set by the display platform and the display formats corresponding to different data types contained in the display data from the memory of the display platform.

[0036] In the present application, by obtaining the original data of the target resource and the display data of the display platform, the difference between the original data of the target resource and the display data of the display platform can be determined, and then the original data can be adjusted to efficiently visualize the data, thereby effectively improving the speed of data visualization display and enhancing the user experience.

[0037] Step S104: updating the original data based on the mapping relationship between the display field and the information field to obtain the target data.

[0038] The above mapping relationship refers to the mapping relationship between the display field and the information field. The above mapping relationship can represent the connection between the above original data and the above display data. The above mapping relationship can be used to update the original data to obtain the target data.

[0039] The above-mentioned target data refers to the data obtained by updating the original data through the mapping relationship between the display field and the information field. The above-mentioned target data represents the data that the user wants to display on the display platform. In this application, the above-mentioned target data needs to be visualized to the user so that the user can determine the status of the equipment or personnel corresponding to the target data through the above-mentioned target data.

[0040] In an optional embodiment, after obtaining the above-mentioned original data and the above-mentioned display data, the above-mentioned information field can be extracted from the original data manually, and the above-mentioned display field can be extracted from the display data. The user can determine the mapping relationship between the above-mentioned information field and the above-mentioned display field based on the above-mentioned information field and the above-mentioned display field, and update the original data according to the above-mentioned mapping relationship to obtain the target data that needs to be visualized on the display platform.

[0041] In another optional embodiment, an extraction module may be pre-established, and after obtaining the original data and the display data, the original data and the display data may be respectively used as inputs of the extraction module, and input into the extraction module to output information fields and display fields. The user may determine the mapping relationship between the information fields and the display fields based on the information fields and the display fields, and update the original data based on the mapping relationship to obtain the target data that needs to be visually displayed on the display platform.

[0042] In another optional embodiment, a mapping model can be established in advance. After obtaining the above-mentioned original data and the above-mentioned display data, the above-mentioned information fields can be extracted from the original data in an artificial manner, and the above-mentioned display fields can be extracted from the display data. After obtaining the above-mentioned information fields and the above-mentioned display fields, the above-mentioned information fields and the above-mentioned display fields can be used as inputs of the above-mentioned mapping model, input into the above-mentioned mapping model, and the mapping relationship between the above-mentioned information fields and the above-mentioned display fields is output. The user can update the original data according to the above-mentioned mapping relationship to obtain the target data that needs to be visually displayed on the display platform.

[0043] In this application, by determining the mapping relationship between the display field and the information field to update the original data, more accurate target data is obtained, which effectively improves the accuracy of obtaining the target data, thereby improving the accuracy of the visual display of the data and improving the user experience.

[0044] Step S106: determining a target presentation format of the target data on the presentation platform based on the target data type and presentation data of the target data.

[0045] The above-mentioned target display format refers to the target display format of the target data in the above-mentioned display platform. Different target display formats give different intuitive feelings to users. Users can determine the target display format of the above-mentioned target data in the above-mentioned display platform according to the target data type, display data and their own needs. The above-mentioned display formats include but are not limited to: bar chart display, coordinate display, data display or pie chart display, etc.

[0046] In an optional embodiment, after obtaining the target data, the target data type of the target data can be determined by manual analysis. After determining the target data type of the target data, the target display format of the target data on the display platform can be manually determined based on the display data.

[0047] In another optional embodiment, a type analysis model can be established in advance. After obtaining the target data, the target data is used as the input of the type analysis model and input into the above-mentioned type analysis model to output the target data type. After obtaining the above-mentioned target data type, the target display format of the target data on the display platform can be manually determined based on the display data.

[0048] In another optional embodiment, a format determination model can be established in advance. After obtaining the target data, the target data type of the target data can be determined through manual analysis. After determining the target data type of the target data, the target data type and display data of the target data can be used as inputs to the above-mentioned format determination model, and input into the above-mentioned format determination model to output the target display format.

[0049] In this application, the target data type and display data are used to quickly determine the target display format of the target data on the display platform, which effectively improves the speed of determining the target display format, thereby improving the efficiency of data visualization display and improving the user experience.

[0050] Step S108: Visually display the target data on the display platform through a chart function and / or a list function based on the target display format.

[0051] The above-mentioned chart function refers to the function of the display platform to visualize the data. Through the above-mentioned chart function, the above-mentioned target data can be displayed to the user in the form of a chart.

[0052] The above-mentioned list function refers to the function of the display platform to visualize the data. Through the above-mentioned list function, the above-mentioned target data can be displayed to the user in the form of a list.

[0053] In an optional embodiment, after the target display format of the target data is determined, the target data is visually displayed on the display platform through a chart function and / or a list function.

[0054] In the present application, the target data can be intuitively displayed to the user through the chart function and / or list function, so that the user can quickly and conveniently analyze the target data, effectively improving the efficiency of data visualization display, improving the accuracy of user visualization display data, and improving the user's usage experience.

[0055] For example, Figure 2 is a schematic diagram of an optional visualization display of human data according to an embodiment of the present invention, such as Figure 2 As shown, a pie chart is made through the chart function to show the data distribution of social outlook, level and academic qualifications. The list function is used to show the specific data of social outlook, level and academic qualifications below the pie chart.

[0056] Through the above steps, the original data of the target resource and the display data of the display platform corresponding to the target resource are obtained; based on the mapping relationship between the display field and the information field, the original data is updated to obtain the target data; based on the target data type and display data of the target data, the target display format of the target data on the display platform is determined; based on the target display format, the target data is visualized on the display platform through the chart function and / or list function. The present application updates the original data through the mapping relationship between the display field and the information field to obtain more accurate target data, and accurately determines the target display format of the target data on the display platform according to the target data type and the display data, and quickly visualizes the target data on the display platform according to the target display format, thereby achieving the purpose of effectively reducing the display time of the visual display target data, thereby achieving the technical effect of effectively improving the efficiency of displaying data, and then solving the technical problem of low efficiency of displaying data in related technologies.

[0057] Optionally, the information field includes multiple subfields, and the original data is updated based on the mapping relationship between the display field and the information field to obtain the target data, including: determining the first field in the information field that is not included in the display field based on the mapping relationship between the information field and the display field; filling the first field based on the associated data with the first field in the original data to obtain the first data corresponding to the first field; merging the first field, the first data and the original data to obtain the target data.

[0058] The above subfields refer to the subfields in the above information field that specifically store data. The above information field is composed of a plurality of the above subfields, and each subfield contains different information in the target resource.

[0059] The above-mentioned first field refers to a field in the information field that is not included in the display field. Since fields may be missing during the display process, it is necessary to determine the first field that is not included in the display field and fill the first field to ensure the integrity of the display data.

[0060] In an optional embodiment, according to the mapping relationship between the information field and the display field, the user can determine the first field in the information field that is not included in the display field by manual comparison, and after determining the first field, fill the first field according to the data associated with the first field in the original data to obtain the first data corresponding to the first field. After obtaining the first data, the user can merge the first field, the first data and the original data to obtain the target data.

[0061] In another optional embodiment, a comparison model can be established in advance, and after obtaining the information field and the display field, the information field and the display field are used as inputs of the comparison model, input into the comparison model, and the first field is output. After determining the first field, the first field is filled according to the data associated with the first field in the original data to obtain the first data corresponding to the first field. The user can merge the first field, the first data and the original data to obtain the target data.

[0062] In another optional embodiment, a merge model may be pre-established, and after obtaining the first data corresponding to the first field, the first field, the first data and the original data may be used as inputs of the merge model, and input into the merge model to output the target data.

[0063] In the present application, by determining the first field and the first data, missing failures when displaying data are prevented, the integrity of the data visualization display is ensured, the reliability of the data visualization display is effectively improved, and the user experience is improved.

[0064] Optionally, merging the first field, the first data and the original data to obtain target data includes: merging the first field, the first data and the original data to obtain first merged data, wherein the first merged data includes a main table and multiple sub-tables, and there is a mapping relationship between the main table and the multiple sub-tables; performing an association query on the main table and the multiple sub-tables in the first merged data to obtain associated data in the multiple sub-tables associated with the main table; and merging the main table and the multiple sub-tables based on the associated data to obtain the target data.

[0065] The above-mentioned main table refers to a table in the data that contains core data and key information. The main table usually contains a unique identifier for uniquely identifying each record in the table. The main table is usually associated with other tables, and the main table is connected to other tables through foreign keys. In the present application, the first merged data includes a main table and multiple sub-tables, and the main table and the multiple sub-tables are connected through foreign keys.

[0066] The above-mentioned sub-table refers to a table containing characters and their corresponding codes. Through the above-mentioned sub-table, data can be correctly identified to display the data visually. In this application, it is necessary to determine the associated data between the main table and the sub-table to obtain the target data.

[0067] In an optional embodiment, after merging the first field, the first data and the original data, first merged data is obtained, and the first merged data includes a main table and multiple sub-tables. After obtaining the first merged data, according to the association relationship between the main table and the multiple sub-tables in the first merged data, an association query is performed on the main table and the multiple sub-tables in the first merged data to obtain the associated data in the multiple sub-tables that are mutually associated with the main table. After obtaining the associated data, the main table and the sub-tables are merged according to the associated data to obtain the target data.

[0068] In this application, the main table and the sub-table are merged by obtaining the associated data between them to prevent data redundancy, improve the consistency and integrity of the merged target data, effectively improve the reliability of data visualization display, and enhance the user experience.

[0069] Optionally, merging the main table and multiple sub-tables based on the associated data to obtain target data includes: merging the main table and multiple sub-tables based on the associated data to obtain second merged data; converting the first data relationship in the second merged data into a second data relationship to obtain the target data, wherein the first data relationship is used to represent the corresponding relationship between any type of data and multiple types of data, and the second data relationship is used to represent the corresponding relationship between any type of data and other single type of data.

[0070] The second merged data refers to data obtained by merging the main table and multiple sub-tables according to the associated data, and the data relationship in the second merged data is the first data relationship.

[0071] The first data relationship refers to the correspondence between any type of data and multiple types of data in the second merged data. The first data relationship is a one-to-many data relationship of data types in the second merged data.

[0072] The second data relationship refers to the corresponding relationship between any type of data and a single type of data in the second merged data. The second data relationship is a one-to-one data relationship of data types in the second merged data.

[0073] In an optional embodiment, after obtaining the associated data, the main table and multiple sub-tables are merged based on the associated data to obtain second merged data. The data relationship in the second merged data is a one-to-many first data relationship between any type of data and multiple types of data. The user can convert the above first data relationship into a second data relationship between any type of data and a single type of data, and determine the second merged data of the second data relationship as the target data.

[0074] In another optional embodiment, a conversion model may be established in advance, and after obtaining the associated data, the main table and multiple sub-tables may be merged based on the associated data to obtain second merged data. After obtaining the second merged data, the second merged data may be used as an input to the conversion model, input into the conversion model, output the second merged data that converts the first data relationship into the second data relationship, and determine the second merged data of the second data relationship as the target data.

[0075] In the present application, by converting the first data relationship in the second merged data into the second data relationship, the efficiency of data query and data display is effectively improved, thereby effectively improving the efficiency of data visualization display and effectively improving the user experience.

[0076] Optionally, converting the first data relationship in the second merged data into a second data relationship to obtain target data includes: converting the first data relationship in the second merged data into a second data relationship to obtain converted data; determining a field to be derived in the converted data based on preset keywords, wherein the field to be derived contains preset keywords; and expanding the converted data based on the field to be derived to obtain target data.

[0077] The above-mentioned preset keywords refer to keywords for determining the fields to be derived in the conversion data. The above-mentioned preset keywords can be set according to the state of the second merged data. The above-mentioned preset keywords can also be set manually according to experience and needs. The above-mentioned preset keywords can also be set according to actual application scenarios.

[0078] The above-mentioned fields to be derived refer to new fields generated based on existing data. The above-mentioned fields to be derived refer to fields that need to be filled. In this application, the fields to be derived in the conversion data are obtained by preset keywords, and the fields are filled to increase the details of the target data, making the content of the visual display of the target data richer.

[0079] In an optional embodiment, after converting the first data relationship in the second merged data into the second data relationship, the converted data is obtained, and the user can determine the field to be derived in the converted data according to the preset keyword, and the field to be derived contains the preset keyword. After determining the field to be derived, the converted data is filled according to the field to be derived to obtain the target data.

[0080] In another optional embodiment, a derived field generation model can be pre-established, and after the first data relationship in the second merged data is converted into the second data relationship, after the conversion data is obtained, the above conversion data is used as the input of the above derived field generation model, and is input into the above derived field generation model, and the field to be derived is output, and the field to be derived contains preset keywords. After the field to be derived is determined, the conversion data is filled according to the field to be derived to obtain the target data.

[0081] In this application, the fields to be derived in the conversion data are determined by preset keywords, and the conversion data is expanded, which effectively increases the dimension of the conversion data, effectively improves the richness of the acquired target data, improves the richness of the displayed data, and improves the user experience.

[0082] Optionally, the conversion data is expanded based on the field to be derived to obtain target data, including: decomposing the field to be derived to obtain multiple fields; filling the multiple fields based on the associated data with the multiple fields in the conversion data to obtain multiple data corresponding to the multiple fields; merging multiple fields, multiple data and conversion data to obtain target data.

[0083] In an optional embodiment, after obtaining the field to be derived, the user can decompose the field to be derived according to the needs to obtain multiple fields, fill the multiple fields according to the associated data with the multiple fields in the converted data, and obtain multiple data corresponding to the multiple fields, wherein the multiple fields and the multiple data are in a one-to-one correspondence. After obtaining the multiple data, the user can merge the multiple fields, the multiple data and the converted data to obtain the target data.

[0084] In this application, the derived fields are decomposed and multiple fields are filled after the decomposition to obtain target data with richer details, and multiple fields, multiple data and converted data are merged to obtain more comprehensive target data, thereby effectively improving the comprehensiveness of data visualization display and effectively improving the user experience.

[0085] Optionally, based on the mapping relationship between the information field and the display field, determining the first field in the information field that is not included in the display field includes: merging different subfields belonging to the same attribute in the information field to obtain a merged field; based on the mapping relationship between the merged field and the display field, determining the first field in the merged field that is not included in the display field.

[0086] The above merged field refers to a field obtained by merging different fields of the same attribute. Since fields with the same attribute can be merged, a more comprehensive merged field is obtained by merging different fields of the same attribute.

[0087] In an optional embodiment, the user may merge different subfields of the same attribute in the information field to obtain a merged field, and determine the first field in the merged field that is not included in the display field based on a mapping relationship between the merged field and the display field.

[0088] For example, when different fields of the same attribute are Communist Youth League member and League member, the display field is League member, so it does not include Communist Youth League member. The attributes of the two fields are both League member in the social outlook. There are two representations of Communist Youth League member and League member in the original data. The fields of Communist Youth League member and League member are merged into League member, and based on the mapping relationship between the merged field League member and the display field, the first field Communist Youth League member in the merged field League member that is not included in the display field is determined.

[0089] In the present application, by merging different fields of the same attribute, the comprehensiveness of obtaining the first field is effectively improved, the comprehensiveness of displaying visual data is improved, and thus the user experience is improved.

[0090] According to an embodiment of the present invention, an embodiment of a data visualization display device is provided. It should be noted that the device can be used to execute the above-mentioned data visualization display method. Figure 3 is a schematic diagram of the structure of an optional data visualization display device according to an embodiment of the present invention, such as Figure 3 As shown, the device includes: an acquisition module 30, which is used to acquire the original data of the target resource and the display data of the display platform corresponding to the target resource, wherein the original data includes the information field associated with the target resource, and the display data includes the display field preset by the display platform and the display format corresponding to different data types; an update module 32, which is used to update the original data based on the mapping relationship between the display field and the information field to obtain the target data; a determination module 34, which is used to determine the target display format of the target data on the display platform based on the target data type and display data of the target data; a display module 36, which is used to visualize the target data on the display platform through a chart function and / or a list function based on the target display format.

[0091] Optionally, the information field includes multiple subfields, and the update module includes: a first determination unit, used to determine the first field in the information field that is not included in the display field based on the mapping relationship between the information field and the display field; a filling unit, used to fill the first field based on the associated data with the first field in the original data to obtain the first data corresponding to the first field; a first merging unit, used to merge the first field, the first data and the original data to obtain the target data.

[0092] Optionally, the first merging unit includes: a first merging sub-unit, used to merge the first field, the first data and the original data to obtain first merged data, wherein the first merged data includes a main table and multiple sub-tables, and there is a mapping relationship between the main table and the multiple sub-tables; an obtaining sub-unit, used to perform an association query on the main table and the multiple sub-tables in the first merged data to obtain associated data associated with the main table in the multiple sub-tables; and a second merging sub-unit, used to merge the main table and the multiple sub-tables based on the associated data to obtain target data.

[0093] Optionally, the second merging sub-unit is also used to merge the main table and multiple sub-tables based on the associated data to obtain second merged data; convert the first data relationship in the second merged data into a second data relationship to obtain target data, wherein the first data relationship is used to represent the correspondence between any type of data and multiple types of data, and the second data relationship is used to represent the correspondence between any type of data and other single type of data.

[0094] Optionally, the second merging sub-unit is also used to convert the first data relationship in the second merged data into a second data relationship to obtain converted data; determine the field to be derived in the converted data based on preset keywords, wherein the field to be derived contains preset keywords; and expand the converted data based on the field to be derived to obtain target data.

[0095] Optionally, the second merging sub-unit is also used to decompose the derived fields to obtain multiple fields; fill the multiple fields based on the associated data with the multiple fields in the converted data to obtain multiple data corresponding to the multiple fields; merge the multiple fields, multiple data and converted data to obtain the target data.

[0096] Optionally, the determination unit includes: a second merging unit, used to merge different subfields belonging to the same attribute in the information field to obtain a merged field; and a mapping unit, used to determine the first field in the merged field that is not included in the display field based on a mapping relationship between the merged field and the display field.

[0097] An embodiment of the present application further provides an electronic device, comprising: a memory storing an executable program; and a processor for running the program, wherein the program executes the methods in various embodiments of the present invention when running.

[0098] An embodiment of the present application further provides a computer-readable storage medium, which includes a stored executable program, wherein when the executable program is running, the device where the computer-readable storage medium is located is controlled to execute the methods in various embodiments of the present invention.

[0099] An embodiment of the present application further provides a computer program product, including a computer program, which implements the methods in various embodiments of the present invention when executed by a processor.

[0100] The embodiments of the present application further provide a computer program, which implements the methods in the above-mentioned embodiments of the present invention when executed by a processor.

[0101] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0102] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0103] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0104] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0105] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0106] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0107] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for visualizing data, characterized in that: include: Acquire original data of a target resource and display data of a display platform corresponding to the target resource, wherein the original data includes information fields associated with the target resource, and the display data includes display fields preset by the display platform and display formats corresponding to different data types; The original data is updated based on the mapping relationship between the display field and the information field to obtain target data; Determining a target display format of the target data on the display platform based on a target data type of the target data and the display data; The target data is visually displayed on the display platform through a chart function and / or a list function based on the target display format.

2. The data visualization method according to claim 1, characterized in that: The information field includes a plurality of subfields, and the original data is updated based on the mapping relationship between the display field and the information field to obtain the target data, including: Based on the mapping relationship between the information field and the display field, determining a first field in the information field that is not included in the display field; Filling the first field based on the data associated with the first field in the original data to obtain first data corresponding to the first field; The first field, the first data and the original data are merged to obtain the target data.

3. The data visualization method according to claim 2, characterized in that: Merging the first field, the first data, and the original data to obtain the target data includes: Merging the first field, the first data and the original data to obtain first merged data, wherein the first merged data includes a main table and multiple sub-tables, and a mapping relationship exists between the main table and the multiple sub-tables; Performing an association query on the main table and the multiple sub-tables in the first merged data to obtain associated data in the multiple sub-tables associated with the main table; The main table and the plurality of sub-tables are merged based on the associated data to obtain the target data.

4. The data visualization method according to claim 3, characterized in that: Merging the main table and the plurality of sub-tables based on the associated data to obtain the target data includes: Merging the main table and the multiple sub-tables based on the associated data to obtain second merged data; The first data relationship in the second merged data is converted into a second data relationship to obtain the target data, wherein the first data relationship is used to represent the corresponding relationship between any type of data and multiple types of data, and the second data relationship is used to represent the corresponding relationship between any type of data and other single type of data.

5. The method for visualizing data according to claim 4, characterized in that: Converting the first data relationship in the second merged data into a second data relationship to obtain the target data includes: Converting the first data relationship in the second combined data into a second data relationship to obtain converted data; Determining a field to be derived in the conversion data based on a preset keyword, wherein the field to be derived includes the preset keyword; The conversion data is expanded based on the field to be derived to obtain the target data.

6. The method for visualizing data according to claim 5, characterized in that: Expanding the conversion data based on the field to be derived to obtain the target data includes: Decomposing the field to be derived to obtain multiple fields; Filling the multiple fields based on the data associated with the multiple fields in the converted data to obtain multiple data corresponding to the multiple fields; The multiple fields, the multiple data and the converted data are merged to obtain the target data.

7. The data visualization method according to claim 2, characterized in that: Determining, based on a mapping relationship between the information field and the display field, a first field in the information field that is not included in the display field, includes: Merging different subfields belonging to the same attribute in the information field to obtain a merged field; Based on the mapping relationship between the merged field and the display field, the first field in the merged field that is not included in the display field is determined.

8. An electronic device, characterized in that: include: A memory storing an executable program; A processor, configured to run the program, wherein the program executes the method according to any one of claims 1 to 7 when running.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored executable program, wherein when the executable program is run, the device where the storage medium is located is controlled to execute the method according to any one of claims 1 to 7.

10. A computer program product, characterized in that The invention comprises a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 7.