CN113495773A - Method and device for generating atlas assembly - Google Patents

Method and device for generating atlas assembly Download PDF

Info

Publication number
CN113495773A
CN113495773A CN202110767341.1A CN202110767341A CN113495773A CN 113495773 A CN113495773 A CN 113495773A CN 202110767341 A CN202110767341 A CN 202110767341A CN 113495773 A CN113495773 A CN 113495773A
Authority
CN
China
Prior art keywords
album
atlas
configuration file
picture data
component
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202110767341.1A
Other languages
Chinese (zh)
Inventor
袁炜海
唐斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gaoding Xiamen Technology Co Ltd
Original Assignee
Gaoding Xiamen Technology Co Ltd
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 Gaoding Xiamen Technology Co Ltd filed Critical Gaoding Xiamen Technology Co Ltd
Priority to CN202110767341.1A priority Critical patent/CN113495773A/en
Publication of CN113495773A publication Critical patent/CN113495773A/en
Priority to PCT/CN2022/080387 priority patent/WO2023279753A1/en
Pending legal-status Critical Current

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The disclosure relates to a generation method and device of an atlas assembly. The method comprises the following steps: acquiring picture data, an album configuration file and at least two album styles of all pictures forming an album; generating the album component from the picture data and the album configuration file according to any one of the at least two album styles. The scheme of the present disclosure can use the same picture data and the same album configuration file to form the album components of different album styles, so that when the album style is changed, the picture data and the album configuration file do not need to be changed, thereby facilitating the style switching of the album components.

Description

Method and device for generating atlas assembly
Technical Field
The present disclosure relates generally to the field of computer technology. More particularly, the present disclosure relates to a method and an apparatus for generating an atlas component.
Background
With the development of WEB UI, in order to provide a user with diversified components for presenting pictures, an album component is widely used. The existing atlas assembly provided for the user may include, for example, a palace lattice assembly, a waterfall flow assembly, a barrel layout assembly, and the like, and these atlas assemblies may respectively present different atlas styles, such as a palace lattice style, a waterfall flow style, a barrel layout style, and the like.
However, these atlas components are independent of each other and have their own data formats and configuration files. Therefore, the styles cannot be switched at will when creating these components. For example, when creating a waterfall flow gallery assembly, if the waterfall flow gallery assembly is replaced by a barrel layout gallery assembly, the data and configuration items of the set waterfall flow gallery assembly need to be deleted first, and then the data and configuration items of the barrel layout gallery assembly need to be added again.
Therefore, how to obtain a method for conveniently changing the style of the atlas is a problem to be solved in the prior art.
Disclosure of Invention
In order to at least partially solve the technical problems mentioned in the background, the present disclosure provides a method and an apparatus for generating an atlas assembly.
According to a first aspect of the present disclosure, the present disclosure provides a method for generating an atlas component, where the method includes: acquiring picture data, an album configuration file and at least two album styles of all pictures forming an album; generating the album component from the picture data and the album configuration file according to any one of the at least two album styles.
Optionally, the acquiring picture data of all pictures constituting the album includes: acquiring pictures from a plurality of different atlas components; converting data of the pictures from the plurality of different album components into a unified data format to form the picture data having a unified data format.
Optionally, the obtaining the atlas configuration file includes: obtaining configuration items from a plurality of different atlas components; merging the configuration items into the atlas configuration file.
Optionally, the generating the album component from the picture data and the album configuration file according to any one of the at least two album styles includes: determining, by a dynamic component, an atlas style of the at least two atlas styles; rendering at least a portion of the configuration items in the atlas configuration file, the determined one atlas style, and the picture data into an atlas component.
According to a second aspect of the present disclosure, there is provided an apparatus for generating an atlas component, where the apparatus comprises: an acquisition module configured to acquire picture data, an album configuration file, and at least two album styles of all pictures constituting an album; a generation module configured to generate the album component from the picture data and the album configuration file according to any one of the at least two album styles.
Optionally, the obtaining module is configured to obtain the picture data of all the pictures forming the album by: acquiring pictures from a plurality of different atlas components; converting data of the pictures from the plurality of different album components into a unified data format to form the picture data having a unified data format.
Optionally, the obtaining module is configured to obtain the atlas configuration file by: obtaining configuration items from a plurality of different atlas components; merging the configuration items into the atlas configuration file.
Optionally, the generating module is configured to generate the album component according to any one of the at least two album styles by using the picture data and the album configuration file as follows: determining, by a dynamic component, an atlas style of the at least two atlas styles; rendering at least a portion of the configuration items in the atlas configuration file, the determined one atlas style, and the picture data into an atlas component.
According to a third aspect of the present disclosure, there is provided an apparatus for generating an atlas assembly, where the apparatus includes a memory and a processor, the memory stores therein a computer program, and the processor executes the computer program to implement the method of the first aspect of the present disclosure.
In another aspect of the present disclosure, the present disclosure provides a computer-readable storage medium, wherein the storage medium stores a computer program, which when executed, implements the method of the first aspect of the present disclosure described above.
By the generation method and the generation device of the atlas assembly, the atlas assembly with different atlas styles can be formed by using the same picture data and the same atlas configuration file, so that when the atlas style is changed, the picture data and the atlas configuration file do not need to be changed, and the style switching of the atlas assembly can be facilitated.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present disclosure will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. In the drawings, several embodiments of the disclosure are illustrated by way of example and not by way of limitation, and like or corresponding reference numerals indicate like or corresponding parts and in which:
FIG. 1 is a flow diagram illustrating a method of generation of an atlas component according to one embodiment of the disclosure;
FIG. 2 is a schematic block diagram illustrating an apparatus for generating an atlas component in accordance with one embodiment of the disclosure.
Detailed Description
The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are some, but not all embodiments of the present disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
In accordance with embodiments of the present disclosure, an atlas component may be a component of a presentation atlas that is appropriate for page design. The page includes, but is not limited to, a web page, an application page, or an operating system section, etc. that enables a user interface of human-computer interaction.
Specific embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
The present disclosure provides a method of generating an atlas assembly. Referring to fig. 1, fig. 1 is a flowchart illustrating a generation method of an atlas component according to one embodiment of the present disclosure. As shown in fig. 1, the method comprises the following steps S101-S102. Step S101: picture data, an album profile, and at least two album styles of all pictures constituting an album are acquired. Step S102: generating the album component from the picture data and the album configuration file according to any one of the at least two album styles.
By the generation method of the atlas assembly, the atlas assembly with different atlas styles can be formed by using the same picture data and the same atlas configuration file, so that when the atlas style is changed, the picture data and the atlas configuration file do not need to be changed, and the style switching of the atlas assembly can be facilitated.
In step S101, picture data, an album profile, and at least two kinds of album styles of all pictures constituting an album may be acquired.
According to an embodiment of the present disclosure, in order to generate an album component, all pictures constituting an album, an album configuration file, and an album style should be acquired first. The album configuration file may include a plurality of configuration items, such as the number of rows of the album, the number of columns of the album, the picture pitch, the picture height, the picture width, the picture rounding, and the like. Additionally, the atlas style may include a palace style, a waterfall flow style, a barrel layout style, and so forth.
Specifically, in one embodiment, the acquiring picture data of all the pictures constituting the album may include: acquiring pictures from a plurality of different atlas components; converting data of the pictures from the plurality of different album components into a unified data format to form the picture data having a unified data format.
In this embodiment, pictures may be taken from a plurality of additional atlas components. For example, since the picture data formats used when different creators create the album component are different or the picture data formats used when the same creator creates the album component at different times are different, after all pictures are acquired, the data formats of the pictures need to be unified. The data format of the picture may be in the form of an object array, for example, and therefore, the order of elements of the object array, the form of each element, and the like need to be adjusted to a uniform format.
In another embodiment, the pictures may be obtained through other approaches, for example, through a gallery, user input, and the like, then the data formats of the pictures are unified as needed, and finally the pictures with the unified data format are obtained.
Further, in one embodiment, the obtaining the atlas configuration file may include: obtaining configuration items from a plurality of different atlas components; merging the configuration items into the atlas configuration file.
In this embodiment, configuration items may be obtained from a plurality of additional atlas components. Because the configuration items used in different atlas components are different, after all the configuration items are obtained, the configuration items can be merged and summarized, so that a required atlas configuration file is formed.
In another embodiment, the configuration items may be obtained through other approaches, such as through common configuration item import, user input, and so on, to form the atlas configuration file.
Further, the atlas styles may be obtained from a plurality of different atlas components, such as obtaining different atlas styles. Of course, many different album styles may be obtained by importing or user input of common album styles.
In step S102, the album component may be generated from the picture data and the album configuration file according to any one of the at least two album styles.
According to an embodiment of the present disclosure, after the picture data, the album configuration file and the at least two album styles are acquired, the album component may be generated by means of the picture data, the album configuration file and the at least two album styles.
Specifically, in one embodiment, the generating the album component from the picture data and the album configuration file according to any one of the at least two album styles may include: determining, by a dynamic component, an atlas style of the at least two atlas styles; rendering at least a portion of the configuration items in the atlas configuration file, the determined one atlas style, and the picture data into an atlas component.
In this embodiment, one of the atlas styles may be determined by the dynamic component of the Vue framework, at the user's option. For the atlas style, the needed configuration items can be determined in the atlas configuration file according to the selection of the user, and the configuration items can be all configuration items or partial configuration items. And finally, rendering the atlas assembly through all picture data, at least one part of configuration items selected in the atlas configuration file and one atlas style selected in at least two pattern modes.
In another embodiment, an atlas style may also be determined randomly. And for such an album style, all configuration items in the album configuration file are used. And finally rendering an atlas assembly through all picture data, all configuration items and an atlas style selected randomly. According to the embodiment, for a user who does not have a clear design concept on the atlas pattern, an atlas component in a random pattern can be generated firstly, and then the user can switch as required.
It can be known from the foregoing embodiments that, when acquiring picture data and acquiring an album configuration file from different album components, by the method for generating an album component of the present disclosure, the album components of different album styles can be combined to generate a new album component, thereby implementing different album styles in the new album component, and the picture data and the album configuration file do not need to be changed when the album style is better.
Referring to fig. 2, fig. 2 is a schematic block diagram illustrating a generation apparatus 100 of an atlas component according to one embodiment of the present disclosure. The apparatus 100 includes an obtaining module 101 and a generating module 102. The acquisition module 101 is configured to acquire picture data of all pictures constituting an album, an album configuration file, and at least two album styles. The generation module 102 is configured for generating the album component from the picture data and the album configuration file according to any one of the at least two album styles.
According to an embodiment of the present disclosure, the obtaining module 101 is configured to obtain picture data of all pictures constituting an album in the following manner: acquiring pictures from a plurality of different atlas components; converting data of the pictures from the plurality of different album components into a unified data format to form the picture data having a unified data format.
According to an embodiment of the present disclosure, the obtaining module 101 is configured to obtain an atlas configuration file by: obtaining configuration items from a plurality of different atlas components; merging the configuration items into the atlas configuration file.
According to an embodiment of the present disclosure, the generating module 102 is configured to generate the album component from the picture data and the album configuration file according to any one of the at least two album styles by: determining, by a dynamic component, an atlas style of the at least two atlas styles; rendering at least a portion of the configuration items in the atlas configuration file, the determined one atlas style, and the picture data into an atlas component.
It is to be understood that, regarding the generation apparatus of the atlas assembly in the embodiment described above with reference to fig. 2, the specific manner in which each module performs the operation has been described in detail in the embodiment of the generation method of the atlas assembly described in conjunction with fig. 1, and will not be elaborated herein.
The embodiment of the present disclosure further provides an atlas component generating apparatus, where the apparatus includes a memory and a processor, where the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented: acquiring picture data, an album configuration file and at least two album styles of all pictures forming an album; generating the album component from the picture data and the album configuration file according to any one of the at least two album styles.
It is understood that the steps implemented when the computer program is executed by the processor are substantially the same as the implementation of the steps in the above method, and the specific manner is described in detail in the embodiment of the generation method of the atlas assembly, and will not be elaborated herein.
In another aspect, the present disclosure provides a computer-readable storage medium, wherein the storage medium stores a computer program that, when executed, implements the steps of: acquiring picture data, an album configuration file and at least two album styles of all pictures forming an album; generating the album component from the picture data and the album configuration file according to any one of the at least two album styles.
It is understood that the steps implemented when the computer program is executed by the processor are substantially the same as the implementation of the steps in the above method, and the specific manner is described in detail in the embodiment of the method for generating the assembly of drawings, and will not be described in detail here.
The embodiments of the present disclosure are described in detail above, and the principles and embodiments of the present disclosure are explained herein by applying specific embodiments, and the descriptions of the embodiments are only used to help understanding the method and the core ideas of the present disclosure; meanwhile, for a person skilled in the art, based on the idea of the present disclosure, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present disclosure should not be construed as a limitation to the present disclosure.
It should be understood that the terms "first" and "second," etc. in the claims, description, and drawings of the present disclosure are used for distinguishing between different objects and not for describing a particular order. The terms "comprises" and "comprising," when used in the specification and claims of this disclosure, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the disclosure herein is for the purpose of describing particular embodiments only, and is not intended to be limiting of the disclosure. As used in the specification and claims of this disclosure, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should be further understood that the term "and/or" as used in the specification and claims of this disclosure refers to any and all possible combinations of one or more of the associated listed items and includes such combinations.
The embodiments of the present disclosure have been described in detail, and the principles and embodiments of the present disclosure are explained herein using specific examples, which are provided only to help understand the method and the core idea of the present disclosure. Meanwhile, a person skilled in the art should, based on the idea of the present disclosure, change or modify the specific embodiments and application scope of the present disclosure. In view of the above, the description is not intended to limit the present disclosure.

Claims (10)

1. A method of generating an atlas component, wherein the method comprises:
acquiring picture data, an album configuration file and at least two album styles of all pictures forming an album;
generating the album component from the picture data and the album configuration file according to any one of the at least two album styles.
2. The generation method of the album component according to claim 1, wherein the acquiring picture data of all the pictures constituting the album comprises:
acquiring pictures from a plurality of different atlas components;
converting data of the pictures from the plurality of different album components into a unified data format to form the picture data having a unified data format.
3. The generation method of the atlas assembly of claim 2, wherein the obtaining the atlas configuration file comprises:
obtaining configuration items from a plurality of different atlas components;
merging the configuration items into the atlas configuration file.
4. The generation method of the album component according to any one of claims 1 to 3, wherein the generating the album component from the picture data and the album configuration file according to any one of the at least two album styles comprises:
determining, by a dynamic component, an atlas style of the at least two atlas styles;
rendering at least a portion of the configuration items in the atlas configuration file, the determined one atlas style, and the picture data into an atlas component.
5. An apparatus for generating an atlas component, wherein the apparatus comprises:
an acquisition module configured to acquire picture data, an album configuration file, and at least two album styles of all pictures constituting an album;
a generation module configured to generate the album component from the picture data and the album configuration file according to any one of the at least two album styles.
6. The apparatus of claim 5, wherein the means for obtaining is configured to obtain the picture data of all the pictures that form the album as follows:
acquiring pictures from a plurality of different atlas components;
converting data of the pictures from the plurality of different album components into a unified data format to form the picture data having a unified data format.
7. The apparatus of generating an atlas component of claim 6, wherein the obtaining module is configured to obtain the atlas configuration file by:
obtaining configuration items from a plurality of different atlas components;
merging the configuration items into the atlas configuration file.
8. The apparatus of generating an atlas component of any of claims 5 to 7, wherein the generating module is to generate the atlas component from the picture data and the atlas configuration file according to any of the at least two atlas styles as follows:
determining, by a dynamic component, an atlas style of the at least two atlas styles;
rendering at least a portion of the configuration items in the atlas configuration file, the determined one atlas style, and the picture data into an atlas component.
9. An apparatus for generating an atlas assembly, wherein the apparatus comprises a memory in which is stored a computer program and a processor which, when executing the computer program, implements the method of any of claims 1-4.
10. A computer-readable storage medium, wherein the storage medium stores a computer program which, when executed, implements the method of any of claims 1-4.
CN202110767341.1A 2021-07-07 2021-07-07 Method and device for generating atlas assembly Pending CN113495773A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110767341.1A CN113495773A (en) 2021-07-07 2021-07-07 Method and device for generating atlas assembly
PCT/CN2022/080387 WO2023279753A1 (en) 2021-07-07 2022-03-11 Method and apparatus for generating atlas component

Applications Claiming Priority (1)

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

Publications (1)

Publication Number Publication Date
CN113495773A true CN113495773A (en) 2021-10-12

Family

ID=77996156

Family Applications (1)

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

Country Status (2)

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

Cited By (1)

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

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110283173A1 (en) * 2009-12-16 2011-11-17 American Greetings Corporation Methods and systems for designing photo books
CN103488749A (en) * 2013-09-24 2014-01-01 长沙裕邦软件开发有限公司 Network electronic album display method and system
CN108932126A (en) * 2017-05-26 2018-12-04 北京国双科技有限公司 A kind of control generation method and device
CN112445477A (en) * 2020-12-09 2021-03-05 浙江源创建筑智能科技有限公司 Vue-based component visualization system and method

Family Cites Families (3)

* 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
CN102419705A (en) * 2011-09-30 2012-04-18 广州杰赛科技股份有限公司 Method and device for generating and managing Web geographic information system (GIS) client control
CN113495773A (en) * 2021-07-07 2021-10-12 稿定(厦门)科技有限公司 Method and device for generating atlas assembly

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110283173A1 (en) * 2009-12-16 2011-11-17 American Greetings Corporation Methods and systems for designing photo books
CN103488749A (en) * 2013-09-24 2014-01-01 长沙裕邦软件开发有限公司 Network electronic album display method and system
CN108932126A (en) * 2017-05-26 2018-12-04 北京国双科技有限公司 A kind of control generation method and device
CN112445477A (en) * 2020-12-09 2021-03-05 浙江源创建筑智能科技有限公司 Vue-based component visualization system and method

Cited By (1)

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

Also Published As

Publication number Publication date
WO2023279753A1 (en) 2023-01-12

Similar Documents

Publication Publication Date Title
JP6953588B2 (en) Systems and methods for automatic conversion of interactive sites and applications that support mobile and other viewing environments
US20220236866A1 (en) Method and system for section-based editing of a website page
CN105373567B (en) Page generation method and client
CN102609256B (en) A kind of Dynamic Graph table generating method based on webpage
CN106339226B (en) A kind of methods of exhibiting and page presentation device of Webpage
CN107704576B (en) Data display optimization method and device, terminal equipment and storage medium
CN110489116A (en) A kind of rendering method of the page, device and computer storage medium
CN111881662A (en) Form generation method, device, processing equipment and storage medium
CN113032708A (en) Code-free Web development system
CN112685025A (en) Method and system for quickly building front-end page
CN113495773A (en) Method and device for generating atlas assembly
CN112015410A (en) Webpage editing method, device and system and computer storage medium
KR101649822B1 (en) Apparatus and method for building web-page
CN111158840A (en) Image carousel method and device
CN116107563A (en) Method and related device for acquiring low-code application program
CN111460770B (en) Method, device, equipment and storage medium for synchronizing element attributes in document
KR101423508B1 (en) Method and System for Providing Font
CN109597845B (en) Report configuration method, report configuration device, computer equipment and storage medium
Erwig et al. Variational Pictures
CN106934847B (en) Pattern generation method and device
KR100762517B1 (en) Web contents display system for realizing a multi-column and the method thereof
CN101436130A (en) Method and system for generating user interface
CN108920042B (en) Form display method, system, storage medium and equipment
WO2014050960A1 (en) Electronic publication creation device, electronic publication creation method, electronic publication perusal system, viewer device, and electronic publication perusal method
CN116225278A (en) Page display method and device, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination