Matrix data visualization method, device, electronic device and readable storage medium

In matrix data visualization, the matrix data is directly displayed by using the difference in filling information between the whole and local fills, which solves the problem of low display efficiency of differentiated matrix data in the prior art, and realizes more efficient matrix data visualization.

CN115080799BInactive Publication Date: 2024-12-27WEBANK (CHINA)
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210814745.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-12
Publication Date
2024-12-27
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the prior art, the differentiated display efficiency of matrix data is low, mainly due to the need to draw multiple regional dividing lines, which leads to an increase in the time of calculating and drawing regional dividing lines.

Method used

By determining the total area and sub-region to be filled in the target data matrix, overall and local filling are performed, and data is displayed using visual differences in the fill information, eliminating the steps of calculating and drawing the area segmentation line, and directly using the total area fill information as the area segmentation line .

Benefits of technology

The differentiated visualization efficiency of matrix data is improved, the time for drawing regional segmentation lines is reduced, and the display efficiency of matrix data is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115080799B_ABST
    Figure CN115080799B_ABST
Patent Text Reader

Abstract

The present application discloses a visualization method, device, electronic device and readable storage medium for matrix data, which are applied to the technical field of financial technology (Fintech), including: determining the total area to be filled corresponding to the target data matrix according to the target data matrix corresponding to the data to be displayed; determining the sub-area to be filled corresponding to the data to be displayed in the total area to be filled according to the data position information of the data to be displayed in the target data matrix; filling the total area to be filled as a whole according to the total area filling information to obtain the filled total area; filling the sub-area to be filled in the filled total area according to the sub-area filling information to obtain the filled sub-area; importing the data to be displayed into the filled sub-area, so as to display the data to be displayed according to the visualization difference between the filling effects corresponding to the total area filling information and the sub-area filling information. The present application solves the technical problem of low efficiency of differentiated display of matrix data in the prior art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of financial technology (Fintech), and in particular to a matrix data visualization method, device, electronic device and readable storage medium. Background Art

[0002] With the continuous development of financial technology, especially Internet technology finance, more and more technologies (such as distributed, blockchain, artificial intelligence, etc.) are applied in the financial field, but the financial industry also puts forward higher requirements on technology, such as higher requirements for data sample analysis corresponding to the financial industry.

[0003] With the continuous development of computer software and machine learning, in order to more comprehensively grasp the characteristics of data sets and explore the characteristics of each variable, matrix data analysis methods are also being used more and more widely. At present, in order to characterize the differences in matrix data, different types of matrix data are usually divided into blocks with different color values, and then the block matrix data is displayed in the visualization area of ​​the smart device in the form of divided cells. However, there are usually multiple types of block matrix data in the visualization area, and users have different definitions of the same type of block matrix data. Therefore, for each cell corresponding to the block matrix data, a cell dividing line needs to be drawn for differentiated display. Therefore, drawing cell dividing lines increases the time for matrix data visualization, and the differentiated display efficiency of matrix data is low. Summary of the invention

[0004] The main purpose of the present application is to provide a matrix data visualization method, device, electronic device and readable storage medium, aiming to solve the technical problem of low efficiency of differentiated display of matrix data in the prior art.

[0005] To achieve the above object, the present application provides a matrix data visualization method, the matrix data visualization method comprising:

[0006] According to the target data matrix corresponding to the data to be displayed, determining the total area to be filled corresponding to the target data matrix;

[0007] Determine, in the total area to be filled, a sub-area to be filled corresponding to the data to be displayed according to data position information of the data to be displayed in the target data matrix;

[0008] According to the total area filling information, the total area to be filled is filled as a whole to obtain the filled total area;

[0009] According to the sub-region filling information, partially fill the sub-region to be filled in the total filling region to obtain a filled sub-region;

[0010] The data to be displayed is imported into the filling sub-region, so as to display the data to be displayed according to the visual difference between the filling effects corresponding to the total region filling information and the sub-region filling information.

[0011] To achieve the above object, the present application further provides a matrix data visualization device, the matrix data visualization device comprising:

[0012] A first determination module, configured to determine a total area to be filled corresponding to the target data matrix according to the target data matrix corresponding to the data to be displayed;

[0013] A second determining module, configured to determine, in the total area to be filled, a sub-area to be filled corresponding to the data to be displayed according to data position information of the data to be displayed in the target data matrix;

[0014] A first filling module is used to fill the total area to be filled as a whole according to the total area filling information to obtain a filled total area;

[0015] A second filling module is used to perform partial filling of the sub-region to be filled in the total filling region according to the sub-region filling information to obtain a filled sub-region;

[0016] The import module is used to import the data to be displayed into the filling sub-area, so as to display the data to be displayed according to the visual difference between the filling effects corresponding to the total area filling information and the sub-area filling information.

[0017] The present application also provides an electronic device, comprising: a memory, a processor, and a program of the matrix data visualization method stored in the memory and executable on the processor. When the program of the matrix data visualization method is executed by the processor, the steps of the matrix data visualization method as described above can be implemented.

[0018] The present application also provides a computer-readable storage medium, on which is stored a program for implementing a method for visualizing matrix data. When the program for the method for visualizing matrix data is executed by a processor, the steps of the method for visualizing matrix data as described above are implemented.

[0019] The present application also provides a computer program product, comprising a computer program, which implements the steps of the above-mentioned matrix data visualization method when executed by a processor.

[0020] The present application provides a matrix data visualization method, device, electronic device and readable storage medium, that is, the present application first determines the total area to be filled corresponding to the target data matrix according to the target data matrix corresponding to the data to be displayed, and then determines the sub-area to be filled corresponding to the data to be displayed in the total area to be filled according to the data position information of the data to be displayed in the target data matrix; then, according to the total area filling information, the total area to be filled is filled as a whole to obtain the filled total area; according to the sub-area filling information, the sub-area to be filled is partially filled in the filled total area to obtain the filled sub-area, that is, the purpose of differential filling of the total area to be filled and the sub-area to be filled is achieved, and then the data to be displayed is imported into the filled sub-area, so as to display the data to be displayed according to the visual difference between the filling effects corresponding to the total area filling information and the sub-area filling information. Since the sub-region to be filled is located in the sub-region to be filled, the total region to be filled corresponding to the matrix data is filled as a whole, so that the purpose of drawing the overall filling effect for the overall region of the sub-region to be filled corresponding to the matrix data can be achieved. After the sub-region to be filled corresponding to the matrix data is partially filled, the purpose of drawing the local filling effect for the local region of the sub-region to be filled corresponding to the matrix data can be achieved. Since there is a visual difference in the filling effect corresponding to the total area filling information and the sub-region filling information, the purpose of using the area corresponding to the overall filling effect as the area dividing line between different areas can be achieved, instead of calculating the position of the sub-region to be filled corresponding to each matrix data in the data matrix, and then drawing the dividing line between different sub-regions to be filled. Therefore, the time for calculating the area dividing line and drawing the area dividing line is saved, and the technical defect of drawing the area dividing line for the differentiated display of the matrix data in the prior art is overcome, which leads to an increase in the time of visualization of the matrix data. Therefore, the efficiency of differential visualization of the matrix data is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0022] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0023] Figure 1 This is a schematic diagram of the process of the first embodiment of the matrix data visualization method of the present application;

[0024] Figure 2 This is a visualization method for matrix data in this application. A schematic diagram of the education-monthly salary binning rules;

[0025] Figure 3 This is a flow chart of a second embodiment of the matrix data visualization method of the present application;

[0026] Figure 4 Schematic diagram of the device structure of the hardware operating environment involved in the matrix data visualization method in the embodiment of the present application.

[0027] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0028] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, 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 belong to the scope of protection of the present invention.

[0029] Embodiment 1

[0030] First of all, it should be understood that in order to characterize the differences in matrix data, when visualizing block matrix data, it is usually necessary to draw regional dividing lines between the block areas corresponding to the block matrix data, that is, first calculate the position coordinates of the regional dividing line, and then draw the regional dividing line on the canvas according to the position coordinates of the regional dividing line, and then calculate the regional position coordinates of the visualization area corresponding to each block matrix data, and then import each block matrix data into the visualization area according to the regional position coordinates to achieve differentiated display of the matrix data. However, if the differences between the block matrix data are obvious, such as tables, contour lines, and maps, multiple regional dividing lines are required to distinguish them. That is, since the steps of "calculating dividing lines" and "drawing dividing lines" are repeatedly executed, there is repetitive work in the visualization process of the matrix data, which makes the differentiated display efficiency of the matrix data low. Therefore, there is an urgent need for a method to improve the visualization efficiency of matrix data.

[0031] The present application embodiment provides a method for visualizing matrix data. In the first embodiment of the method for visualizing matrix data of the present application, refer to Figure 1 , the matrix data visualization method includes:

[0032] Step S10, determining the total area to be filled corresponding to the target data matrix according to the target data matrix corresponding to the data to be displayed;

[0033] Step S20, determining a sub-region to be filled corresponding to the data to be displayed in the total region to be filled according to data position information of the data to be displayed in the target data matrix;

[0034] Step S30, filling the total area to be filled as a whole according to the total area filling information to obtain the filled total area;

[0035] Step S40, performing partial filling of the sub-region to be filled in the total filling region according to the sub-region filling information to obtain a filled sub-region;

[0036] In this embodiment, it should be noted that the matrix data visualization method is applied to an intelligent display device, which may specifically be a computer or a notebook, etc. The data to be displayed is matrix data waiting to be displayed on the intelligent display device, and the matrix data is similar to a matrix in the usual mathematical sense, and each square arranged in rows and columns can represent a matrix data. The data to be displayed includes but is not limited to operation result data based on a machine learning modeling algorithm, real-time data collected by a preset collection tool, or user-defined data, etc. For example, in an implementable manner, assuming that matrix A is a third-order matrix, matrix A has a total of 9 matrix data.

[0037] In addition, it should be noted that the target data matrix is ​​used to characterize the total amount of data to be displayed. For example, assuming that the target data matrix has m rows and n columns, there are m*n data to be displayed. The sub-areas to be filled are display areas corresponding to the data to be displayed in the target data matrix and waiting to be filled with background colors. The sub-areas to be filled are display areas corresponding to the data to be displayed in the target data matrix and waiting to be filled. The shape of the display area can be either a regular polygon or an irregular polygon. In an implementable manner, assuming that the total area to be filled is a total table of 9x9 pixels, the sub-areas to be filled are cells of 1x1 pixels, that is, the total area to be filled is a total table, and the sub-areas to be filled are sub-tables.

[0038] In addition, it should be noted that the number of the data to be displayed can be one or more. When the data to be displayed is multiple, in order to characterize the differences between the matrix data, the corresponding data in the sub-areas to be filled will be classified as the same type of data, and different types of data to be displayed are different types of block matrix data to be displayed, wherein different color values ​​are used to distinguish different types of block matrix data to be displayed, and the same color value is used to classify the same type of block matrix data to be displayed into the same category. For example, in an implementable manner, assuming that the data to be displayed is the education level-monthly salary rule binning data running during the machine learning modeling algorithm, refer to Figure 2 , Figure 2 This is a schematic diagram showing the education level-monthly salary binning rules, where the monthly salary rules are divided into 2000-4000, 4000-6000, 6000-8000, 8000-10000 and above 10000, and the education level rules are divided into primary school, junior high school, high school, university and graduate school. The data to be displayed is the proportion of users who meet both one of the education level rules and one of the monthly salary rules in the total number of users. Therefore, the sub-area to be filled is 25 ( - ), the total area to be filled is composed of the sub-areas to be filled, and the data to be displayed , , , , and is the first type of data to be displayed, and is the second category of data to be displayed, and the rest of the data to be displayed is the third category of data to be displayed. When filling the background color of the area to be filled, 4 color values ​​need to be called for filling. For example, the color corresponding to the overall filling of the total area to be filled can be white, the color for partial filling of the sub-area to be filled corresponding to the first category of data to be displayed can be blue, the color for partial filling of the sub-area to be filled corresponding to the second category of data to be displayed can be green, and the color for partial filling of the sub-area to be filled corresponding to the third category of data to be displayed can be cyan.

[0039] As an example, step S10 to step S40 include: obtaining the number of data to be displayed in the target data matrix, and selecting the total area to be filled corresponding to the target data matrix in the preset canvas according to the number of each data to be displayed and the corresponding display unit information, wherein the preset canvas is set in the display interface of the intelligent display device, and the display unit information is used to characterize the display unit size of each data to be displayed in the preset canvas; determining the data position of the data to be displayed in the target data matrix according to the data position information of the target data, and using the display position area corresponding to the data position in the total filling area as the sub-area to be filled corresponding to the data to be displayed, wherein the data position and the display position area are respectively The domains correspond one to one, and the data location information includes a data row index and a data column index; using the first fill color identifier as an index, querying a preset background fill mapping table to obtain a first color value corresponding to the first fill color identifier, and filling the total area to be filled as a whole by the first color value to obtain the filled total area, wherein the preset background fill mapping table is used to store a mapping relationship between the fill color identifier and the background fill color value; partially filling the sub-area to be filled by the second color value corresponding to the sub-area filling information to obtain the sub-area to be filled corresponding to the data to be displayed, wherein the first color value is a fixed color value preset by the user, and the second color value is determined by the block to which the data to be displayed belongs, which can be one or more.

[0040] The step of selecting the total area to be filled corresponding to the target data matrix in the preset canvas according to the quantity of each of the to-be-displayed data and the corresponding display unit information comprises:

[0041] According to the display unit information corresponding to each of the data to be displayed, the display area of ​​each of the data to be displayed on the preset canvas is determined; the display areas of each of the data to be displayed are accumulated to obtain the total area to be filled corresponding to the target data matrix.

[0042] The sub-region filling information includes sub-region filling color information and sub-region filling position information, and the step of partially filling the sub-region to be filled in the total filling region according to the sub-region filling information to obtain the filled sub-region includes:

[0043] Step A10, determining, in the total filling area, a region dividing line between the sub-region to be filled and the corresponding co-edge sub-region according to the sub-region filling position information;

[0044] Step A20: Partially fill the filling sub-region according to the region dividing line and the sub-region filling color information to obtain the filling sub-region.

[0045] In this embodiment, it should be noted that the sub-region filling color information is used to characterize the second color value corresponding to filling the sub-region to be filled, wherein the first color value and the second color value are different, the sub-region filling position information is used to characterize the position of the area where the sub-region to be filled is filled with color, and the region dividing line is used to divide the sub-regions to be filled corresponding to different data to be displayed, which can be one or more, and the co-edge sub-region is a sub-region to be filled that has a co-edge relationship with the sub-region to be filled. For example, in an implementable method, it is assumed that the sub-region to be filled is a rectangular cell, wherein the sub-region to be filled C is located at the upper left corner of the total area to be filled, then the sub-region to be filled C and the sub-region to be filled D and the sub-region to be filled E all have a co-edge relationship, then a region dividing line is drawn at the co-edge line between the region to be filled C and the region to be filled D, and a region dividing line is drawn at the co-edge line between the region to be filled C and the region to be filled E.

[0046] As an example, steps A10 to A20 include: determining the filling area of ​​the sub-area to be filled in the total filling area based on the position coordinates corresponding to the area feature points of the sub-area to be filled, and using the area outside the filling area as the area dividing line between the sub-area to be filled and the corresponding common edge sub-area, wherein the sub-area filling position information includes the position coordinates corresponding to the area feature points of the sub-area to be filled, and the area feature points can be used to calculate the area area of ​​the sub-area to be filled, which may be one or more; based on the area dividing line and the sub-area filling color information, locally filling the filling sub-area to obtain the filling sub-area.

[0047] The filling sub-region includes a first to-be-filled region and a second to-be-filled region, wherein the first to-be-filled region is used to characterize a filling region of the to-be-filled sub-region.

[0048] The step of partially filling the filling sub-region according to the region dividing line and the sub-region filling color information to obtain the filling sub-region comprises:

[0049] According to the sub-region filling color information, the first area to be filled is filled as a whole to obtain a first filled sub-region, and according to the dividing line position information of the area dividing line, an area dividing line is drawn in the second sub-region to be filled between the sub-region to be filled and the common edge sub-region, and the first filling sub-region and the area dividing line are collectively used as the filling sub-region, wherein the first sub-region to be filled is smaller than the sub-region to be filled, the first sub-region to be filled is used to display the data to be displayed, and the second sub-region to be filled is used to distinguish the common edge sub-region, and the dividing line position information is used to determine the area of ​​the area dividing line, and the area of ​​the area dividing line can be calculated through the dividing point position information, and then the area in the sub-region to be filled except the area of ​​the area dividing line is filled as a whole, and the first color value corresponding to the total filled area can be directly used as the color value of the area dividing line.

[0050] In one implementable method, assuming that the sub-region to be filled is 5*5 pixels, and there are four common edge sub-regions in the sub-region to be filled, if the width of the region dividing line is 1 pixel, then the first filling sub-region is 4*4 pixels, and the second filling sub-region is composed of four sub-regions of 0.5*5 pixels. That is, if the width of the region dividing line is 1 pixel, then the two sub-regions to be filled divided by the region dividing line each have 0.5 pixels for drawing the region dividing line. Since the first sub-region to be filled is smaller than the sub-region to be filled, and the total region to be filled composed of the sub-regions to be filled has been filled with the background color, after the first sub-region to be filled is filled as a whole, the sub-region to be filled has the color value corresponding to the sub-region to be filled and the first color value, which can achieve the purpose of displaying the differences between different sub-regions to be filled by the first color value. If it is necessary to draw a region dividing line different from the first color value, it is only necessary to draw the region dividing line between the sub-region to be filled and the co-edge sub-region corresponding to the sub-region to be filled according to the position coordinate information of the sub-region to be filled, instead of drawing the region dividing line for each sub-region to be filled. Therefore, the time for calculating and drawing the region dividing line is shortened, that is, the visualization efficiency of the matrix data is improved.

[0051] The step of partially filling the sub-region to be filled according to the region dividing line and the sub-region filling color information to obtain the filled sub-region includes:

[0052] Step B10, detecting whether the region dividing line is an inter-block dividing line according to the first block index corresponding to the sub-region filling color information and the second block index corresponding to the common edge sub-region;

[0053] Step B20: If yes, then obtain the inter-block filling color information between the sub-region to be filled and the common edge sub-region, and perform partial filling on the sub-region to be filled according to the sub-region filling color information and the inter-block filling color information to obtain the filled sub-region;

[0054] Step B30: If not, partially fill the sub-region to be filled according to the sub-region filling color information to obtain the filled sub-region.

[0055] In this embodiment, it should be noted that since the data to be displayed may belong to different types, that is, the data to be displayed belongs to different blocks, for different types of block data, in order to facilitate users to perform matrix data analysis, it is necessary to set an inter-block dividing line, and then when the mouse is placed on the filled sub-area of ​​different blocks, the representation content corresponding to the block will be displayed, wherein the representation content is set by the user according to the specific meaning of the data to be displayed. For example, when the data to be displayed is the proportion of samples that meet two rules at the same time to the total samples, the representation content can be the sample type, so the inter-block filling color information is used to represent the third color value of the filling inter-block dividing line.

[0056] In addition, it should be noted that the first block index is used to index the first block type corresponding to the sub-area to be filled, and the second block index is used to index the second block type of the common edge sub-area corresponding to the sub-area to be filled, wherein the first block type and the second block type are both used to characterize the block to which the data to be displayed belongs. If the first block type and the second block type are used to characterize the same block, then the area dividing line between the area to be filled and the common edge sub-area corresponding to the area to be filled is an intra-block dividing line. If the first block type and the second block type are used to characterize different blocks, then the area dividing line between the area to be filled and the common edge sub-area corresponding to the area to be filled is an inter-block dividing line, wherein the intra-block dividing line is the first type dividing line, and the inter-block dividing line is the second type dividing line. If the area dividing line is an intra-block dividing line, the color value corresponding to the total area to be filled can be directly used as the color value of the area dividing line. If the area dividing line is an inter-block dividing line, the color value of the area dividing line needs to be redrawn.

[0057] As an example, step B10 to step B30 include: if the first block index corresponding to the sub-region filling color information and the second block index corresponding to the common edge sub-region are inconsistent, the region dividing line is detected as an inter-block dividing line; if the first block index corresponding to the sub-region filling color information and the second block index corresponding to the common edge sub-region are consistent, the region dividing line is detected as an intra-block dividing line; if the region dividing line is the inter-block dividing line, the inter-block filling color information between the sub-region to be filled and the common edge sub-region is obtained, and the sub-region to be filled is partially filled according to the color value corresponding to the sub-region filling color information and the color value corresponding to the inter-block filling color information to obtain the filled sub-region; if the region dividing line is the intra-block dividing line, the sub-region to be filled is partially filled according to the color value corresponding to the sub-region filling color information to obtain the filled sub-region.

[0058] The step of partially filling the sub-region to be filled according to the sub-region filling color information and the inter-block filling color information to obtain the filled sub-region includes:

[0059] Step C10, determining a target area to be filled in the sub-region to be filled according to the position information of the inter-block dividing line between the sub-region to be filled and the sub-region with a common edge;

[0060] Step C20, filling the target area to be filled as a whole according to the sub-area filling color information and the inter-block filling color information to obtain the filled sub-area.

[0061] In this embodiment, it should be noted that since the inter-block dividing line and the area other than the area dividing line in the sub-area to be filled need to be filled with different color values ​​respectively, in addition to determining the size of the area to be filled, the filling position also needs to be determined. Therefore, the inter-block dividing line position information is used to characterize the position of the inter-block dividing line in the total area to be filled. When there is an inter-block dividing line in the area dividing line of the sub-area to be filled, the inter-block dividing line and the area other than the area dividing line in the sub-area to be filled are used together as the target area to be filled. When there is no inter-block dividing line in the area dividing line of the sub-area to be filled, the area other than the area dividing line in the sub-area to be filled is used as the target area to be filled.

[0062] As an example, step C10 to step C20 include: determining the area of ​​the inter-block dividing line in the sub-region to be filled based on the position information of the inter-block dividing line between the sub-region to be filled and the common edge sub-region, and taking the area of ​​the inter-block dividing line and the area of ​​the sub-region to be filled excluding the area dividing line as the area area of ​​the target region to be filled, wherein the area of ​​the inter-block dividing line can be calculated through the position information of the key dividing points of the area dividing line; using the filling color identifier of the inter-block dividing line as an index, querying the preset background fill mapping table to obtain the third color value corresponding to the filling color identifier, filling the area corresponding to the inter-block dividing line as a whole by the third color value, and filling the area of ​​the sub-region to be filled excluding the area dividing line as a whole according to the second color value corresponding to the first block index, thereby obtaining the filling target region, and then taking the filling target region and the area dividing line as a filling sub-region to obtain the filling sub-region, wherein the filling color identifier is used to identify the third color value corresponding to the inter-block dividing line. After the target area to be filled of the sub-area to be filled is filled, the area of ​​the region dividing line will be displayed with the color value corresponding to the filled total area, so there is no need to draw region dividing lines between different sub-areas to be displayed, and different matrix data can be reflected differentially, so the steps of calculating and drawing region dividing lines are omitted, thereby improving the visualization efficiency of matrix data.

[0063] Step S30: importing the data to be displayed into the filling sub-region, so as to display the data to be displayed according to the visual difference between the filling effects corresponding to the total region filling information and the sub-region filling information.

[0064] As an example, step S30 includes: importing the data to be displayed into the filling sub-region, so as to display the data to be displayed according to the visual difference between the filling effects corresponding to the total region filling information and the sub-region filling information.

[0065] Wherein, before the step of determining the target area to be filled in the sub-region to be filled based on the position information of the inter-block dividing line between the sub-region to be filled and the common edge sub-region, the matrix data visualization method further includes:

[0066] Step D10, detecting whether the sub-region to be filled is an inter-block sub-region according to the common edge sub-region corresponding to the sub-region to be filled;

[0067] Step D20: If yes, then store the inter-block dividing line position information between the inter-block sub-region and the common edge sub-region.

[0068] In this embodiment, it should be noted that, since the inter-block dividing line can not only reflect the difference of the data to be displayed, but also determine whether the mouse is located on the inter-block dividing line, the inter-block dividing line position information can be uniformly collected before importing the data to be displayed, so as to determine whether the mouse is located on the inter-block dividing line. The boundary sub-region is used to characterize that the sub-region to be filled exists and the co-edge sub-region corresponding to the sub-region to be filled belongs to a different block, and the inter-block dividing line position information is used to characterize the dividing line area of ​​the inter-block dividing line. The inter-block dividing line position information is collected for subsequent drawing of the inter-block dividing line or for other functions.

[0069] As an example, step D10 to step D20 include: detecting a first block type based on the sub-region to be filled and a second block type of the common edge sub-region corresponding to the region to be filled, if the first block type and the second block type are consistent, the sub-region to be filled is not an inter-block sub-region, if the first block type and the second block type are inconsistent, the filling sub-region is an inter-block sub-region; if the filling sub-region is the inter-block sub-region, collecting the inter-block dividing line position information between the inter-block sub-region and the common edge sub-region to obtain a dividing line position coordinate set, and storing the dividing line position coordinate set in a preset storage area, wherein, if there are multiple common edge sub-regions in the sub-region to be filled, when the block type corresponding to a certain common edge sub-region is inconsistent with the block type corresponding to the sub-region to be filled, it is determined that the sub-region to be filled is an inter-block sub-region, and then the inter-block dividing line position information between the sub-region to be filled and the inter-block sub-region is obtained. Since the prior art usually uses a dedicated inter-block dividing line search algorithm to traverse the inter-block dividing point positions of each sub-region to be filled in the total region to be filled, and then judges whether the sub-region to be filled is an inter-block sub-region based on the inter-block dividing point positions. When the sub-region to be filled is determined to be an inter-block sub-region, the region boundary line is drawn according to the inter-block dividing point positions. In the present embodiment, when the sub-region to be filled is partially filled, it is detected whether the blocks of the sub-region to be filled and the boundary sub-region of the sub-region to be filled are the same. If they are the same, the inter-block dividing line position information is directly obtained for subsequent use by the user. That is, a foundation is laid for realizing the reuse of the position coordinates of the inter-block dividing lines.

[0070] Wherein, after the step of storing the position information of the inter-block dividing line between the inter-block sub-region and the common edge sub-region, the matrix data visualization method further includes:

[0071] Step E10, if it is detected that the query mark exists in the filled total area, obtaining the mark position information of the query mark;

[0072] Step E20, detecting whether the query marker is located at the inter-block dividing line according to the inter-block dividing line position information and the marker position information;

[0073] Step E30: If yes, generate query prompt information to prompt the user to move the query mark out of the block dividing line.

[0074] In this embodiment, it should be noted that the query identifier is used to query the specific meaning of the data to be displayed, and can be a mouse identifier, etc. The identifier position information is used to represent the identifier position of the query identifier in the filled total area.

[0075] As an example, steps E10 to E30 include: if it is detected that a query identifier exists in the filled total area, obtaining the identifier position information of the query identifier; querying whether there is a segmentation point position coordinate consistent with the identifier feature point corresponding to the identifier position information in the dividing line position coordinate set; if so, it is detected that the query identifier is located at the area dividing line; if not, it is detected that the query identifier is not located at the area dividing line, wherein the identifier feature point is used to represent the response point of the smart device in response to the query instruction corresponding to the query identifier; if the query identifier is located at the area dividing line, a query prompt message is generated to prompt the user to move the query identifier out of the block dividing line.

[0076] An embodiment of the present application provides a method for visualizing matrix data, that is, the present application first determines the total area to be filled corresponding to the target data matrix based on the target data matrix corresponding to the data to be displayed, and then determines the sub-area to be filled corresponding to the data to be displayed in the total area to be filled based on the data position information of the data to be displayed in the target data matrix; then, based on the total area filling information, the total area to be filled is filled as a whole to obtain the filled total area; based on the sub-area filling information, the sub-area to be filled is partially filled in the filled total area to obtain the filled sub-area, that is, the purpose of differential filling of the total area to be filled and the sub-area to be filled is achieved, and then the data to be displayed is imported into the filled sub-area, so as to display the data to be displayed according to the visual difference between the filling effects corresponding to the total area filling information and the sub-area filling information. Since the sub-region to be filled is located in the sub-region to be filled, the total region to be filled corresponding to the matrix data is filled as a whole, so that the purpose of drawing the overall filling effect for the overall region of the sub-region to be filled corresponding to the matrix data can be achieved. After the sub-region to be filled corresponding to the matrix data is partially filled, the purpose of drawing the local filling effect for the local region of the sub-region to be filled corresponding to the matrix data can be achieved. Since there is a visual difference in the filling effect corresponding to the total area filling information and the sub-region filling information, the purpose of using the area corresponding to the overall filling effect as the area dividing line between different areas can be achieved, instead of calculating the position of the sub-region to be filled corresponding to each matrix data in the data matrix, and then drawing the dividing line between different sub-regions to be filled. Therefore, the time for calculating the area dividing line and drawing the area dividing line is saved, and the technical defect of drawing the area dividing line for the differentiated display of the matrix data in the prior art is overcome, which leads to an increase in the time of visualization of the matrix data. Therefore, the efficiency of differential visualization of the matrix data is improved.

[0077] Embodiment 2

[0078] Further, refer to Figure 3 In another embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above description and will not be described in detail later. On this basis, the target area to be filled includes the area between blocks to be filled and the area within the block to be filled, and the step of filling the target area to be filled as a whole according to the sub-area filling color information and the inter-block filling color information to obtain the filled sub-area includes:

[0079] Step F10, filling the area within the block to be filled as a whole according to the first filling color corresponding to the sub-region filling color information to obtain the area between the filled blocks;

[0080] Step F20, filling the area between the blocks to be filled as a whole according to the second filling color corresponding to the inter-block filling color information to obtain the filled area within the block;

[0081] Step F30 , taking the sub-region to be filled corresponding to both the region between the filling blocks and the region within the filling blocks as the filling sub-region.

[0082] In this embodiment, it should be noted that the area within the block to be filled is used to characterize the area outside the dividing line area corresponding to the area dividing line. For example, in one implementable method, assuming that there are intra-block dividing lines and inter-block dividing lines in the sub-region to be filled, then the area within the block to be filled is the area outside the dividing line area corresponding to the intra-block dividing line and the inter-block dividing line.

[0083] As an example, steps F10 to F30: based on the second color value corresponding to the first block index, the area outside the dividing line area corresponding to the inter-block dividing line and the intra-block dividing line is filled as a whole to obtain the filled intra-block area; using the second filling color identifier as an index, querying the preset fill mapping table to obtain the third color value corresponding to the second filling color identifier, and using the third color value to fill the area corresponding to the inter-block dividing line as a whole to obtain the filled inter-block area; using the sub-area to be filled corresponding to the inter-filling area and the filling area within the filling block as the filling sub-area, wherein the area area of ​​the filling sub-area is the same as the area area of ​​the sub-area to be filled, that is, when the sub-area to be filled has an area dividing line in addition to the inter-block dividing line, the filling sub-area includes the area dividing line filled with the first color value, the filling area within the filling block filled with the second color value, and the filling area between the filling blocks filled with the third color value. Since the inter-block dividing line is filled as a whole with the second color value and the sub-region to be filled is filled as a whole with the first color value at the same time, the purpose of drawing the intra-block dividing line can be achieved at the same time, thereby speeding up the efficiency of drawing the region dividing line.

[0084] The embodiment of the present application provides a method for drawing a region dividing line, that is, according to the first filling color corresponding to the sub-region filling color information, the region within the block to be filled is filled as a whole to obtain the filled inter-block region; according to the second filling color corresponding to the inter-block filling color information, the region between the blocks to be filled is filled as a whole to obtain the filled intra-block region; the sub-region to be filled corresponding to the filled inter-block region and the filled intra-block region is used as the filled sub-region. The embodiment of the present application can achieve the purpose of filling the region except the region dividing line in the region to be filled as a whole through the first filling color, that is, the purpose of drawing the intra-block dividing line is achieved, and then through the second filling color, the purpose of filling the area corresponding to the inter-block dividing line in the region to be filled as a whole, that is, the purpose of drawing the inter-block dividing line is achieved. Therefore, when there are intra-block dividing lines and inter-block dividing lines in the sub-region to be filled, the purpose of drawing the inter-block dividing lines and the intra-block dividing lines at the same time can be achieved, rather than first drawing the intra-block dividing lines and then drawing the inter-block dividing lines, so the efficiency of drawing the region dividing lines is improved.

[0085] Embodiment 3

[0086] The present application also provides a matrix data visualization device, the matrix data visualization device comprising:

[0087] A first determination module, configured to determine a total area to be filled corresponding to the target data matrix according to the target data matrix corresponding to the data to be displayed;

[0088] A second determining module, configured to determine, in the total area to be filled, a sub-area to be filled corresponding to the data to be displayed according to data position information of the data to be displayed in the target data matrix;

[0089] A first filling module is used to fill the total area to be filled as a whole according to the total area filling information to obtain a filled total area;

[0090] A second filling module is used to perform partial filling of the sub-region to be filled in the total filling region according to the sub-region filling information to obtain a filled sub-region;

[0091] The import module is used to import the data to be displayed into the filling sub-area, so as to display the data to be displayed according to the visual difference between the filling effects corresponding to the total area filling information and the sub-area filling information.

[0092] Optionally, the second filling module is further used for:

[0093] Determining, in the filling total area, a region dividing line between the sub-area to be filled and the corresponding co-edge sub-area according to the sub-area filling position information;

[0094] The filling sub-region is partially filled according to the region dividing line and the sub-region filling color information to obtain the filling sub-region.

[0095] Optionally, the second filling module is further used for:

[0096] Detecting whether the region dividing line is an inter-block dividing line according to the first block index corresponding to the sub-region filling color information and the second block index corresponding to the co-edge sub-region;

[0097] If yes, then obtain the inter-block filling color information between the sub-region to be filled and the sub-region with the same edge, and perform partial filling on the sub-region to be filled according to the sub-region filling color information and the inter-block filling color information to obtain the filled sub-region;

[0098] If not, the sub-region to be filled is partially filled according to the sub-region filling color information to obtain the filled sub-region.

[0099] Optionally, the second filling module is further used for:

[0100] Determine a target area to be filled in the sub-region to be filled according to the position information of the inter-block dividing line between the sub-region to be filled and the sub-region with a common edge;

[0101] The target area to be filled is filled as a whole according to the sub-area filling color information and the inter-block filling color information to obtain the filled sub-area.

[0102] Optionally, the target area to be filled includes the area between the blocks to be filled and the area within the blocks to be filled, and the second filling module is further used for:

[0103] Filling the area within the block to be filled as a whole according to the first filling color corresponding to the sub-region filling color information to obtain the area between the filled blocks;

[0104] Filling the area between the blocks to be filled as a whole according to the second filling color corresponding to the inter-block filling color information to obtain the area within the filled block;

[0105] The sub-region to be filled corresponding to the region between the filling blocks and the region within the filling blocks is used as the filling sub-region.

[0106] Optionally, the matrix data visualization device is further used for:

[0107] According to the common edge sub-region corresponding to the sub-region to be filled, detecting whether the sub-region to be filled is an inter-block sub-region;

[0108] If yes, then the inter-block dividing line position information between the inter-block sub-region and the common edge sub-region is stored.

[0109] Optionally, the matrix data visualization device is further used for:

[0110] If it is detected that the query mark exists in the filled total area, the mark position information of the query mark is obtained;

[0111] According to the inter-block dividing line position information and the marker position information, detecting whether the query marker is located at the inter-block dividing line;

[0112] If so, query prompt information is generated to prompt the user to move the query mark out of the inter-block dividing line.

[0113] The matrix data visualization device provided by the present invention adopts the matrix data visualization method in the above embodiment to solve the technical problem of low efficiency of differentiated display of matrix data. Compared with the prior art, the beneficial effects of the matrix data visualization device provided by the embodiment of the present invention are the same as the beneficial effects of the matrix data visualization method provided by the above embodiment, and other technical features in the matrix data visualization device are the same as the features disclosed in the above embodiment method, which will not be described in detail here.

[0114] Embodiment 4

[0115] An embodiment of the present invention provides an electronic device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the matrix data visualization method in the above-mentioned embodiment 1.

[0116] Reference below Figure 4 , which shows a schematic diagram of the structure of an electronic device suitable for implementing the embodiments of the present disclosure. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 4 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0117] like Figure 4As shown, the electronic device may include a processing device (such as a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) or a program loaded from a storage device into a random access memory (RAM). In the RAM, various programs and data required for the operation of the electronic device are also stored. The processing device, ROM, and RAM are connected to each other through a bus. The input / output (I / O) interface is also connected to the bus.

[0118] Typically, the following systems can be connected to the I / O interface: input devices including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; output devices including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices including, for example, a magnetic tape, a hard disk, etc.; and communication devices. The communication device can allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows an electronic device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems may be implemented or have alternatively.

[0119] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device, or installed from a ROM. When the computer program is executed by a processing device, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0120] The electronic device provided by the present invention adopts the visualization method of matrix data in the above embodiment to solve the technical problem of low efficiency of differentiated display of matrix data. Compared with the prior art, the beneficial effects of the electronic device provided by the embodiment of the present invention are the same as the beneficial effects of the visualization method of matrix data provided by the above embodiment, and other technical features in the electronic device are the same as the features disclosed in the above embodiment method, which will not be described in detail here.

[0121] It should be understood that the various parts of the present disclosure can be implemented with hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0122] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

[0123] Embodiment 5

[0124] This embodiment provides a computer-readable storage medium having computer-readable program instructions stored thereon, and the computer-readable program instructions are used to execute the matrix data visualization method in the above-mentioned embodiment 1.

[0125] The computer-readable storage medium provided in the embodiment of the present invention may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.

[0126] The computer-readable storage medium may be included in the electronic device, or may exist independently without being installed in the electronic device.

[0127] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by an electronic device, the electronic device: determines the total area to be filled corresponding to the target data matrix according to the target data matrix corresponding to the data to be displayed; determines the sub-area to be filled corresponding to the data to be displayed in the total area to be filled according to the data position information of the data to be displayed in the target data matrix; fills the total area to be filled as a whole according to the total area filling information to obtain a filled total area; fills the sub-area to be filled in the filled total area according to the sub-area filling information to obtain a filled sub-area; imports the data to be displayed into the filled sub-area to display the data to be displayed according to the visual difference between the filling effects corresponding to the total area filling information and the sub-area filling information.

[0128] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0129] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0130] The modules involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of the module does not limit the unit itself in some cases.

[0131] The computer-readable storage medium provided by the present invention stores computer-readable program instructions for executing the above-mentioned matrix data visualization method, which solves the technical problem of low efficiency of differentiated display of matrix data. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the embodiment of the present invention are the same as the beneficial effects of the matrix data visualization method provided by the above-mentioned embodiment, and will not be described in detail here.

[0132] Embodiment 6

[0133] The present application also provides a computer program product, comprising a computer program, which implements the steps of the above-mentioned matrix data visualization method when executed by a processor.

[0134] The computer program product provided by the present application solves the technical problem of low efficiency in displaying matrix data differentiation. Compared with the prior art, the beneficial effects of the computer program product provided by the embodiment of the present invention are the same as the beneficial effects of the matrix data visualization method provided by the above embodiment, which will not be described in detail here.

[0135] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent processing scope of the present application.

Claims

1. A method for visualizing matrix data, characterized in that: The matrix data visualization method comprises: According to the target data matrix corresponding to the data to be displayed, determining the total area to be filled corresponding to the target data matrix; Determine, in the total area to be filled, a sub-area to be filled corresponding to the data to be displayed according to data position information of the data to be displayed in the target data matrix; According to the total area filling information, the total area to be filled is filled as a whole to obtain the filled total area; According to the sub-region filling information, partially fill the sub-region to be filled in the total filling region to obtain a filled sub-region; Importing the data to be displayed into the filling sub-region, so as to display the data to be displayed according to the visual difference between the filling effects corresponding to the total region filling information and the sub-region filling information; The sub-region filling information includes sub-region filling color information and sub-region filling position information. The step of partially filling the sub-region to be filled in the total filling region according to the sub-region filling information to obtain the filled sub-region comprises: Determining, in the filling total area, a region dividing line between the sub-area to be filled and the corresponding co-edge sub-area according to the sub-area filling position information; Detecting whether the region dividing line is an inter-block dividing line according to the first block index corresponding to the sub-region filling color information and the second block index corresponding to the co-edge sub-region; If yes, then obtain the inter-block filling color information between the sub-region to be filled and the common edge sub-region, and perform partial filling on the sub-region to be filled according to the sub-region filling color information and the inter-block filling color information to obtain the filled sub-region; If not, the sub-region to be filled is partially filled according to the sub-region filling color information to obtain the filled sub-region.

2. The method for visualizing matrix data according to claim 1, characterized in that: The step of partially filling the sub-region to be filled according to the sub-region filling color information and the inter-block filling color information to obtain the filled sub-region comprises: Determine a target area to be filled in the sub-region to be filled according to the position information of the inter-block dividing line between the sub-region to be filled and the sub-region with a common edge; The target area to be filled is filled as a whole according to the sub-area filling color information and the inter-block filling color information to obtain the filled sub-area.

3. The method for visualizing matrix data as claimed in claim 2, characterized in that: The target area to be filled includes an area between blocks to be filled and an area within blocks to be filled. The step of filling the target area to be filled as a whole according to the sub-area filling color information and the inter-block filling color information to obtain the filled sub-area comprises: Filling the area within the block to be filled as a whole according to the first filling color corresponding to the sub-region filling color information to obtain the area between the filled blocks; Filling the area between the blocks to be filled as a whole according to the second filling color corresponding to the inter-block filling color information to obtain the area within the filled block; The sub-region to be filled corresponding to the region between the filling blocks and the region within the filling blocks is used as the filling sub-region.

4. The method for visualizing matrix data as claimed in claim 2, characterized in that: Before the step of determining the target area to be filled in the sub-region to be filled based on the position information of the inter-block dividing line between the sub-region to be filled and the common edge sub-region, the matrix data visualization method further includes: According to the common edge sub-region corresponding to the sub-region to be filled, detecting whether the sub-region to be filled is an inter-block sub-region; If yes, then the inter-block dividing line position information between the inter-block sub-region and the common edge sub-region is stored.

5. The method for visualizing matrix data as claimed in claim 4, characterized in that: After the step of storing the position information of the inter-block dividing line between the inter-block sub-region and the common edge sub-region, the matrix data visualization method further includes: If it is detected that the query mark exists in the filled total area, the mark position information of the query mark is obtained; According to the inter-block dividing line position information and the marker position information, detecting whether the query marker is located at the inter-block dividing line; If so, query prompt information is generated to prompt the user to move the query mark out of the inter-block dividing line.

6. A visualization device for matrix data, characterized in that: The visualization device of the matrix data comprises: A first determination module, configured to determine a total area to be filled corresponding to the target data matrix according to the target data matrix corresponding to the data to be displayed; A second determining module, configured to determine, in the total area to be filled, a sub-area to be filled corresponding to the data to be displayed according to data position information of the data to be displayed in the target data matrix; A first filling module is used to fill the total area to be filled as a whole according to the total area filling information to obtain a filled total area; A second filling module is used to locally fill the sub-region to be filled in the total filling region according to the sub-region filling information to obtain the filled sub-region; the sub-region filling information includes sub-region filling color information and sub-region filling position information, and the second filling module is also used to determine the region dividing line between the sub-region to be filled and the corresponding co-edge sub-region in the total filling region according to the sub-region filling position information; locally fill the filling sub-region according to the region dividing line and the sub-region filling color information to obtain the filled sub-region; the second filling module is also used to detect whether the region dividing line is an inter-block dividing line according to the first block index corresponding to the sub-region filling color information and the second block index corresponding to the co-edge sub-region; if so, obtain the inter-block filling color information between the sub-region to be filled and the co-edge sub-region, and locally fill the sub-region to be filled according to the sub-region filling color information and the inter-block filling color information to obtain the filled sub-region; if not, locally fill the sub-region to be filled according to the sub-region filling color information to obtain the filled sub-region; The import module is used to import the data to be displayed into the filling sub-area, so as to display the data to be displayed according to the visual difference between the filling effects corresponding to the total area filling information and the sub-area filling information.

7. An electronic device, characterized in that: The electronic device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the steps of the matrix data visualization method according to any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program for implementing a method for visualizing matrix data, and the program for implementing a method for visualizing matrix data is executed by a processor to implement the steps of the method for visualizing matrix data as claimed in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Picture filling method and device and electronic device

    CN109785408A

  • Regional color filling method and device, electronic equipment and computer readable storage medium

    CN110276816A