Information display method, device, system and product based on curve fitting

Through curve fitting technology, the element display of the large screen interface is adaptively adjusted, and the visual fatigue problem caused by the large resolution span is solved, and the good display effect on screens with different resolutions is achieved, which improves user experience and information readability.

CN118708145BActive Publication Date: 2024-11-08INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411183168.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-27
Publication Date
2024-11-08
Estimated Expiration
2044-08-27

AI Technical Summary

Technical Problem

In large-screen visualization, there is a big difference between the resolution supported by the conventional display interface and the large-screen, resulting in out-of-display ratio, causing user visual fatigue and affecting user experience.

Method used

Using the information display method based on curve fitting, the actual display ratio of the target element is determined through the positioning coordinates and layout of the element tray, and scaled according to the resolution to achieve adaptive large-screen interface display with a large resolution span to avoid User visual fatigue.

Benefits of technology

It improves the readability and user experience of information, ensures consistent display effects on display screens of different resolutions and sizes, and improves the visual ornamentality and readability of large-screen data visualization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118708145B_ABST
    Figure CN118708145B_ABST
Patent Text Reader

Abstract

The present application relates to the field of computer technology, and discloses an information display method, device, system and product based on curve fitting. The method includes: determining the coordinates of all endpoints of the element tray based on the positioning coordinates of the element tray; determining the element layout in the element tray based on the target arrangement mode and the total number of target elements; placing all target elements in the element tray according to the element layout and the coordinates of all endpoints of the element tray; placing the element tray in the main screen; determining the actual display ratio of the target elements in the element tray based on the fitting expression and the number of rows or columns in the element layout, and scaling each target element according to the actual display ratio; displaying the main screen in the target display area based on the resolution of the target display area. The present method can realize the flexible layout of display elements in the interface, and can present good visual effects in different screens with a large resolution span, thereby improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to an information display method, device, system and product based on curve fitting. Background Art

[0002] With the rapid development of the digital economy and the in-depth advancement of informatization in all industries and fields, visualization screens have been increasingly widely used in all walks of life. Data visualization refers to the process of presenting data to users in an easy-to-understand and intuitive way through graphical means. Data visualization displays relatively obscure data in a visual and interactive way, thereby vividly and intuitively expressing the information and laws contained in the data. In simple terms, it is to present data and convey information intuitively through charts and other means. The visualization screen can display various data in the production process in real time, such as output, quality, energy consumption, etc., so that decision makers can understand the production status in a timely manner and provide strong support for decision-making. Through charts, animations and other forms, the visualization screen presents complex data information to users in an intuitive way, helping users to better obtain information.

[0003] At present, in the process of realizing large-screen visualization, there are the following technical difficulties: the resolution supported by the large screen is quite different from that of the conventional display interface, and the resolution span that needs to be supported by large-screen visualization is large, usually in the range of 2k to 4k+ resolution, and even up to 4K and higher resolution. In this case, it is necessary to transplant the information displayed on the conventional display interface to the large screen, which will cause the display ratio to be unbalanced, causing visual fatigue to the user and seriously affecting the user experience. Therefore, it is necessary to find a large-screen information visualization solution suitable for a large resolution span to improve the readability of the displayed information and enhance the user experience. Summary of the invention

[0004] In view of this, the present application aims to propose an information display method, device, system and product based on curve fitting, so as to adapt to a large-screen interface with a large resolution span and provide a flexible layout method to avoid visual fatigue of users.

[0005] To achieve the above purpose, the technical solution of this application is as follows:

[0006] A first aspect of an embodiment of the present application provides an information display method based on curve fitting, comprising:

[0007] Based on the positioning coordinates of the element tray, determining the coordinates of all endpoints of the element tray;

[0008] Determining the element layout in the element tray based on the target arrangement mode and the total number of target elements;

[0009] According to the element layout and the coordinates of all endpoints of the element tray, all target elements are placed in the element tray; and the element tray is placed in the main screen;

[0010] Based on the fitting expression and the number of rows or columns in the element layout, determining the actual display ratio of the target element in the element tray, and scaling each target element according to the actual display ratio; the fitting expression is determined by curve fitting based on the initial data;

[0011] Based on the resolution of the target display area, the main screen image is displayed in the target display area.

[0012] Optionally, determining the coordinates of all endpoints of the element tray based on the positioning coordinates of the element tray includes:

[0013] Obtaining the positioning coordinates of the element tray, including: the x-axis coordinate and the y-axis coordinate of the first endpoint, the x-axis coordinate of the second endpoint, and the x-axis coordinate of the third endpoint;

[0014] Calculating the y-axis coordinate of the second endpoint according to the positioning coordinates and the horizontal slope;

[0015] Calculating the y-axis coordinate of the third endpoint according to the positioning coordinates and the vertical slope;

[0016] The coordinates of the fourth endpoint are determined according to the coordinates of the first endpoint, the coordinates of the second endpoint, and the coordinates of the third endpoint.

[0017] Optionally, determining the layout of elements in the element tray includes:

[0018] Calculate the required number of rows according to the total number of target elements;

[0019] Calculate the required number of columns according to the total number of target elements and the number of rows;

[0020] The row and column where each target element is located are determined according to the total number of the target elements, the number of rows, and the number of columns.

[0021] Optionally, placing all target elements into the element tray according to the element layout and the coordinates of all endpoints of the element tray includes:

[0022] Determine a first spacing distance between target elements in each row according to the coordinates of the first endpoint, the coordinates of the second endpoint and the number of columns of the element tray;

[0023] Determine a second spacing distance between target elements in each column according to the coordinates of the first endpoint, the coordinates of the third endpoint and the number of rows of the element tray;

[0024] For each target element, calculate the coordinates of the target element according to the row and column where the target element is located, the coordinates of the first endpoint, the first interval distance, the second interval distance, and the horizontal slope;

[0025] According to the coordinates of each target element, all target elements are placed into the element tray.

[0026] Optionally, the information display method based on curve fitting further includes:

[0027] Get the base size of the target element;

[0028] When the number of rows or columns of the target element changes, obtaining a first number of element layouts;

[0029] Generating a first display ratio based on each element layout; the first display ratio is determined based on the basic size when target elements in the element layout do not overlap;

[0030] Generate a plurality of initial data pairs according to the first display ratios corresponding to the element layouts and the number of rows or columns in the element layouts;

[0031] Curve fitting is performed based on all initial data pairs to obtain the fitting expression.

[0032] Optionally, the information display method based on curve fitting further includes:

[0033] Get the base size of the target element;

[0034] When the number of rows or columns of the target element changes, obtaining a second number of element layouts;

[0035] Acquire a second display ratio based on each element layout; the second display ratio is determined based on a specified display ratio of a target element in the element layout;

[0036] Generate a plurality of initial data pairs according to the second display ratios corresponding to the element layouts and the number of rows or columns in the element layouts;

[0037] Curve fitting is performed based on all initial data pairs to obtain the fitting expression.

[0038] Optionally, the information display method based on curve fitting further includes:

[0039] Determine whether the number of columns of the target element in each element layout reaches a first threshold;

[0040] When the number of columns of the target element does not reach the first threshold, adding the initial data pair corresponding to the element layout to the first set;

[0041] When the number of columns of the target element reaches a first threshold, adding the initial data pair corresponding to the element layout to the second set;

[0042] Curve fitting is performed based on the first set and the second set respectively to obtain corresponding fitting expressions.

[0043] Optionally, the target element is a device icon or a text symbol; wherein, the basic size of the device icon is, the device icon corresponds to the display ratio of the parent, and the basic size of the text symbol is, the text symbol corresponds to a multiple size of the root element; the root element is determined based on the resolution of the target display area.

[0044] Optionally, the information display method based on curve fitting further includes:

[0045] Determining whether the actual display ratio of the device icon is equal to or lower than a second threshold;

[0046] When the actual display ratio is equal to or lower than the second threshold, the device icon is replaced with a basic icon.

[0047] Optionally, the information display method based on curve fitting further includes:

[0048] Determining whether the actual display ratio of the text symbol is lower than a third threshold;

[0049] When the actual display ratio is lower than the third threshold, the actual display ratio of the text symbol is set to 1.

[0050] Optionally, placing the element tray in the home screen includes:

[0051] Placing a chassis container in the main screen and centering it, and scaling the chassis container according to a display ratio of the chassis container to its parent;

[0052] The element tray is placed in the chassis container, and the element tray is scaled according to a display ratio of the element tray corresponding to the parent.

[0053] Optionally, placing the element tray in the chassis container and centering it, and scaling the element tray according to a display ratio of the element tray corresponding to the parent, comprises:

[0054] At least one element tray is placed in the chassis container; wherein each element tray has a display ratio corresponding to a parent;

[0055] The center point coordinates of the chassis container are used as the initial coordinates of each element tray;

[0056] For each element tray, scaling the element tray according to the display ratio of the element tray corresponding to the parent;

[0057] According to the initial coordinates, the coordinates of each element tray after scaling are moved equidistantly, and it is determined whether each element tray overlaps;

[0058] When the element trays do not overlap, stop moving the element trays.

[0059] Optionally, based on the resolution of the target display area, displaying the main screen in the target display area includes:

[0060] Setting the aspect ratio of the main screen to a fixed ratio;

[0061] The resolution of the main screen is calculated based on the resolution of the target display area and the aspect ratio of the main screen, and the area in the target display area that cannot be covered by the main screen is filled with a background color.

[0062] According to a second aspect of an embodiment of the present application, an information display device is provided, for implementing the information display method based on curve fitting provided in the first aspect of the embodiment of the present application, the device comprising:

[0063] The main screen layout module is configured to determine the coordinates of all endpoints of the element tray based on the positioning coordinates of the element tray; determine the element layout in the element tray based on the target arrangement mode and the total number of target elements; place all target elements in the element tray according to the element layout and the coordinates of all endpoints of the element tray; and place the element tray in the main screen;

[0064] An element scaling module is configured to determine an actual display ratio of a target element in the element tray based on a fitting expression and the number of rows or columns in the element layout, and scale each target element according to the actual display ratio; the fitting expression is determined by curve fitting based on the initial data;

[0065] The display module is configured to display the main screen image in the target display area based on the resolution of the target display area.

[0066] According to a third aspect of an embodiment of the present application, there is provided an information display system, including:

[0067] A monitoring unit, used for capturing device operation data according to a first interval;

[0068] A first processing unit, configured to determine the total number of target elements according to the device operation data, and generate overview information of the devices corresponding to each target element; and send the total number of target elements and the overview information to a display unit;

[0069] The display unit includes a display screen and an information display device as described in the second aspect of the embodiment of the present application; the display screen includes a main display area, and the main display area is the target display area in the information display method based on curve fitting as described in the first aspect of the embodiment of the present application; the display unit is used to display overview information of each target element and the device corresponding to any target element in the main display area.

[0070] According to a fourth aspect of an embodiment of the present application, a computer program product is provided, including a computer program. When the computer program is executed by a processor, the steps in the information display method based on curve fitting as described in the first aspect of the embodiment of the present application are implemented.

[0071] According to the fifth aspect of the embodiments of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the information display method based on curve fitting as described in the first aspect of the embodiments of the present application are implemented.

[0072] According to the sixth aspect of the embodiments of the present application, there is provided an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps in the information display method based on curve fitting as described in the first aspect of the embodiments of the present application are implemented.

[0073] The information display method based on curve fitting provided by the present application is adopted to determine the position of the element tray in the main screen based on the positioning coordinates of the element tray, and realize the flexible layout of the elements in the main screen according to the total number of target elements arranged in the element tray as needed, and the set arrangement method, that is, to determine the number of rows, columns, etc. of the arrangement of each element in the element tray of the current shape. According to the element layout and the endpoint coordinates of the element tray, the position coordinates of each element in the element tray are further determined, and all elements are placed in the element tray. Then, according to the fitting expression and the number of rows or columns in the element layout, the display ratio of each element in the element tray is adjusted. Finally, the main screen is displayed based on the resolution of the target display area, so as to achieve the adaptation of each element in the main screen to the target display area, so that each element presents a better visual effect. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0075] Figure 1 is a flow chart of an information display method based on curve fitting proposed in one embodiment of the present application;

[0076] Figure 2 is a schematic diagram of a positioning element tray and a target element in an embodiment of the present application;

[0077] Figure 3 is a schematic diagram of a fitting curve in an embodiment of the present application;

[0078] Figure 4 This is the information display screen for the scenario where multiple storage clusters are managed by multi-device storage management software;

[0079] Figure 5 is a schematic diagram of an information display device proposed in an embodiment of the present application;

[0080] Figure 6 is a schematic diagram of an information display system in one embodiment of the present application;

[0081] Figure 7 It is a schematic diagram of an electronic device proposed in an embodiment of the present application. DETAILED DESCRIPTION

[0082] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0083] It should be understood that the references to "one embodiment" or "an embodiment" throughout the specification mean that the specific features, structures, or characteristics associated with the embodiment are included in at least one embodiment of the present application. Therefore, the references to "in one embodiment" or "in an embodiment" appearing throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0084] In the various embodiments of the present application, it should be understood that the size of the serial numbers of the following processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0085] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects as detailed in the present application.

[0086] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application may be combined with each other.

[0087] Due to the different pixel densities of devices with different screen sizes and resolutions, the display effects on different devices may vary greatly. This application proposes an adaptation solution suitable for screens with larger resolutions, which can automatically adapt to various large-screen displays in the 2k to 4k+ resolution range, ensuring that a consistent large-screen effect can be presented on display screens of different sizes and resolutions.

[0088] This solution is particularly suitable for data visualization application scenarios of cluster device management and maintenance. For information display scenarios with a large number of devices such as clusters, it can present device information with reasonable and easy-to-browse visual effects, thereby improving user experience.

[0089] The present application will be described in detail below with reference to the accompanying drawings and in combination with embodiments.

[0090] Figure 1 : is a flow chart of an information display method based on curve fitting proposed in one embodiment of the present application. Figure 1 As shown, the method includes:

[0091] S1: Based on the positioning coordinates of the element tray, determine the coordinates of all endpoints of the element tray;

[0092] S2: Determine the element layout in the element tray based on the target arrangement mode and the total number of target elements;

[0093] S3: placing all target elements into the element tray according to the element layout and the coordinates of all endpoints of the element tray; placing the element tray in the main screen;

[0094] S4: determining the actual display ratio of the target element in the element tray based on the fitting expression and the number of rows or columns in the element layout, and scaling each target element according to the actual display ratio; the fitting expression is determined by curve fitting based on the initial data;

[0095] S5: Based on the resolution of the target display area, display the main screen in the target display area.

[0096] In this embodiment, first, based on the positioning coordinates of the element tray, the coordinates of all the endpoints of the element tray are determined. After the coordinates of all the endpoints of the element tray are determined, the size of the element tray can be determined. The target elements need to be arranged in the element tray, and when the number of target elements is different, the element layout in the element tray is dynamically changed. In this embodiment, based on the target arrangement mode and the total number of target elements, the element layout in the element tray is determined under the current arrangement mode and the total number of target elements. In this embodiment, the target arrangement mode can be flexibly set, and the checkerboard arrangement mode is used for explanation in this embodiment. Under the checkerboard arrangement mode, the number of target elements in each row and column under the checkerboard arrangement mode is determined according to the total number of target elements, that is, the element layout in the element tray is determined.

[0097] Then, according to the element layout and the endpoint coordinates of the element tray, each target element is placed in the element tray, and the element tray is placed in the main screen. Combined with the current element tray size and the number of target elements, the target elements in the element tray are scaled to present a better visual effect. Specifically, in this embodiment, based on a predetermined fitting expression, the actual display ratio of the target element under the current arrangement mode is determined, and each target element is scaled according to the actual display ratio.

[0098] Finally, based on the resolution of the target display area, the main screen image is scaled and displayed in the target display area.

[0099] The information display method provided in this embodiment adopts a flexible element layout for different numbers of target elements, and adjusts the actual display ratio of the target elements placed in the element tray based on the fitting expression, so as to present a better visual effect when the number of target elements is different. The element tray is placed in the main screen, and the main screen is adaptively scaled based on the resolution of the target display area, so as to achieve the adaptation of each element in the main screen to the target display area of ​​different resolutions and sizes, thereby improving the readability of the displayed information and the user experience.

[0100] As an implementation manner of the present application, the target element is a device icon or a text symbol; wherein, the basic size of the device icon is, the device icon corresponds to the display ratio of the parent, the basic size of the text symbol is, the text symbol corresponds to a multiple size of the root element; the root element is determined based on the resolution of the target display area.

[0101] In this embodiment, the target element can be an icon or text symbol of a device that needs to be monitored or maintained. In this embodiment, the large screen is implemented using an Html front-end page. Since it is necessary to adapt to target display areas of different sizes and resolutions, the sizes of the target elements and element trays in this embodiment do not use fixed pixel units. Since the pixel unit is fixed, when the resolution of the target display area (i.e., the screen) is larger, the pixel density of the screen is also greater under the same physical size. In this case, when the size of the target element is marked with pixels, the actual presentation effect will decrease proportionally with the increase in pixel density, resulting in an imbalance in the picture ratio and a reduction in user experience.

[0102] In the target element, the size of the device icon is expressed as a percentage relative to the parent's display ratio. When the size is expressed as a percentage, the device icon will change according to the changes of the parent (i.e. the element tray). Therefore, when the resolution of the display increases, the target element will also scale proportionally, keeping the display ratio unchanged and showing the same size on the screen.

[0103] In the target element, the size of the text symbol is expressed in a variable unit called rem. rem is a relative length unit, which is a CSS unit (adaptation unit) of the font-size value of the root element (Html). If the font-size value is set in an Html page, rem is a multiple of this font-size value. For example, if the font-size value is set to 20px in the Html page, 1rem=20px. When using rem to express the size of the text symbol, convert the text symbol to a multiple of 1rem, such as 1.5rem (30px).

[0104] In this embodiment, the size of the target element is set by using a relative unit (display ratio / rem), thereby ensuring that the same size is maintained in visual presentation when the screen resolution changes.

[0105] As an implementation manner of the present application, based on the positioning coordinates of the element tray, determining the coordinates of all endpoints of the element tray includes:

[0106] Obtaining the positioning coordinates of the element tray, including: the x-axis coordinate and the y-axis coordinate of the first endpoint, the x-axis coordinate of the second endpoint, and the x-axis coordinate of the third endpoint;

[0107] Calculating the y-axis coordinate of the second endpoint according to the positioning coordinates and the horizontal slope;

[0108] Calculating the y-axis coordinate of the third endpoint according to the positioning coordinates and the vertical slope;

[0109] The coordinates of the fourth endpoint are determined according to the coordinates of the first endpoint, the coordinates of the second endpoint, and the coordinates of the third endpoint.

[0110] In one embodiment, the coordinates of all the endpoints of the element tray are determined based on the positioning coordinates of the element tray. The shape of the element tray can be set according to actual needs, for example, set to an ellipse or a quadrilateral. The following is an example of a quadrilateral. In the case where the element tray is a quadrilateral, the coordinates of three of the endpoints are used as the positioning coordinates. Figure 2 is a schematic diagram of a positioning element tray and a target element in an embodiment of the present application. Figure 2 As shown, in this embodiment, the element tray adopts a parallelogram, and the coordinates of three of its endpoints are used as positioning coordinates, namely the x-axis and y-axis coordinates of the lower left endpoint 1, the x-axis coordinate of the lower right endpoint 2, and the x-axis coordinate of the upper left endpoint 3.

[0111] When a parallelogram is used as the element tray, fixed horizontal and vertical slopes of the parallelogram may be preset, namely, the horizontal slope slopeH and the vertical slope slopeV.

[0112] Based on the positioning coordinates and the horizontal slope, the y-axis coordinate of endpoint 2 is calculated as:

[0113] y2=y1+(x2-x1)×slopeH;

[0114] Based on the positioning coordinates and the vertical slope, the y-axis coordinate of endpoint 3 is calculated as:

[0115] y3=y1+(x3-x1)×slopeV;

[0116] After calculating the complete coordinates of endpoints 2 and 3, the x-axis and y-axis coordinates of the upper right endpoint 4 can be further calculated to complete the positioning of all endpoints of the element tray.

[0117] In this embodiment, in order to avoid user visual fatigue caused by the traditional conventional display layout when displaying information on a large screen, a more flexible tilted layout is used to present the target elements in the main screen, thereby improving visual appeal and readability and avoiding visual fatigue.

[0118] As an implementation manner of the present application, determining the element layout in the element tray includes:

[0119] Calculate the required number of rows according to the total number of target elements;

[0120] Calculate the required number of columns according to the total number of target elements and the number of rows;

[0121] The row and column where each target element is located are determined according to the total number of the target elements, the number of rows, and the number of columns.

[0122] In one embodiment, the target elements are placed in the element tray in a checkerboard arrangement. When the number of target elements is large, they need to be arranged in multiple columns and rows. In this embodiment, the M*N checkerboard arrangement is tested in advance, and the test shows that when the number of target elements changes, the number of target elements placed in each row is dynamically changed, and its presentation effect is better than placing a fixed number of target elements in each row. Therefore, this embodiment proposes a method for determining the number of rows and columns required in the element layout, and the number of rows and columns required for the element layout is calculated by the following expression:

[0123] Number of rows Row=Math.floor((Math.sqrt(8*total - 4) -2 ) / 4) +1;

[0124] Number of columns CoL = Math.ceil(total / row).

[0125] Among them, math.floor is rounding down; math.sqrt is square root; total is the total number of target elements; math.ceil is rounding up.

[0126] When the total number of target elements is determined, the number of rows and columns required for the layout of the corresponding elements is calculated according to the above expression. Further, the row and column where each target element is located are determined according to the number of rows and columns. For example, the target element n is located at the 2nd row and the 3rd column.

[0127] As an implementation manner of the present application, placing all target elements into the element tray according to the element layout and the coordinates of all endpoints of the element tray includes:

[0128] Determine a first spacing distance between target elements in each row according to the coordinates of the first endpoint, the coordinates of the second endpoint and the number of columns of the element tray;

[0129] Determine a second spacing distance between target elements in each column according to the coordinates of the first endpoint, the coordinates of the third endpoint and the number of rows of the element tray;

[0130] For each target element, calculate the coordinates of the target element according to the row and column where the target element is located, the coordinates of the first endpoint, the first interval distance, the second interval distance, and the horizontal slope;

[0131] According to the coordinates of each target element, all target elements are placed into the element tray.

[0132] In one embodiment, the row and column of each target element are determined according to the element layout; further, the coordinates of each target element are determined according to the endpoint coordinates of the element tray and the row and column of the target element, and all target elements are placed in the element tray.

[0133] Specifically, after obtaining the number of rows and columns required for element layout, the row and column of each target element are determined based on the following expression:

[0134] The row where the target element is located row1 = Math.floor (n / CoL);

[0135] The column where the target element is located is col1=n%CoL.

[0136] Among them, n is the serial number of the current target element; CoL is the total number of columns; math.floor is rounding down; % is the remainder operation.

[0137] Then, after determining the row row1 and column col1 where the target element is located, the element tray is calculated based on the endpoint coordinates of the element tray (such as Figure 2 The spacing between a target element in the example shown here:

[0138] The horizontal distance deltaX between two target elements:

[0139] deltaX=(boxPoint2.x-boxPoint1.x) / (CoL);

[0140] The vertical distance between two target elements deltaY:

[0141] deltaY=(boxPoint3.y-boxPoint1.y) / (Row).

[0142] Among them, boxPoint2.x is the x-axis coordinate of endpoint 2; boxPoint3.y is the y-axis coordinate of endpoint 3; boxPoint1.x is the x-axis coordinate of endpoint 1; boxPoint1.y is the y-axis coordinate of endpoint 1; CoL is the total number of columns in the layout; Row is the total number of rows in the layout.

[0143] Further, calculate the coordinates of the target element in the element tray as follows:

[0144] xn=box1Point1.x+deltaX*col1;

[0145] yn=box1Point1.y+(xn-box1Point1.x)*slopeH.

[0146] Among them, xn is the z-axis coordinate of the target element, yn is the y-axis coordinate of the target element; boxPoint1.x is the x-axis coordinate of endpoint 1; boxPoint1.y is the y-axis coordinate of endpoint 1; deltaX is the horizontal distance between the two target elements; col1 is the column where the target element is located; slopeH is the horizontal slope.

[0147] Place all target elements into the element tray according to their respective coordinates.

[0148] As an implementation of the present application, the information display method based on curve fitting further includes:

[0149] Get the base size of the target element;

[0150] When the number of rows or columns of the target element changes, obtaining a first number of element layouts;

[0151] Generating a first display ratio based on each element layout; the first display ratio is determined based on the basic size when target elements in the element layout do not overlap;

[0152] Generate a plurality of initial data pairs according to the first display ratios corresponding to the element layouts and the number of rows or columns in the element layouts;

[0153] Curve fitting is performed based on all initial data pairs to obtain the fitting expression.

[0154] In one embodiment, a fitting expression needs to be determined in advance so that the actual display ratios of all target elements can be automatically adjusted after all target elements are placed in the element tray.

[0155] In this embodiment, before fitting the curve, it is first necessary to generate multiple initial data pairs, namely, the initial data pairs of "number of rows / number of columns-display ratio". Then, function curve fitting is performed based on the multiple initial data pairs. Specifically, the basic size of the target element is obtained, and a first number of different element layouts are generated when the total number of target elements changes (the number of rows or columns changes). For example, element layouts of 7 different functions or numbers of columns are generated. Then, based on each element layout, scaling is performed on the basic size of the target element (for example, a display ratio of 40% relative to the parent) until the target elements do not overlap, and the display ratio of the current target element (for example, 30%), that is, the first display ratio, is determined.

[0156] Optionally, a minimum scaling unit (e.g., 5%) is preset, and the automatic fitting operation is performed based on the minimum scaling unit. In each element layout, based on the original size of the target element, the minimum scaling unit is reduced each time, and then it is detected whether there is overlap between the current target elements. If there is overlap, the minimum scaling unit is reduced until there is no overlap between the target elements.

[0157] According to the number of rows or columns corresponding to each element layout and the first display ratio corresponding to the element layout, multiple initial data pairs are generated. For example, in the case of 7 element layouts, the number of icons in each column of each element layout is [1, 2, 3, 4, 5, 6, 7], and the corresponding 7 first display ratios are [1.00, 0.80, 0.70, 0.60, 0.55, 0.50, 0.45]. Curve fitting is performed based on the generated data pairs to obtain a fitting expression.

[0158] In this embodiment, after analysis, the optimal display ratio of the target element in the element tray can be fitted as a logarithmic function of Ln. Therefore, an expression for fitting a logarithmic function curve is proposed: y=alnx+b.

[0159] Among them, x is the x-axis coordinate of the target element, y is the y-axis coordinate of the target element; a and b are parameters that need to be determined by fitting.

[0160] Figure 3 Schematic diagram of a fitting curve in an embodiment of the present application. Figure 3 As shown, multiple initial data pairs are generated ( Figure 3 The discrete points in the equation are fitted with the above logarithmic function curve expression to determine the specific values ​​of the parameters a and b in the expression, and then the final fitting expression is obtained.

[0161] In this embodiment, by means of curve fitting, when the shape of the target element (for example, a user-defined device icon) is determined, it can be ensured that no matter how the total number of target elements changes, a suitable display ratio can be determined for display, thereby avoiding overlap between target elements that makes the displayed information unrecognizable and affects the user experience.

[0162] As an implementation of the present application, the information display method based on curve fitting further includes:

[0163] Get the base size of the target element;

[0164] When the number of rows or columns of the target element changes, obtaining a second number of element layouts;

[0165] Acquire a second display ratio based on each element layout; the second display ratio is determined based on a specified display ratio of a target element in the element layout;

[0166] Generate a plurality of initial data pairs according to the second display ratios corresponding to the element layouts and the number of rows or columns in the element layouts;

[0167] Curve fitting is performed based on all initial data pairs to obtain the fitting expression.

[0168] In one embodiment, curve fitting can also be performed according to the size of the target element in the multiple element layouts specified by the user (i.e., the second display ratio). In this embodiment, the adjustment instruction sent by the user is obtained through the adjustment interface, the second display ratio of the target element specified by the user is obtained therefrom, and multiple initial data pairs are generated based on the number of rows or columns in each element layout.

[0169] For example, in the case of 7 element layouts, the number of icons in each column of each element layout is [1, 2, 3, 4, 5, 6, 7], and the user specifies the second display ratio corresponding to each element layout, specifically [1.00, 0.82, 0.71, 0.60, 0.55, 0.51. 0.47]. Based on the generated data, a curve is fitted to obtain a fitting expression. The user can further fine-tune the second display ratio multiple times based on the fitting results. According to the user's adjustment instructions, the curve is re-fitted and a new fitting expression is generated.

[0170] In this embodiment, the function curve is fitted by obtaining the second display ratio specified by the user, so as to achieve fine adjustment of the display ratio of the target element. When the user updates the second display ratio, the function curve is refitted and the parameters a and b are updated to meet the personalized needs of different users for visual presentation.

[0171] As an implementation of the present application, the information display method based on curve fitting further includes:

[0172] Determine whether the number of columns of the target element in each element layout reaches a first threshold;

[0173] When the number of columns of the target element does not reach the first threshold, adding the initial data pair corresponding to the element layout to the first set;

[0174] When the number of columns of the target element reaches a first threshold, adding the initial data pair corresponding to the element layout to the second set;

[0175] Curve fitting is performed based on the first set and the second set respectively to obtain corresponding fitting expressions.

[0176] In one embodiment, when the number of target elements reaches a certain scale, the current fitting expression cannot present a good visual effect. Therefore, corresponding fitting expressions are determined for target elements of different scales so that target elements of different numbers and scales can be displayed reasonably.

[0177] In this embodiment, two fitting expressions are obtained through segmented fitting, and each fitting expression corresponds to the determination of the actual display ratio of target elements of different scales. The first threshold can be set as needed according to the actual application situation, and there is no restriction on this in this embodiment. For example, the first threshold is set to 500, and when the total number of target elements is less than 500, multiple initial data pairs are generated for fitting to obtain a fitting expression; when the total number of target elements is greater than 500, multiple initial data pairs are generated for fitting to obtain a fitting expression. When determining the actual display ratio of the target element, the corresponding fitting expression is obtained according to the scale interval where the total number of target elements is located, and then the actual display ratio of each target element in the current element tray is determined.

[0178] As an implementation of the present application, the information display method based on curve fitting further includes:

[0179] Determining whether the actual display ratio of the device icon is equal to or lower than a second threshold;

[0180] When the actual display ratio is equal to or lower than the second threshold, the device icon is replaced with a basic icon.

[0181] In one embodiment, when the device icon is reduced to a certain extent, the outline of its icon shape is no longer obvious. Therefore, when the display ratio of the target element determined by curve fitting has been reduced to the point where its outline or texture cannot be clearly seen, the device icon is replaced with a basic icon for display to improve the readability of the device icon and the aesthetics of the screen. The basic icon consists of an outline and a simple filled graphic. At a smaller display ratio, the basic icon still has a good aesthetics. The second threshold can be set according to the needs of the actual application, and this embodiment does not limit this. For example, the second threshold can be set to 15%.

[0182] For example, a device icon contains outlines and textures. When it is reduced to a certain extent, the outlines and textures of the device icon will accumulate and become difficult to identify, causing the image to appear cluttered. In this case, the device icon can be replaced with a solid color block of the basic icon to improve the aesthetics of the device icon.

[0183] As an implementation of the present application, the information display method based on curve fitting further includes:

[0184] Determining whether the actual display ratio of the text symbol is lower than a third threshold;

[0185] When the actual display ratio is lower than the third threshold, the actual display ratio of the text symbol is set to 1.

[0186] In one embodiment, when the display ratio of the text symbol is too small, its text and symbol meaning are difficult to recognize. Therefore, when the display ratio of the text symbol determined by curve fitting is less than the third threshold, the text symbol is set to a fixed value to ensure that the text symbol is still readable at any scaling ratio of the target element. The third threshold can be set according to the needs of the actual application, and this embodiment does not limit this. For example, the third threshold can be set to 1rem.

[0187] As an implementation mode of the present application, placing the element tray in the main screen includes:

[0188] Placing a chassis container in the main screen and centering it, and scaling the chassis container according to a display ratio of the chassis container to its parent;

[0189] The element tray is placed in the chassis container, and the element tray is scaled according to a display ratio of the element tray corresponding to the parent.

[0190] In one embodiment, the element tray is placed in the chassis container, and then the chassis container is used as the parent of the element tray and placed in the main screen and centered. By using the chassis container as the parent of the element tray, it is ensured that the element tray and the target element are displayed in the center of the main screen. No matter how the shape and size of the element tray change, its position in the main screen will not change.

[0191] Specifically, the size of the chassis container is also set to an appropriate percentage relative to the parent (main screen) and is centered. The steps to center the chassis container are as follows:

[0192] 1) The chassis container adopts the absolute layout mode, and sets the offset ratio from the top and left of the main screen to 50%, so that the upper left corner of the chassis container is centered on the main screen;

[0193] 2) Use the transform attribute to set the horizontal and vertical dimensions of the chassis container to -50% relative to its own size, so that the center point of the chassis container is centered on the main screen.

[0194] As an implementation manner of the present application, based on the resolution of the target display area, displaying the main screen in the target display area includes:

[0195] Setting the aspect ratio of the main screen to a fixed ratio;

[0196] The resolution of the main screen is calculated based on the resolution of the target display area and the aspect ratio of the main screen, and the area in the target display area that cannot be covered by the main screen is filled with a background color.

[0197] In one embodiment, the ratio of the width to the height of the main screen is also locked. The purpose of locking the ratio of the main screen is to enable the page to adapt to wide screens with different display ratios. The most common wide screen display ratios are 4:3, 16:9, 16:10, 21:9, etc. In this embodiment, in order to prevent the main screen from being deformed when displayed on large screens of different ratios, the aspect ratio of the main screen is locked. In actual applications, any of the above wide screen display ratios can be selected for locking. In this embodiment, 16:9 is used as a fixed aspect ratio.

[0198] The specific locking method is to express padding-bottom as a percentage, and calculate it according to the width value of the parent element. For example, if the width value of the parent element wrapper is 100px, set the height to 0, and set the padding-bottom value to 50%, then the height is 50px.

[0199] In this embodiment, the aspect ratio of the main screen is locked, and then the width and height of the element tray and the target element in the main screen are locked, so that the screen can be displayed on screens with different aspect ratios without distortion. In the case where the entire screen area cannot be covered when displayed on different screens, the screen area that cannot be covered by the main screen is filled with background color.

[0200] As an implementation manner of the present application, the element tray is placed in the chassis container and centered, and the element tray is scaled according to the display ratio of the element tray corresponding to the parent, including:

[0201] At least one element tray is placed in the chassis container; wherein each element tray has a display ratio corresponding to a parent;

[0202] The center point coordinates of the chassis container are used as the initial coordinates of each element tray;

[0203] For each element tray, scaling the element tray according to the display ratio of the element tray corresponding to the parent;

[0204] According to the initial coordinates, the coordinates of each element tray after scaling are moved equidistantly, and it is determined whether each element tray overlaps;

[0205] When the element trays do not overlap, stop moving the element trays.

[0206] In one embodiment, a plurality of element trays may be placed in the chassis container. Each element tray has its own display ratio relative to its parent. Based on the display ratio of each element tray relative to its parent, each element tray is placed in the chassis container, and then the element tray is moved outwards from the center point of the chassis container at equal distances, and during the movement, it is determined whether each element tray overlaps. If each element tray does not overlap, the movement is stopped.

[0207] By moving each element tray outward from the center of the chassis box at an equal distance, it is possible to ensure that the center of the entire element tray in the chassis box overlaps with the center of the chassis box, so that the entire element tray presented in the main screen is located in the center of the screen, thereby improving the aesthetics of the screen.

[0208] Based on the same inventive concept, an embodiment of the present application provides an information display device. Figure 5 , Figure 5 is a schematic diagram of an information display device 100 proposed in an embodiment of the present application. Figure 5 As shown, the device comprises:

[0209] The main screen layout module 101 is configured to determine the coordinates of all endpoints of the element tray based on the positioning coordinates of the element tray; determine the element layout in the element tray based on the target arrangement mode and the total number of target elements; place all target elements in the element tray according to the element layout and the coordinates of all endpoints of the element tray; and place the element tray in the main screen;

[0210] The element scaling module 102 is configured to determine the actual display ratio of the target element in the element tray based on a fitting expression and the number of rows or columns in the element layout, and scale each target element according to the actual display ratio; the fitting expression is determined by curve fitting based on the initial data;

[0211] The display module 103 is configured to display the main screen image in the target display area based on the resolution of the target display area.

[0212] As an implementation manner of the present application, the main screen layout module 101 is configured to determine the coordinates of all endpoints of the element tray based on the positioning coordinates of the element tray, specifically including:

[0213] Obtaining the positioning coordinates of the element tray, including: the x-axis coordinate and the y-axis coordinate of the first endpoint, the x-axis coordinate of the second endpoint, and the x-axis coordinate of the third endpoint;

[0214] Calculating the y-axis coordinate of the second endpoint according to the positioning coordinates and the horizontal slope;

[0215] Calculating the y-axis coordinate of the third endpoint according to the positioning coordinates and the vertical slope;

[0216] The coordinates of the fourth endpoint are determined according to the coordinates of the first endpoint, the coordinates of the second endpoint, and the coordinates of the third endpoint.

[0217] As an implementation manner of the present application, the main screen layout module 101 is configured to determine the element layout in the element tray, specifically including:

[0218] Calculate the required number of rows according to the total number of target elements;

[0219] Calculate the required number of columns according to the total number of target elements and the number of rows;

[0220] The row and column where each target element is located are determined according to the total number of the target elements, the number of rows, and the number of columns.

[0221] As an implementation manner of the present application, the main screen layout module 101 is configured to place all target elements into the element tray according to the element layout and the coordinates of all endpoints of the element tray, specifically including:

[0222] Determine a first spacing distance between target elements in each row according to the coordinates of the first endpoint, the coordinates of the second endpoint and the number of columns of the element tray;

[0223] Determine a second spacing distance between target elements in each column according to the coordinates of the first endpoint, the coordinates of the third endpoint and the number of rows of the element tray;

[0224] For each target element, calculate the coordinates of the target element according to the row and column where the target element is located, the coordinates of the first endpoint, the first interval distance, the second interval distance, and the horizontal slope;

[0225] According to the coordinates of each target element, all target elements are placed into the element tray.

[0226] As an implementation manner of the present application, the information display device 100 further includes a fitting module configured to perform the following steps:

[0227] Get the base size of the target element;

[0228] When the number of rows or columns of the target element changes, obtaining a first number of element layouts;

[0229] Generating a first display ratio based on each element layout; the first display ratio is determined based on the basic size when target elements in the element layout do not overlap;

[0230] Generate a plurality of initial data pairs according to the first display ratios corresponding to the element layouts and the number of rows or columns in the element layouts;

[0231] Curve fitting is performed based on all initial data pairs to obtain the fitting expression.

[0232] As an implementation manner of the present application, the information display device 100 and the fitting module are further configured to perform the following steps:

[0233] Get the base size of the target element;

[0234] When the number of rows or columns of the target element changes, obtaining a second number of element layouts;

[0235] Acquire a second display ratio based on each element layout; the second display ratio is determined based on a specified display ratio of a target element in the element layout;

[0236] Generate a plurality of initial data pairs according to the second display ratios corresponding to the element layouts and the number of rows or columns in the element layouts;

[0237] Curve fitting is performed based on all initial data pairs to obtain the fitting expression.

[0238] As an implementation manner of the present application, the information display device 100 and the fitting module are further configured to perform the following steps:

[0239] Determine whether the number of columns of the target element in each element layout reaches a first threshold;

[0240] When the number of columns of the target element does not reach the first threshold, adding the initial data pair corresponding to the element layout to the first set;

[0241] When the number of columns of the target element reaches a first threshold, adding the initial data pair corresponding to the element layout to the second set;

[0242] Curve fitting is performed based on the first set and the second set respectively to obtain corresponding fitting expressions.

[0243] As an implementation manner of the present application, the element scaling module 102 is further configured to perform the following steps:

[0244] Determining whether the actual display ratio of the device icon is equal to or lower than a second threshold;

[0245] When the actual display ratio is equal to or lower than the second threshold, the device icon is replaced with a basic icon.

[0246] As an implementation manner of the present application, the element scaling module 102 is further configured to perform the following steps:

[0247] Determining whether the actual display ratio of the text symbol is lower than a third threshold;

[0248] When the actual display ratio is lower than the third threshold, the actual display ratio of the text symbol is set to 1.

[0249] As an implementation manner of the present application, the main screen layout module 101 is configured to place the element tray in the main screen, specifically including:

[0250] Placing a chassis container in the main screen and centering it, and scaling the chassis container according to a display ratio of the chassis container to its parent;

[0251] The element tray is placed in the chassis container, and the element tray is scaled according to a display ratio of the element tray corresponding to the parent.

[0252] As an implementation manner of the present application, the main screen layout module 101 is configured to place the element tray in the chassis container and center it, and scale the element tray according to the display ratio of the element tray corresponding to the parent, specifically including:

[0253] At least one element tray is placed in the chassis container; wherein each element tray has a display ratio corresponding to a parent;

[0254] The center point coordinates of the chassis container are used as the initial coordinates of each element tray;

[0255] For each element tray, scaling the element tray according to the display ratio of the element tray corresponding to the parent;

[0256] According to the initial coordinates, the coordinates of each element tray after scaling are moved equidistantly, and it is determined whether each element tray overlaps;

[0257] When the element trays do not overlap, stop moving the element trays.

[0258] As an implementation manner of the present application, the display module 103 is configured to display the main screen image in the target display area based on the resolution of the target display area, specifically including:

[0259] Setting the aspect ratio of the main screen to a fixed ratio;

[0260] The resolution of the main screen is calculated based on the resolution of the target display area and the aspect ratio of the main screen, and the area in the target display area that cannot be covered by the main screen is filled with a background color.

[0261] Based on the same inventive concept, an embodiment of the present application provides an information display system. Figure 6 , Figure 6 2 is a schematic diagram of an information display system 200 in an embodiment of the present application. Figure 6 As shown, the system includes:

[0262] The monitoring unit 201 is used to capture the device operation data according to the first interval time;

[0263] The first processing unit 202 is used to determine the total number of target elements according to the device operation data, and generate overview information of the devices corresponding to each target element; and send the total number of target elements and the overview information to a display unit;

[0264] The display unit 203 includes a display screen and an information display device 100 as provided in the above embodiment; the display screen includes a main display area, which is the target display area in the above embodiment; the display unit is used to display overview information of each target element and the device corresponding to any target element in the main display area.

[0265] In this embodiment, the information display system can be used to display various data during the production and operation of the equipment. The system includes a monitoring unit, which is used to capture various operating data of the equipment in real time according to a first interval time and send it to a first processing unit. The first processing unit processes the received operating data and generates information that can be used for display. Specifically, based on the equipment operation data, the total number of target elements that need to be displayed is obtained, and overview information of each target element is generated. This system can realize information display for large-scale equipment management and maintenance. For example, it can be used for information display scenarios of multi-device storage management software for large storage device clusters. Multi-device storage management software often manages multiple sets of storage clusters, and the number of clusters managed is different in different storage usage scenarios. When using this system for information display, each set of equipment clusters can be used as a target element.

[0266] The number and overview information of the target elements are sent to the display unit, and the information display device in the display unit determines the element layout according to the total number of target elements, and further determines the coordinates and display ratio of each target element, places the target elements in the element tray, places the element tray in the chassis container and displays it in the center of the main screen.

[0267] In addition, the overview information of the target element is placed in the main screen, and the display ratio and coordinates of the text in the overview information relative to the parent are set. Finally, according to the resolution and size of the display screen, the main screen is displayed on the display screen, and the background color is filled in the display screen area that cannot be covered by the main screen.

[0268] As an implementation mode of the present application, the information display system further includes a second processing unit, which is used to generate at least one set of status data according to the device operation data and send it to the display unit;

[0269] The display screen also includes a secondary display area;

[0270] The display unit further includes a status display device for displaying the at least one set of status data in the auxiliary display area.

[0271] In one embodiment, the display screen in the display system has a secondary display area in addition to the main display area. The secondary display area is a blank long strip area adjacent to the main display area. In this embodiment, the second processing unit generates a set of status data for information display in the secondary display area based on the device operation data. The layout and display method of the secondary display area can adopt the same layout and display content as the conventional information display method.

[0272] Figure 4 This is the information display screen for the scenario where multiple storage clusters are managed by multiple device storage management software. Figure 4 As shown in the figure, the main display area of ​​the display screen arranges the target elements (storage device clusters) in an inclined layout and checkerboard manner, places each target element in the element tray and adjusts it to a suitable size based on the fitting expression, so as to intuitively display important information to the user and improve the readability of the main screen; all different types of operating data of all devices (such as performance, timed snapshots, 3DC, capacity, health, hard disk prediction, alarms, etc.) are generated into information cards and presented in the secondary display area in a traditional information display method. The main display area transmits information through a more flexible inclined layout and device icons and text symbols to improve user aesthetic fatigue and user experience.

[0273] As an implementation manner of the present application, the information display system further includes:

[0274] An adjustment interface, used to obtain an adjustment instruction, determine a second display ratio of the target element according to the adjustment instruction, and send the second display ratio to the display unit; the adjustment instruction is used to instruct to enlarge or reduce the display ratio of the target element;

[0275] The display unit is further configured to update the main screen image displayed in the main display area according to the second display ratio.

[0276] In one embodiment, the information display system can also obtain an adjustment instruction issued by the user through the adjustment interface. The adjustment instruction can be a display ratio of the target element specified by the user, or a zoom-in instruction or a zoom-out instruction issued by the user. The system determines the second display ratio of the target element according to the adjustment instruction, including: using the display ratio of the target element specified by the user as the second display ratio. Or, according to the zoom-in instruction or the zoom-out instruction issued by the user, the current display ratio is enlarged or reduced according to the minimum zoom unit (for example, 5%), and the ratio obtained is used as the second display ratio. For example, according to the zoom-out instruction issued by the user, the display ratio of the current target element of 68% is reduced by a minimum zoom unit of 5%, and the second display ratio is 63%.

[0277] In this embodiment, the interaction with the user is achieved by adjusting the interface, thereby realizing personalized adjustment of the large-screen information display to meet the needs of different users.

[0278] As an implementation manner of the present application, the information display system further includes a timer, which is used to send a switching instruction to the display unit according to a second interval time;

[0279] The display unit is further used to switch and display the overview information of the device corresponding to the next target element in the main display area according to the switching instruction.

[0280] In one embodiment, the system further includes a timer. In an information display scenario for cluster device management and maintenance, for example, for the maintenance and management of large cluster storage devices. Since there are a large number of cluster devices and the screen display area is limited, a carousel is used to switch and display the device operation information of each cluster. In this embodiment, each element in the main screen is used to represent a device cluster, and a switching instruction is sent to the display unit according to a preset second interval time through the timer. The display unit switches the overview information of the device corresponding to the next element (device cluster) in the main display area according to the switching instruction.

[0281] By dynamically displaying the overview information of each device cluster in the form of a carousel on the main screen, users can clearly and promptly learn the operating status of each device, meet equipment monitoring needs, and facilitate equipment maintenance.

[0282] Based on the same inventive concept, an embodiment of the present application provides a computer program product, including a computer program. When the computer program is executed by a processor, the computer program implements the steps in the information display method based on curve fitting as described in any of the above embodiments of the present application.

[0283] Based on the same inventive concept, an embodiment of the present application provides a readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of the information display method based on curve fitting as described in any of the above embodiments of the present application are implemented.

[0284] Based on the same inventive concept, an embodiment of the present application provides an electronic device, referring to Figure 7 . Figure 7 Schematic diagram of an electronic device according to an embodiment of the present application. Figure 7 As shown, the electronic device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps in the information display method based on curve fitting as described in any of the above embodiments of the present application are implemented.

[0285] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0286] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.

[0287] For the method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and components involved are not necessarily required by the present application.

[0288] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the embodiments of the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0289] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0290] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0291] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0292] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they are aware of the basic creative concepts. Therefore, the present application is interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.

[0293] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0294] The above is a detailed introduction to the information display method, device, system and product based on curve fitting provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. An information display method based on curve fitting, It is characterized in that include: Based on the positioning coordinates of the element tray, the coordinates of all endpoints of the element tray are determined, including: obtaining the positioning coordinates of the element tray, including the x-axis coordinate and y-axis coordinate of the first endpoint, the x-axis coordinate of the second endpoint, and the x-axis coordinate of the third endpoint; calculating the y-axis coordinate of the second endpoint according to the positioning coordinates and the horizontal slope; calculating the y-axis coordinate of the third endpoint according to the positioning coordinates and the vertical slope; determining the coordinates of the fourth endpoint according to the coordinates of the first endpoint, the coordinates of the second endpoint, and the coordinates of the third endpoint; Determining the element layout in the element tray based on the target arrangement mode and the total number of target elements; According to the element layout and the coordinates of all endpoints of the element tray, all target elements are placed in the element tray; and the element tray is placed in the main screen; Based on the fitting expression and the number of rows or columns in the element layout, determining the actual display ratio of the target element in the element tray, and scaling each target element according to the actual display ratio; the fitting expression is determined by curve fitting based on the initial data; Based on the resolution of the target display area, the main screen image is displayed in the target display area.

2. The information display method based on curve fitting according to claim 1, It is characterized in that Determine the layout of elements in the element tray, including: Calculate the required number of rows according to the total number of target elements; Calculate the required number of columns according to the total number of target elements and the number of rows; The row and column where each target element is located are determined according to the total number of the target elements, the number of rows, and the number of columns.

3. The information display method based on curve fitting according to claim 2, It is characterized in that According to the element layout and the coordinates of all endpoints of the element tray, all target elements are placed in the element tray, including: Determine a first spacing distance between target elements in each row according to the coordinates of the first endpoint, the coordinates of the second endpoint and the number of columns of the element tray; Determine a second spacing distance between target elements in each column according to the coordinates of the first endpoint, the coordinates of the third endpoint and the number of rows of the element tray; For each target element, calculate the coordinates of the target element according to the row and column where the target element is located, the coordinates of the first endpoint, the first interval distance, the second interval distance, and the horizontal slope; According to the coordinates of each target element, all target elements are placed into the element tray.

4. The information display method based on curve fitting according to claim 1, It is characterized in that Also includes: Get the base size of the target element; When the number of rows or columns of the target element changes, obtaining a first number of element layouts; Generating a first display ratio based on each element layout; the first display ratio is determined based on the basic size when target elements in the element layout do not overlap; Generate a plurality of initial data pairs according to the first display ratios corresponding to the element layouts and the number of rows or columns in the element layouts; Curve fitting is performed based on all initial data pairs to obtain the fitting expression.

5. The information display method based on curve fitting according to claim 1, It is characterized in that Also includes: Get the base size of the target element; When the number of rows or columns of the target element changes, obtaining a second number of element layouts; Acquire a second display ratio based on each element layout; the second display ratio is determined based on a specified display ratio of a target element in the element layout; Generate a plurality of initial data pairs according to the second display ratios corresponding to the element layouts and the number of rows or columns in the element layouts; Curve fitting is performed based on all initial data pairs to obtain the fitting expression.

6. The information display method based on curve fitting according to claim 4 or 5, It is characterized in that Also includes: Determine whether the number of columns of the target element in each element layout reaches a first threshold; When the number of columns of the target element does not reach the first threshold, adding the initial data pair corresponding to the element layout to the first set; When the number of columns of the target element reaches a first threshold, adding the initial data pair corresponding to the element layout to the second set; Curve fitting is performed based on the first set and the second set respectively to obtain corresponding fitting expressions.

7. The information display method based on curve fitting according to claim 1, It is characterized in that The target element is a device icon or a text symbol; wherein, the basic size of the device icon is, the device icon corresponds to the display ratio of the parent, the basic size of the text symbol is, the text symbol corresponds to a multiple size of the root element; the root element is determined based on the resolution of the target display area.

8. The information display method based on curve fitting according to claim 7, It is characterized in that Also includes: Determining whether the actual display ratio of the device icon is equal to or lower than a second threshold; When the actual display ratio is equal to or lower than the second threshold, the device icon is replaced with a basic icon.

9. The information display method based on curve fitting according to claim 7, It is characterized in that Also includes: Determining whether the actual display ratio of the text symbol is lower than a third threshold; When the actual display ratio is lower than the third threshold, the actual display ratio of the text symbol is set to 1.

10. The information display method based on curve fitting according to claim 1, It is characterized in that Placing the element tray in the main screen includes: Placing a chassis container in the main screen and centering it, and scaling the chassis container according to a display ratio of the chassis container to its parent; The element tray is placed in the chassis container, and the element tray is scaled according to a display ratio of the element tray corresponding to the parent.

11. The information display method based on curve fitting according to claim 10, It is characterized in that Placing the element tray in the chassis container and centering it, and scaling the element tray according to the display ratio of the element tray corresponding to the parent, including: At least one element tray is placed in the chassis container; wherein each element tray has a display ratio corresponding to a parent; The center point coordinates of the chassis container are used as the initial coordinates of each element tray; For each element tray, scaling the element tray according to the display ratio of the element tray corresponding to the parent; According to the initial coordinates, the coordinates of each element tray after scaling are moved equidistantly, and it is determined whether each element tray overlaps; When the element trays do not overlap, stop moving the element trays.

12. The information display method based on curve fitting according to claim 1, It is characterized in that Based on the resolution of the target display area, displaying the main screen in the target display area includes: Setting the aspect ratio of the main screen to a fixed ratio; The resolution of the main screen is calculated based on the resolution of the target display area and the aspect ratio of the main screen, and the area in the target display area that cannot be covered by the main screen is filled with a background color.

13. An information display device, It is characterized in that The method for implementing any one of claims 1 to 12 comprises: The main screen layout module is configured to determine the coordinates of all endpoints of the element tray based on the positioning coordinates of the element tray, including: obtaining the positioning coordinates of the element tray, including the x-axis coordinate and y-axis coordinate of the first endpoint, the x-axis coordinate of the second endpoint and the x-axis coordinate of the third endpoint; calculating the y-axis coordinate of the second endpoint according to the positioning coordinates and the horizontal slope; calculating the y-axis coordinate of the third endpoint according to the positioning coordinates and the vertical slope; determining the coordinates of the fourth endpoint according to the coordinates of the first endpoint, the coordinates of the second endpoint and the coordinates of the third endpoint; determining the element layout in the element tray based on the target arrangement mode and the total number of target elements; placing all target elements in the element tray according to the element layout and the coordinates of all endpoints of the element tray; placing the element tray in the main screen; An element scaling module is configured to determine an actual display ratio of a target element in the element tray based on a fitting expression and the number of rows or columns in the element layout, and scale each target element according to the actual display ratio; the fitting expression is determined by curve fitting based on the initial data; The display module is configured to display the main screen image in the target display area based on the resolution of the target display area.

14. An information display system, It is characterized in that include: A monitoring unit, used for capturing device operation data according to a first interval; A first processing unit, configured to determine the total number of target elements according to the device operation data, and generate overview information of the devices corresponding to each target element; and send the total number of target elements and the overview information to a display unit; The display unit includes a display screen and the information display device as described in claim 13; the display screen includes a main display area, and the main display area is the target display area in any method described in claims 1-12; the display unit is used to display overview information of each target element and the device corresponding to any target element in the main display area.

15. The information display system according to claim 14, It is characterized in that Also included is a second processing unit, for generating at least one set of status data according to the device operation data and sending the data to the display unit; The display screen also includes a secondary display area; The display unit further includes a status display device for displaying the at least one set of status data in the auxiliary display area.

16. The information display system according to claim 14, It is characterized in that Also includes: An adjustment interface, used to obtain an adjustment instruction, determine a second display ratio of the target element according to the adjustment instruction, and send the second display ratio to the display unit; the adjustment instruction is used to instruct to enlarge or reduce the display ratio of the target element; The display unit is further used to update the main screen image displayed in the main display area according to the second display ratio.

17. The information display system according to claim 14, It is characterized in that Also includes a timer, for sending a switching instruction to the display unit according to a second interval time; The display unit is further used to switch and display the overview information of the device corresponding to the next target element in the main display area according to the switching instruction.

18. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the steps in the method of any one of claims 1 to 12 are implemented.

19. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps in any one of the methods of claims 1-12 are implemented.

20. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the steps in the method according to any one of claims 1 to 12 are implemented.