Chart display method and device, equipment and storage medium
By acquiring user portraits and data processing rules and optimizing graph display, the problem of inaccurate data display in the prior art is solved, the accuracy and efficiency of display are improved, and the accuracy of user experience and image recognition is improved.
Patent Information
- Application Number
- CN202310790455.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-29
- Publication Date
- 2025-01-07
AI Technical Summary
Existing data display technology only automatically matches charts based on the data content, making it difficult to conduct in-depth data mining and accurate diagnosis, resulting in poor display effect and affected image recognition speed.
By obtaining user portraits, determining personalized feature information, combining data processing rules to eliminate errors and redundant data, optimizing chart display, and improving display speed and accuracy.
It improves the accuracy and efficiency of chart display, enhances the data distinction and user experience, flexibility, reduces redundant data, and improves the accuracy of image recognition.
Smart Images

Figure CN119271735A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data display technology, and in particular to a chart display method, device, equipment and storage medium. Background Art
[0002] Data presentation generally uses chart content to display data statistics, and displays the distribution or change trend of data based on different charts (line charts, bar charts, etc.) to provide guidance to technical personnel in this field.
[0003] At present, the data display scheme only automatically matches charts according to the data content. However, the data can only be displayed by applying the corresponding display template according to the data content. It is difficult to conduct deeper data mining and more accurate data diagnosis in the display content. Inaccurate data display will affect the display speed of the image. Therefore, if the data is only displayed in a fixed form in different data application scenarios, the display effect is poor.
[0004] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention
[0005] The main purpose of the present invention is to provide a chart display method, device, equipment and storage medium, aiming to solve the technical problem of inaccurate data display in the prior art.
[0006] In a first aspect, the present invention provides a chart display method, which comprises the following steps: obtaining a user portrait and business data to be displayed; determining personalized feature information of the corresponding user based on the user portrait; and determining a display chart corresponding to the business data to be displayed based on the personalized feature information and the business data to be displayed.
[0007] In this solution, the personalized feature information of the corresponding user is determined based on the user portrait, and then the display chart corresponding to the business data to be displayed is confirmed based on the personalized feature information and the business data to be displayed. According to the association between personalized feature information and data processing rules, erroneous, invalid, interfering, and unclear data are excluded, and the same part of the data is reduced and the difference part is amplified, thereby improving the display speed of the chart, displaying more effectively, and image recognition more accurately.
[0008] In some embodiments, determining a display chart corresponding to the business data to be displayed based on the personalized feature information and the business data to be displayed includes: determining a user feature set based on the personalized feature information, the user feature set including at least one of user behavior features, user scenario features and business features, the user behavior features characterizing the user's usage preferences, the user scenario features characterizing the user's personal information, and the business features characterizing the user's frequently used business information; determining data features corresponding to the business data to be displayed based on the chart feature set and the business data to be displayed; and obtaining a display chart corresponding to the business data to be displayed based on the chart feature set and the data features.
[0009] Through personalized feature information, user behavior characteristics, user scenario characteristics and business characteristics are determined. Among them, user behavior characteristics represent the user's usage preferences, user scenario characteristics represent the user's personal information, and business characteristics represent the user's commonly used business information. Through the three categories of feature information, the user's situation, habits and data usage scenarios can be clearly understood, so as to analyze and process the business data to be displayed, and improve the accuracy and efficiency of the displayed charts.
[0010] In some embodiments, obtaining a display chart corresponding to the business data to be displayed based on the chart feature set and data features includes: determining the chart feature set and / or data features to obtain a display effect list; determining a chart configuration and data processing rules based on the display effect list; performing data processing on the business data to be displayed according to the data processing rules to obtain chart data; and determining a display chart based on the chart data and chart configuration.
[0011] By strongly associating the chart feature set and / or data features with the display effect, a mapping relationship between the features and the display effect can be established, and then the data processing rules required for the display effect can be determined based on the display effect. The display effect selection and chart data screening can be completed based on the chart feature set and data features. This is because simply determining the display effect of the data can only optimize the display method, but in the process of chart display, the imported data does not necessarily need to be displayed. When facing different business needs, there may be different redundancies, which will reduce the processing speed of the chart. Therefore, it is also necessary to optimize and screen the content to be displayed in combination with the data processing rules. In this way, the display effect and display efficiency of the displayed chart are improved.
[0012] In some embodiments, the data processing of the business data to be displayed according to the data processing rules to obtain chart data includes: determining the consistency of the business data to be displayed according to the data processing rules; when the consistency of the business data to be displayed is greater than a preset data threshold, determining the data segment to be compressed; compressing the data segment to be compressed to obtain chart data.
[0013] By checking the consistency of data, we can determine the consistent parts in different data partitions or multiple data. The consistent parts do not have any differences, so they cannot play a display role in the chart display. Therefore, compressing the data with consistency greater than the preset data threshold can highlight the differences in the display process and improve the display effect.
[0014] In some embodiments, processing the business data to be displayed according to the data processing rules to obtain chart data also includes: determining the distribution of the business data to be displayed according to the data processing rules; screening the business data to be displayed according to the distribution of the business data to be displayed to determine the chart data.
[0015] By analyzing the data to be displayed, the distribution of the data can be determined. Based on the data distribution, it can be determined which part of the data is more concentrated and which part has almost no data. Through analysis, part of the data set can be highlighted and the part without data can be ignored, further improving the distinction of the display of some data in the data set and improving the data display effect.
[0016] In some embodiments, processing the business data to be displayed according to the data processing rules to obtain chart data also includes: determining the repetitiveness of the business data to be displayed according to the data processing rules; and performing data fusion on the business data to be displayed according to the repetitiveness of the business data to be displayed to determine chart data.
[0017] When data needs to be checked for repeatability, the data processing rules can be used to determine the repeatability of the data. If duplicate data appears, the data can be merged based on the data content, further reducing the redundancy of displayed data and increasing the speed of data display.
[0018] In some embodiments, the chart feature set and / or data features are matched with preset display effects to obtain a display effect list, including: determining one or more of the chart display items, chart display granularity, and chart operability in the preset display effect based on user behavior characteristics in the chart feature set; and adding one or more of the chart display items, chart display granularity, and chart operability to the display effect list.
[0019] The display effect of the chart can be further optimized by displaying items, chart display granularity and chart operability. Currently, these contents are only mechanically bound to the corresponding templates. By establishing a mapping relationship between them and user behavior characteristics, the display items, chart display granularity and chart operability can be adjusted according to the user's behavior characteristics and user preferences. The display items, chart display granularity and chart operability are closely related to the user's operating habits of the chart. The user experience can be further improved through the above method.
[0020] In some embodiments, matching the chart feature set and / or data features with preset display effects to obtain a display effect list also includes: determining one or more of the chart item effects and auxiliary lines in the preset display effect based on user scenario features and / or business features in the chart feature set; and adding one or more of the chart item effects and auxiliary lines to the display effect list.
[0021] Because different business needs require different chart display formats, in some chart display situations, there will be some specific values, such as mean lines or threshold lines, etc. Therefore, using auxiliary lines to assist the expression of charts can give users a clearer look and feel when using them, thus improving the display effect of the charts.
[0022] In some embodiments, determining the chart configuration according to the display effect list includes: generating a recommendation list for display according to the display effect list; responding to a display effect selection instruction to determine a target display effect; and generating a chart configuration according to the target display effect.
[0023] Since automatically generating display charts is very convenient for users, but not flexible enough, multiple recommended charts can be generated based on features to form a chart list for users to choose from, thereby improving the flexibility of chart display.
[0024] In some embodiments, it also includes: responding to a user feature selection instruction to determine target feature data; the determining of the personalized feature information of the corresponding user based on the user portrait also includes: determining the personalized feature information of the corresponding user based on the user portrait and the target feature data.
[0025] Since the user portrait may be inaccurate or lacking in many cases, and the user portrait needs to be changed or established, a series of tags can be provided for users to choose from to help users speed up the establishment or change of user portraits, obtain users' personalized information more directly, and improve the efficiency of user portrait generation.
[0026] In a second aspect, in order to achieve the above-mentioned object, the present invention further provides a chart display device, the chart display device comprising:
[0027] The acquisition module is used to obtain user portraits and business data to be displayed;
[0028] The processing module is further used to determine personalized feature information of the corresponding user according to the user portrait;
[0029] The processing module is further used to determine a display chart corresponding to the business data to be displayed according to the personalized feature information and the business data to be displayed.
[0030] In a third aspect, to achieve the above-mentioned purpose, the present invention further proposes a chart display device, which comprises: a memory, a processor, and a chart display program stored in the memory and executable on the processor, wherein the chart display program is configured to implement the steps of the chart display method described above.
[0031] In a fourth aspect, to achieve the above-mentioned purpose, the present invention further proposes a storage medium, on which a chart display program is stored, and when the chart display program is executed by a processor, the steps of the chart display method described above are implemented.
[0032] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only used for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Moreover, the same figure numbers are used to represent the same components throughout the drawings. In the drawings:
[0034] Figure 1 A schematic diagram of a method flow chart showing some embodiments of the present application;
[0035] Figure 2 A schematic diagram of an original display chart of a first business in some embodiments of the present application;
[0036] Figure 3 A diagram showing a first business objective of some embodiments of the present application;
[0037] Figure 4 A schematic diagram of an original display chart of a second business in some embodiments of the present application;
[0038] Figure 5 A diagram showing a second business goal of some embodiments of the present application;
[0039] Figure 6 A modular schematic diagram of a diagram display method for some embodiments of the present application;
[0040] Figure 7 The diagrams are schematic diagrams of devices for displaying some embodiments of the present application.
[0041] The reference numerals in the specific implementation manner are as follows:
[0042] 1001-display effect A, 1002-display effect B, 1003-auxiliary line A, 1004-auxiliary line B
[0043] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0044] The following embodiments of the technical solution of the present application are described in detail in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present application, and are therefore only used as examples, and cannot be used to limit the scope of protection of the present application.
[0045] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" in the specification and claims of this application and the above-mentioned figure descriptions and any variations thereof are intended to cover non-exclusive inclusions.
[0046] In the description of the embodiments of the present application, the technical terms "first", "second", etc. are only used to distinguish different objects, and cannot be understood as indicating or implying relative importance or implicitly indicating the number, specific order or primary and secondary relationship of the indicated technical features. In the description of the embodiments of the present application, the meaning of "multiple" is more than two, unless otherwise clearly and specifically defined.
[0047] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0048] In the description of the embodiments of the present application, the term "and / or" is only a description of the association relationship of the associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0049] In the description of the embodiments of the present application, the term "multiple" refers to more than two (including two). Similarly, "multiple groups" refers to more than two groups (including two groups), and "multiple pieces" refers to more than two pieces (including two pieces).
[0050] In the description of the embodiments of the present application, the technical terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings. They are only for the convenience of describing the embodiments of the present application and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the embodiments of the present application.
[0051] In the description of the embodiments of the present application, unless otherwise clearly specified and limited, technical terms such as "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, and it can be the internal connection of two elements or the interaction relationship between two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the embodiments of the present application can be understood according to the specific circumstances.
[0052] It should be noted that the embodiments described in this application are applied to the scene of chart display. In actual application, different businesses will generate a large amount of data. Take battery data as an example, such as battery SOH, battery SOC, battery charge and discharge time, current and voltage, etc. However, these data are not intuitive. When applied to fault diagnosis, operation status analysis, etc., it is difficult to find problems by simply relying on data observation. It is necessary to assist with charts to magnify the differences in different data dimensions to observe the change rules and trends of data. In the process of generating charts, it is not possible to intelligently process and extract features of data according to business scenarios, data features and user portraits, so as to output "more accurate", "more detailed", "more prominent", "more in line with user requirements" charts, and it is also difficult to perform deeper data mining, more accurate data diagnosis, and faster image recognition. Therefore, some embodiments of this solution, based on the above content, propose to obtain some personalized information commonly used by users through user portraits, such as: behavior characteristics, scenario characteristics, business characteristics, data characteristics, etc., and then associate them with data processing rules, and intelligently process data according to the data processing flow. Through methods such as data cleaning, data fusion, data compression, and feature value extraction, we can eliminate erroneous, invalid, interfering, and unclear data, reduce the same parts of the data, and amplify the different parts, thereby improving the display speed of charts, displaying data more effectively, and making image recognition more accurate.
[0053] According to some embodiments of the present application, referring to Figure 1 , obtain the user portrait and the business data to be displayed; determine the personalized feature information of the corresponding user according to the user portrait; determine the display chart corresponding to the business data to be displayed according to the personalized feature information and the business data to be displayed.
[0054] User portrait refers to a profile of user behavior, preferences and basic information, which can provide personalized and customized services for user-assisted products. In this embodiment, the user portrait can be obtained from the outside, or it can be generated based on the user's historical usage process in this solution, which is not limited in this embodiment. The user portrait is bound to the user role, and the user's role information can be obtained from the user's login information, account information, etc.
[0055] The business data to be displayed is data that the user wants to display. The business data to be displayed can be data selected by the user from the data system, data downloaded by the user from the network, or data imported by the user through data transmission means, which is not limited in this embodiment.
[0056] Personalized feature information can be part of the feature content contained in the user portrait. Since the user portrait may contain a large amount of user personal information, but in the process of using the chart, a lot of information is not necessary. The chart only focuses on some characteristics of the user. Therefore, it is necessary to determine the user's personalized feature information from the user portrait, and determine the form and content of the chart based on the personalized feature information.
[0057] The display chart is confirmed based on the personalized feature information combined with the business data to be displayed because the display content of the icon is actually the process of visualizing the business data to be displayed, but since the visualization method in this embodiment is not fixed but needs to be changed according to the user's personalized feature information, it is necessary to combine the personalized feature information with the business data to be displayed to display it in a visualization method that best suits the user's usage habits.
[0058] In this embodiment, the personalized feature information of the corresponding user is determined based on the user portrait, and then the confirmation work of the display chart corresponding to the business data to be displayed is completed based on the personalized feature information and the business data to be displayed. According to the personalized feature information (for example: user habits, preferences, usage scenarios) and data processing rules, wrong, invalid, interfering, and unclear data are excluded, and the same parts of the data are reduced and the different parts are enlarged, so as to improve the display speed of the chart, display data more effectively, and image recognition more accurately.
[0059] According to some embodiments of the present application, a user feature set is determined based on personalized feature information, the user feature set includes at least one of user behavior features, user scenario features and business features, the user behavior features represent the user's usage preferences, the user scenario features represent the user's personal information, and the business features represent the user's frequently used business information; data features corresponding to the business data to be displayed are determined based on a chart feature set and the business data to be displayed; and a display chart corresponding to the business data to be displayed is obtained based on the chart feature set and the data features.
[0060] Specifically, personalized feature information can be specifically divided into user behavior features, user scenario features, and at least one of business features. The collection of all features is a chart feature set, where user behavior features represent the user's usage preferences, user scenario features represent the user's personal information, and business features represent the user's commonly used business information. User behavior features may include: user operation behaviors, usually the user's most commonly used data operations, such as: sorting order, favorite graphics, favorite colors, etc., to record user behavior; user scenario features may include: user-associated scenario features, user-common scenarios, such as: user's basic information such as industry, region, time, etc.; business features include: user-common businesses, such as: fault diagnosis, operation monitoring, etc. When there are multiple options in each feature list, the user can freely select several items for each feature, and can arrange and combine the priorities of these options.
[0061] The data features corresponding to the business data to be displayed can be obtained by analyzing the data to be displayed. The data features mainly include the data structure, data distribution, data unit, granularity and some statistical data in the data, such as: whether the data conforms to the normal distribution, what is the data unit, in which unit 90% of the data is concentrated, whether there is duplicate data in the data, what is the similarity of data from different units in the same dimension, etc.
[0062] The user's basic information, chart purpose, data status and usage habits can be determined through the chart feature set and data features, and the chart that best meets the user's needs can be generated for display.
[0063] Through personalized feature information, user behavior characteristics, user scenario characteristics and business characteristics are determined. Among them, user behavior characteristics represent the user's usage preferences, user scenario characteristics represent the user's personal information, and business characteristics represent the user's commonly used business information. Through the three categories of feature information, the user's situation, habits and data usage scenarios can be clearly understood, so as to analyze and process the business data to be displayed, and improve the accuracy and efficiency of the displayed charts.
[0064] According to some embodiments of the present application, a chart feature set and / or data feature is determined to obtain a display effect list; a chart configuration and data processing rules are determined based on the display effect list; business data to be displayed is processed according to the data processing rules to obtain chart data; and a display chart is determined based on the chart data and the chart configuration.
[0065] The display effect list includes a variety of display effects for generating charts. Each effect may contain one or more chart components / controls. Since the display chart is composed of multiple chart components / controls, there can be multiple chart effects in the chart. Therefore, there are also multiple display effects in the display effect list. The display effects can be, for example: chart form (line chart, pie chart, bar chart), chart color, chart granularity, statistical interval, display quantity, etc.
[0066] Furthermore, different display effects require different data processing rules to cooperate with, otherwise there will be a mismatch between data and effect, resulting in data redundancy or other situations. Therefore, this embodiment associates the display effect with the data processing rules, and performs data processing according to the effect after the effect is determined, thereby avoiding the waste of operating resources and completing data processing in a targeted manner, rather than mechanical overall processing. For example: When facing the battery operation monitoring business, in the SOH data monitoring part, the actual SOH data as a whole is basically concentrated in 80%-100%, so according to the business characteristics, the display effect is determined to be "displaying data in the range of 80% to 100%, and combined with the display effect, the data to be displayed needs to be screened, so the data processing rule of "screening data in the range of 80% to 100%" can be associated to complete the data processing and obtain the chart data.
[0067] According to some embodiments of the present application, the consistency of the business data to be displayed is determined according to data processing rules; when the consistency of the business data to be displayed is greater than a preset data threshold, the data segment to be compressed is determined; the data segment to be compressed is compressed to obtain chart data.
[0068] Assume that there are two dimensions in the data, such as Figure 3 As shown, one dimension is the battery cell CellN, and the other dimension is the SOH percentage. Assuming that auxiliary line 1003 is 93% and auxiliary line 1004 is 40%, the figure records the SOH change process of multiple battery cells. For example, the data between auxiliary line 1003 and auxiliary line 1004 is available to all battery cells. Therefore, the data between auxiliary line 1003 and auxiliary line 1004 is highly consistent and can be compressed. In this way, the data of each battery cell Cell in the range of 40% to 93% is compressed, and there is no need to display it in detail in the chart. The data of the difference part in the chart (greater than 93% and less than 40%) has enough space to be displayed, which is conducive to improving the user's reading experience of the difference part. Figure 2 As shown, assuming that no compression operation is performed on the data, the displayed image is Figure 2 As shown in FIG. 1 , the difference parts (greater than 93% and less than 40%) are difficult to compare, and the data are only a number of chaotic bar graphs. After compressing the data of the 40% to 93% part, the display content can be as follows: Figure 3 As shown, the data in the dimension of SOH value is compressed, and the SOH data of all CELLs (battery monomers) in the 40% to 93% part are compressed into a very small part of the corresponding position in the figure.
[0069] The preset data threshold can be set by a technician, and can be compressed when all data items exceeding the preset data threshold have this value. For example, assuming that auxiliary line 1003 is 93% and auxiliary line 1004 is 40%, Figure 3 When more than 95% of the battery cells contain 93% to 40% of the data, the 93% to 40% data is compressed and displayed in the chart in a compressed form.
[0070] The compressed data can be represented in a fixed form in the chart, which saves the use of operating resources and avoids the display of a large amount of useless data in the chart that repeatedly occupies display space, leaving space for the display of key data.
[0071] By analyzing the data to be displayed, the distribution of the data can be determined. Based on the data distribution, it can be determined which part of the data is more concentrated and which part has almost no data. Through analysis, part of the data set can be highlighted and the part without data can be ignored, further improving the distinction of the display of some data in the data set and improving the data display effect.
[0072] According to some embodiments of the present application, the distribution of the business data to be displayed is determined according to data processing rules; the business data to be displayed is screened according to the distribution of the business data to be displayed to determine chart data.
[0073] Data distribution refers to the change pattern of data determined by some statistical methods. The distribution can be, for example, normal distribution, uniform distribution, gamma distribution, binomial distribution, etc. The concentration and importance of data can be determined by different distribution conditions, and data can be screened differently by combining different personalized feature information. Figure 4 and Figure 5 Assume that there is a "filter data according to normal distribution" in the data processing rule. At this time, it is necessary to determine the distribution of the business data to be displayed and judge whether it conforms to the normal distribution. If it conforms, the part with more concentrated data is displayed. Figure 4 This is the overall distribution diagram of battery SOH. Assume that according to the business characteristics: the battery SOH range display business needs to display 80%-90% of the data. Generally, the battery SOH range is mainly distributed between 80% and 100%. Figure 4 However, in some cases, such as Figure 4, there is very little data in the 80% to 90% range, so it can be completely combined and displayed. The data in the 90% to 100% range is not accurate enough. For example: 98% to 100% accounts for 50.7%, and we cannot know what the 98% to 99% range is. Therefore, in this case, it is difficult to match the data content and display format of the chart. Therefore, the data can be filtered according to the normal distribution, the sparse data parts can be removed, and the parts in the data set can be expanded. For example: adjust the display chart of the data display to Figure 5 As shown, the data in the 90% to 100% range is highlighted.
[0074] According to some embodiments of the present application, the repetitiveness of the business data to be displayed is determined according to data processing rules; and data fusion is performed on the business data to be displayed according to the repetitiveness of the business data to be displayed to determine chart data.
[0075] There may be some processing rules for repeated data in the data processing rules. For example, according to the business characteristics, it can be determined whether the repeated data of this business has display value. In many data, there are actually a lot of repeated data content, but repeated display has certain value in some businesses, while repeated data has no meaning in other businesses. This part of the data will undoubtedly become redundant. For example, when the business characteristic is "battery operation data monitoring", the user needs to detect all the data of the battery, whether it is repeated or not, it reflects a business process of the battery data; on the other hand, when the business characteristic is "battery single cell working condition overview", it is only necessary to know what working conditions the battery has experienced, and repeated experience and how many times it has been experienced are not the needs of users. Therefore, there will be a lot of repetitions in the working condition type data, resulting in data redundancy. At this time, the repetitiveness of the business data to be displayed can be determined according to the data processing rules, and then the data can be merged according to the repetitiveness of each data to obtain chart data.
[0076] Data fusion can be performed on the business data to be displayed according to its repetitiveness. The repeated parts of the data can be marked without changing the structure of the data. For example, data A corresponds to data A1 and data B corresponds to data B1. When A1 and B1 are repeated, only A1 and B1 need to be merged. The data can be transformed into A corresponding to A1 and B corresponding to A1 to complete data fusion and reduce data redundancy.
[0077] According to some embodiments of the present application, one or more of the chart display items, chart display granularity, and chart operability in a preset display effect are determined based on user behavior characteristics in a chart feature set; and one or more of the chart display items, chart display granularity, and chart operability are added to a display effect list.
[0078] The display effect can be composed of different controls or components. In this embodiment, the following preferred display effects are provided: chart display items, chart display granularity, and chart operability. The display item is the amount of content display data on one dimension in the chart. For example: Figure 3 In the dimension of Cell (battery monomer), 9 items are displayed, including Cell1 to Cell9. The displayed items are related to user habits. If too many items are displayed on one page or one interface, it will be difficult for users to distinguish and process the content. If too few items are displayed, the displayed content may not be comprehensive. Therefore, it is very important to control the number of displayed items. Specifically, the displayed items can be controlled by matching the appropriate number of controlled display items according to user behavior characteristics.
[0079] Reference Figure 4 as well as Figure 5 , the chart displays the smallest unit of data displayed on a certain dimension, such as Figure 4 In the statistical range dimension (horizontal axis), if a display item shows 2% of the data, such as 80% to 82% of the SOH data, then the display granularity is 2%. Figure 5 Shown Figure 5 In the statistical range dimension (horizontal axis), a display item displays 2% of the data, such as 90% to 91% of the SOH data. At this time, the display granularity is 1%. The smaller the display granularity, the higher the data display accuracy. The larger the display granularity, the larger the range displayed on a single display page. It needs to be determined according to different demand scenarios. In this embodiment, the display granularity is selected through the display effects matched by various features.
[0080] The operability of the chart refers to whether the user has a need for chart operations, such as "the horizontal axis can be dragged", "the vertical axis can be dragged", "the data can be combined", etc. This is because the user may have certain analysis needs and need to drag non-adjacent items to the same coordinate position for comparison, such as Figure 3 In the example, data 1001 and 1002 are dragged to adjacent positions for comparison. However, operability may also cause some troubles to users, that is, misoperation may destroy the integrity of the table. Therefore, operability needs to be matched according to the various features brought by the user portrait to determine whether to give the table an "operable" option.
[0081] like Figure 4 This is the overall distribution diagram of battery SOH. The battery SOH range is 80-100%, and the figure is counted at intervals of 2%. Among them, the data in the 80%-90% range are all zero, and are completely merged and displayed. The data accuracy of the 90-100% range is not enough. For example: 98-100% accounts for 50.7%, and we cannot know what the 98-99% account for. Based on the above problems combined with Figure 5, this embodiment proposes the following content for explanation. This embodiment obtains the display effect "displaying data in the range of 80-100" according to the business feature "overall distribution of battery SOH", and obtains display effect A "displaying a maximum of 12 data", "displaying a minimum of 10 data", "data less than 1% can be omitted" based on the user behavior characteristics. According to the user behavior characteristics and business characteristics, the data feature judgment rules "whether it is normally distributed", "minimum statistical interval 1%", "maximum statistical interval 2%" are obtained, and the display effect B "80-90% can be integrated" is obtained. Combining the data processing rules obtained by effects A and B, the final result is as follows Figure 5 As shown in the display effect, the data granularity has been increased from the original 2% to 1%.
[0082] The display effect of the chart can be further optimized by displaying items, chart display granularity and chart operability. Currently, these contents are only mechanically bound to the corresponding templates. By establishing a mapping relationship between them and user behavior characteristics, the display items, chart display granularity and chart operability can be adjusted according to the user's behavior characteristics and user preferences. The display items, chart display granularity and chart operability are closely related to the user's operating habits of the chart. The user experience can be further improved through the above method.
[0083] According to some embodiments of the present application, one or more of the chart item effects and auxiliary lines in the preset display effect are determined based on the user scenario characteristics and / or business characteristics in the chart feature set; and one or more of the chart item effects and auxiliary lines are added to the display effect list.
[0084] The chart item effects can be referenced Figure 3 In the content of 1001 chart item effect A and 1002 chart item effect B, the chart items are displayed differently through different color labels or pattern labels, and the content that requires attention or has a large difference is marked by changing the chart item effect.
[0085] based on Figure 3 content, Figure 3 The auxiliary lines can be marks for assisting users in observation and analysis, for example Figure 3 The auxiliary lines 1003 and 1004 in the figure can make it easier for the user to compare data at different positions by marking the auxiliary lines.
[0086] like Figure 3As shown in the figure, through the user scenario features such as "battery pack SOH" and "waterfall bar chart" and the user business features of "battery cell SOH diagnosis", combined with the behavioral features such as "presenting a maximum of 50 bar charts" and "if there are more than 50, you can drag the chart to display other data", the required display effect list A (enabling draggable operability, displaying a maximum of 50, and marking the battery cell before charging in red) is obtained. Figure 3 1001, discharge end battery cell marked yellow Figure 3 The 1002 and top minimum values are marked with red dashed lines. Figure 3 The middle auxiliary line 1003 and the bottom maximum value are marked with a yellow dotted line. Figure 3 The auxiliary line 1004 in the middle). Then the data feature judgment rule - judge whether the data consistency of the data group exceeds the threshold. If it exceeds the threshold, add effect list B (compress the part of the Y coordinate axis between the two marking lines). Combine display effect A and display effect B to get the required data processing rule queue. Finally, after data processing, the display effect Figure 3 When performing image diagnosis, you only need to identify the color of the histogram, which is much faster than before, and the differences between the histograms become very obvious, reducing misjudgment.
[0087] Because different business needs require different chart display formats, in some chart display situations, there will be some specific values, such as mean lines or threshold lines, etc. Therefore, using auxiliary lines to assist the expression of charts can give users a clearer look and feel when using them, thus improving the display effect of the charts.
[0088] According to some embodiments of the present application, a recommendation list is generated based on the display effect list for display; in response to a display effect selection instruction, a target display effect is determined; and a chart configuration is generated based on the target display effect.
[0089] Since the user's habits and preferences are not static during actual use, if the display effect is determined only according to the user portrait and data features, there may be a gradual deviation, which will cause the determined display effect to be increasingly different from the user's expected display effect over time. Therefore, different display effects can be combined according to the display effect list to generate a variety of recommended display effects, forming a recommendation list for users to choose from, and the user portrait can be fed back to update or adjust the user portrait according to the user's choice. For example: according to the user's feature set and data features (i.e., behavioral features, scenario features, business features, and data features), a list of display effects required for the chart is obtained. If the user is not satisfied with the effect recommended by the system, the user can also add and modify the display effect and the data processing rules corresponding to the display effect. The system will associate the display effect, data processing rules, user portrait, and user feature set modified by the user.
[0090] The display effect selection instruction is an instruction for the user to select a display effect. In this embodiment, the display recommendation is made through a recommendation list, and the user can select or add it by himself to obtain the final target display effect. Finally, the chart configuration can be generated according to the target display effect.
[0091] Since automatically generating display charts is very convenient for users, but not flexible enough, multiple recommended charts can be generated based on features to form a chart list for users to choose from, thereby improving the flexibility of chart display.
[0092] According to some embodiments of the present application, in response to a user feature selection instruction, target feature data is determined; and personalized feature information of the corresponding user is determined based on the user portrait, which also includes: determining personalized feature information of the corresponding user based on the user portrait and the target feature data.
[0093] Furthermore, users can also add features into the feature set according to their needs. Specifically, they can respond to user feature selection instructions based on user operations to determine the features selected by the user (target feature data), and then determine the personalized feature information of the corresponding user based on the user portrait and the target feature data.
[0094] Since the user portrait may be inaccurate or lacking in many cases, and the user portrait needs to be changed or established, a series of tags can be provided for users to choose from to help users speed up the establishment or change of user portraits, obtain users' personalized information more directly, and improve the efficiency of user portrait generation.
[0095] According to some embodiments of the present application, the final display chart is composed of chart data and chart configuration. The chart configuration is used to determine the final display appearance of the chart, and the chart data is used to determine the specific coordinate position of each data item in the chart. The two together constitute a complete display chart. This embodiment proposes the following scheme for illustration, for example: Figure 6 In the process, the user portrait and the data imported by the user are first obtained, and three types of features are parsed according to the user portrait to form a feature set. The data features that are useful to the feature set are screened out according to the input data and the feature set. The display effect list is determined according to the feature set and the data features, and then the corresponding data processing rules are determined according to the display effect list. The display effect list finally obtains the chart configuration, and the data processing rules determine the chart data for the input data (business data to be processed).
[0096] Further, based on the user portrait, the user's behavior characteristics (user's operation behavior, usually the user's most commonly used data operation, such as: sorting order, what graphics, what color system, etc.) are determined, and the user behavior and the scene characteristics associated with the user (user's commonly used scenes, such as: user's industry, region, time, etc.) are recorded. The user's basic information, industry, determines the display data, different regional numerical units, business characteristics (user's commonly used business, such as: fault diagnosis, operation monitoring, etc.) Fault diagnosis, different use lists, etc. When there are multiple options in each feature list, the user can freely select several items for each feature, and can arrange and combine the priorities of these options. Each feature is associated with several corresponding data feature judgment rules. This system will have several commonly used judgment rules built in, and also allows users to add custom rules and features, and associate them with user portraits and feature sets. After obtaining the data, the data feature judgment rule list can be obtained by the features and data feature judgment rules. (The user can add, subtract or modify the rule list, and feedback the latest results to the user portrait and its corresponding feature set), and perform data feature analysis based on the feature judgment rule list. According to the user's feature set and data features (i.e., behavioral features, scenario features, business features, and data features), a list of display effects required for the chart is obtained. If the user is not satisfied with the effects recommended by the system, the user can also add and modify the display effects and the data processing rules corresponding to the display effects. The system will associate the display effects and data processing rules modified by the user with the user portrait and the user's feature set. After obtaining the display effect list, the system obtains several data processing rules required for each display effect, and after traversing the display effect list, a data processing rule queue can be obtained. Then the data processing rule queue is arranged, and the series, parallel, and dependency relationships are handled, and then the pipeline is processed in the arranged manner. Finally, the chart data and chart configuration required for displaying the chart are obtained, so as to render the chart. In the above steps, when obtaining the feature set, the list of data feature judgment rules, the list of display effects, and the data processing rules, in addition to the system built-in and the user added by himself, the system will also recommend those added by other users, and will recommend them according to the behavioral features, scenario features, and business features. The feature sets, rule lists, display effects, data processing rules and other information selected by users will also be associated with the user's user portrait and feature sets, thereby gradually enriching the scenarios, services and display effects available to users.
[0097] In addition, an embodiment of the present invention further provides a storage medium, on which a chart display program is stored. When the chart display program is executed by a processor, the steps of the chart display method described above are implemented.
[0098] Reference Figure 7 , Figure 7It is a structural block diagram of the first embodiment of the chart display device of the present invention.
[0099] like Figure 7 As shown, the chart display device proposed in the embodiment of the present invention includes:
[0100] The acquisition module 10 is used to acquire the user portrait and the business data to be displayed;
[0101] The processing module 20 is further used to determine the personalized feature information of the corresponding user according to the user portrait;
[0102] The processing module 20 is further configured to determine a display chart corresponding to the business data to be displayed according to the personalized feature information and the business data to be displayed.
[0103] It should be understood that the above is only an example and does not constitute any limitation on the technical solution of the present invention. In specific applications, technicians in this field can make settings as needed, and the present invention does not limit this.
[0104] In this embodiment, the acquisition module 10 determines the personalized feature information of the corresponding user based on the user portrait, and the processing module 20 completes the confirmation of the display chart corresponding to the business data to be displayed based on the personalized feature information and the business data to be displayed. According to the personalized feature information (for example: user habits, preferences, usage scenarios) and the data processing rules, the wrong, invalid, interfering, and unclear data are excluded, and the same parts of the data are reduced and the different parts are enlarged, so as to improve the display speed of the chart, display data more effectively, and image recognition more accurately.
[0106] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of the present invention. In practical applications, technicians in this field can select part or all of them according to actual needs to achieve the purpose of the present embodiment, and no limitation is made here.
[0107] In addition, for technical details that are not described in detail in this embodiment, reference can be made to the chart display method provided in any embodiment of the present invention, and will not be repeated here.
[0108] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application, and they should all be included in the scope of the claims and specification of the present application. In particular, as long as there is no structural conflict, the various technical features mentioned in the various embodiments can be combined in any way. The present application is not limited to the specific embodiments disclosed herein, but includes all technical solutions that fall within the scope of the claims.
Claims
1. A method for displaying a chart, characterized in that: The chart display method includes: Obtain user portraits and business data to be displayed; Determine personalized feature information of the corresponding user according to the user portrait; A display chart corresponding to the business data to be displayed is determined according to the personalized feature information and the business data to be displayed.
2. The method according to claim 1, characterized in that The determining, according to the personalized feature information and the business data to be displayed, a display chart corresponding to the business data to be displayed includes: Determine a user feature set according to the personalized feature information, the user feature set including at least one of a user behavior feature, a user scenario feature, and a service feature, the user behavior feature represents the user's usage preference, the user scenario feature represents the user's personal information, and the service feature represents the user's commonly used service information; Determine data features corresponding to the business data to be displayed according to the chart feature set and the business data to be displayed; According to the chart feature set and the data features, a display chart corresponding to the business data to be displayed is obtained.
3. The method according to claim 2, characterized in that The step of obtaining a display chart corresponding to the business data to be displayed according to the chart feature set and the data feature includes: Determine the chart feature set and / or data feature to obtain a display effect list; Determine chart configuration and data processing rules according to the display effect list; Process the business data to be displayed according to the data processing rules to obtain chart data; A display chart is determined according to the chart data and the chart configuration.
4. The method according to claim 3, characterized in that The processing of the business data to be displayed according to the data processing rules to obtain chart data includes: Determine the consistency of the business data to be displayed according to the data processing rules; When the consistency of the service data to be displayed is greater than a preset data threshold, determining a data segment to be compressed; The data segment to be compressed is compressed to obtain chart data.
5. The method according to claim 3, characterized in that The processing of the business data to be displayed according to the data processing rules to obtain chart data also includes: Determine the distribution of the business data to be displayed according to the data processing rules; The business data to be displayed is screened according to the distribution of the business data to be displayed to determine the chart data.
6. The method according to claim 3, characterized in that The processing of the business data to be displayed according to the data processing rules to obtain chart data also includes: Determine the duplication of the business data to be displayed according to the data processing rules; The business data to be displayed are merged according to the repetitiveness of the business data to be displayed to determine the chart data.
7. The method according to claim 3, characterized in that The step of matching the chart feature set and / or data feature with the preset display effect to obtain a display effect list includes: Determine one or more of a chart display item, a chart display granularity, and a chart operability in a preset display effect according to the user behavior characteristics in the chart feature set; One or more of the chart display items, chart display granularity, and chart operability are added to the display effect list.
8. The method according to claim 3, characterized in that The step of matching the chart feature set and / or data feature with a preset display effect to obtain a display effect list further includes: Determine one or more of the chart item effects and auxiliary lines in the preset display effect according to the user scenario characteristics and / or business characteristics in the chart feature set; Add one or more of the chart item effects and auxiliary lines to the display effect list.
9. The method according to claim 3, characterized in that The determining of the chart configuration according to the display effect list includes: Generate a recommendation list for display according to the display effect list; Responding to a display effect selection instruction, determining a target display effect; Generate a chart configuration according to the target display effect.
10. The method according to claims 1 to 9, characterized in that: Also includes: In response to a user feature selection instruction, determining target feature data; The determining of the personalized characteristic information of the corresponding user according to the user portrait also includes: The personalized feature information of the corresponding user is determined according to the user portrait and the target feature data.
11. A chart display device, characterized in that: The graphic display includes: The acquisition module is used to obtain user portraits and business data to be displayed; The processing module is further used to determine the personalized feature information of the corresponding user according to the user portrait; The processing module is further used to determine a display chart corresponding to the business data to be displayed according to the personalized feature information and the business data to be displayed.
12. A chart display device, characterized in that: The device comprises: a memory, a processor, and a chart display program stored in the memory and executable on the processor, wherein the chart display program is configured to implement the steps of the chart display method according to any one of claims 1 to 10.
13. A storage medium, characterized in that: The storage medium stores a chart display program, and when the chart display program is executed by the processor, the steps of the chart display method according to any one of claims 1 to 10 are implemented.