WO2023279753A1 - Method and apparatus for generating atlas component - Google Patents

Method and apparatus for generating atlas component Download PDF

Info

Publication number
WO2023279753A1
WO2023279753A1 PCT/CN2022/080387 CN2022080387W WO2023279753A1 WO 2023279753 A1 WO2023279753 A1 WO 2023279753A1 CN 2022080387 W CN2022080387 W CN 2022080387W WO 2023279753 A1 WO2023279753 A1 WO 2023279753A1
Authority
WO
WIPO (PCT)
Prior art keywords
atlas
component
style
configuration file
generating
Prior art date
Application number
PCT/CN2022/080387
Other languages
French (fr)
Chinese (zh)
Inventor
袁炜海
唐斌
Original Assignee
稿定(厦门)科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 稿定(厦门)科技有限公司 filed Critical 稿定(厦门)科技有限公司
Publication of WO2023279753A1 publication Critical patent/WO2023279753A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons

Definitions

  • the present disclosure relates generally to the field of computer technology. More specifically, the present disclosure relates to a method and device for generating an atlas component.
  • the existing atlas components provided to users can include, for example, grid components, waterfall flow components, barrel layout components, etc.
  • These atlas components can respectively present different atlas styles, such as grid style, waterfall flow style, barrel layout layout styles etc.
  • these atlas components are independent of each other and have their own data formats and configuration files. Therefore, when creating these components, you cannot switch styles at will. Because the data format and configuration items of these atlas components are inconsistent, the data and configuration items cannot be used universally. Therefore, for example, when creating a waterfall flow atlas component, if you want to change to a barrel layout atlas component, you need to delete the already set The data and configuration items of a good waterfall atlas component, and then re-increase the data and configuration items of the barrel layout atlas component.
  • the solution of the present disclosure provides a method and device for generating an atlas component.
  • the present disclosure provides a method for generating an atlas component, wherein the method includes: acquiring image data of all pictures constituting the atlas, an atlas configuration file, and at least two atlas styles; According to any one of the at least two atlas styles, the atlas component is generated through the image data and the atlas configuration file.
  • the acquiring the picture data of all the pictures constituting the atlas includes: acquiring pictures from multiple different atlas components; converting the data of the pictures from the multiple different atlas components into unified data format, so as to form the picture data having a unified data format.
  • the acquiring the atlas configuration file includes: acquiring configuration items from multiple different atlas components; merging the configuration items into the atlas configuration file.
  • the generating the atlas component through the image data and the atlas configuration file according to any one of the at least two atlas styles includes: using a dynamic component in the Determine an atlas style among the at least two atlas styles; render at least a part of configuration items in the atlas configuration file, the determined atlas style, and the picture data into an atlas component.
  • the generating the atlas component according to any one of the at least two atlas styles through the image data and the atlas configuration file includes: randomly determining an image set style; render all the configuration items in the atlas configuration file, the randomly determined atlas style and the image data into an atlas component.
  • the atlas configuration file includes a plurality of configuration items, and the configuration item is any one of the number of rows of the atlas, the number of columns of the atlas, the distance between pictures, the height of the pictures, the width of the pictures, and the rounded corners of the pictures.
  • the atlas style is any one of the grid style, waterfall style and barrel layout style.
  • the data format of the picture is in the form of an object array.
  • the present disclosure provides a device for generating an atlas component, wherein the device includes: an acquisition module configured to acquire picture data and an atlas configuration file of all pictures constituting the atlas and at least two atlas styles; a generation module configured to generate the atlas according to any one of the at least two atlas styles through the image data and the atlas configuration file Atlas component.
  • the acquiring module is configured to acquire the picture data of all pictures constituting the atlas in the following manner: acquire pictures from a plurality of different atlas components; The data is converted into a unified data format so as to form the picture data having a unified data format.
  • the obtaining module is used to obtain the atlas configuration file in the following manner: obtain configuration items from multiple different atlas components; merge the configuration items into the atlas configuration file.
  • the generating module is configured to generate the atlas component through the image data and the atlas configuration file according to any one of the at least two atlas styles in the following manner : Determine one atlas style among the at least two atlas styles through a dynamic component; render at least a part of configuration items in the atlas configuration file, the determined one atlas style, and the image data into an atlas component.
  • the generating module is configured to generate the atlas component through the image data and the atlas configuration file according to any one of the at least two atlas styles in the following manner : Randomly determine an atlas style; render all configuration items in the atlas configuration file, the randomly determined atlas style and the image data into an atlas component.
  • the atlas configuration file includes a plurality of configuration items, and the configuration item is any one of the number of rows of the atlas, the number of columns of the atlas, the distance between pictures, the height of the pictures, the width of the pictures, and the rounded corners of the pictures.
  • the atlas style is any one of the grid style, waterfall style and barrel layout style.
  • the data format of the picture is in the form of an object array.
  • the present disclosure provides an apparatus for generating an atlas component, wherein the apparatus includes a memory and a processor, a computer program is stored in the memory, and when the processor executes the computer program , implementing the above-mentioned method of the first aspect of the present disclosure.
  • the present disclosure provides a computer-readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed, implements the above-mentioned method of the first aspect of the present disclosure.
  • the same picture data and atlas configuration file can be used to form atlas components of different atlas styles, so that when changing the atlas style, there is no need to change the picture data and atlas Configuration file, so it can facilitate the style switching of the atlas component.
  • FIG. 1 is a flowchart illustrating a method for generating an atlas component according to an embodiment of the present disclosure
  • Fig. 2 is a schematic block diagram illustrating an apparatus for generating an atlas component according to an embodiment of the present disclosure.
  • the atlas component may be a component suitable for page design that presents an atlas.
  • the page includes, but is not limited to, a user interface that can realize human-computer interaction, such as a web page, an application page, or an operating system section.
  • FIG. 1 is a flowchart illustrating a method for generating an atlas component according to an embodiment of the present disclosure. As shown in Fig. 1, the method includes the following steps S101-S102. Step S101: Obtain the image data of all the images constituting the atlas, atlas configuration files and at least two atlas styles. Step S102: Generate the atlas component by using the image data and the atlas configuration file according to any one of the at least two atlas styles.
  • the same image data and atlas configuration file can be used to form atlas components of different atlas styles, so that when changing the atlas style, there is no need to change the image data and atlas configuration files , so it is convenient to switch the style of the atlas component.
  • step S101 the picture data of all the pictures constituting the atlas, the atlas configuration file and at least two styles of the atlas can be acquired.
  • the atlas configuration file may include multiple configuration items
  • the configuration items may be any one of the number of rows of the atlas, the number of columns of the atlas, the distance between pictures, the height of pictures, the width of pictures, and the rounded corners of pictures.
  • the configuration Items can be number of atlas rows, number of atlas columns, image spacing, image height, image width, or image rounded corners, among others.
  • the atlas style can be any one of the grid style, waterfall flow style and barrel layout style
  • the atlas style can be the palace grid style, waterfall flow style or barrel layout style and so on.
  • the acquiring the picture data of all the pictures constituting the atlas may include: acquiring pictures from a plurality of different atlas components; The data is converted into a unified data format so as to form the picture data having a unified data format.
  • pictures may be obtained from a number of additional gallery components.
  • the data format of the image may be in the form of an object array, so the order of elements of the object array, the form of each element, etc. need to be adjusted to a uniform format.
  • the pictures can be obtained through other means, such as through a gallery, user input, etc., and then the data format of the pictures can be unified according to the needs, and finally the pictures in the unified data format can be obtained.
  • the obtaining an atlas configuration file may include: obtaining configuration items from multiple different atlas components; merging the configuration items into the atlas configuration file.
  • configuration items may be obtained from a number of additional atlas components. Since different atlas components use different configuration items, after obtaining all the configuration items, these configuration items can be merged and summarized to form the required atlas configuration file.
  • configuration items may be obtained through other means, such as importing common configuration items, user input, etc., to form an atlas configuration file.
  • Atlas styles from several different atlas components, for example to obtain different atlas styles.
  • atlas styles can also be obtained by importing commonly used atlas styles or user input.
  • the atlas component may be generated according to any one of the at least two atlas styles, through the image data and the atlas configuration file.
  • an atlas component may be generated by using the picture data, the atlas configuration file and at least two atlas styles.
  • generating the atlas component through the image data and the atlas configuration file may include : Determine one atlas style among the at least two atlas styles through a dynamic component; render at least a part of configuration items in the atlas configuration file, the determined one atlas style, and the image data into an atlas component.
  • a style of the atlas can be determined through the dynamic components of the Vue framework.
  • the required configuration items can also be determined in the atlas configuration file according to the user's choice, which can be all configuration items or some configuration items.
  • the atlas component is rendered through all image data, at least a part of configuration items selected in the atlas configuration file, and an atlas style selected in at least two pattern modes.
  • generating the atlas component through the image data and the atlas configuration file may further include: randomly determining An atlas style; render all the configuration items in the atlas configuration file, the randomly determined atlas style and the picture data into an atlas component.
  • an atlas style can be randomly determined.
  • all configuration items in the atlas configuration file are used.
  • the atlas component is rendered through all image data, all configuration items, and a randomly selected atlas style. According to this embodiment, for users who do not have a clear design concept for the atlas style, a random style of atlas component can be generated first, and then the user can switch according to needs.
  • Atlas components of different atlas styles can be combined to generate a A new atlas component, so that different atlas styles can be implemented in the new atlas component, and no changes are required to the image data and atlas configuration files when the atlas style is improved.
  • FIG. 2 is a schematic block diagram illustrating an apparatus 100 for generating an atlas component according to an embodiment of the present disclosure.
  • the device 100 includes an acquisition module 101 and a generation module 102 .
  • the acquiring module 101 is configured to acquire picture data of all pictures constituting an atlas, an atlas configuration file and at least two styles of an atlas.
  • the generating module 102 is configured to generate the atlas component according to any one of the at least two atlas styles, through the picture data and the atlas configuration file.
  • the acquisition module 101 is configured to acquire the picture data of all the pictures constituting the atlas in the following manner: acquire pictures from multiple different atlas components; The data of the picture of the component is converted into a unified data format so as to form the picture data having a unified data format.
  • the acquiring module 101 is configured to acquire an atlas configuration file in the following manner: acquire configuration items from multiple different atlas components; merge the configuration items into the atlas configuration file.
  • the generating module 102 is configured to generate the image data and the atlas configuration file according to any one of the at least two atlas styles in the following manner:
  • the atlas component determine one of the at least two atlas styles through a dynamic component; at least a part of the configuration items in the atlas configuration file, the determined atlas style and the atlas
  • the image data described above is rendered into an atlas component.
  • the generating module 102 is configured to generate the image data and the atlas configuration file according to any one of the at least two atlas styles in the following manner:
  • the atlas component randomly determine an atlas style; render all the configuration items in the atlas configuration file, the randomly determined atlas style and the image data into an atlas component.
  • the atlas configuration file includes a plurality of configuration items, and the configuration items are any one of the number of rows in the atlas, the number of columns in the atlas, the distance between pictures, the height of pictures, the width of pictures, and the rounded corners of pictures .
  • the atlas style is any one of a grid style, a waterfall style and a barrel layout style.
  • the data format of the picture is in the form of an object array.
  • An embodiment of the present disclosure also provides an atlas component generating device, wherein the device includes a memory and a processor, and a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented: obtaining The picture data of all pictures constituting the atlas, the atlas configuration file and at least two atlas styles; according to any one of the at least two atlas styles, through the picture data and the atlas configuration file to generate the atlas component.
  • the present disclosure provides a computer-readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed, the following steps are implemented: acquiring the picture data of all the pictures constituting the atlas , an atlas configuration file, and at least two atlas styles; according to any one of the at least two atlas styles, the atlas component is generated through the image data and the atlas configuration file .

Abstract

The present disclosure relates to a method and apparatus for generating an atlas component. The method comprises: obtaining picture data of all pictures forming an atlas, an atlas configuration file and at least two atlas styles; and generating the atlas component by means of the picture data and the atlas configuration file according to any one of the at least two atlas styles. According to the solution of the present disclosure, same picture data and atlas configuration file can be used to form atlas components of different atlas styles, so that when an atlas style is changed, picture data and an atlas configuration file do not need to be changed, thereby facilitating the style switching of the atlas component.

Description

图集组件的生成方法及装置Method and device for generating atlas component
本申请要求2021年7月7日提交至中国知识产权局的,申请号为202110767341.1,名称为“图集组件的生成方法及装置”的中国发明专利申请的优先权,其全部公开内容结合于此作为参考。This application claims the priority of the Chinese invention patent application with application number 202110767341.1 and titled "Method and Device for Generating Atlas Component" filed with the China Intellectual Property Office on July 7, 2021, the entire disclosure content of which is hereby incorporated Reference.
技术领域technical field
本公开一般地涉及计算机技术领域。更具体地,本公开涉及图集组件的生成方法及装置。The present disclosure relates generally to the field of computer technology. More specifically, the present disclosure relates to a method and device for generating an atlas component.
背景技术Background technique
随着WEB UI的发展,为了提供给用户多样化呈现图片的组件,图集组件得到广泛应用。现有提供给用户的图集组件例如可以包括宫格组件、瀑布流组件、木桶布局组件等,这些图集组件可以分别呈现不同的图集样式,如宫格样式、瀑布流样式、木桶布局样式等。With the development of WEB UI, in order to provide users with various components for displaying pictures, the atlas component is widely used. The existing atlas components provided to users can include, for example, grid components, waterfall flow components, barrel layout components, etc. These atlas components can respectively present different atlas styles, such as grid style, waterfall flow style, barrel layout layout styles etc.
然而,这些图集组件之间是相互独立的,并且具有各自的数据格式和配置文件。因此,在创建这些组件时,不能随意切换样式。由于这些图集组件的数据格式和配置项不一致,导致了数据和配置项无法通用,因此例如在创建一个瀑布流图集组件时,如果想换成木桶布局图集组件,需要先删除已经设置好的瀑布流图集组件的数据和配置项,然后重新增加木桶布局图集组件的数据和配置项。However, these atlas components are independent of each other and have their own data formats and configuration files. Therefore, when creating these components, you cannot switch styles at will. Because the data format and configuration items of these atlas components are inconsistent, the data and configuration items cannot be used universally. Therefore, for example, when creating a waterfall flow atlas component, if you want to change to a barrel layout atlas component, you need to delete the already set The data and configuration items of a good waterfall atlas component, and then re-increase the data and configuration items of the barrel layout atlas component.
因此如何获得一种便于更改图集样式的方法为现有技术中需要解决的问题。Therefore, how to obtain a method for conveniently changing the style of the atlas is a problem to be solved in the prior art.
发明内容Contents of the invention
为了至少部分地解决背景技术中提到的技术问题,本公开的方案提供了一种图集组件的生成方法及装置。In order to at least partly solve the technical problems mentioned in the background art, the solution of the present disclosure provides a method and device for generating an atlas component.
根据本公开的第一方面,本公开提供一种图集组件的生成方法,其中,所述方法包括:获取构成图集的全部图片的图片数据、图集配置文件和至少两种图集样式;根据所述至少两种图集样式中的任一种图集样式,通过所述图片数据和所述图集配置文件来生成所述图集组件。According to a first aspect of the present disclosure, the present disclosure provides a method for generating an atlas component, wherein the method includes: acquiring image data of all pictures constituting the atlas, an atlas configuration file, and at least two atlas styles; According to any one of the at least two atlas styles, the atlas component is generated through the image data and the atlas configuration file.
可选的,所述获取构成图集的全部图片的图片数据包括:获取来自于多个不同图集组件的图片;将来自于所述多个不同图集组件的图片的数据 转换为统一的数据格式,以便形成具有统一数据格式的所述图片数据。Optionally, the acquiring the picture data of all the pictures constituting the atlas includes: acquiring pictures from multiple different atlas components; converting the data of the pictures from the multiple different atlas components into unified data format, so as to form the picture data having a unified data format.
可选的,所述获取图集配置文件包括:获取来自多个不同图集组件的配置项;将所述配置项合并成所述图集配置文件。Optionally, the acquiring the atlas configuration file includes: acquiring configuration items from multiple different atlas components; merging the configuration items into the atlas configuration file.
可选的,所述根据所述至少两种图集样式中的任一种图集样式,通过所述图片数据和所述图集配置文件来生成所述图集组件包括:通过动态组件在所述至少两种图集样式中确定一种图集样式;将所述图集配置文件中的至少一部分配置项、确定的所述一种图集样式和所述图片数据渲染成图集组件。Optionally, the generating the atlas component through the image data and the atlas configuration file according to any one of the at least two atlas styles includes: using a dynamic component in the Determine an atlas style among the at least two atlas styles; render at least a part of configuration items in the atlas configuration file, the determined atlas style, and the picture data into an atlas component.
可选的,所述根据所述至少两种图集样式中的任一种图集样式,通过所述图片数据和所述图集配置文件来生成所述图集组件包括:随机确定一种图集样式;将所述图集配置文件中的全部配置项、随机确定的所述一种图集样式和所述图片数据渲染成图集组件。Optionally, the generating the atlas component according to any one of the at least two atlas styles through the image data and the atlas configuration file includes: randomly determining an image set style; render all the configuration items in the atlas configuration file, the randomly determined atlas style and the image data into an atlas component.
可选的,所述图集配置文件包括多个配置项,所述配置项为图集行数、图集列数、图片间距、图片高度、图片宽度和图片圆角中的任一个。Optionally, the atlas configuration file includes a plurality of configuration items, and the configuration item is any one of the number of rows of the atlas, the number of columns of the atlas, the distance between pictures, the height of the pictures, the width of the pictures, and the rounded corners of the pictures.
可选的,所述图集样式为宫格样式、瀑布流样式和木桶布局样式中的任一个。Optionally, the atlas style is any one of the grid style, waterfall style and barrel layout style.
可选的,所述图片的数据格式采用对象数组的形式。Optionally, the data format of the picture is in the form of an object array.
根据本公开的第二方面,本公开提供一种图集组件的生成装置,其中,所述装置包括:获取模块,其配置为用于获取构成图集的全部图片的图片数据、图集配置文件和至少两种图集样式;生成模块,其配置为用于根据所述至少两种图集样式中的任一种图集样式,通过所述图片数据和所述图集配置文件来生成所述图集组件。According to a second aspect of the present disclosure, the present disclosure provides a device for generating an atlas component, wherein the device includes: an acquisition module configured to acquire picture data and an atlas configuration file of all pictures constituting the atlas and at least two atlas styles; a generation module configured to generate the atlas according to any one of the at least two atlas styles through the image data and the atlas configuration file Atlas component.
可选的,所述获取模块用于采取如下方式获取构成图集的全部图片的图片数据:获取来自于多个不同图集组件的图片;将来自于所述多个不同图集组件的图片的数据转换为统一的数据格式,以便形成具有统一数据格式的所述图片数据。Optionally, the acquiring module is configured to acquire the picture data of all pictures constituting the atlas in the following manner: acquire pictures from a plurality of different atlas components; The data is converted into a unified data format so as to form the picture data having a unified data format.
可选的,所述获取模块用于采取如下方式获取图集配置文件:获取来 自多个不同图集组件的配置项;将所述配置项合并成所述图集配置文件。Optionally, the obtaining module is used to obtain the atlas configuration file in the following manner: obtain configuration items from multiple different atlas components; merge the configuration items into the atlas configuration file.
可选的,所述生成模块用于采取如下方式根据所述至少两种图集样式中的任一种图集样式,通过所述图片数据和所述图集配置文件来生成所述图集组件:通过动态组件在所述至少两种图集样式中确定一种图集样式;将所述图集配置文件中的至少一部分配置项、确定的所述一种图集样式和所述图片数据渲染成图集组件。Optionally, the generating module is configured to generate the atlas component through the image data and the atlas configuration file according to any one of the at least two atlas styles in the following manner : Determine one atlas style among the at least two atlas styles through a dynamic component; render at least a part of configuration items in the atlas configuration file, the determined one atlas style, and the image data into an atlas component.
可选的,所述生成模块用于采取如下方式根据所述至少两种图集样式中的任一种图集样式,通过所述图片数据和所述图集配置文件来生成所述图集组件:随机确定一种图集样式;将所述图集配置文件中的全部配置项、随机确定的所述一种图集样式和所述图片数据渲染成图集组件。Optionally, the generating module is configured to generate the atlas component through the image data and the atlas configuration file according to any one of the at least two atlas styles in the following manner : Randomly determine an atlas style; render all configuration items in the atlas configuration file, the randomly determined atlas style and the image data into an atlas component.
可选的,所述图集配置文件包括多个配置项,所述配置项为图集行数、图集列数、图片间距、图片高度、图片宽度和图片圆角中的任一个。Optionally, the atlas configuration file includes a plurality of configuration items, and the configuration item is any one of the number of rows of the atlas, the number of columns of the atlas, the distance between pictures, the height of the pictures, the width of the pictures, and the rounded corners of the pictures.
可选的,所述图集样式为宫格样式、瀑布流样式和木桶布局样式中的任一个。Optionally, the atlas style is any one of the grid style, waterfall style and barrel layout style.
可选的,所述图片的数据格式采用对象数组的形式。Optionally, the data format of the picture is in the form of an object array.
根据本公开的第三方面,本公开提供一种图集组件的生成装置,其中,所述装置包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器执行所述计算机程序时,实现上述本公开的第一方面的方法。According to a third aspect of the present disclosure, the present disclosure provides an apparatus for generating an atlas component, wherein the apparatus includes a memory and a processor, a computer program is stored in the memory, and when the processor executes the computer program , implementing the above-mentioned method of the first aspect of the present disclosure.
根据本公开的第四方面,本公开提供一种计算机可读存储介质,其中,所述存储介质存储有计算机程序,所述计算机程序被执行时,实现上述本公开的第一方面的方法。According to a fourth aspect of the present disclosure, the present disclosure provides a computer-readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed, implements the above-mentioned method of the first aspect of the present disclosure.
通过本公开的图集组件的生成方法和装置,可以使用相同的图片数据和图集配置文件来形成不同图集样式的图集组件,从而在更改图集样式时,无需改动图片数据和图集配置文件,因此可以方便图集组件的样式切换。Through the method and device for generating an atlas component of the present disclosure, the same picture data and atlas configuration file can be used to form atlas components of different atlas styles, so that when changing the atlas style, there is no need to change the picture data and atlas Configuration file, so it can facilitate the style switching of the atlas component.
附图说明Description of drawings
通过参考附图阅读下文的详细描述,本公开示例性实施方式的上述以及其他目的、特征和优点将变得易于理解。在附图中,以示例性而非限制性的方式示出了本公开的若干实施方式,并且相同或对应的标号表示相同 或对应的部分其中:The above and other objects, features and advantages of exemplary embodiments of the present disclosure will become readily understood by reading the following detailed description with reference to the accompanying drawings. In the drawings, several embodiments of the present disclosure are shown by way of illustration and not limitation, and the same or corresponding reference numerals represent the same or corresponding parts wherein:
图1是示出根据本公开的一个实施例的图集组件的生成方法的流程图;FIG. 1 is a flowchart illustrating a method for generating an atlas component according to an embodiment of the present disclosure;
图2是示出根据本公开的一个实施例的图集组件的生成装置的示意性框图。Fig. 2 is a schematic block diagram illustrating an apparatus for generating an atlas component according to an embodiment of the present disclosure.
具体实施方式detailed description
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present disclosure with reference to the accompanying drawings in the embodiments of the present disclosure. Apparently, the described embodiments are part of the embodiments of the present disclosure, not all of them. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without making creative efforts belong to the protection scope of the present disclosure.
根据本公开的实施例,图集组件可以是呈现图集的适于页面设计的组件。所述页面包括但不限于网页、应用页面或操作系统截面等能够实现人机交互的用户界面。According to an embodiment of the present disclosure, the atlas component may be a component suitable for page design that presents an atlas. The page includes, but is not limited to, a user interface that can realize human-computer interaction, such as a web page, an application page, or an operating system section.
下面结合附图来详细描述本公开的具体实施方式。Specific embodiments of the present disclosure will be described in detail below in conjunction with the accompanying drawings.
本公开提供一种图集组件的生成方法。参照图1,图1是示出根据本公开的一个实施例的图集组件的生成方法的流程图。如图1中所示,所述方法包括以下步骤S101-S102。步骤S101:获取构成图集的全部图片的图片数据、图集配置文件和至少两种图集样式。步骤S102:根据所述至少两种图集样式中的任一种图集样式,通过所述图片数据和所述图集配置文件来生成所述图集组件。The disclosure provides a method for generating an atlas component. Referring to FIG. 1 , FIG. 1 is a flowchart illustrating a method for generating an atlas component according to an embodiment of the present disclosure. As shown in Fig. 1, the method includes the following steps S101-S102. Step S101: Obtain the image data of all the images constituting the atlas, atlas configuration files and at least two atlas styles. Step S102: Generate the atlas component by using the image data and the atlas configuration file according to any one of the at least two atlas styles.
通过本公开的图集组件的生成方法,可以使用相同的图片数据和图集配置文件来形成不同图集样式的图集组件,从而在更改图集样式时,无需改动图片数据和图集配置文件,因此可以方便图集组件的样式切换。Through the generation method of the atlas component of the present disclosure, the same image data and atlas configuration file can be used to form atlas components of different atlas styles, so that when changing the atlas style, there is no need to change the image data and atlas configuration files , so it is convenient to switch the style of the atlas component.
在步骤S101中,可以获取构成图集的全部图片的图片数据、图集配置文件和至少两种图集样式。In step S101, the picture data of all the pictures constituting the atlas, the atlas configuration file and at least two styles of the atlas can be acquired.
根据本公开的实施例,为了生成图集组件,首先应获取构成图集的全部图片、图集配置文件以及图集样式。其中,图集配置文件可以包括多个配置项,所述配置项可以为图集行数、图集列数、图片间距、图片高度、图片宽度和图片圆角中的任一个,例如所述配置项可以是图集行数、图集列数、图片间距、图片高度、图片宽度或图片圆角等等。另外,所述图集 样式可以为宫格样式、瀑布流样式和木桶布局样式中的任一个,图集样式可以是宫格样式、瀑布流样式或木桶布局样式等等。According to an embodiment of the present disclosure, in order to generate an atlas component, firstly, all pictures constituting the atlas, atlas configuration files and atlas styles should be acquired. Wherein, the atlas configuration file may include multiple configuration items, and the configuration items may be any one of the number of rows of the atlas, the number of columns of the atlas, the distance between pictures, the height of pictures, the width of pictures, and the rounded corners of pictures. For example, the configuration Items can be number of atlas rows, number of atlas columns, image spacing, image height, image width, or image rounded corners, among others. In addition, the atlas style can be any one of the grid style, waterfall flow style and barrel layout style, and the atlas style can be the palace grid style, waterfall flow style or barrel layout style and so on.
具体地,在一个实施例中,所述获取构成图集的全部图片的图片数据可以包括:获取来自于多个不同图集组件的图片;将来自于所述多个不同图集组件的图片的数据转换为统一的数据格式,以便形成具有统一数据格式的所述图片数据。Specifically, in one embodiment, the acquiring the picture data of all the pictures constituting the atlas may include: acquiring pictures from a plurality of different atlas components; The data is converted into a unified data format so as to form the picture data having a unified data format.
在该实施例中,可以从多个另外的图集组件中获取图片。例如由于不同的创建者创建图集组件时使用的图片数据格式不同或者同一创建者不同时期创建图集组件时使用的图片数据格式不同,因此在获取到所有图片后,需要将图片的数据格式进行统一。图片的数据格式例如可以采用对象数组的形式,因此需要将对象数组的元素顺序、每个元素的形式等调整为统一格式。In this embodiment, pictures may be obtained from a number of additional gallery components. For example, because different creators use different image data formats when creating an atlas component or the same creator uses different image data formats when creating an atlas component at different times, after obtaining all the images, you need to change the data format of the images Unite. For example, the data format of the image may be in the form of an object array, so the order of elements of the object array, the form of each element, etc. need to be adjusted to a uniform format.
在另一个实施例中,可以通过其它途径,例如通过图库、用户输入等途径获取图片,然后根据需要进行图片的数据格式统一,最后获取到统一数据格式的图片。In another embodiment, the pictures can be obtained through other means, such as through a gallery, user input, etc., and then the data format of the pictures can be unified according to the needs, and finally the pictures in the unified data format can be obtained.
此外,在一个实施例中,所述获取图集配置文件可以包括:获取来自多个不同图集组件的配置项;将所述配置项合并成所述图集配置文件。In addition, in an embodiment, the obtaining an atlas configuration file may include: obtaining configuration items from multiple different atlas components; merging the configuration items into the atlas configuration file.
在该实施例中,可以从多个另外的图集组件中获取配置项。由于不同的图集组件时使用的配置项不同,因此在获取到所有配置项后,可以将这些配置项进行合并汇总,从而形成需要的图集配置文件。In this embodiment, configuration items may be obtained from a number of additional atlas components. Since different atlas components use different configuration items, after obtaining all the configuration items, these configuration items can be merged and summarized to form the required atlas configuration file.
在另一个实施例中,可以通过其它途径,例如通过常用配置项导入、用户输入等途径获取配置项,从而形成图集配置文件。In another embodiment, configuration items may be obtained through other means, such as importing common configuration items, user input, etc., to form an atlas configuration file.
此外,可以从多个不同图集组件获取图集样式,例如获取不同的图集样式。当然也可以通过常用图集样式的导入或用户输入来获取多种不同的图集样式。Additionally, it is possible to obtain atlas styles from several different atlas components, for example to obtain different atlas styles. Of course, a variety of different atlas styles can also be obtained by importing commonly used atlas styles or user input.
在步骤S102中,可以根据所述至少两种图集样式中的任一种图集样式,通过所述图片数据和所述图集配置文件来生成所述图集组件。In step S102, the atlas component may be generated according to any one of the at least two atlas styles, through the image data and the atlas configuration file.
根据本公开的实施例,在获取到图片数据、图集配置文件和至少两种图集样式后,可以借助图片数据、图集配置文件和至少两种图集样式来生成图集组件。According to an embodiment of the present disclosure, after the picture data, the atlas configuration file and at least two atlas styles are acquired, an atlas component may be generated by using the picture data, the atlas configuration file and at least two atlas styles.
具体地,在一个实施例中,所述根据所述至少两种图集样式中的任一种图集样式,通过所述图片数据和所述图集配置文件来生成所述图集组件可以包括:通过动态组件在所述至少两种图集样式中确定一种图集样式;将所述图集配置文件中的至少一部分配置项、确定的所述一种图集样式和所述图片数据渲染成图集组件。Specifically, in an embodiment, according to any one of the at least two atlas styles, generating the atlas component through the image data and the atlas configuration file may include : Determine one atlas style among the at least two atlas styles through a dynamic component; render at least a part of configuration items in the atlas configuration file, the determined one atlas style, and the image data into an atlas component.
在该实施例中,根据用户的选择,可以通过Vue框架的动态组件来确定一种图集样式。而针对这种图集样式,同样可以根据用户的选择在图集配置文件中确定需要的配置项,可以是全部配置项,也可以是部分配置项。最后通过全部图片数据、在图集配置文件中选择的至少一部分配置项以及在至少两种图样模式中选择的一种图集样式渲染出图集组件。In this embodiment, according to the user's selection, a style of the atlas can be determined through the dynamic components of the Vue framework. For this atlas style, the required configuration items can also be determined in the atlas configuration file according to the user's choice, which can be all configuration items or some configuration items. Finally, the atlas component is rendered through all image data, at least a part of configuration items selected in the atlas configuration file, and an atlas style selected in at least two pattern modes.
在另一个实施例中,根据所述至少两种图集样式中的任一种图集样式,通过所述图片数据和所述图集配置文件来生成所述图集组件还可以包括:随机确定一种图集样式;将所述图集配置文件中的全部配置项、随机确定的所述一种图集样式和所述图片数据渲染成图集组件。在该实施例中,可以随机确定一种图集样式。而针对这种图集样式,使用图集配置文件中的全部配置项。最后通过全部图片数据、全部配置项以及随机选择的一种图集样式渲染出图集组件。根据该实施例,对于对图集样式没有明确设计构思的用户,可以先生成一种随机样式的图集组件,随后用户可根据需要进行切换。In another embodiment, according to any one of the at least two atlas styles, generating the atlas component through the image data and the atlas configuration file may further include: randomly determining An atlas style; render all the configuration items in the atlas configuration file, the randomly determined atlas style and the picture data into an atlas component. In this embodiment, an atlas style can be randomly determined. For this atlas style, all configuration items in the atlas configuration file are used. Finally, the atlas component is rendered through all image data, all configuration items, and a randomly selected atlas style. According to this embodiment, for users who do not have a clear design concept for the atlas style, a random style of atlas component can be generated first, and then the user can switch according to needs.
通过以上的具体实施例可知,在从不同图集组件中获取图片数据和获取图集配置文件时,通过本公开的图集组件的生成方法,可以合并不同图集样式的图集组件来生成一个新的图集组件,从而在该新的图集组件中实现不同的图集样式,并且在更好图集样式时对图片数据和图集配置文件无需改动。Through the above specific embodiments, it can be seen that when acquiring image data and atlas configuration files from different atlas components, through the generation method of atlas components of the present disclosure, atlas components of different atlas styles can be combined to generate a A new atlas component, so that different atlas styles can be implemented in the new atlas component, and no changes are required to the image data and atlas configuration files when the atlas style is improved.
参照图2,图2是示出根据本公开的一个实施例的图集组件的生成装置100的示意性框图。该装置100包括获取模块101和生成模块102。该获取模块101配置为用于获取构成图集的全部图片的图片数据、图集配置文件和至少两种图集样式。该生成模块102配置为用于根据所述至少两种图集样式中的任一种图集样式,通过所述图片数据和所述图集配置文件来生成所述图集组件。Referring to FIG. 2 , FIG. 2 is a schematic block diagram illustrating an apparatus 100 for generating an atlas component according to an embodiment of the present disclosure. The device 100 includes an acquisition module 101 and a generation module 102 . The acquiring module 101 is configured to acquire picture data of all pictures constituting an atlas, an atlas configuration file and at least two styles of an atlas. The generating module 102 is configured to generate the atlas component according to any one of the at least two atlas styles, through the picture data and the atlas configuration file.
根据本公开的实施例,所述获取模块101用于采取如下方式获取构成图集的全部图片的图片数据:获取来自于多个不同图集组件的图片;将来自于所述多个不同图集组件的图片的数据转换为统一的数据格式,以便形成具有统一数据格式的所述图片数据。According to an embodiment of the present disclosure, the acquisition module 101 is configured to acquire the picture data of all the pictures constituting the atlas in the following manner: acquire pictures from multiple different atlas components; The data of the picture of the component is converted into a unified data format so as to form the picture data having a unified data format.
根据本公开的实施例,所述获取模块101用于采取如下方式获取图集配置文件:获取来自多个不同图集组件的配置项;将所述配置项合并成所述图集配置文件。According to an embodiment of the present disclosure, the acquiring module 101 is configured to acquire an atlas configuration file in the following manner: acquire configuration items from multiple different atlas components; merge the configuration items into the atlas configuration file.
根据本公开的实施例,所述生成模块102用于采取如下方式根据所述至少两种图集样式中的任一种图集样式,通过所述图片数据和所述图集配置文件来生成所述图集组件:通过动态组件在所述至少两种图集样式中确定一种图集样式;将所述图集配置文件中的至少一部分配置项、确定的所述一种图集样式和所述图片数据渲染成图集组件。According to an embodiment of the present disclosure, the generating module 102 is configured to generate the image data and the atlas configuration file according to any one of the at least two atlas styles in the following manner: The atlas component: determine one of the at least two atlas styles through a dynamic component; at least a part of the configuration items in the atlas configuration file, the determined atlas style and the atlas The image data described above is rendered into an atlas component.
根据本公开的实施例,所述生成模块102用于采取如下方式根据所述至少两种图集样式中的任一种图集样式,通过所述图片数据和所述图集配置文件来生成所述图集组件:随机确定一种图集样式;将所述图集配置文件中的全部配置项、随机确定的所述一种图集样式和所述图片数据渲染成图集组件。According to an embodiment of the present disclosure, the generating module 102 is configured to generate the image data and the atlas configuration file according to any one of the at least two atlas styles in the following manner: The atlas component: randomly determine an atlas style; render all the configuration items in the atlas configuration file, the randomly determined atlas style and the image data into an atlas component.
根据本公开的实施例,所述图集配置文件包括多个配置项,所述配置项为图集行数、图集列数、图片间距、图片高度、图片宽度和图片圆角中的任一个。According to an embodiment of the present disclosure, the atlas configuration file includes a plurality of configuration items, and the configuration items are any one of the number of rows in the atlas, the number of columns in the atlas, the distance between pictures, the height of pictures, the width of pictures, and the rounded corners of pictures .
根据本公开的实施例,所述图集样式为宫格样式、瀑布流样式和木桶布局样式中的任一个。According to an embodiment of the present disclosure, the atlas style is any one of a grid style, a waterfall style and a barrel layout style.
根据本公开的实施例,所述图片的数据格式采用对象数组的形式。According to an embodiment of the present disclosure, the data format of the picture is in the form of an object array.
可以理解的是,关于以上参照图2描述的实施例中的图集组件的生成装置,其中各个模块执行操作的具体方式已经在结合图1所描述的图集组件的生成方法的实施例中进行了详细描述,此处将不做详细阐述说明。It can be understood that, with regard to the generation device of the atlas component in the embodiment described above with reference to FIG. A detailed description is given, so no detailed explanation will be given here.
本公开实施例还提供一种图集组件生成装置,其中,所述装置包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器执行所述计算机程序时,实现如下步骤:获取构成图集的全部图片的图片数据、图集配置文件和至少两种图集样式;根据所述至少两种图集样式中的任一种图集样式,通过所述图片数据和所述图集配置文件来生成所述图集组件。An embodiment of the present disclosure also provides an atlas component generating device, wherein the device includes a memory and a processor, and a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented: obtaining The picture data of all pictures constituting the atlas, the atlas configuration file and at least two atlas styles; according to any one of the at least two atlas styles, through the picture data and the atlas configuration file to generate the atlas component.
可以理解的是,所述处理器执行所述计算机程序时实现的步骤与上述方法中的各个步骤的实现方式基本一致,具体方式已经在有关图集组件的生成方法的实施例中进行了详细描述,此处将不做详细阐述说明。It can be understood that the steps implemented when the processor executes the computer program are basically the same as the implementation of each step in the above method, and the specific method has been described in detail in the embodiment of the generation method of the atlas component , which will not be elaborated here.
在另一方面中,本公开提供一种计算机可读存储介质,其中,所述存储介质存储有计算机程序,所述计算机程序被执行时,实现如下步骤:获取构成图集的全部图片的图片数据、图集配置文件和至少两种图集样式;根据所述至少两种图集样式中的任一种图集样式,通过所述图片数据和所述图集配置文件来生成所述图集组件。In another aspect, the present disclosure provides a computer-readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed, the following steps are implemented: acquiring the picture data of all the pictures constituting the atlas , an atlas configuration file, and at least two atlas styles; according to any one of the at least two atlas styles, the atlas component is generated through the image data and the atlas configuration file .
可以理解的是,所述处理器执行所述计算机程序时实现的步骤与上述方法中的各个步骤的实现方式基本一致,具体方式已经在有图集面组件的生成方法的实施例中进行了详细描述,此处将不做详细阐述说明。It can be understood that the steps implemented when the processor executes the computer program are basically the same as the implementation of each step in the above method, and the specific method has been described in detail in the embodiment of the method for generating an atlas surface component. description, and will not be elaborated here.
以上对本公开实施例进行了详细介绍,本文中应用了具体个例对本公开的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本公开的方法及其核心思想;同时,对于本领域的一般技术人员,依据本公开的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本公开的限制。The embodiments of the present disclosure have been introduced in detail above, and the principles and implementation methods of the present disclosure have been explained by using specific examples in this article. The descriptions of the above embodiments are only used to help understand the methods and core ideas of the present disclosure; at the same time, for Those skilled in the art may have changes in specific implementation methods and application scopes based on the idea of the present disclosure. In summary, the contents of this specification should not be construed as limiting the present disclosure.
应当理解,本公开的权利要求、说明书及附图中的术语“第一”和“第二”、等是用于区别不同对象,而不是用于描述特定顺序。本公开的说明书和权 利要求书中使用的术语“包括”和“包含”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。It should be understood that the terms "first" and "second", etc. in the claims, specification and drawings of the present disclosure are used to distinguish different objects, rather than to describe a specific order. The terms "comprising" and "comprises" used in the specification and claims of the present disclosure indicate the presence of described features, integers, steps, operations, elements and/or components, but do not exclude one or more other features, integers , steps, operations, elements, components, and/or the presence or addition of collections thereof.
还应当理解,在此本公开说明书中所使用的术语仅仅是出于描述特定实施例的目的,而并不意在限定本公开。如在本公开说明书和权利要求书中所使用的那样,除非上下文清楚地指明其它情况,否则单数形式的“一”、“一个”及“该”意在包括复数形式。还应当进一步理解,在本公开说明书和权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It should also be understood that the terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the present disclosure. As used in this disclosure and the claims, the singular forms "a", "an" and "the" are intended to include plural referents unless the context clearly dictates otherwise. It should be further understood that the term "and/or" used in the present disclosure and claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
以上对本公开实施例进行了详细介绍,本文中应用了具体个例对本公开的原理及实施方式进行了阐述,以上实施例的说明仅用于帮助理解本公开的方法及其核心思想。同时,本领域技术人员依据本公开的思想,基于本公开的具体实施方式及应用范围上做出的改变或变形之处,都属于本公开保护的范围。综上所述,本说明书内容不应理解为对本公开的限制。The embodiments of the present disclosure have been introduced in detail above, and the principles and implementation modes of the present disclosure have been described by using specific examples in this article. The descriptions of the above embodiments are only used to help understand the methods and core ideas of the present disclosure. At the same time, changes or deformations made by those skilled in the art based on the ideas of the present disclosure, specific implementation methods and application scopes of the present disclosure all belong to the scope of protection of the present disclosure. To sum up, the contents of this specification should not be construed as limiting the present disclosure.

Claims (18)

  1. 一种图集组件的生成方法,其中,所述方法包括:A method for generating an atlas component, wherein the method includes:
    获取构成图集的全部图片的图片数据、图集配置文件和至少两种图集样式;Obtain image data, an atlas configuration file, and at least two atlas styles of all images constituting an atlas;
    根据所述至少两种图集样式中的任一种图集样式,通过所述图片数据和所述图集配置文件来生成所述图集组件。According to any one of the at least two atlas styles, the atlas component is generated through the image data and the atlas configuration file.
  2. 根据权利要求1所述的图集组件的生成方法,其中,所述获取构成图集的全部图片的图片数据包括:The method for generating an atlas component according to claim 1, wherein said obtaining the picture data of all pictures constituting the atlas comprises:
    获取来自于多个不同图集组件的图片;Get images from multiple different atlas components;
    将来自于所述多个不同图集组件的图片的数据转换为统一的数据格式,以便形成具有统一数据格式的所述图片数据。converting the data of the pictures from the plurality of different atlas components into a unified data format, so as to form the picture data in a unified data format.
  3. 根据权利要求2所述的图集组件的生成方法,其中,所述获取图集配置文件包括:The method for generating an atlas component according to claim 2, wherein said obtaining an atlas configuration file comprises:
    获取来自多个不同图集组件的配置项;Get configuration items from multiple different atlas components;
    将所述配置项合并成所述图集配置文件。Merge the configuration items into the atlas configuration file.
  4. 根据权利要求1至3中任一项所述的图集组件的生成方法,其中,所述根据所述至少两种图集样式中的任一种图集样式,通过所述图片数据和所述图集配置文件来生成所述图集组件包括:The method for generating an atlas component according to any one of claims 1 to 3, wherein, according to any one of the at least two atlas styles, the image data and the The atlas configuration file to generate the atlas component includes:
    通过动态组件在所述至少两种图集样式中确定一种图集样式;determining an atlas style among the at least two atlas styles through a dynamic component;
    将所述图集配置文件中的至少一部分配置项、确定的所述一种图集样式和所述图片数据渲染成图集组件。Rendering at least a part of configuration items in the atlas configuration file, the determined atlas style and the picture data into an atlas component.
  5. 根据权利要求1至3中任一项所述的图集组件的生成方法,其中,所述根据所述至少两种图集样式中的任一种图集样式,通过所述图片数据和所述图集配置文件来生成所述图集组件包括:The method for generating an atlas component according to any one of claims 1 to 3, wherein, according to any one of the at least two atlas styles, the image data and the The atlas configuration file to generate the atlas component includes:
    随机确定一种图集样式;Randomly determine an atlas style;
    将所述图集配置文件中的全部配置项、随机确定的所述一种图集样式和所述图片数据渲染成图集组件。Render all the configuration items in the atlas configuration file, the randomly determined atlas style and the image data into an atlas component.
  6. 根据权利要求1至3中任一项所述的图集组件的生成方法,其中, 所述图集配置文件包括多个配置项,所述配置项为图集行数、图集列数、图片间距、图片高度、图片宽度和图片圆角中的任一个。The method for generating an atlas component according to any one of claims 1 to 3, wherein, the atlas configuration file includes a plurality of configuration items, and the configuration items are the number of rows of the atlas, the number of columns of the atlas, the number of pictures Any of Spacing, Image Height, Image Width, and Image Rounding.
  7. 根据权利要求1至3中任一项所述的图集组件的生成方法,其中,所述图集样式为宫格样式、瀑布流样式和木桶布局样式中的任一个。The method for generating an atlas component according to any one of claims 1 to 3, wherein the atlas style is any one of a grid style, a waterfall style and a barrel layout style.
  8. 根据权利要求1至3中任一项所述的图集组件的生成方法,其中,所述图片的数据格式采用对象数组的形式。The method for generating an atlas component according to any one of claims 1 to 3, wherein the data format of the picture is in the form of an object array.
  9. 一种图集组件的生成装置,其中,所述装置包括:A device for generating an atlas component, wherein the device includes:
    获取模块,其配置为用于获取构成图集的全部图片的图片数据、图集配置文件和至少两种图集样式;An acquisition module configured to acquire the picture data of all the pictures constituting the atlas, the atlas configuration file and at least two styles of the atlas;
    生成模块,其配置为用于根据所述至少两种图集样式中的任一种图集样式,通过所述图片数据和所述图集配置文件来生成所述图集组件。The generation module is configured to generate the atlas component according to any one of the at least two atlas styles through the image data and the atlas configuration file.
  10. 根据权利要求5所述的图集组件的生成装置,其中,所述获取模块用于采取如下方式获取构成图集的全部图片的图片数据:The device for generating an atlas component according to claim 5, wherein the acquiring module is configured to acquire the picture data of all the pictures constituting the atlas in the following manner:
    获取来自于多个不同图集组件的图片;Get images from multiple different atlas components;
    将来自于所述多个不同图集组件的图片的数据转换为统一的数据格式,以便形成具有统一数据格式的所述图片数据。converting the data of the pictures from the plurality of different atlas components into a unified data format, so as to form the picture data in a unified data format.
  11. 根据权利要求6所述的图集组件的生成装置,其中,所述获取模块用于采取如下方式获取图集配置文件:The device for generating an atlas component according to claim 6, wherein the acquiring module is configured to acquire an atlas configuration file in the following manner:
    获取来自多个不同图集组件的配置项;Get configuration items from multiple different atlas components;
    将所述配置项合并成所述图集配置文件。Merge the configuration items into the atlas configuration file.
  12. 根据权利要求9至11中任一项所述的图集组件的生成装置,其中,所述生成模块用于采取如下方式根据所述至少两种图集样式中的任一种图集样式,通过所述图片数据和所述图集配置文件来生成所述图集组件:The device for generating an atlas component according to any one of claims 9 to 11, wherein the generating module is configured to adopt the following method according to any one of the at least two atlas styles, by The image data and the atlas configuration file are used to generate the atlas component:
    通过动态组件在所述至少两种图集样式中确定一种图集样式;determining an atlas style among the at least two atlas styles through a dynamic component;
    将所述图集配置文件中的至少一部分配置项、确定的所述一种图集样式和所述图片数据渲染成图集组件。Rendering at least a part of configuration items in the atlas configuration file, the determined atlas style and the picture data into an atlas component.
  13. 根据权利要求9至11中任一项所述的图集组件的生成装置,其中, 所述生成模块用于采取如下方式根据所述至少两种图集样式中的任一种图集样式,通过所述图片数据和所述图集配置文件来生成所述图集组件:The device for generating an atlas component according to any one of claims 9 to 11, wherein the generating module is configured to adopt the following method according to any one of the at least two atlas styles, by The image data and the atlas configuration file are used to generate the atlas component:
    随机确定一种图集样式;Randomly determine an atlas style;
    将所述图集配置文件中的全部配置项、随机确定的所述一种图集样式和所述图片数据渲染成图集组件。Render all the configuration items in the atlas configuration file, the randomly determined atlas style and the image data into an atlas component.
  14. 根据权利要求9至11中任一项所述的图集组件的生成装置,其中,所述图集配置文件包括多个配置项,所述配置项为图集行数、图集列数、图片间距、图片高度、图片宽度和图片圆角中的任一个。The device for generating an atlas component according to any one of claims 9 to 11, wherein the atlas configuration file includes a plurality of configuration items, and the configuration items are the number of rows in the atlas, the number of columns in the atlas, and the number of pictures in the atlas. Any of Spacing, Image Height, Image Width, and Image Rounding.
  15. 根据权利要求9至11中任一项所述的图集组件的生成装置,其中,所述图集样式为宫格样式、瀑布流样式和木桶布局样式中的任一个。The device for generating an atlas component according to any one of claims 9 to 11, wherein the atlas style is any one of a grid style, a waterfall style and a barrel layout style.
  16. 根据权利要求9至11中任一项所述的图集组件的生成装置,其中,所述图片的数据格式采用对象数组的形式。The device for generating an atlas component according to any one of claims 9 to 11, wherein the data format of the picture is in the form of an object array.
  17. 一种图集组件的生成装置,其中,所述装置包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器执行所述计算机程序时,实现如权利要求1-8中任一项所述的方法。A device for generating an atlas component, wherein the device includes a memory and a processor, a computer program is stored in the memory, and when the processor executes the computer program, any one of claims 1-8 is realized. method described in the item.
  18. 一种计算机可读存储介质,其中,所述存储介质存储有计算机程序,所述计算机程序被执行时,实现如权利要求1-8中任一项所述的方法。A computer-readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 1-8 is implemented.
PCT/CN2022/080387 2021-07-07 2022-03-11 Method and apparatus for generating atlas component WO2023279753A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110767341.1 2021-07-07
CN202110767341.1A CN113495773A (en) 2021-07-07 2021-07-07 Method and device for generating atlas assembly

Publications (1)

Publication Number Publication Date
WO2023279753A1 true WO2023279753A1 (en) 2023-01-12

Family

ID=77996156

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/080387 WO2023279753A1 (en) 2021-07-07 2022-03-11 Method and apparatus for generating atlas component

Country Status (2)

Country Link
CN (1) CN113495773A (en)
WO (1) WO2023279753A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113495773A (en) * 2021-07-07 2021-10-12 稿定(厦门)科技有限公司 Method and device for generating atlas assembly

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070143673A1 (en) * 2005-12-20 2007-06-21 Microsoft Corporation Extensible architecture for chart styles and layouts
US20110283173A1 (en) * 2009-12-16 2011-11-17 American Greetings Corporation Methods and systems for designing photo books
CN102419705A (en) * 2011-09-30 2012-04-18 广州杰赛科技股份有限公司 Method and device for generating and managing Web geographic information system (GIS) client control
CN108932126A (en) * 2017-05-26 2018-12-04 北京国双科技有限公司 A kind of control generation method and device
CN113495773A (en) * 2021-07-07 2021-10-12 稿定(厦门)科技有限公司 Method and device for generating atlas assembly

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103488749B (en) * 2013-09-24 2016-09-14 长沙裕邦软件开发有限公司 A kind of network electronic album display method and system
CN112445477A (en) * 2020-12-09 2021-03-05 浙江源创建筑智能科技有限公司 Vue-based component visualization system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070143673A1 (en) * 2005-12-20 2007-06-21 Microsoft Corporation Extensible architecture for chart styles and layouts
US20110283173A1 (en) * 2009-12-16 2011-11-17 American Greetings Corporation Methods and systems for designing photo books
CN102419705A (en) * 2011-09-30 2012-04-18 广州杰赛科技股份有限公司 Method and device for generating and managing Web geographic information system (GIS) client control
CN108932126A (en) * 2017-05-26 2018-12-04 北京国双科技有限公司 A kind of control generation method and device
CN113495773A (en) * 2021-07-07 2021-10-12 稿定(厦门)科技有限公司 Method and device for generating atlas assembly

Also Published As

Publication number Publication date
CN113495773A (en) 2021-10-12

Similar Documents

Publication Publication Date Title
US10628021B2 (en) Modular responsive screen grid, authoring and displaying system
US11226996B2 (en) Identifying and graphically representing multiple parent nodes of a child node
US20160342678A1 (en) Manipulation of arbitrarily related data
KR101618378B1 (en) Rendering three-dimensional objects on a server computer
JP2009295139A (en) File management apparatus, file management method, and file management program
CN110674227A (en) Method, system, medium and terminal for generating data visualization chart and page
AU2012242947A2 (en) Method and system for personalizing images rendered in scenes for personalized customer experience
US11392627B2 (en) Identifying missing nodes within a graphically represented family
US11829393B2 (en) Graphically representing related record families using a phantom parent node
JP2010501944A (en) Drawing interoperability between different computer aided design applications
WO2023279753A1 (en) Method and apparatus for generating atlas component
CN106997613A (en) Generated according to the 3D models of 2D images
Bruschke et al. Towards browsing repositories of spatially oriented historic photographic images in 3D web environments
JP2023079226A (en) Multi-depth image creation and viewing
US6489957B1 (en) Three dimensional geometric modeling system with multiple concurrent geometric engines
Di Blasi et al. Smart Ideas for Photomosaic Rendering.
JP2012049969A (en) Electronic conference device, information display method, and program
Plimmer et al. Beautifying sketching-based design tool content: issues and experiences
CN116932829A (en) Solutions for developer supporting big data tree view components
US8566359B1 (en) Unfolding sparse data sets
Roberts et al. 3d visualisations should not be displayed alone-encouraging a need for multivocality in visualisation
CN110532257B (en) Method and system for visually presenting family tree data
CN117078868B (en) Virtual reality engine based on information creation software and hardware and modeling and rendering method thereof
CN110781654B (en) Method and device for automatically switching multiple types of charts
Rathnavibushana et al. Cross-platform annotation development for real-time collaborative learning

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22836513

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE