Methods, apparatuses, devices, storage media, and program products for information presentation
By receiving generation requests and combining layout description information and visual information, the intelligent system optimizes the layout of the dashboard's visual components, solving the problem of poor layout in existing technologies and achieving a more efficient and aesthetically pleasing layout effect.
Patent Information
- Application Number
- CN202610507809.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-04-16
- Publication Date
- 2026-07-10
AI Technical Summary
Existing intelligent systems fail to effectively reflect the constraints of the free canvas layout when generating dashboard layouts, resulting in issues such as blank spaces, overlaps, incomplete horizontal coverage, and uneven bottom edges, which affect the executability and aesthetics of the dashboard.
The process of receiving a generation request, generating a visualization component corresponding to the table data, and creating the visualization component on the component page through an intelligent system utilizes layout description information and visual information, combined with first-level and second-level constraints, to optimize the layout attributes of the component.
It improves layout efficiency and quality, reduces issues such as white space and overlap, enhances user interaction experience and component aesthetics, and strengthens the executability of layout results.
Smart Images

Figure CN122363678A_ABST
Abstract
Description
Technical Field
[0001] The examples in this article generally relate to the field of computers, and in particular to methods, apparatuses, electronic devices, computer-readable storage media, and computer program products for presenting information. Background Technology
[0002] With the development of computer technology and intelligent system technology, it is now possible to use intelligent systems to perform a variety of tasks. For example, intelligent systems can be used to generate content, update content, and so on. Users can interact with intelligent systems through an interactive interface, which may include a dialog box. Summary of the Invention
[0003] In a first aspect, an information presentation method is provided. The method includes: receiving a generation request, the generation request instructing an intelligent system to generate at least one visualization component corresponding to tabular data; and presenting analysis information, the analysis information instructing the intelligent system to create at least one visualization component in a component page, the analysis information including first information of the at least one visualization component, the first information indicating the layout attributes of the at least one visualization component in the component page.
[0004] In a second aspect, an apparatus for information presentation is provided. The apparatus includes: a receiving module configured to receive a generation request, the generation request instructing an intelligent system to generate at least one visualization component corresponding to tabular data; and a presentation module configured to present analysis information, the analysis information instructing the intelligent system to create at least one visualization component in a component page, the analysis information including first information of the at least one visualization component, the first information indicating the layout attributes of the at least one visualization component in the component page.
[0005] In a third aspect, an electronic device is provided. The electronic device includes: at least one processor; and at least one memory coupled to the at least one processor and storing instructions for execution by the at least one processor. When executed by the at least one processor, the instructions cause the device to perform the method of the first aspect.
[0006] In a fourth aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores computer-executable instructions that can be executed by a processor to implement the method of the first aspect.
[0007] In a fifth aspect, a computer program product is provided, which is tangibly stored in a computer storage medium and includes computer-executable instructions that, when executed by a device, cause the device to perform the method of the first aspect.
[0008] In this way, the layout of at least one visual component can be quantitatively processed, which can improve layout efficiency and quality.
[0009] It should be understood that the content described in this section is not intended to limit the key or important features of the examples in this article, nor is it intended to restrict the scope of the solution. Other features will become readily apparent from the following description. Attached Figure Description
[0010] The above and other features, advantages, and aspects of the various examples herein will become more apparent when taken in conjunction with the accompanying drawings and the following detailed description. In the accompanying drawings, the same or similar reference numerals denote the same or similar elements, wherein: Figure 1 A schematic diagram of an example environment based on some examples is shown; Figure 2 A flowchart illustrating example methods for information presentation is shown, based on several examples. Figures 3A to 3C A schematic diagram of a sample interface for information presentation is shown, based on some examples; Figure 4 A schematic structural block diagram of an example device for information presentation, based on several examples, is shown; and Figure 5 A block diagram is shown in which one or more examples of an electronic device can be implemented. Detailed Implementation
[0011] The examples in the text will now be described in more detail with reference to the accompanying drawings. While some examples are shown in the drawings, it should be understood that solutions can be implemented in various forms and should not be construed as limited to the examples presented herein. Rather, these examples are provided to provide a more thorough and complete understanding of the solutions. It should be understood that the drawings and examples in this document are for illustrative purposes only and are not intended to limit the scope of protection of the solutions.
[0012] In the description of the examples in this document, the term "including" and similar terms should be understood as open inclusion, i.e., "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "an example" or "the example" should be understood as "at least one example". The term "some examples" should be understood as "at least some examples". Other explicit and implicit definitions may also be included below. The terms "first", "second", etc., may refer to different or the same objects. The term "trigger" refers to one or more interactive actions by a user on a terminal device. Further, these interactive actions may be triggered within the same user interface / pop-up window or within different user interfaces / pop-up windows. There is no limitation in this regard. Other explicit and implicit definitions may also be included below.
[0013] It should be noted that, unless explicitly stated otherwise, performing a step in response to A does not mean that the step is performed immediately after A, but may include one or more intermediate steps.
[0014] The examples in this article may involve user data, data acquisition, and / or use. All of these aspects comply with relevant laws, regulations, and rules. In the examples presented here, all data collection, acquisition, processing, manipulation, forwarding, and use are conducted with the user's knowledge and confirmation. Accordingly, when implementing each example, the type, scope of use, and usage scenarios of any data or information that may be involved should be communicated to the user and their authorization obtained through appropriate means, in accordance with relevant laws and regulations. The specific methods of notification and / or authorization can vary depending on the actual situation and application scenario; the scope of the solution is not limited in this regard.
[0015] In this manual and the sample solutions, any processing of personal information will be conducted only under legal grounds (such as obtaining the consent of the data subject or being necessary for the performance of a contract) and will only be carried out within the scope stipulated or agreed upon. A user's refusal to process personal information beyond what is necessary for basic functions will not affect the user's use of basic functions.
[0016] In this paper, an intelligent system refers to a system capable of autonomous control based on machine learning models. An intelligent system, for example, can make decisions and autonomously execute actions based on machine learning models to achieve preset goals or complete preset tasks. An intelligent system can be an automated program that understands user intent and can utilize models or invoke tools to complete various types of tasks. In some contexts, examples of intelligent systems may include, but are not limited to: agents, bots, chatbots, digital avatars, intelligent customer service, digital assistants, etc. Alternatively, an intelligent system can also be an intelligent role implemented based on machine learning models. An "intelligent system" can process user requests based on generative models (e.g., language models, multimodal models) to perform specified types of tasks.
[0017] In some scenarios, intelligent systems can be represented as virtual avatars or physical entities for interaction with users. The term "virtual object" can refer to a digital entity capable of interacting with a user. Intelligent systems can therefore also be called virtual objects, digital assistants, intelligent assistants, AI assistants, chatbots, virtual agents, etc. Virtual objects can possess intelligent dialogue and information processing capabilities, responding to user queries and providing appropriate answers. In some examples, virtual objects can be presented in a graphical form within the interactive interface, such as as avatars, animated characters, or other visual representations.
[0018] In this paper, the term "machine learning model" can refer to a computational model that performs tasks by learning patterns and rules from data. Machine learning models can include, but are not limited to, neural network models, deep learning models, and large language models. In some cases, large language models are an example of machine learning models that can understand and generate natural language text and can be used to perform operations such as task decomposition, tool invocation, and content generation.
[0019] In this document, the term "visualization component" can refer to any type of visual element or component used to represent various appropriate analytical results (e.g., statistical results) on data (e.g., tabular data). A visualization component can be viewed as a way of visually representing the results of an analysis of one or more aspects of data. Examples of visualization components can include, but are not limited to, images, charts, indicator cards (where analytical results such as numerical values are highlighted), etc.
[0020] As mentioned above, with the development of computer technology and intelligent system technology, it is now possible to utilize intelligent systems to perform various tasks. Several solutions for generating dashboards using intelligent systems have been proposed. Existing technologies support user interaction with intelligent systems through natural language to create dashboards, generate visual components, modify visual components, and modify dashboard themes and layouts. For free canvas dashboards, the intelligent system must not only select appropriate chart types but also provide directly renderable component coordinates under discrete canvas rules. Existing intelligent systems typically use templated layouts, rule engine layouts, or a "basic generation + general large model secondary optimization" approach to complete the dashboard layout. Existing layout solutions for generating dashboards using intelligent systems do not reflect a hierarchical expression of free canvas layout constraints, nor do they reflect a joint input mechanism of "layout description information + rendered screenshots / simulated screenshots." Existing intelligent systems typically directly output layout coordinates, which easily leads to problems such as white space, overlap, horizontal incompleteness, uneven bottom alignment, and core components not appearing on the first screen. This not only affects the executability of the dashboard but also its aesthetics.
[0021] In view of this, an improved information presentation scheme is proposed. According to this scheme, a generation request is received, instructing the intelligent system to generate at least one visual component corresponding to the tabular data. Analysis information is presented, instructing the intelligent system on the process of creating at least one visual component on the component page. The analysis information includes first information about the at least one visual component, indicating the layout attributes of the at least one visual component on the component page. Based on the above scheme, the layout of at least one visual component can be quantified, improving layout efficiency and quality. Information about the intelligent system's layout of at least one visual component can be presented, allowing users to intuitively perceive the layout process of at least one visual component, thus improving the user's interactive experience.
[0022] The following sections, in conjunction with accompanying drawings, further illustrate various examples of schemes used for information presentation.
[0023] Figure 1 A schematic diagram of an example environment 100 based on some examples is shown. For example... Figure 1 As shown, example environment 100 may include electronic device 110.
[0024] In this example environment 100, electronic device 110 may run application 120 that supports the development or repair of software entities. Application 120 may be any suitable type of application for developing or repairing software entities, including but not limited to: low-code development applications or other suitable applications. User 150 may interact with application 120 via electronic device 110 and / or its attached devices.
[0025] In some examples, application 120 can support the development or repair of software entities based on human-computer dialogue. For instance, application 120 can provide intelligent system 130 for human-computer dialogue. Intelligent system 130 supports text dialogue services, voice dialogue services, and content dialogue in other modalities with user 150. Intelligent system 130 can assist application 120 in performing software entity development or repair tasks, etc.
[0026] exist Figure 1 In environment 100, if application 120 is active, electronic device 110 can use application 120 to present interface 160 for supporting software entity development or repair. Interface 160 may include various pages that application 120 can provide, such as the interaction interface between user 150 and intelligent system 130 (where current and historical conversations, including text conversation content, can be presented).
[0027] In some cases, electronic device 110 communicates with server 140 to provide services to application 120. Electronic device 110 can be any type of mobile terminal, fixed terminal, or portable terminal, including mobile phones, desktop computers, laptop computers, notebook computers, netbook computers, tablet computers, media computers, multimedia tablets, handheld computers, portable gaming terminals, VR / AR devices, personal communication system (PCS) devices, personal navigation devices, personal digital assistants (PDAs), audio / video players, digital cameras / camcorders, positioning devices, television receivers, radio receivers, e-book devices, gaming devices, or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof. In some cases, electronic device 110 can also support any type of user-facing interface (such as "wearable" circuitry).
[0028] Server 140 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks, and big data and artificial intelligence platforms. Server 140 may include, for example, computing systems / servers such as mainframes, edge computing nodes, computing devices in a cloud environment, etc. Server 140 can provide backend services for applications 120 in electronic devices 110 that support the development or repair of software entities.
[0029] A communication connection can be established between server 140 and electronic device 110. This communication connection can be established via wired or wireless means. The communication connection can include, but is not limited to, Bluetooth, mobile network, Universal Serial Bus (USB), and Wireless Fidelity (WiFi) connections. In some cases, server 140 and electronic device 110 can exchange signaling signals through their communication connection.
[0030] Intelligent system 130 can interact with user 150, for example, using a machine learning model. The machine learning model can be deployed locally on electronic device 110 or on other devices / systems (e.g., server 140). Application 120 can, for example, directly utilize the locally deployed machine learning model or invoke a machine learning model deployed on another device / system via a communication connection to generate media content. This machine learning model can be based on any suitable model architecture, including but not limited to Transformer models, Convolutional Neural Networks (CNNs), Recurrent Neural Networks (RNNs), Deep Neural Networks (DNNs), and so on. In some examples, the machine learning model can be based on a language model (LM), for example. Machine learning models can include language models, Large Language Models (LLMs), Vision-Language Models (VLMs), Multimodal Large Language Models (MLLMs), and so on. Language models, by learning from large corpora, possess question-answering capabilities. Machine learning models can also be based on other suitable models.
[0031] It should be understood that the structure and function of the various elements in environment 100 are described for illustrative purposes only and do not imply any limitation on the scope of the scheme.
[0032] Figure 2 A flowchart of an example method 200 for information presentation, based on some examples, is shown. Method 200 can be implemented on electronic device 110. It should be noted that the operations described with respect to electronic device 110 can be performed by a relevant application (e.g., application 120) installed on electronic device 110 or by a client. Some operations described with respect to electronic device 110 may require the assistance of server 140 to complete.
[0033] To better illustrate the examples in this article, the following will also combine... Figures 3A to 3C Let's describe method 200. Figures 3A to 3C Schematic diagrams of example interfaces 300A to 300C for information presentation are shown, based on some examples. It should be understood that... Figures 3A to 3CThe interface shown is merely an example; various interface designs are possible in practice. The graphic elements within the interface can have different arrangements and visual representations, one or more elements can be omitted or replaced, and one or more other elements may also be present. The examples in this document are not limited in this respect.
[0034] In box 210, electronic device 110 receives a generation request, which instructs the intelligent system to generate at least one visualization component corresponding to the tabular data. The tabular data may, for example, include one or more data tables. The tabular data may be provided to the intelligent system by a user; for example, electronic device 110 may receive user input via an input box. The tabular data may also be historically stored data or local data of electronic device 110. The various examples in this document do not limit the specific method of data acquisition. In some cases, at least one visualization component may constitute a dashboard or be included in a dashboard. It should be understood that the dashboard in this document refers to a data dashboard.
[0035] The electronic device 110 may, for example, present an interactive interface between the user and the intelligent system. This interactive interface may include a dialogue interface between the user and the intelligent system, in which the electronic device 110 may display interactive messages between the user and the intelligent system. The interactive interface may, for example, include an input area through which the electronic device 110 may receive instructions from the user.
[0036] For example, the input area may include an input box. The electronic device 110 can receive instructions input by the user via the input box. Alternatively, the input area may include at least one candidate instruction, and the electronic device 110 can receive that candidate instruction in response to receiving a selection of one of the at least one candidate instruction. The electronic device 110 can present the received instruction in an interactive interface in the style of an interaction message from the user.
[0037] Electronic device 110 can analyze a received request to determine the task indicated by the request. For example, electronic device 110 can determine that it has received a generation request instructing the generation of at least one visualization component in response to receiving the text "Generate several charts".
[0038] refer to Figure 3A Example interface 300A illustrates an example of an interactive interface between a user and an intelligent system. The interactive interface may include at least area 320. Electronic device 110 may present interactive messages between the user and the intelligent system in area 320. Area 320 includes an input box 321, through which electronic device 110 may receive requests (e.g., a generation request) from the user. Electronic device 110 may present the generation request 301 in area 320 in the style of an interactive message from the user.
[0039] The interactive interface may also include area 310 and area 330. Area 330 may include at least a navigation label "Table". When the navigation label "Table" is selected, the electronic device 110 can display area 330 and show table data in area 330. For example... Figure 3A As shown, the tabular data displayed in area 310 can be the tabular data targeted by the generation request, which may, for example, instruct the intelligent system to generate at least one visualization component corresponding to the tabular data in area 310. It is understood that in some examples, area 310 may also present other tabular data. For example, if a user wishes to browse other tabular data, the electronic device 110 may display the user-browsed tabular data in area 310 based on user interaction. It is understood that although the interactive interface in the figure also includes area 310, in a real-world scenario, the interactive interface may currently only include area 320.
[0040] In box 220, electronic device 110 presents analysis information that instructs the intelligent system on the process of creating at least one visual component on the component page. The analysis information includes first information about the at least one visual component, indicating its layout attributes on the component page. It should be noted that the layout structure of the at least one visual component can be either column-based or row-column-based. In some scenarios, the layout structure of the at least one visual component can also be a nested combination of column-based and row-column-based layouts. This document does not impose any limitations on this.
[0041] In some examples, in response to receiving a generation request, electronic device 110 provides tabular data to an intelligent system for generating at least one visualization component, so that the intelligent system generates at least one visualization component corresponding to the tabular data. The visualization component may include various types of components such as line charts, pie charts, bar charts, tables, and indicator cards.
[0042] The intelligent system then determines the layout attributes of at least one visual component within the component page. These layout attributes may include at least position and size. The process by which the intelligent system determines the layout attributes of at least one visual component can be referred to as the intelligent system's layout process for at least one visual component. The initial information indicating the layout attributes can be called quantification information.
[0043] Regarding the specific methods by which the intelligent system determines the layout, in some examples, component description information can be provided to the intelligent system. Based on this component description information, and according to first-level and second-level constraints, the intelligent system can determine the layout attributes of at least one visual component within the component page. The component description information can be used to describe at least one visual component. In some examples, the component description information may include structural information and visual information. The structural information can be used to describe the layout logic of at least one visual component, and the visual information can be used to describe the individual visual characteristics of at least one visual component.
[0044] For example, the structural information may include at least one of the following: layout description information of at least one visual component, component type of each of the at least one visual component, component attributes (e.g., component name, component identifier) of each of the at least one visual component, relative positional relationships between different components in the at least one visual component, and component size range of each of the at least one visual component, wherein the size of each visual component on the component page belongs to the corresponding component size range. The layout description information may, for example, be used to describe the layout of at least one visual component on the component page.
[0045] Layout description information can be, for example, a Domain-Specific Language (DSL), which can indicate the name, type, and coordinates of a visual component. For instance, visual information can include component images of at least one visual component. These component images can be screenshots of actual rendered images of the visual component or simulated images generated by a machine learning model based on the component's attributes. Simulated images can be, for example, images generated based on display features such as title length, axis label density, and visual weight. Thus, based on structural and visual information, the intelligent system can simultaneously perceive the geometric and visual information of the visual components and output a layout scheme that balances feasibility and aesthetics.
[0046] In some examples, first-level constraints have higher priority than second-level constraints. In some examples, first-level constraints are used to constrain at least one visualization component geometrically, while second-level constraints are used to constrain at least one visualization component visually. As an example only, first-level constraints can also be called hard constraints, and they can be used to constrain the total width of the canvas / dashboard, prevent visualization components in the dashboard from overlapping, prevent blank areas (i.e., areas excluding visualization components) in the display area, and ensure that the bottom edges of visualization components in the dashboard are aligned, etc.
[0047] Second-level constraints, also known as soft constraints, can be used to ensure that the dimensions of each visual component in at least one visualization component are within the corresponding component size range, important information in the visualization component is highlighted, the browsing path of at least one visualization component conforms to the focus-zone (F / Z) path pattern, and the sum of the areas of all components in at least one visualization component equals the area of the dashboard, etc. The area of the dashboard can be determined based on the width (e.g., Gx) and height of the dashboard, and the height of the dashboard (e.g., Ymax) can be determined based on the heights of the visual components in different rows of the dashboard. Taking a dashboard with 3 rows as an example, Y1, Y2, and Y3 can be used to represent the height of the tallest visual component in each of the 3 rows (it can be understood that if different visual components in the same row have the same height, then Y1, Y2, and Y3 can represent the heights of the corresponding visual components in the 3 rows respectively), and Ymax = Y1 + Y2 + Y3.
[0048] Therefore, since the priority of first-level constraints is higher than that of second-level constraints, the intelligent system can prioritize satisfying the first-level constraints and optimize the second-level constraints while satisfying the first-level constraints. The intelligent system can prioritize determining the overall layout pattern of at least one visualization component (i.e., determining the dashboard), and then refine the component size and coordinates within different areas of the dashboard (e.g., different rows). The intelligent system can prioritize a columnar layout, followed by a row-column layout, and guide the core element to the top or upper left, forming an inverted pyramid structure of "Overview -> Trends -> Details".
[0049] The first piece of information can include numbers and text, indicating the layout attributes (such as position and size) of at least one visual component on the component page. For example, the first piece of information could include the text "First line: Includes component A (w=12, h=6)," indicating that component A is located in the first line of the component page and that component A has a width of 12 and a height of 6. It's important to note that the units for the position and size of visual components in this article are based on basic units. For example, component A's width of 12 and height of 6 on the component page mean that component A occupies 12 basic units horizontally and 6 basic units vertically.
[0050] Regarding the method of determining the first piece of information, in some examples, the intelligent system can discretize the component page into multiple basic units along the first and second dimensions to form a parameterized page (also known as a parameterized canvas). For example, the first dimension can be a horizontal dimension (also known as a column dimension), and the second dimension can be a vertical dimension (also known as a row dimension). Dividing the component page into multiple basic units along the horizontal dimension can be regarded as dividing the component page into multiple columns, and dividing the component page into multiple basic units along the vertical dimension can be regarded as dividing the component page into multiple rows. Of course, the first and second dimensions can also be other dimensions; this article only uses the example of the first dimension being a horizontal dimension and the second dimension being a vertical dimension for illustrative purposes.
[0051] Each basic unit can have the same or different dimensions in the first dimension (width) and the second dimension (height). This document only uses the example of each basic unit having the same width and height for illustrative purposes. In some examples, the width and height of each basic unit can be the default dimensions or dimensions configured based on user settings. For example, the intelligent system can discretize the component page into multiple basic units based on the predetermined width and height of the basic units. In some examples, the intelligent system can also determine the width and height of the basic units by uniformly dividing the component page. Of course, the intelligent system can also discretize the component page into multiple basic units in other ways, which are not limited to this document.
[0052] In some examples, the intelligent system can divide the component page into a first number of basic units in the first dimension, the first number matching the size of the component page in the first dimension. This can be understood as the first number being the size of the component page in the first dimension divided by the size of each basic unit in the first dimension. For example, if the width of the component page is A, the first number is a, and the width of each basic unit is b, then A = ab. The first number should be a positive integer. The actual size of each basic unit in the first dimension can be an integer or a decimal. Regardless of the actual size of the basic unit, in this paper, the size of the basic unit in the parameterized page can be considered as 1×1, meaning that the size of the basic unit in both the first and second dimensions is considered as one basic unit. The intelligent system can divide the component page into a scalable number of basic units in the second dimension. The scalable number means that the number of basic units occupied by the component page in the second dimension can be increased. In other words, the width of the parameterized page is fixed, but the height is scalable.
[0053] In some examples, the intelligent system can divide the parameterized page into multiple page regions in the second dimension and determine the page region where each of at least one visual component is located within the parameterized page. For example, the intelligent system can determine the page region where each of at least one visual component is located within the parameterized page based on the aforementioned received component description information, combined with first-level and second-level constraints. For instance, the intelligent system can divide the parameterized page into multiple rows and determine the row where each of at least one visual component is located within the parameterized page. For a first page region (which can be any of the multiple page regions), the intelligent system can determine the position information and placeholder information of one or more visual components included in the first page region. The position information represents the coordinates of the corresponding visual component within the parameterized page, and the placeholder information represents the number of basic units occupied by the corresponding visual component within the parameterized page.
[0054] The coordinates of each visualization component can be the position of its first basic unit (e.g., the top-left basic unit among all the basic units occupied by the visualization component) within multiple basic units of the parameterized page. The placeholder information for each visualization component can be the number of basic units it occupies in the horizontal dimension (i.e., width) and the number of basic units it occupies in the vertical dimension (i.e., height). For example, the position information of visualization component A could be (0,0), and the placeholder information could be (w=12, h=6). This indicates that the first basic unit occupied by the visualization component is the top-left basic unit of the parameterized page, and that the visualization component has a width of 12 and a height of 6.
[0055] After determining the first information, the intelligent system can provide it to the electronic device 110 so that the electronic device 110 can present analytical information including the first information. In addition to the first information, the analytical information may also include guiding text, which may instruct the intelligent system to generate at least one visualization component based on a generation request. For example, the guiding text may be the text "Based on your description, at least one visualization component is being generated for you, and the at least one visualization component has the following layout." The electronic device 110 may present the first information in response to the completion of the presentation of the guiding text.
[0056] The first information may include the second and third information. The second information may indicate that the component page is divided into multiple basic units in the first dimension, which may also be referred to as discretization information. For example, the second information may include the text "the page is divided according to a 48-column grid," which may indicate that the component page is divided into 48 basic units in the horizontal dimension. The component page is divided into at least one sub-region in the second dimension, and the third information may indicate the visual components included in each of the at least one sub-region, which may also be referred to as sub-region information. For example, the third information may indicate the visual components included in each row of the component page. The electronic device 110 presenting analysis information may include presenting the second and third information. Thus, the electronic device 110 can present the quantitative information of the dashboard generated and laid out by the intelligent system by presenting the second and third information, making it convenient for users to understand the layout details of the dashboard.
[0057] Regarding the specific method of presenting the third information, in some examples, for a first sub-region within at least one sub-region, the electronic device 110 may present at least one of the following: the corresponding type of one or more visualization components included in the first sub-region (e.g., line chart, pie chart, table, bar chart, etc.), the number of basic units occupied by each of the one or more visualization components in the first dimension (i.e., the width of each visualization component), the number of basic units occupied by each of the one or more visualization components in the second dimension (i.e., the height of each visualization component), and the position information of each of the one or more visualization components within the component page. In some examples, one or more visualization components located in the same sub-region have the same height.
[0058] In some examples, the analysis information also includes validation information, which instructs the intelligent system to validate the first information of at least one visualization component based on one or more quantitative metrics. For example, the intelligent system can determine whether the layout attributes of at least one visualization component on the component page meet one or more quantitative metrics. The intelligent system can perform various validations on the first information, including but not limited to: no-hole validation (i.e., validation that there are no areas in the dashboard that do not include visualization components), no-overlap validation, full-coverage validation for each horizontal layer or arbitrary cross-section, vertical compactness validation (full-coverage validation and vertical compactness validation can be validations that there are no empty areas in the horizontal and vertical dimensions, respectively), bottom-aligned validation, area conservation validation (i.e., validation that the sum of the component areas equals the area of at least one visualization component), and so on.
[0059] In some scenarios, electronic device 110 can present both primary information and verification information simultaneously. Specifically, the component page can be divided into multiple sub-regions (e.g., multiple rows), and the primary information includes multiple primary information fragments corresponding to each sub-region. Each primary information fragment indicates the layout attributes of one or more visual components within that sub-region. In this case, the verification information can include multiple verification information fragments corresponding to the multiple primary information fragments, where each verification information fragment indicates the process by which the intelligent system verifies the corresponding primary information fragment based on one or more quantitative indicators.
[0060] In this configuration, the electronic device 110 can sequentially present first information segments corresponding to each sub-region, and after each first information segment is presented, present a verification information segment corresponding to that first information segment. For example, the electronic device 110 can present a first information segment corresponding to a first sub-region, where the first information segment indicates the corresponding layout attributes of one or more visual components within the first sub-region, and the first sub-region is one of multiple sub-regions. The electronic device 110 can, in response to the completion of presenting the first information segment corresponding to the first sub-region, present a first verification information segment corresponding to the first information segment. The electronic device 110 can, in response to the completion of presenting the first verification information segment, present a first information segment corresponding to a second sub-region, where the second sub-region is one of multiple sub-regions and is located after the first sub-region. Furthermore, the electronic device 110 can, in response to the completion of presenting the first information segment corresponding to the second sub-region, present a second verification information segment corresponding to a second quantization information segment.
[0061] refer to Figure 3A Electronic device 110 can present analysis information 302 in area 320 of example interface 300A. Electronic device 110 can present analysis information 302 in area 320 in the style of an interactive message from the intelligent system. If analysis information 302 has not been fully presented, or if at least one visualization component has not been fully generated, electronic device 110 can present prompt information 303 in area 320. Prompt information 303 can be used to indicate to the intelligent system that at least one visualization component is being generated. In example interface 300A, electronic device 110 can present guiding text (XX in the figure can represent any appropriate text). In response to the completion of the presentation of the guiding text (i.e., full presentation), electronic device 110 can continue to present first information and verification information.
[0062] refer to Figure 3BIn the example interface 300B, the electronic device 110 can first display the first information fragment 304 corresponding to the first row of the component page, and after the first information fragment 304 is displayed, display the verification information fragment 305 corresponding to the first information fragment 304. In response to the completion of the display of the verification information fragment 305, the electronic device 110 can continue to display the first information fragment corresponding to the second row of the component page.
[0063] In some scenarios, electronic device 110 may first present all the initial information, and then present the verification information in response to the completion of the initial information presentation. As described above, the component page can be divided into multiple sub-regions, and the initial information includes multiple initial information fragments corresponding to each sub-region. Each initial information fragment indicates the layout attributes of one or more visual components in the corresponding sub-region. In some examples, when electronic device 110 presents the verification information, it may first present the multiple verification information fragments corresponding to each of the multiple initial information fragments, and then continue to present the overall verification information corresponding to the initial information.
[0064] refer to Figure 3C In the example interface 300C, the electronic device 110 can first present first information 306, which may include multiple first information fragments corresponding to multiple rows of the component page (e.g., the text used to describe each row in the figure). In response to the completion of the presentation of first information 306, the electronic device 110 can present verification information 307. When presenting verification information 307, the electronic device 110 can first present multiple verification information fragments corresponding to multiple first information fragments (e.g., the text "3×16×6=288" shown in the figure can be the verification information fragment corresponding to the first information fragment of the first row, the text "48×18=864" can be the verification information fragment corresponding to the first information fragment of the second row, and so on), and then present the overall verification information corresponding to the entire first information (e.g., the text "The total area of the components is... meets the area requirement" shown in the figure).
[0065] In some examples, electronic device 110 may directly present at least one visualization component in response to the completion of analysis information presentation. Electronic device 110 may present at least one visualization component on a component page, the at least one visualization component having layout attributes indicated by the first information. Presenting at least one visualization component with layout attributes by electronic device 110 may also be considered as electronic device 110 presenting a dashboard. In some examples, electronic device 110 may also present a corresponding trigger control in response to the completion of analysis information presentation and the determination that a dashboard has been generated. Electronic device 110 may present at least one visualization component in response to a touch operation on the trigger control.
[0066] refer to Figure 3CThe electronic device 110 can, in response to the completion of the presentation of analytical information (or the generation of at least one visualization component), present the navigation label "Dashboard" in area 330 of the example interface 300C. The electronic device 110 can, in response to a touch operation on the navigation label "Dashboard," toggle the navigation label "Dashboard" to a selected state and display the component page. In some examples, such as... Figure 3C As shown, a component page can be part of an interactive page, in which case it can be considered an area of the interactive page (e.g., area 340 shown in the figure). In some examples, the component page can also be a separate page. The examples in this document do not limit this. Electronic device 110 can display a dashboard 345 in area 340 (i.e., the component page), the dashboard 345 including at least one visual component with layout attributes indicated by the first information. It should be noted that in some examples, for aesthetic purposes, the component page can include a display area for displaying content and a border area. Electronic device 110 can display the dashboard in the display area and not display content in the border area. In this case, electronic device 110 can predetermine the display area of the component, determine the parameterized page based on the display area, and determine the layout attributes of at least one visual component based on the display area.
[0067] In summary, this approach enhances the executability of layout results output by intelligent systems, reducing issues such as white space, overlap, and misalignment. It allows intelligent systems to balance information hierarchy, browsing flow, and visual balance while meeting constraints, improving the aesthetic quality of at least one visual component. Furthermore, it enables layout results to directly enter the rendering pipeline, reducing the cost of manual redesign.
[0068] The various examples described herein also provide corresponding apparatus for implementing the methods or processes described above. Figure 4 A schematic structural block diagram of an example device 400 for information presentation, based on some examples, is shown. Device 400 may be implemented as or included in electronic device 110. The various modules / components in device 400 may be implemented by hardware, software, firmware, or any combination thereof.
[0069] like Figure 4 As shown, the device 400 includes: a receiving module 410 configured to receive a generation request, the generation request instructing an intelligent system to generate at least one visualization component corresponding to tabular data; and a presentation module 420 configured to present analysis information, the analysis information instructing the intelligent system to create at least one visualization component in a component page, the analysis information including first information of at least one visualization component, the first information indicating the layout attributes of at least one visualization component in the component page.
[0070] In some examples, the presentation module 420 is further configured to: present second information indicating that the component page is divided into multiple basic units in a first dimension; and present third information indicating that the component page is divided into at least one sub-region in a second dimension, the third information indicating the visual components included in each of the at least one sub-region.
[0071] In some examples, the rendering module 420 is further configured to render at least one of the following for a first sub-region within at least one sub-region: the corresponding type of one or more visual components included in the first sub-region, the number of basic units occupied by each of the one or more visual components in a first dimension, the number of basic units occupied by each of the one or more visual components in a second dimension, and the position information of each of the one or more visual components in the component page.
[0072] In some examples, one or more visualization components each occupy the same number of basic units in the second dimension.
[0073] In some examples, the analysis information also includes verification information, which indicates the following process: the intelligent system verifies the first information of at least one visualization component based on one or more quantitative indicators.
[0074] In some examples, the component page is divided into multiple sub-regions. The first information includes multiple first information fragments corresponding to each of the multiple sub-regions. Each first information fragment indicates the layout attributes of one or more visual components in the corresponding sub-region. The verification information includes multiple verification information fragments corresponding to the multiple first information fragments. Each verification information fragment indicates the process by which the intelligent system verifies the corresponding first information fragment based on one or more quantitative indicators.
[0075] In some examples, the rendering module 420 is further configured to: render a first information fragment corresponding to a first sub-region, the first information fragment indicating the corresponding layout attributes of one or more visualization components in the first sub-region, the first sub-region being one of a plurality of sub-regions; in response to the completion of rendering of the first information fragment corresponding to the first sub-region, render a first verification information fragment corresponding to the first information fragment; in response to the completion of rendering of the first verification information fragment, render a first information fragment corresponding to a second sub-region, wherein the second sub-region is one of a plurality of sub-regions and the second sub-region is located after the first sub-region; and in response to the completion of rendering of the first information fragment corresponding to the second sub-region, render a second verification information fragment corresponding to a second quantization information fragment.
[0076] In some examples, the presentation module 420 is further configured to: present first information; and, in response to the completion of the presentation of the first information, present verification information.
[0077] In some examples, the component page is divided into multiple sub-regions, and the first information includes multiple first information fragments corresponding to each of the multiple sub-regions. Each first information fragment indicates the layout attributes of one or more visual components in the corresponding sub-region. The rendering module 420 is further configured to: render multiple verification information fragments corresponding to each of the multiple first information fragments; and render the overall verification information corresponding to the first information.
[0078] In some examples, device 400 also includes a component rendering module configured to render at least one visual component on a component page, the at least one visual component having layout attributes.
[0079] In some examples, the first information is determined as follows: the component page is discretized into multiple basic units in the first and second dimensions to form a parameterized page; the parameterized page is divided into multiple page regions in the second dimension; the page region in which each of at least one visual component is located in the parameterized page is determined; and for the first page region in the multiple page regions, based on the one or more visual components included in the first page region, the position information and placeholder information of each of the one or more visual components are determined, wherein the position information represents the coordinates of the corresponding visual component in the parameterized page, and the placeholder information represents the number of basic units occupied by the corresponding visual component in the parameterized page.
[0080] In some examples, discretizing a component page into multiple basic units in a first dimension and a second dimension includes: dividing the component page into a first number of basic units in the first dimension, the first number matching the size of the component page in the first dimension; and dividing the component page into an expandable number of basic units in the second dimension.
[0081] In some examples, the layout properties of at least one visual component are determined as follows: obtaining component description information, which describes at least one visual component; and based on the component description information, determining the layout properties of at least one visual component according to first-level constraints and second-level constraints, wherein the first-level constraints have a higher priority than the second-level constraints.
[0082] In some examples, the component description information includes structural information and visual information. The structural information is used to describe the layout logic of at least one visual component, and the visual information is used to describe the visual characteristics of each of the at least one visual component.
[0083] In some examples, first-level constraints are used to constrain at least one visual component from a geometric dimension, while second-level constraints are used to constrain at least one visual component from a visual dimension.
[0084] The modules included in device 400 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some examples, one or more modules can be implemented using software and / or firmware, such as machine-executable instructions stored on a storage medium. In addition to or as an alternative to machine-executable instructions, some or all of the units in device 400 can be implemented at least partially by one or more hardware logic components. By way of example, and not limitation, exemplary types of hardware logic components that can be used include field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard parts (ASSPs), systems on a chip (SOCs), complex programmable logic devices (CPLDs), and so on.
[0085] Figure 5 A block diagram of an electronic device 500 in which one or more examples may be implemented is shown. It should be understood that... Figure 5 The electronic device 500 shown is merely exemplary and should not be construed as limiting the functionality and scope of the examples described herein. Figure 5 The electronic device 500 shown can be used to implement the electronic device 110 discussed above.
[0086] like Figure 5 As shown, electronic device 500 is in the form of a general-purpose electronic device. Components of electronic device 500 may include, but are not limited to, one or more processing units or processors 510, memory 520, storage devices 530, one or more communication units 540, one or more input devices 550, and one or more output devices 560. Processor 510 may be a physical or virtual processor and is capable of performing various processes according to programs stored in memory 520. In a multiprocessor system, multiple processors execute computer-executable instructions in parallel to improve the parallel processing capability of electronic device 500.
[0087] Electronic device 500 typically includes multiple computer storage media. Such media can be any accessible media that is accessible to electronic device 500, including but not limited to volatile and non-volatile media, removable and non-removable media. Memory 520 can be volatile memory (e.g., registers, cache, random access memory (RAM)), non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof). Storage device 530 can be removable or non-removable media and can include machine-readable media, such as flash drives, disks, or any other media that can be used to store information and / or data and can be accessed within electronic device 500.
[0088] Electronic device 500 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not explicitly stated... Figure 5 As shown, disk drives for reading from or writing to removable, non-volatile disks (e.g., "floppy disks") and optical disk drives for reading from or writing to removable, non-volatile optical disks can be provided. In these cases, each drive can be connected to a bus (not shown) via one or more data media interfaces. Memory 520 may include computer program product 525 having one or more program modules configured to perform various methods or actions of various examples.
[0089] The communication unit 540 enables communication with other electronic devices via a communication medium. Additionally, the functionality of the components of the electronic device 500 can be implemented using a single computing cluster or multiple computing machines capable of communicating via communication connections. Therefore, the electronic device 500 can operate in a networked environment using logical connections to one or more other servers, networked personal computers, or another network node.
[0090] Input device 550 can be one or more input devices, such as a mouse, keyboard, trackball, etc. Output device 560 can be one or more output devices, such as a monitor, speaker, printer, etc. Electronic device 500 can also communicate with one or more external devices (not shown) via communication unit 540 as needed. These external devices include storage devices, display devices, etc., and can communicate with one or more devices that enable user interaction with electronic device 500, or with any device that enables electronic device 500 to communicate with one or more other electronic devices (e.g., network card, modem, etc.). Such communication can be performed via an input / output (I / O) interface (not shown).
[0091] A computer-readable storage medium is provided that stores computer-executable instructions thereon, wherein the computer-executable instructions are executed by a processor to implement the methods described above. A computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, which are executed by a processor to implement the methods described above.
[0092] The flowcharts and / or block diagrams of the methods, apparatus, devices, and computer program products referred to herein describe various aspects. It should be understood that each block of the flowcharts and / or block diagrams, as well as combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer-readable program instructions.
[0093] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processor of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner; thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.
[0094] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions that execute on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.
[0095] The flowcharts and block diagrams in the accompanying figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to some examples. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction, which contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than those shown in the figures. For example, two consecutive 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 action, or using a combination of dedicated hardware and computer instructions.
[0096] Various examples have been described above. The foregoing descriptions are exemplary and not exhaustive, nor are they limited to the proposed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is chosen to best explain the principles, practical applications, or improvements to technology in the market, or to enable others skilled in the art to understand the proposed implementations.
Claims
1. An information presentation method, comprising: Receive a generation request, the generation request instructing the intelligent system to generate at least one visualization component corresponding to the tabular data; as well as The system presents analytical information that instructs the intelligent system on the process of creating the at least one visual component on the component page. The analytical information includes first information about the at least one visual component, which instructs the layout attributes of the at least one visual component on the component page.
2. The method of claim 1, wherein presenting the analytical information includes: The second information is presented, indicating that the component page is divided into multiple basic units in the first dimension; as well as The third information is presented, wherein the component page is divided into at least one sub-region in the second dimension, and the third information indicates the visual components included in each of the at least one sub-region.
3. The method of claim 2, wherein presenting the third information includes: For the first sub-region within the at least one sub-region, at least one of the following is presented: The corresponding type of one or more visualization components included in the first sub-region. The number of basic units occupied by each of the one or more visualization components in the first dimension. The number of basic units occupied by each of the one or more visualization components in the second dimension. The location information of each of the one or more visual components on the component page.
4. The method of claim 3, wherein each of the one or more visualization components occupies the same number of basic units in the second dimension.
5. The method according to claim 1, wherein the analysis information further includes verification information, the verification information indicating the following process: the intelligent system verifies the first information of the at least one visualization component based on one or more quantitative indicators.
6. The method according to claim 5, wherein the component page is divided into multiple sub-regions, and the first information includes multiple first information fragments corresponding to each of the multiple sub-regions, each first information fragment indicating the layout attributes of one or more visual components in the corresponding sub-region in that sub-region; The verification information includes multiple verification information segments corresponding to the multiple first information segments, wherein each verification information segment indicates the process by which the intelligent system verifies the corresponding first information segment based on one or more quantitative indicators.
7. The method of claim 6, wherein presenting the analytical information includes: Present a first information fragment corresponding to a first sub-region, the first information fragment indicating the corresponding layout attributes of one or more visual components in the first sub-region, the first sub-region being one of the plurality of sub-regions; In response to the completion of the presentation of the first information segment corresponding to the first sub-region, the first verification information segment corresponding to the first information segment is presented. In response to the completion of the presentation of the first verification information segment, a first information segment corresponding to the second sub-region is presented, wherein the second sub-region is one of the plurality of sub-regions and is located after the first sub-region; and In response to the completion of the presentation of the first information segment corresponding to the second sub-region, the second verification information segment corresponding to the second quantized information segment is presented.
8. The method of claim 5, wherein presenting the analytical information comprises: Present the first information; as well as Upon completion of the presentation of the first information, the verification information is presented.
9. The method of claim 8, wherein the component page is divided into multiple sub-regions, the first information includes multiple first information fragments corresponding to each of the multiple sub-regions, each first information fragment indicating the layout attributes of one or more visual components in the corresponding sub-region, and presenting the validation information includes: Present the multiple verification information segments corresponding to each of the multiple first information segments; as well as Present the overall verification information corresponding to the first information.
10. The method according to claim 1, further comprising: The at least one visual component is presented on the component page, and the at least one visual component has the layout attributes.
11. The method of claim 1, wherein the first information is determined as follows: The component page is discretized into multiple basic units in the first and second dimensions to form a parameterized page; In the second dimension, the parameterized page is divided into multiple page regions; Determine the page area where each of the at least one visual component is located in the parameterized page; as well as For a first page area among the plurality of page areas, based on one or more visual components included in the first page area, determine the position information and placeholder information of each of the one or more visual components, wherein the position information represents the coordinates of the corresponding visual component in the parameterized page, and the placeholder information represents the number of basic units occupied by the corresponding visual component in the parameterized page.
12. The method of claim 11, wherein discretizing the component page into a plurality of basic units in the first dimension and the second dimension comprises: The component page is divided into a first number of basic units along the first dimension, the first number being matched with the size of the component page along the first dimension; as well as The component page is divided into a scalable number of basic units in the second dimension.
13. An apparatus for presenting information, comprising: The receiving module is configured to receive a generation request, which instructs the intelligent system to generate at least one visualization component corresponding to the tabular data. as well as A presentation module is configured to present analysis information that instructs the intelligent system on the process of creating the at least one visual component in a component page. The analysis information includes first information about the at least one visual component, which instructs the layout attributes of the at least one visual component in the component page.
14. An electronic device, comprising: At least one processor; as well as At least one memory coupled to the at least one processor and storing instructions for execution by the at least one processor, the instructions causing the electronic device to perform the method according to any one of claims 1 to 12 when executed by the at least one processor.
15. A computer-readable storage medium having stored thereon computer-executable instructions that can be executed by a processor to implement the method according to any one of claims 1 to 12.
16. A computer program product comprising computer-executable instructions, wherein the computer-executable instructions, when executed by a processor, implement the method according to any one of claims 1 to 12.
