A page construction method, device, equipment and readable medium

By dividing the global editing level and the page editing level in the editing interface of the data visualization project, the problem of low page construction efficiency is solved, the reuse of components is realized, and the construction efficiency is improved.

CN113360154BActive Publication Date: 2024-10-15TENCENT CLOUD COMPUTING (BEIJING) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110671529.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-06-17
Publication Date
2024-10-15
Estimated Expiration
2041-06-17

AI Technical Summary

Technical Problem

In the existing technology, the page construction efficiency in data visualization projects is low, and components need to be configured separately in each page, resulting in an increase in repeated operations and low efficiency.

Method used

By dividing the global editing level and the page editing level in the editing interface of the data visualization project, developers are allowed to add global components to multiple pages at the global editing level, add page components to a single page at the page editing level, and establish a mapping between components and pages. relationships and reduce repeated operations.

Benefits of technology

It improves page construction efficiency and project construction efficiency, reduces the number of operations on duplicate items by project developers, and improves construction efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113360154B_ABST
    Figure CN113360154B_ABST
Patent Text Reader

Abstract

The embodiments of this specification disclose a page construction method, apparatus, device and readable medium. The page to be constructed is a page in a data visualization project to be constructed, and the data visualization project includes multiple pages; the editing interface for constructing the data visualization project includes a global editing level and multiple page editing levels; the multiple page editing levels correspond one-to-one to each page in the data visualization project. The scheme includes: determining the current editing level; the current editing level is a global editing level or a page editing level; in response to the operation of adding a target component by a project developer, displaying the target component in the current editing level of the editing interface; determining the type of the target component according to the type of the current editing level; and establishing a mapping relationship between the target component and a specified page in the data visualization project according to the type of the target component.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a page construction method, apparatus, device and computer-readable medium. Background Art

[0002] With the popularization of the concept of big data, users from all walks of life have an endless demand for big data visualization. Business Intelligence (BI), also known as business wisdom or business intelligence, refers to the use of modern data warehouse technology, online analysis and processing technology, data mining and data presentation technology to analyze data to achieve commercial value. Some BI companies can provide data visualization editing platforms to achieve one-stop services from data collection to display and analysis.

[0003] Project developers who have data visualization project construction needs can use the data visualization editing platform to build data visualization projects. Generally, each project to be built can contain multiple pages, and each page needs to contain a large number of components. In the prior art, for each different page in the data visualization project, all elements corresponding to the page need to be configured separately in different pages, which leads to low efficiency in page construction and project construction.

[0004] Therefore, it is necessary to provide a more efficient method for building pages in a data visualization project. Summary of the invention

[0005] The embodiments of this specification provide a method, apparatus, device and computer-readable medium for constructing pages in a data visualization project to solve the problem of low construction efficiency in existing methods for constructing pages in data visualization projects.

[0006] To solve the above technical problems, the embodiments of this specification are implemented as follows:

[0007] An embodiment of the present specification provides a method for constructing a page including a target component, wherein the page is a page in a data visualization project to be constructed, and the data visualization project includes multiple pages; an editing interface for constructing the data visualization project includes a global editing level and multiple page editing levels; the multiple page editing levels correspond one-to-one to each page in the data visualization project; the method includes: determining a current editing level; the current editing level is a global editing level or a page editing level; in response to an operation by a project developer to add a target component, displaying the target component in the current editing level of the editing interface; determining the type of the target component according to the type of the current editing level; and establishing a mapping relationship between the target component and a specified page in the data visualization project according to the type of the target component.

[0008] An embodiment of the present specification provides a page construction device including a target component, wherein the page is a page in a data visualization project to be constructed, and the data visualization project includes multiple pages; an editing interface for constructing the data visualization project includes a global editing level and multiple page editing levels; the multiple page editing levels correspond one-to-one to each page in the data visualization project; the device includes: a current editing level determination module, used to determine the current editing level; the current editing level is a global editing level or a page editing level; a target component display module, used to display the target component in the current editing level of the editing interface in response to an operation of adding a target component by a project developer; a target component type determination module, used to determine the type of the target component according to the type of the current editing level; a mapping relationship establishment module, used to establish a mapping relationship between the target component and a specified page in the data visualization project according to the type of the target component.

[0009] The embodiment of the present specification provides a page construction device including a target component, including:

[0010] at least one processor; and,

[0011] a memory communicatively connected to the at least one processor; wherein,

[0012] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to: the page is a page in the data visualization project to be constructed, and the data visualization project includes multiple pages; the editing interface for constructing the data visualization project includes a global editing level and multiple page editing levels; the multiple page editing levels correspond one-to-one to each page in the data visualization project; determine the current editing level; the current editing level is the global editing level or the page editing level; in response to the operation of adding a target component by a project developer, display the target component in the current editing level of the editing interface; determine the type of the target component according to the type of the current editing level; and establish a mapping relationship between the target component and a specified page in the data visualization project according to the type of the target component.

[0013] An embodiment of the present specification provides a computer-readable medium on which computer-readable instructions are stored. The computer-readable instructions can be executed by a processor to implement a page construction method including a target component provided by an embodiment of the present specification.

[0014] One embodiment of the present specification can achieve at least the following beneficial effects: by dividing the editing interface of a data visualization project into a global editing level and a page editing level, when a project developer adds a target component during the page construction process, the target component can be selectively added as a global component that can be applied to multiple pages at the global editing level, or, at the page editing level, the target component can be added as a page component that can be applied to a single page. As a result, project developers no longer need to perform repeated operations of adding the same component to the same location on each page for components that appear repeatedly on multiple pages, thereby reducing the number of operations performed by project developers on duplicate items, improving page construction efficiency, and thereby improving project building efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0016] Figure 1 A schematic diagram of the hierarchical structure of a project editing interface provided in an embodiment of this specification;

[0017] Figure 2 A schematic diagram of a flow chart of a method for constructing a page including a target component provided in an embodiment of this specification;

[0018] Figures 3 to 8 A schematic diagram of a page construction method in a practical application scenario provided by an embodiment of this specification;

[0019] Fig. 9 The embodiments of this specification provide corresponding to Figure 2 A schematic diagram of the structure of a page building device including a target component;

[0020] Fig.10 The embodiments of this specification provide corresponding to Figure 2 A structural diagram of a page building device including a target component. DETAILED DESCRIPTION

[0021] The process of data visualization is to present data visually with the help of graphical means. The process of data visualization includes different stages such as data collection, data analysis, data mining, and data presentation. In daily life, projects built using data visualization for specific topics can be called data visualization projects. Data visualization projects involve a wide range of fields, for example, they can involve government, medical care, education, industry, business and many other fields. As an example, the specific application scenarios of data visualization projects can include smart city projects, smart tourism projects, financial report interpretation projects, product report projects, and so on.

[0022] In a data visualization project, there can be multiple data pages; in each data page, there can be multiple components. The component in a data visualization project can refer to the smallest unit in a page, that is, a controllable target. For example, charts, texts, shapes, input boxes, scroll bars, menus, etc. in a data visualization project are all defined in the form of components. The page in a data visualization project is the user interface, such as a web page, an application page, etc.

[0023] In the prior art, when developers of data visualization projects use existing data visualization editing platforms to build data visualization projects, they need to configure all components contained in each page of the data visualization project one by one. For example, in a smart park project of a certain enterprise, it is necessary to add components such as the enterprise logo to all pages of the smart park project. When the project developers build each page in the project, they need to perform the operation of adding the enterprise logo to each page, which requires a lot of repeated operations, resulting in low page building efficiency.

[0024] In the page construction method proposed in the present application, by providing a global editing level and a page editing level in the editing interface of the data visualization project, when the project developer needs to add a target component during the page construction process, the target component can be selectively added as a global component that can be applied to multiple pages at the global editing level, or the target component can be added as a page component that can be applied to a single page at the page editing level. As a result, the project developer does not need to perform repeated operations of adding the same component to the same position on each page for components that need to appear repeatedly on multiple pages, thereby reducing the number of operations on duplicate items by the project developer, improving the page construction efficiency, and improving the project building efficiency.

[0025] In order to make the purpose, technical solutions and advantages of one or more embodiments of this specification clearer, the technical solutions of one or more embodiments of this specification will be clearly and completely described below in combination with the specific embodiments of this specification and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of one or more embodiments of this specification.

[0026] It should be understood that although the terms first, second, third, etc. may be used in this application document to describe various information, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other.

[0027] The technical solutions provided by the embodiments of this specification are described in detail below in conjunction with the accompanying drawings.

[0028] Figure 1 A hierarchical structure diagram of a project editing interface provided in an embodiment of this specification. In the process of constructing a data visualization project, the editing interface for constructing the data visualization project can be set to include a global editing level and multiple page editing levels. The multiple page editing levels can correspond one to one to each page in the data visualization project.

[0029] In the global editing level, you can edit global components for display in multiple pages of the completed data visualization project. For example, Figure 1 As shown, global component 1 can be used for page 1 and page 2, global component 2 can be used for page 1, page 2 and page 2, global component 3 can be used for page 1, page 2, page 3, page 4 and page 5, and so on.

[0030] In the page editing level, the page components can be edited for display in the page corresponding to the page editing level in the constructed data visualization project. The page editing level can be used to edit the page 2D components and page 3D components applied to the corresponding page.

[0031] The following is an explanation with reference to the specific method flow.

[0032] Figure 2 A schematic diagram of a method for constructing a page including a target component provided in an embodiment of the present specification is provided. The page is a page in a data visualization project to be constructed, and the data visualization project includes multiple pages.

[0033] From a procedural perspective, Figure 2The execution subject of the process in the above example can be a program installed on an application server or an application terminal. The application server is a server corresponding to the data visualization editing platform. The application terminal is an application terminal corresponding to the data visualization editing platform. In actual applications, the program can be a client program with a project building function, for example, a web client program or an independent client application.

[0034] like Figure 2 As shown, the process may include the following steps:

[0035] Step 202: Determine the current editing level; the current editing level is the global editing level or the page editing level.

[0036] In the embodiment of the present specification, the project developer needs to first create a project and then perform specific page building operations for the created project.

[0037] Creating a project may refer to establishing a new project. Specifically, the process of creating a project may include: obtaining a project creation operation of a project developer, then creating a data visualization project to be constructed, and assigning a project identifier to the data visualization project to be constructed. In actual application, the specific way of creating a project may, optionally, be to create a blank data visualization project; or, optionally, may be to create a data visualization project based on a project template, and the project template may have a preset project structure, for example, may have a preset hierarchical structure and a preset number of pages, etc.

[0038] Building a project may refer to building specific pages and components in a newly created project. For example, the project building operation may be performed as described in steps 201 to 208.

[0039] Before the project developer performs a specific page building operation, he needs to select the editing level where the operation is located. Specifically, if the project developer selects the global editing level, he can perform operations such as adding, editing, moving, rotating, scaling, and deleting global components in the global editing level; if the project developer selects the page editing level, he can perform operations such as adding, editing, moving, rotating, scaling, and deleting page components in the page editing level.

[0040] In actual applications, in response to the project developer's selection operation on the editing level, the level selected by the project developer can be used as the current editing level that is currently in an editable state. The current editing level being in an editable state means that the project developer can add new components to the current editing level, or can perform various operations such as editing, moving, rotating, scaling, and deleting on the components in the current editing level.

[0041] It should be noted that the operation forms for page components given in the embodiments of this specification are only examples, and other forms of operations may also be included in actual applications.

[0042] Step 204: In response to the project developer's operation of adding a target component, display the target component in the current editing level of the editing interface.

[0043] In the embodiments of the present specification, the project developer refers to a person who builds a data visualization project, and more specifically, a person who builds pages for the data visualization project.

[0044] The target component may, optionally, be a component newly created by the project developer; or, optionally, may be a template component directly obtained by the project developer from a component library; or, optionally, may be obtained by the project developer after editing based on a template component obtained from a component library.

[0045] In the embodiments of this specification, the operation interface used by project developers in the process of building a page for a data visualization project is collectively referred to as an editing interface. Specifically, the editing interface may include multiple editing levels, and the project developer may specify a specific editing level by selecting an operation, so that the project developer may perform hierarchical editing of the data visualization project.

[0046] Step 206: Determine the type of the target component according to the type of the current editing level.

[0047] Specifically, the type of the current editing level may include a global editing level or a page editing level.

[0048] Optionally, if the current editing level is a global editing level, the target component is determined to be a global component; the global component is used to be displayed in multiple pages in the constructed data visualization project. The multiple pages may refer to all pages in the data visualization project, or may be part of the pages in the data visualization project. The multiple pages may be specified by the project developer as needed.

[0049] In practical applications, the global component may include a two-dimensional component. More specifically, the global component may include one or more of a navigation component, a project tag component, or a time component. Optionally, the global component may also include, for example, a weather component, etc., but is not limited to these examples. In different data visualization projects, components that appear repeatedly in multiple pages in the project can be set as global components according to specific needs.

[0050] Optionally, if the current editing level is a page editing level, the target component is determined to be a page component; the page component is used to be displayed in a target page corresponding to the current editing level in the constructed data visualization project.

[0051] In practical applications, the page component may include a two-dimensional page component or a three-dimensional page component. The two-dimensional page component may include one or more of a chart component, a shape component, a text component, a button component, a decoration component, a media component or an external component. The three-dimensional page component may include one or more of a scene component, a model component or a dot-and-line component. In different pages, two-dimensional page components and three-dimensional page components may be set in the page according to actual needs. Usually, the components contained in different pages are not exactly the same.

[0052] Step 208: According to the type of the target component, a mapping relationship between the target component and a designated page in the data visualization project is established.

[0053] Specifically, the type of the target component may include a global component or a page component.

[0054] Optionally, if the target component is a global component, a mapping relationship between the target component and a plurality of specified pages in the data visualization project is established, so as to display the target component in the plurality of specified pages in the constructed data visualization project. In practical applications, the plurality of specified pages may be two or more pages in the data visualization project, and specifically, may be some or all pages in the data visualization project. The plurality of specified pages may specifically be pages specified by project developers as required.

[0055] Optionally, if the target component is a page component, a mapping relationship between the target component and the target page is established to display the target component in the target page in the constructed data visualization project.

[0056] The following is an example. For example, if the data visualization project to be constructed contains three pages, Page 1, Page 2, and Page 3. Then, the editing interface for constructing the data visualization project may include one global editing level and three page editing levels. Among them, the one global editing level is used to edit global components. The three page editing levels are used to edit components in Pages 1 to 3, respectively.

[0057] Assume that global components A and B are added to the global editing level, and the mapping relationship between global component A and page 1, page 2, and page 3 is established, and the mapping relationship between global component B and page 1 and page 2 is established. In addition, page component 1a is added to the page editing level corresponding to page 1 (equivalent to establishing the mapping relationship between page component 1a and page 1); page components 2a and 2b are added to the page editing level corresponding to page 2 (equivalent to establishing the mapping relationship between page components 2a and 2b and page 2); and page components 3a, 3b, and 3c are added to the page editing level corresponding to page 3 (equivalent to establishing the mapping relationship between page components 3a, 3b, and 3c and page 2). Then, in the constructed data visualization project, the end user can see global components A and B and page component 1a in page 1, global components A and B and page components 2a and 2b in page 2, and global component A and page components 3a, 3b, and 3c in page 3.

[0058] Based on this example, it can be seen that for some components that appear repeatedly in all or part of Page 1, Page 2, and Page 3, repeated operations can be avoided by adding these components in the global editing level of the editing interface, thereby improving the page building efficiency of project developers.

[0059] It should be understood that in the methods described in one or more embodiments of this specification, the order of some steps can be adjusted according to actual needs, or some steps can be omitted.

[0060] Figure 2 The method in the invention divides the editing interface of the data visualization project into a global editing level and a page editing level. When the project developer needs to add a target component during the page construction process, the target component can be selectively added as a global component that can be applied to multiple pages at the global editing level, or the target component can be added as a page component that can be applied to a single page at the page editing level. As a result, the project developer does not need to perform repeated operations of adding the same component at the same position on each page for components that need to appear repeatedly on multiple pages, thereby reducing the number of operations on duplicate items by the project developer, improving the efficiency of page construction, and improving the efficiency of project construction.

[0061] based on Figure 2 The method, the embodiments of this specification also provide some specific implementation methods of the method, which are described below.

[0062] In actual applications, each data visualization project to be built needs to present not only two-dimensional information but also three-dimensional information. Therefore, when building a page, it is necessary to add and edit not only two-dimensional components but also three-dimensional components. In the process of project construction on existing platforms, the construction of two-dimensional components and three-dimensional components is usually edited in the same editing interface, which makes the content of the editing interface confusing and inconvenient for project developers to operate.

[0063] In the embodiment of this specification, a page editing level is used to edit a page. And a page editing level may include a page 2D information editing level and a page 3D information editing level. Among them, the page 3D information editing level is used to edit the page 3D component in the corresponding page; the page 2D information editing level is used to edit the page 2D component in the corresponding page.

[0064] Specifically, the determining of the current editing level may, optionally, be determining the current editing level to be the page 3D information editing level, or may, optionally, be determining the current editing level to be the page 2D information editing level.

[0065] In an optional embodiment, if it is determined that the current editing level is a page three-dimensional information editing level, a constructed current page three-dimensional component having a mapping relationship with the current page corresponding to the current editing level can be obtained; and the current page three-dimensional component can be displayed in the page three-dimensional information editing level.

[0066] In addition, it is also possible to: obtain a constructed current page two-dimensional component that has a mapping relationship with the current page corresponding to the current editing level; and obtain a specified global component that has a mapping relationship with the current page corresponding to the current editing level from the global components that have been constructed in the data visualization project; then display the current page two-dimensional component and the specified global component in the page three-dimensional information editing level; and set the current page two-dimensional component and the specified global component to an inoperable state.

[0067] Using the above example, assume that the project developers have pre-built global components A and B and page components 3a and 3b corresponding to page 3, where the built global component A has a mapping relationship with page 3, and the global component B has no mapping relationship with page 3. Also assume that page component A and page component 3a are both two-dimensional components, and page component 3b is a three-dimensional component.

[0068] Then, when the project developer opens the page 3D information editing level corresponding to page 3, the current page 3D component 3b can be obtained and displayed. In actual application, the current page 3D component 3b can be in an operable state. That is, the project developer can perform various operations such as editing, moving, rotating, scaling, and deleting the current page 3D component 3b.

[0069] Optionally, when the project developer opens the page 3D information editing level corresponding to page 3, the current page 2D component 3a and the specified global component A with a mapping relationship with the current page can also be obtained and displayed. In actual applications, the current page 2D component 3a and the specified global component A can be in an inoperable state. That is, the project developer can see the current page 3D component 3a and the specified global component A, but cannot perform various operations such as editing, moving, rotating, scaling, and deleting on the current page 3D component 3a and the specified global component A.

[0070] In actual applications, in order to facilitate project developers to distinguish components corresponding to the current editing level from components corresponding to other levels, the visibility of components corresponding to other levels can be reduced. As in the above example, the visibility of the current page two-dimensional component and the specified global component in the page three-dimensional information editing level can be reduced. The specific method of reducing visibility can be selected as needed, for example, it can be to reduce the color contrast between the component and the background color.

[0071] In an optional embodiment, if it is determined that the current editing level is a page two-dimensional information editing level, then: a constructed current page two-dimensional component having a mapping relationship with the current page corresponding to the current editing level is obtained; and the current page two-dimensional component is displayed in the page two-dimensional information editing level.

[0072] In addition, it is also possible to: obtain a constructed three-dimensional component of the current page that has a mapping relationship with the current page corresponding to the current editing level; and determine a designated global component that has a mapping relationship with the current page corresponding to the current editing level from the global components that have been constructed in the data visualization project; then display the current page three-dimensional component and the designated global component in the page two-dimensional information editing level; and set the designated global component to an inoperable state; and set the current page three-dimensional component to a perspective-switchable and non-editable state.

[0073] Using the above example, assume that the project developers have pre-built global components A and B and page components 3a and 3b corresponding to page 3, where the built global component A has a mapping relationship with page 3, and the global component B has no mapping relationship with page 3. Also assume that page component A and page component 3a are both two-dimensional components, and page component 3b is a three-dimensional component.

[0074] Then, when the project developer opens the page 2D information editing level corresponding to page 3, the current page 2D component 3a can be obtained and displayed. In actual application, the current page 2D component 3a can be in an operable state. That is, the project developer can perform various operations such as editing, moving, and deleting the current page 2D component 3a.

[0075] Optionally, when the project developer opens the page two-dimensional information editing level corresponding to page 3, the current page three-dimensional component 3b and the specified global component A with a mapping relationship with the current page can also be obtained and displayed. In actual applications, the specified global component A may be in an inoperable state. That is, the project developer can see the specified global component A, but cannot perform various operations such as editing, moving, rotating, scaling, and deleting the specified global component A. In actual applications, the current page three-dimensional component 3b may be in a state where the perspective can be switched and cannot be edited. That is, the project developer can see the current page three-dimensional component 3b, and can perform viewing operations such as rotation and scaling on the current page three-dimensional component 3b, but cannot perform editing operations such as editing, moving, and deleting on the current page three-dimensional component 3b.

[0076] In actual applications, in order to facilitate project developers to distinguish components corresponding to the current editing level from components corresponding to other levels, the visibility of components corresponding to other levels can be reduced. As in the above example, the visibility of the current page 3D component and the specified global component in the page 2D information editing level can be reduced. The specific method of reducing visibility can be selected as needed, for example, it can be to reduce the color contrast between the component and the background color.

[0077] According to the embodiments of the present specification, in actual applications, when the current editing level of a project developer is the page editing level, the constructed global components are displayed to the project developer, which can facilitate the project developer to more reasonably arrange the size, position, etc. of the components in the current page, so as to avoid overlapping component positions in the completed data visualization project.

[0078] Of course, in order to provide project developers with greater flexibility, especially when there are many built components, so that the current editing interface of the project developers is more concise, the project developers can optionally set whether to display the built global components in the page editing level.

[0079] For example, when editing page information, the specified global component is displayed in the current page editing level, which may specifically include: obtaining the display setting information of the global component constructed in the data visualization project; if the display setting information is used to indicate that the global component is displayed in the current page corresponding to the current page editing level, then the specified global component is displayed in the editing interface; if the display setting information is used to indicate that the global component is hidden in the current page corresponding to the current page editing level, then the specified global component is not displayed in the editing interface.

[0080] In an embodiment of the present specification, the current editing level may be determined to be a global editing level. Then, the constructed global components in the data visualization project may be obtained, and the constructed global components may be displayed in the global editing level.

[0081] In addition, it is also possible to: determine the currently selected page of the project developer; the currently selected page is the page selected by the project developer when the current editing level is the global editing level; determine a selected page three-dimensional component that has a mapping relationship with the currently selected page; display the selected page three-dimensional component in the global editing level; set the selected page three-dimensional component to a perspective switchable and non-editable state.

[0082] Using the above example, assume that the project developers have pre-built global components A and B and page components 3a and 3b corresponding to page 3, where the built global component A has a mapping relationship with page 3, and the global component B has no mapping relationship with page 3. Also assume that page component A and page component 3a are both two-dimensional components, and page component 3b is a three-dimensional component.

[0083] Then, when the project developer opens the global editing level, the built global components A and B can be obtained and displayed. In actual applications, the global components A and B can be in an operable state. That is, the project developer can perform various operations on the global components A and B, such as editing, moving, rotating, scaling, and deleting.

[0084] In actual applications, when the project developer is in the global editing level, a page level can be selected at the same time. At this time, when the project developer opens the global editing level, the selected page 3D component corresponding to the currently selected page level can also be obtained. For example, the page 3D component 3b can be obtained and displayed. In actual applications, the selected page 3D component 3b can be in an uneditable state. That is, the project developer can see the selected page 3D component 3b, and can perform viewing operations such as rotation and scaling on the selected page 3D component 3b, but cannot perform editing operations such as editing, moving, and deleting on the selected page 3D component 3b.

[0085] In the embodiments of the present specification, after constructing the components and setting up the pages, linkage events corresponding to the components or pages may be further established.

[0086] Specifically, the selection operation of the project developer on the first linkage object can be obtained; then a linkage event corresponding to the first linkage object is established; and then a trigger condition for triggering the linkage event is set. The role of setting the linkage event is that in the constructed data visualization project, when the terminal user executes the trigger condition on the first linkage object, the program of the data visualization project can be triggered to execute the corresponding linkage event.

[0087] The linkage events may include, but are not limited to, page jump, external link jump, display, hide, dynamic panel page switch, variable assignment, view angle switch, camera gaze, linkage hot update, etc. The trigger conditions may include, but are not limited to, mouse click, mouse in and mouse out.

[0088] In practical applications, the first linkage object may be a global component. In this case, the linkage event may include page jump, external link jump, display, hide, dynamic panel page switch, variable assignment and other events.

[0089] Optionally, the first linkage object may be a global editing level, in which case the project developer may simultaneously select a page as the second linkage object. In this case, the linkage events may include events such as switching viewing angles, camera gaze, and linkage hot update.

[0090] Optionally, the first linkage object may be a two-dimensional page component or a three-dimensional page component. The two-dimensional page component as a linkage object may include a decorative icon component, a button-type navigation bar and a hot zone component, etc. The three-dimensional page component as a linkage object may include a model component, a tag component, a connection component, and an interactive component, etc. At this time, the linkage event may include events such as page jump, external link jump, display, hide, dynamic panel page switch, variable assignment, view angle switch, camera gaze, linkage hot update, etc.

[0091] In the above examples, the operation objects of the display event or the hide event may include the two-dimensional components of the page in the current page and the three-dimensional components of the page except the scene components. The operation object of the dynamic panel page switching event may include the dynamic panel in the current page. The operation object of the variable assignment event may include the component that references the custom variable. The operation object of the camera gaze event may include the three-dimensional components of the page except the scene components in the current page. The premise for the occurrence of the linkage hot update event is that the scene component contains the hot update function.

[0092] In actual applications, after a project developer has completed building a data visualization project, the completed data visualization project can be exported. Specifically, a project output operation of the project developer can be obtained; and then, in response to the project output operation, the completed data visualization project can be exported.

[0093] For the exported data visualization project, it is possible to: obtain a page access request from a terminal user for a target access page in the data visualization project; determine a target access page identifier of the target access page in response to the page access request; obtain a target global component and a target page component that have a mapping relationship with the target access page identifier; and display the target global component and the target page component in the target access page.

[0094] According to the above description, an example scenario diagram of a page construction method in an actual application scenario provided by an embodiment of this specification is as follows: Figures 3 to 8 shown.

[0095] Assume that a global component 300 having a mapping relationship with page 1 (having no mapping relationship with pages 2 and 3), a page two-dimensional component 312 and a page three-dimensional component 313 corresponding to page 1, and a page two-dimensional component 322 and a page three-dimensional component 323 corresponding to page 2 have been constructed.

[0096] like Figure 3 As shown, if the current editing level selected by the project developer is the page 2D information editing level corresponding to page 1, the page 2D component 312 can be displayed, and the page 2D component 312 is in an operable state, that is, the project developer can perform any operations including editing, moving, deleting, etc. on the page 2D component 312. In actual application, the global component 300 and the page 3D component 313 can also be displayed, but the global component 300 is in an inoperable state, that is, the project developer cannot perform operations including editing, moving, deleting, etc. on the global component 300; the page 3D component 313 is in a view switchable and non-editable state, that is, the project developer can perform view switching operations on the page 3D component 313, but cannot perform operations such as editing, moving, deleting, etc. on the page 3D component 313.

[0097] like Figure 4As shown, if the current editing level selected by the project developer is the page 3D information editing level corresponding to page 1, the page 3D component 313 can be displayed, and the page 3D component 313 is in an operable state, that is, the project developer can perform any operations including editing, moving, rotating, scaling, deleting, etc. on the page 3D component 313. In actual application, the global component 300 and the page 2D component 312 can also be displayed, but both the global component 300 and the page 2D component 312 are in an inoperable state, that is, the project developer cannot perform any operations including editing, moving, deleting, etc. on the global component 300 and the page 2D component 312.

[0098] like Figure 5 As shown, if the current editing level selected by the project developer is the page 2D information editing level corresponding to page 2, the page 2D component 322 can be displayed, and the page 2D component 322 is in an operable state, that is, the project developer can perform any operations including editing, moving, deleting, etc. on the page 2D component 322. In actual application, the page 3D component 323 can also be displayed, but the page 3D component 323 is in a state where the perspective can be switched and cannot be edited, that is, the project developer can perform perspective switching operations on the page 3D component 323, but cannot perform operations such as editing, moving, and deleting on the page 3D component 323.

[0099] like Figure 6 As shown, if the current editing level selected by the project developer is the page 3D information editing level corresponding to page 2, the page 3D component 323 can be displayed, and the page 3D component 323 is in an operable state, that is, the project developer can perform any operation including editing, moving, rotating, scaling, deleting, etc. on the page 3D component 323. In actual application, the page 2D component 322 can also be displayed, but the page 2D component 322 is in an inoperable state, that is, the project developer cannot perform any operation including editing, moving, deleting, etc. on the page 2D component 322.

[0100] like Figure 7 As shown, if the current editing level selected by the project developer is the global editing level, the global component 300 can be displayed, and the global component 300 is in an operable state, that is, the project developer can perform any operation on the global component 300 including editing, moving, deleting, etc.

[0101] like Figure 8 As shown in the figure, if the project developer selects the current editing level as the global editing level and sets page 1 as the currently selected page, then Figure 7Based on the displayed content, the page three-dimensional component 313 corresponding to page 1 can also be displayed, but the page three-dimensional component 313 is in a state where the perspective can be switched but not edited, that is, the project developer can perform perspective switching operations on the page three-dimensional component 313, but cannot perform editing, moving, deleting and other operations on the page three-dimensional component 313.

[0102] Based on the same idea, the embodiments of this specification also provide a device corresponding to the above method. Fig. 9 The embodiments of this specification provide corresponding to Figure 2 A schematic diagram of the structure of a page construction device including a target component. Fig. 9 As shown, the device may include:

[0103] The current editing level determination module 402 is used to determine the current editing level; the current editing level is the global editing level or the page editing level;

[0104] A target component display module 404, configured to display the target component in the current editing level of the editing interface in response to an operation of adding a target component by a project developer;

[0105] A target component type determination module 406, configured to determine the type of the target component according to the type of the current editing level;

[0106] The mapping relationship establishing module 408 is used to establish a mapping relationship between the target component and a specified page in the data visualization project according to the type of the target component.

[0107] It is understood that the above modules refer to computer programs or program segments for executing one or more specific functions. In addition, the distinction between the above modules does not mean that the actual program codes must also be separated.

[0108] Based on the same idea, the embodiments of this specification also provide a device corresponding to the above method.

[0109] Fig.10 The embodiments of this specification provide corresponding to Figure 2 A schematic diagram of the structure of a page building device including a target component. Fig.10 As shown, the device 500 may include:

[0110] at least one processor 510; and,

[0111] A memory 530 in communication with the at least one processor; wherein,

[0112] The memory 530 stores instructions 520 executable by the at least one processor 510. The instructions are executed by the at least one processor 510 to enable the at least one processor 510 to:

[0113] The page is a page in a data visualization project to be constructed, and the data visualization project includes multiple pages; the editing interface for constructing the data visualization project includes a global editing level and multiple page editing levels; the multiple page editing levels correspond one-to-one to each page in the data visualization project;

[0114] Determine a current editing level; the current editing level is a global editing level or a page editing level;

[0115] In response to an operation of adding a target component by a project developer, displaying the target component in the current editing level of the editing interface;

[0116] Determining the type of the target component according to the type of the current editing level;

[0117] According to the type of the target component, a mapping relationship between the target component and a designated page in the data visualization project is established.

[0118] Based on the same idea, the embodiment of this specification also provides a computer-readable medium corresponding to the above method. The computer-readable medium stores computer-readable instructions, which can be executed by a processor to implement the following method:

[0119] The page is a page in a data visualization project to be constructed, and the data visualization project includes multiple pages; the editing interface for constructing the data visualization project includes a global editing level and multiple page editing levels; the multiple page editing levels correspond one-to-one to each page in the data visualization project;

[0120] Determine a current editing level; the current editing level is a global editing level or a page editing level;

[0121] In response to an operation of adding a target component by a project developer, displaying the target component in the current editing level of the editing interface;

[0122] Determining the type of the target component according to the type of the current editing level;

[0123] According to the type of the target component, a mapping relationship between the target component and a designated page in the data visualization project is established.

[0124] The above describes specific embodiments of the present specification. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0125] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other.

[0126] The devices, equipment and methods provided in the embodiments of this specification correspond to each other, and therefore, the devices and equipment also have similar beneficial technical effects as the corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the corresponding devices and equipment will not be repeated here.

[0127] In the 1990s, improvements to a technology could be clearly distinguished as hardware improvements (for example, improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the method flow). However, with the development of technology, many improvements to the method flow today can be regarded as direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement in a method flow cannot be implemented using a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to ask a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages ​​and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.

[0128] The controller can be implemented in any appropriate manner, for example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in a purely computer-readable program code manner, the controller can be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be regarded as structures within the hardware component. Or even, the devices for implementing various functions can be regarded as both software modules for implementing the method and structures within the hardware component.

[0129] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0130] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.

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

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

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

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

[0135] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0136] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0137] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0138] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0139] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0140] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A method for constructing a page including a target component, wherein the page is a page in a data visualization project to be constructed, and the data visualization project includes multiple pages; an editing interface for constructing the data visualization project includes a global editing level and multiple page editing levels; The multiple page editing levels correspond one-to-one to each page in the data visualization project; the method includes: Determine a current editing level; the current editing level is a global editing level or a page editing level; In response to an operation of adding a target component by a project developer, displaying the target component in the current editing level of the editing interface; Determining the type of the target component according to the type of the current editing level; According to the type of the target component, a mapping relationship between the target component and a specified page in the data visualization project is established; The determining the type of the target component according to the type of the current editing level; and establishing a mapping relationship between the target component and a specified page in the data visualization project according to the type of the target component, includes: If the current editing level is a global editing level, the target component is determined to be a global component; the global component is used to be displayed in multiple pages in the constructed data visualization project; a mapping relationship between the target component and multiple specified pages in the data visualization project is established to display the target component in the multiple specified pages in the constructed data visualization project; or, If the current editing level is the page editing level, the target component is determined to be a page component; the page component is used to be displayed in the target page corresponding to the current editing level in the constructed data visualization project; a mapping relationship between the target component and the target page is established to display the target component in the target page in the constructed data visualization project.

2. The method of claim 1, wherein the global component comprises a two-dimensional component.

3. The method as claimed in claim 1, wherein the page component comprises a two-dimensional page component or a three-dimensional page component.

4. According to the method as claimed in claim 1, a page editing level includes a page two-dimensional information editing level and a page three-dimensional information editing level; the page three-dimensional information editing level is used to edit the page three-dimensional components in the corresponding page; the page two-dimensional information editing level is used to edit the page two-dimensional components in the corresponding page.

5. The method according to claim 4, wherein determining the current editing level comprises: Determining the current editing level as the page three-dimensional information editing level; After determining the current editing level, the method further includes: Acquire a constructed current page three-dimensional component having a mapping relationship with the current page corresponding to the current editing level; The current page 3D component is displayed in the page 3D information editing level.

6. The method according to claim 5, after determining the current editing level, further comprising: Acquire a constructed current page two-dimensional component having a mapping relationship with the current page corresponding to the current editing level; Acquire, from the global components constructed in the data visualization project, a specified global component having a mapping relationship with the current page corresponding to the current editing level; Displaying the current page two-dimensional component and the specified global component in the page three-dimensional information editing level; The current page two-dimensional component and the designated global component are set to an inoperable state.

7. The method according to claim 4, wherein determining the current editing level comprises: Determining the current editing level as a page two-dimensional information editing level; After determining the current editing level, the method further includes: Acquire a constructed current page two-dimensional component having a mapping relationship with the current page corresponding to the current editing level; The current page two-dimensional component is displayed in the page two-dimensional information editing level.

8. The method according to claim 7, after determining the current editing level, further comprising: Acquire a constructed current page three-dimensional component having a mapping relationship with the current page corresponding to the current editing level; Determine, from the global components constructed in the data visualization project, a designated global component having a mapping relationship with the current page corresponding to the current editing level; Displaying the current page three-dimensional component and the specified global component in the page two-dimensional information editing level; Setting the specified global component to an inoperable state; The three-dimensional component of the current page is set to a state where the perspective can be switched but not edited.

9. The method according to claim 1, wherein determining the current editing level comprises: Determining the current editing level as a global editing level; After determining the current editing level, the method further includes: Obtain the global components that have been constructed in the data visualization project; The constructed global components are displayed in the global editing hierarchy.

10. The method according to claim 9, after determining the current editing level, further comprising: Determine the currently selected page for the project developer; The currently selected page is the page selected by the project developer when the current editing level is the global editing level; Determine a selected page three-dimensional component having a mapping relationship with the currently selected page; Displaying the selected page three-dimensional component in the global editing level; The selected page three-dimensional component is set to a perspective-switchable and non-editable state.

11. A page construction device comprising a target component, wherein the page is a page in a data visualization project to be constructed, and the data visualization project comprises a plurality of pages; an editing interface for constructing the data visualization project comprises a global editing level and a plurality of page editing levels; The multiple page editing levels correspond one-to-one to each page in the data visualization project; the device comprises: A current editing level determination module, used to determine the current editing level; the current editing level is a global editing level or a page editing level; A target component display module, configured to display the target component in the current editing level of the editing interface in response to an operation of adding a target component by a project developer; A target component type determination module, used to determine the type of the target component according to the type of the current editing level; A mapping relationship establishment module, used to establish a mapping relationship between the target component and a specified page in the data visualization project according to the type of the target component; The target component type determination module and the mapping relationship establishment module are also used for: If the current editing level is a global editing level, the target component is determined to be a global component; the global component is used to be displayed in multiple pages in the constructed data visualization project; a mapping relationship between the target component and multiple specified pages in the data visualization project is established to display the target component in the multiple specified pages in the constructed data visualization project; or, If the current editing level is the page editing level, the target component is determined to be a page component; the page component is used to be displayed in the target page corresponding to the current editing level in the constructed data visualization project; a mapping relationship between the target component and the target page is established to display the target component in the target page in the constructed data visualization project.

12. A page building device including a target component, comprising: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to: The page is a page in a data visualization project to be constructed, and the data visualization project includes multiple pages; the editing interface for constructing the data visualization project includes a global editing level and multiple page editing levels; the multiple page editing levels correspond one-to-one to each page in the data visualization project; Determine a current editing level; the current editing level is a global editing level or a page editing level; In response to an operation of adding a target component by a project developer, displaying the target component in the current editing level of the editing interface; Determining the type of the target component according to the type of the current editing level; According to the type of the target component, a mapping relationship between the target component and a specified page in the data visualization project is established; The determining the type of the target component according to the type of the current editing level; and establishing a mapping relationship between the target component and a specified page in the data visualization project according to the type of the target component, includes: If the current editing level is a global editing level, the target component is determined to be a global component; the global component is used to be displayed in multiple pages in the constructed data visualization project; a mapping relationship between the target component and multiple specified pages in the data visualization project is established to display the target component in the multiple specified pages in the constructed data visualization project; or, If the current editing level is the page editing level, the target component is determined to be a page component; the page component is used to be displayed in the target page corresponding to the current editing level in the constructed data visualization project; a mapping relationship between the target component and the target page is established to display the target component in the target page in the constructed data visualization project.

13. A computer-readable medium having computer-readable instructions stored thereon, wherein the computer-readable instructions can be executed by a processor to implement the page construction method according to any one of claims 1 to 10.