Data display method and device, electronic equipment and storage medium
Patent Information
- Application Number
- CN202510547630.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-28
- Publication Date
- 2026-11-03
- Estimated Expiration
- 2045-04-28
AI Technical Summary
In existing technologies, data comparison methods cannot achieve multi-dimensional relationship visualization, and users cannot freely choose the display dimensions and methods, resulting in a poor user experience.
A data visualization method and apparatus are provided, allowing users to select the dataset to be displayed, the target dimension, and the chart style. The dataset can be displayed through multiple freely selectable target dimensions and chart styles, thereby achieving multidimensional relationship visualization.
It enables visualization of multi-dimensional relationships, allows users to freely choose the display method, and improves the user experience.
Smart Images

Figure CN120407887B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and more specifically, to a data display method, apparatus, electronic device, and storage medium. Background Technology
[0002] Data comparison is an important analytical step in various industries. By comparing data, we can promptly identify the differences in the effects of data under different models, and then select the optimal model strategy based on these differences.
[0003] Currently, in some industries (such as the gaming industry), data is often presented in the form of statistical tables. That is, within a single table, different detailed data are recorded and displayed using row and column data to achieve comparison, with the same indicator dimensions. Alternatively, different groups of data are recorded in two tables with the same format, and the differences between the two tables are then observed for data comparison.
[0004] However, in the above solution, recording data through tables cannot visualize the multidimensional relationships between data, resulting in a poor user experience. Furthermore, users cannot freely choose the dimensions they want to display and the corresponding display methods, which is detrimental to the user experience. Summary of the Invention
[0005] The purpose of this application is to at least solve one of the aforementioned technical defects. The technical solution provided by the embodiments of this application is as follows: In a first aspect, embodiments of this application provide a data display method, including: Obtain each first dataset selected by the user to be displayed, and obtain multiple target dimensions and multiple first target chart styles selected by the user; wherein, the target dimension represents the display of each data in the first dataset from the corresponding dimension, and the first target chart style is the chart style for displaying the first dataset, and each first target chart style corresponds to at least one target dimension. The first interface is displayed, which includes multiple first charts, each of which is used to display any first dataset in a first target chart style.
[0006] Secondly, embodiments of this application provide a data display device, including: The data acquisition module is used to acquire each first dataset selected by the user to be displayed, and to acquire multiple target dimensions and multiple first target chart styles selected by the user. The target dimension represents the display of each data in the first dataset from the corresponding dimension, and the first target chart style is the chart style for displaying the first dataset. Each first target chart style corresponds to at least one target dimension. The interface display module is used to display the first interface, which includes multiple first charts. Each first chart is used to display any first dataset in a first target chart style.
[0007] Thirdly, embodiments of this application provide an electronic device, including a memory, a processor, and a computer program stored in the memory; The processor executes a computer program to implement the method provided in the first aspect embodiment or any alternative embodiment of the first aspect.
[0008] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the method provided in the first aspect embodiment or any optional embodiment of the first aspect.
[0009] The beneficial effects of the technical solutions provided in this application are: The solution provided in this application allows users to select the dataset to be displayed, as well as choose the display method of the dataset from multiple freely selectable target dimensions and multiple freely selectable target chart styles. The dataset is then displayed according to the multiple target dimensions and multiple target chart styles freely selected by the user. This achieves multidimensional relationship visualization while allowing users to freely choose their desired display dimensions and display methods, effectively improving the user experience. Attached Figure Description
[0010] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments of this application will be briefly introduced below.
[0011] Figure 1 A flowchart illustrating a data display method provided in an embodiment of this application; Figure 2 This is a schematic diagram of the overall flow of a data display method in one example of an embodiment of this application; Figure 3 A structural block diagram of the data display device provided in the embodiments of this application; Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0012] The embodiments of this application are described below with reference to the accompanying drawings. It should be understood that the embodiments described below with reference to the accompanying drawings are exemplary descriptions for explaining the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions of the embodiments of this application.
[0013] Those skilled in the art will understand that, unless specifically stated otherwise, the singular forms “a,” “an,” “the,” and “the” used herein may also include the plural forms. It should be further understood that the terms “comprising” and “including” as used in embodiments of this application mean that the corresponding feature can be implemented as the presented feature, information, data, step, operation, element, and / or component, but do not exclude implementation as other features, information, data, step, operation, element, component, and / or combinations thereof supported by the art. It should be understood that when we say that an element is “connected” or “coupled” to another element, the one element can be directly connected or coupled to the other element, or it can mean that the one element and the other element establish a connection relationship through an intermediate element. Furthermore, “connected” or “coupled” as used herein can include wireless connection or wireless coupling. The term “and / or” as used herein indicates at least one of the items defined by the term; for example, “A and / or B” can be implemented as “A,” or as “B,” or as “A and B.”
[0014] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0015] The technical solutions of this application and their effects are described below through several exemplary embodiments. It should be noted that the following embodiments can be referenced, borrowed from, or combined with each other. Identical terms, similar features, and similar implementation steps in different embodiments will not be repeated.
[0016] Figure 1 This application provides a flowchart illustrating a data display method, the execution subject of which can be a terminal (e.g., a computer, a mobile phone, etc.). Figure 1 As shown, the method may include: Step S101: Obtain each first dataset to be displayed selected by the user, and obtain multiple target dimensions and multiple first target chart styles selected by the user; wherein, the target dimension represents the display of each data in the first dataset from the corresponding dimension, and the first target chart style is the chart style for displaying the first dataset, and each first target chart style corresponds to at least one target dimension.
[0017] The data display method in the embodiments of this application can be applied to a charting system. In this embodiment, the user can be a user of the charting system. The first dataset can be a dataset selected by the user to be displayed, and each first dataset contains multiple data points. The target dimension can be information to be compared, such as height, weight, salary, etc. The target chart style can be a display format of the data, such as a bar chart, pie chart, etc. Each target chart style is used to display the first dataset from the perspective of one of the target dimensions. For example, for the dimension of height, a bar chart is used, and for the dimension of salary, a pie chart is used, etc. This embodiment does not limit the scope of the data display method.
[0018] Specifically, the data display method provided in this application embodiment can be applied to a preset chart system. When a user needs to display one or more datasets, they can first enter the chart system. This entry can be done by clicking on a relevant chart on the desktop or by entering relevant commands; this application embodiment does not limit this. After entering the chart system, an initial interface will be displayed to the user. The initial interface includes a first comparison control and a second comparison control, each representing a different comparison display method. When the user clicks the first comparison control in the initial interface, the chart system will sequentially display a dataset selection interface, a target dimension selection interface, and a target chart style selection interface. Each selection interface contains the corresponding target options (for example, the dataset selection interface contains multiple target options representing the corresponding data, the target dimension selection interface contains multiple target options representing different dimensions, and the target chart style selection interface contains multiple target options representing different chart styles). The user can freely select one or more target options sequentially in each selection interface.
[0019] Step S102: Display a first interface, which includes multiple first charts, each of which is used to display any first dataset in a first target chart style.
[0020] In the embodiments of this application, the first interface can be the interface that the chart system needs to display the results to the user, and the chart can be a target chart style containing data of a dataset in a certain dimension, wherein the dataset is displayed in the form of the target chart style in a certain dimension.
[0021] Specifically, after receiving the target options selected by the user on each selected interface and the user's confirmation instruction, the chart system can combine the target options selected by the user to generate multiple first charts. Each first chart can be regarded as a combination of a "target dimension" and a "first target chart style". That is, the first chart actually represents the display of data on a certain target dimension of a certain dataset through a certain first target chart style.
[0022] It should be noted that, in the embodiments of this application, the chart system can combine data according to the combination method selected by the user. For example, if the user selects a height dimension and chooses a bar chart as the chart style for that height dimension, then the chart system will use a bar chart to display the height data. When the user does not select a combination method, the chart system can also combine data according to a preset combination method. For example, for the salary dimension, the chart system uses a pie chart by default. If the user does not select a display method for this dimension, the chart system will directly use a pie chart to display the salary data.
[0023] The solution provided in this application allows users to select the dataset to be displayed, as well as choose the display method of the dataset from multiple freely selectable target dimensions and multiple freely selectable target chart styles. The dataset is then displayed according to the multiple target dimensions and multiple target chart styles freely selected by the user. This achieves multi-dimensional relationship visualization while allowing users to freely choose their desired display dimensions and display methods, effectively improving the user experience.
[0024] Based on the above embodiments, as an optional embodiment, each first dataset is selected in the following manner: The second interface is displayed, which includes multiple first controls; each first control represents a filtering condition for the data in one dimension. For any first control, in response to a trigger operation on the first control, display multiple selectable attribute values that match the first control; For any first control, in response to the selection operation of the target attribute value among the attribute values displayed for the first control, the target attribute value is displayed in the first control; In response to the confirmation operation of each target attribute value, a prompt message indicating that the first dataset has been selected is displayed; In the first dataset, each data point matches the value of each target attribute.
[0025] In the embodiments of this application, the second interface can be the dataset display interface described above, and the first control can be a clickable interactive window. After receiving the user's click trigger operation, a drop-down box will be displayed. The drop-down box contains multiple attribute values, which can be understood as optional filter conditions. When the user clicks on an attribute value, the attribute value will be displayed in the first control, indicating that the user has selected the filter condition corresponding to the attribute value.
[0026] Specifically, when a user needs to select a target data set, the charting system can display a second interface containing multiple first controls. Each first control represents a filter condition for a specific dimension. The user can select the condition for that target dimension by clicking the first control and then clicking the target attribute value in the drop-down menu that appears. For example, for the first control representing the height dimension, after the user clicks the first control, the drop-down menu displayed by the first control can contain the following attribute values: below 150cm, 150cm-160cm, 160cm-170cm, 170cm-180cm, and above 180cm. When the user selects a target attribute value, the charting system will select data that meets that target attribute value from all the stored data (this process is not visible). After the user selects the corresponding target attribute value for all target dimensions for which filter conditions need to be set, and performs a confirmation operation (e.g., clicking the preset confirmation control), the charting system can filter out the data that meets the user's selected filter conditions from all the data (i.e., the filtered data matches the target attribute values), forming the first data set. Once the user has selected all the first controls, they can click the confirmation control in the second interface. After the chart system detects the user's triggering of the confirmation control, it will display a "Selection complete" message to the user.
[0027] It should be noted that in this embodiment of the application, the user does not need to select a target attribute value for each first control. When a target attribute value is not selected for a certain first control, it indicates that the user has no filtering conditions for that target dimension, and the chart system does not need to filter data from all data based on that target dimension.
[0028] Based on the above embodiments, as an optional embodiment, obtaining multiple target dimensions and multiple first target chart styles selected by the user specifically includes: The third interface is displayed, which contains multiple selectable dimensions; In response to a selection operation for any number of selectable dimensions, each selected selectable dimension is determined as a target dimension, and at least one preset chart style is displayed based on each target dimension. The preset chart style is a selectable chart style for displaying the first dataset. In response to a selection operation for at least one first target chart style among at least one preset chart styles, a selection mark is added to at least one first target chart style and displayed; In response to a confirmation operation for at least one first target chart style, a prompt message indicating that at least one first target chart style has been selected is displayed.
[0029] In embodiments of this application, the third interface may be a target dimension selection interface.
[0030] Specifically, when a user needs to select a target dimension and a first target chart style, the charting system will display a third interface (i.e., the target dimension selection interface). This third interface contains controls for multiple selectable target dimensions. Users can select a target dimension by clicking on the desired control. Once a target dimension is selected, the charting system can further display a target chart style selection interface for that dimension. This interface shows one or more preset chart styles available for that target dimension. Users can select one or more preset chart styles by clicking or other triggering actions. Selected preset chart styles will be marked with a selection marker by the charting system (this marker is visual and can be displayed to the user in real time). After the user has selected all target dimensions and chosen a target chart style for each target dimension, they can click the confirmation control on the third interface. Upon detecting the user's confirmation action, the charting system will display a "Selection complete" message to the user.
[0031] Based on the above embodiments, as an optional embodiment, a first interface is shown, which further includes: Display the initial interface, which includes the first comparison control; In response to a trigger operation on the first comparison control, display at least one of the second and third interfaces; Among these features, when only the second interface is displayed, the prompt message indicating that the first dataset has been selected also includes: Display the second control, and in response to a triggering action on the second control, display the third interface; When only the third interface is displayed, a prompt message indicating that at least one first target chart style has been selected is shown, which also includes: Display a third control; in response to a trigger action on the third control, display a second interface.
[0032] In the embodiments of this application, the initial interface may be the interface displayed when the user enters the chart system; the second control may be the control displayed after the user completes the selection of the first dataset, used to trigger entry into the target dimension selection interface; the third control may be the control displayed after the user completes the selection of the target dimension and the target chart style, used to trigger entry into the dataset selection interface.
[0033] Specifically, after a user enters the charting system and clicks the first comparison control included in the initial interface, the charting system can display the second interface, the third interface, or both interfaces simultaneously, according to pre-set parameters. This embodiment does not limit the display order or timing of the second and third interfaces (i.e., it does not limit whether the dataset selection or the target dimension and target chart style selection is performed first). When only the second interface is displayed, after the user completes the selection of the first dataset, the charting system will display the second control. Clicking the second control will redirect the user to the third interface to select the target dimension and the first target chart style. When only the third interface is displayed, after the user completes the selection of the target dimension and the first target chart style, the charting system will display the third control. Clicking the third control will redirect the user to the second interface to select the first dataset. When the charting system displays both the second and third interfaces simultaneously, no additional controls are needed; the user simply clicks the confirmation control after selecting the first dataset, target dimension, and first target chart style.
[0034] Based on the above embodiments, as an optional embodiment, the initial interface further includes a second comparison control, and the method further specifically includes: In response to a trigger action on the second comparison control, a fourth interface is displayed. The fourth interface includes multiple second charts, each of which displays a second dataset in a style corresponding to a dimension under a target filtering condition.
[0035] In embodiments of this application, the second comparison control represents another data display method described above. The fourth interface can be the selection interface for the chart in the data display method represented by the second comparison control.
[0036] Specifically, when a user enters the chart system and clicks on the second comparison control on the initial interface, the chart system will directly display a fourth interface containing multiple second charts. Unlike the first charts displayed on the first interface, each second chart has its own filtering conditions. The datasets obtained after filtering the second datasets with different filtering conditions are also different. Therefore, the datasets displayed by each second chart are not necessarily the same.
[0037] Based on the above embodiments, as an optional embodiment, before displaying the fourth interface, it further includes obtaining the target filtering conditions: The fifth interface is displayed, which includes multiple selectable fourth controls, each of which corresponds to a target filtering condition. For any fourth control, in response to a trigger operation on the fourth control, display multiple selectable preset filter conditions that match the fourth control; For any fourth control, in response to the selection of a target filter condition among multiple preset filter conditions displayed for the fourth control, the target filter condition is displayed in the fourth control. In response to the confirmation action for each target filter condition, a prompt message is displayed indicating that each target filter condition has been selected.
[0038] In the embodiments of this application, the fifth interface can be an interface for selecting the filtering conditions corresponding to each second chart. The fourth control is similar to the first control and can be a clickable interactive window. After receiving the user's click trigger operation, a drop-down box will be displayed. The drop-down box contains multiple preset filtering conditions. When the user clicks on a preset filtering condition, the preset filtering condition will be displayed in the fourth control, indicating that the user has selected the preset filtering condition as the target filtering condition.
[0039] Specifically, in this embodiment, before displaying the fourth interface containing each second chart, it is necessary to first determine the dataset to be displayed. Compared with the display method represented by the first comparison control, this display method can display different datasets simultaneously, and different datasets can be selected separately through different filtering conditions. Since each fourth control can represent a filtering condition, each fourth control is equivalent to representing a dataset. For the specific selection process, it is similar to the first control described above. When the user clicks on a fourth control, the chart system will display the drop-down box of the fourth control. The drop-down box contains multiple selectable preset filtering conditions. When the user triggers a click operation to select a preset filtering condition (e.g., time) in the drop-down box, the chart system displays the preset filtering condition in the fourth control and uses it as the target filtering condition. After the user has completed the selection of the target filtering conditions for all the fourth controls to be selected, they can click the preset confirmation control in the fifth interface. The chart system will display a "Selection completed" prompt message to the user and obtain the corresponding dataset according to each selected target filtering condition.
[0040] Based on the above embodiments, as an optional embodiment, each second chart is generated in the following manner: Determine at least one second target chart style selected through the third interface; For each target filtering condition, the data contained in the second dataset is filtered based on the target filtering condition to obtain the third dataset; For each third dataset, the third dataset is combined with each second target chart style to obtain the corresponding second charts for the third dataset.
[0041] In embodiments of this application, the third dataset may be a dataset obtained by the chart system after filtering the second dataset according to the target filtering conditions.
[0042] Specifically, since each second chart also has a corresponding target chart style, it is necessary to pre-select the second target chart style to be displayed before showing the fourth interface. The timing of selecting the second target chart style can be pre-set by the user before triggering the second comparison control. The specific selection method is the same as the method for selecting the first target chart style described above, and will not be repeated here. After the user completes the step of pre-selecting multiple second target chart styles, when clicking the second comparison control, the chart system will combine the multiple second target chart styles selected by the user with each third dataset to obtain multiple second charts, and then show the user the fourth interface containing these second charts.
[0043] It should be noted that in this embodiment, when selecting the second target chart style, since there may be multiple preset chart styles for a single target dimension, the user may also select multiple preset chart styles for a single target dimension. In this case, the chart system will use all of these selected preset chart styles as the second chart style. It is understandable that if the user selects target filter conditions for m fourth controls and selects n chart styles in the third interface, then the final number of generated second charts will be m. n.
[0044] The overall process of the data display method provided in the embodiments of this application is described below. Figure 2 This is a schematic diagram of the overall process of a data display method provided in an embodiment of this application, such as... Figure 2As shown, when a user enters the charting system, the system first displays an initial interface, which includes a first comparison control, a second comparison control, and a confirmation control (not shown in the figure). When the user clicks the first comparison control, the charting system displays a second or third interface (or both). Through the second interface, the user can select the first dataset to be displayed, and through the third interface, the user can select the target dimension and the first target chart style. After selection, the charting system generates multiple first charts based on the user's selections and displays these first charts simultaneously on the first interface. When the user clicks the second comparison control, the charting system displays a fourth interface, which contains multiple second charts formed by the user's pre-selected filter conditions and pre-selected second target chart styles. These multiple second charts are also displayed simultaneously.
[0045] Figure 3 A structural block diagram of a data display device provided in an embodiment of this application is shown below. Figure 3 As shown, the data display device 300 may include: a data acquisition module 301 and an interface display module 302, wherein, The data acquisition module 301 is used to acquire each first dataset to be displayed selected by the user, and to acquire multiple target dimensions and multiple first target chart styles selected by the user; wherein, the target dimension represents the display of each data in the first dataset from the corresponding dimension, and the first target chart style is the chart style for displaying the first dataset, and each first target chart style corresponds to at least one target dimension. The interface display module 302 is used to display a first interface, which includes multiple first charts. Each first chart is used to display any first dataset in a first target chart style.
[0046] The solution provided in this application allows users to select the dataset to be displayed, as well as choose the display method of the dataset from multiple freely selectable target dimensions and multiple freely selectable target chart styles. The dataset is then displayed according to the multiple target dimensions and multiple target chart styles freely selected by the user. This achieves multi-dimensional relationship visualization while allowing users to freely choose their desired display dimensions and display methods, effectively improving the user experience.
[0047] Based on the above embodiments, as an optional embodiment, the device further includes a first dataset selection module, specifically used for: The second interface is displayed, which includes multiple first controls; each first control represents a filtering condition for the data in one dimension. For any first control, in response to a trigger operation on the first control, display multiple selectable attribute values that match the first control; For any first control, in response to the selection operation of the target attribute value among the attribute values displayed for the first control, the target attribute value is displayed in the first control; In response to the confirmation operation of each target attribute value, a prompt message indicating that the first dataset has been selected is displayed; In the first dataset, each data point matches the value of each target attribute.
[0048] Based on the above embodiments, as an optional embodiment, the data acquisition module is specifically used for: The third interface is displayed, which contains multiple selectable dimensions; In response to a selection operation for any number of selectable dimensions, each selected selectable dimension is determined as a target dimension, and at least one preset chart style is displayed based on each target dimension. The preset chart style is a selectable chart style for displaying the first dataset. In response to a selection operation for at least one first target chart style among at least one preset chart styles, a selection mark is added to at least one first target chart style and displayed; In response to a confirmation operation for at least one first target chart style, a prompt message indicating that at least one first target chart style has been selected is displayed.
[0049] Based on the above embodiments, as an optional embodiment, the device further includes an initial interface display module, specifically used for: Display the initial interface, which includes the first comparison control; In response to a trigger operation on the first comparison control, display at least one of the second and third interfaces; Among these features, when only the second interface is displayed, the prompt message indicating that the first dataset has been selected also includes: Display the second control, and in response to a triggering action on the second control, display the third interface; When only the third interface is displayed, a prompt message indicating that at least one first target chart style has been selected is shown, which also includes: Display a third control; in response to a trigger action on the third control, display a second interface.
[0050] Based on the above embodiments, as an optional embodiment, the interface display module can also be used for: In response to a trigger action on the second comparison control, a fourth interface is displayed. The fourth interface includes multiple second charts, each of which displays a second dataset in a style corresponding to a dimension under a target filtering condition.
[0051] Based on the above embodiments, as an optional embodiment, the device further includes a filter condition selection module, specifically used for: The fifth interface is displayed, which includes multiple selectable fourth controls, each of which corresponds to a target filtering condition. For any fourth control, in response to a trigger operation on the fourth control, display multiple selectable preset filter conditions that match the fourth control; For any fourth control, in response to the selection of a target filter condition among multiple preset filter conditions displayed for the fourth control, the target filter condition is displayed in the fourth control. In response to the confirmation action for each target filter condition, a prompt message is displayed indicating that each target filter condition has been selected.
[0052] Based on the above embodiments, as an optional embodiment, the device further includes a chart generation module, specifically used for: Determine at least one second target chart style selected through the third interface; For each target filtering condition, the data contained in the second dataset is filtered based on the target filtering condition to obtain the third dataset; For each third dataset, the third dataset is combined with each second target chart style to obtain the corresponding second charts for the third dataset.
[0053] The following is for reference. Figure 4 It illustrates an electronic device suitable for implementing embodiments of this application (e.g., performing...). Figure 1 The diagram shows the structure of the terminal device or server 400 of the method shown. The electronic devices in the embodiments of this application may include, but are not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), wearable devices, etc., as well as fixed terminals such as digital TVs, desktop computers, etc. Figure 4 The electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.
[0054] The electronic device includes a memory and a processor. The memory stores a program for executing the methods described in the above-described method embodiments; the processor is configured to execute the program stored in the memory. The processor may be referred to as processing device 401 as described below, and the memory may include at least one of read-only memory (ROM) 402, random access memory (RAM) 403, and storage device 408 as described below, as follows: like Figure 4 As shown, electronic device 400 may include a processing device (e.g., a central processing unit, a graphics processor, etc.) 401, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 402 or a program loaded from storage device 408 into random access memory (RAM) 403. RAM 403 also stores various programs and data required for the operation of electronic device 400. Processing device 401, ROM 402, and RAM 403 are interconnected via bus 404. Input / output (I / O) interface 405 is also connected to bus 404.
[0055] Typically, the following devices can be connected to I / O interface 405: input devices 406 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 407 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 408 including, for example, magnetic tapes, hard disks, etc.; and communication devices 409. Communication device 409 allows electronic device 400 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 4 Electronic devices with various devices are shown, but it should be understood that it is not required to implement or have all of the devices shown. More or fewer devices may be implemented or have alternatively.
[0056] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication device 409, or installed from storage device 408, or installed from ROM 402. When the computer program is executed by processing device 401, it performs the functions defined in the methods of embodiments of this application.
[0057] It should be noted that the computer-readable storage medium described above in this application can be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.
[0058] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol such as HTTP (Hypertext Transfer Protocol) and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future-developed networks.
[0059] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.
[0060] The aforementioned computer-readable medium carries one or more programs that, when executed by the electronic device, cause the electronic device to: Obtain each first dataset selected by the user to be displayed, and obtain multiple target dimensions and multiple first target chart styles selected by the user; wherein, the target dimension represents the display of each data in the first dataset from the corresponding dimension, and the first target chart style is the chart style for displaying the first dataset, and each first target chart style corresponds to at least one target dimension; display the first interface, which includes multiple first charts, each first chart being used to display any first dataset in a first target chart style.
[0061] Computer program code for performing the operations of this application can be written in one or more programming languages or a combination thereof, including but not limited to object-oriented programming languages such as Java, Smalltalk, and C++, as well as conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0062] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0063] The modules or units described in the embodiments of this application can be implemented in software or hardware. The names of modules or units do not necessarily limit the specific unit; for example, a first constraint acquisition module can also be described as a "module for acquiring the first constraint".
[0064] The functions described above in this document can be performed at least in part by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), system-on-a-chip (SoCs), complex programmable logic devices (CPLDs), and so on.
[0065] In the context of this application, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0066] It should be understood that although the steps in the flowcharts of the accompanying figures are shown sequentially as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the accompanying figures may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the sub-steps or stages of other steps.
[0067] The above description is only a partial embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A data display method, characterized in that, include: Obtain each first dataset selected by the user to be displayed, and obtain multiple target dimensions and multiple first target chart styles selected by the user; wherein, the target dimension represents the display of each data in the first dataset from the corresponding dimension, the first target chart style is the chart style for displaying the first dataset, and each first target chart style corresponds to at least one target dimension; obtaining the multiple target dimensions and multiple first target chart styles selected by the user includes: A third interface is displayed, which includes multiple selectable dimensions; In response to a selection operation for any number of selectable dimensions, each selected selectable dimension is determined as a target dimension, and at least one preset chart style determined based on each target dimension is displayed, wherein the preset chart style is a selectable chart style for displaying the first dataset. In response to a selection operation for at least one first target chart style among the at least one preset chart styles, a selection mark is added to the at least one first target chart style and it is displayed; In response to the confirmation operation of the at least one first target chart style, a prompt message indicating that the at least one first target chart style has been selected is displayed; A first interface is displayed, which includes multiple first charts, each of which is used to display any first dataset in a first target chart style. Before displaying the first interface, it also includes: Display an initial interface, which includes a first comparison control; In response to a trigger operation on the first comparison control, at least one of the second interface and the third interface is displayed; wherein, when only the second interface is displayed, the display of the prompt message indicating that the first dataset has been selected further includes: Display the second control, and in response to a trigger operation on the second control, display the third interface; When only the third interface is displayed, the prompt message indicating that at least one first target chart style has been selected also includes: A third control is displayed, and in response to a trigger operation on the third control, the second interface is displayed.
2. The method according to claim 1, characterized in that, Each first dataset is selected in the following way: The second interface is displayed, which includes multiple first controls; each first control represents a filtering condition for the data in one dimension. For any first control, in response to a trigger operation on the first control, display multiple selectable attribute values that match the first control; For any first control, in response to a selection operation of a target attribute value among the attribute values displayed for the first control, the target attribute value is displayed in the first control; In response to the confirmation operation of each target attribute value, a prompt message indicating that the first dataset has been selected is displayed; In this dataset, each data point is matched with a target attribute value.
3. The method according to claim 1, characterized in that, The initial interface also includes a second comparison control, and the method further includes: In response to a trigger operation on the second comparison control, a fourth interface is displayed, the fourth interface including multiple second charts, each second chart being used to display a second dataset in a style corresponding to a dimension under a target filtering condition.
4. The method according to claim 3, characterized in that, Before displaying the fourth interface, the process also includes obtaining the filtering conditions for each target: The fifth interface is displayed, which includes multiple selectable fourth controls, each of which corresponds to a target filtering condition. For any fourth control, in response to a trigger operation on the fourth control, display multiple selectable preset filtering conditions that match the fourth control; For any fourth control, in response to the selection of a target filter condition among a plurality of preset filter conditions displayed for the fourth control, the target filter condition is displayed in the fourth control; In response to the confirmation action for each target filter condition, a prompt message is displayed indicating that each target filter condition has been selected.
5. The method according to claim 4, characterized in that, Each of the second charts is generated as follows: Determine at least one second target chart style selected through the third interface; For each target filtering condition, the data contained in the second dataset is filtered based on the target filtering condition to obtain the third dataset; For each third dataset, the third dataset is combined with each second target chart style to obtain each second chart corresponding to the third dataset.
6. A data display device, characterized in that, include: The data acquisition module is used to acquire each first dataset to be displayed selected by the user, and to acquire multiple target dimensions and multiple first target chart styles selected by the user; wherein, the target dimension represents the display of each data in the first dataset from the corresponding dimension, and the first target chart style is the chart style for displaying the first dataset, and each first target chart style corresponds to at least one target dimension. The interface display module is used to display a first interface, which includes multiple first charts, each of which is used to display any first dataset in a first target chart style. The data acquisition module is specifically used for: A third interface is displayed, which includes multiple selectable dimensions; In response to a selection operation for any number of selectable dimensions, each selected selectable dimension is determined as a target dimension, and at least one preset chart style determined based on each target dimension is displayed, wherein the preset chart style is a selectable chart style for displaying the first dataset. In response to a selection operation for at least one first target chart style among the at least one preset chart styles, a selection mark is added to the at least one first target chart style and it is displayed; In response to the confirmation operation of the at least one first target chart style, a prompt message indicating that the at least one first target chart style has been selected is displayed; An initial interface display module is used to display an initial interface, which includes a first comparison control; In response to a trigger operation on the first comparison control, at least one of the second interface and the third interface is displayed; In the case where only the second interface is displayed, the prompt message indicating that the first dataset has been selected also includes: Display the second control, and in response to a trigger operation on the second control, display the third interface; When only the third interface is displayed, the prompt message indicating that at least one first target chart style has been selected also includes: A third control is displayed, and in response to a trigger operation on the third control, the second interface is displayed.
7. An electronic device comprising a memory, a processor, and a computer program stored in the memory, characterized in that, The processor executes the computer program to implement the steps of the method according to any one of claims 1-5.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1-5.
Citation Information
Patent Citations
Data comparison method and device, equipment and storage medium
CN113362174A
Data processing method and device based on interface interaction, equipment, storage medium and program product
CN118427267A
