CN111352623A - Page generation method and device - Google Patents

Page generation method and device Download PDF

Info

Publication number
CN111352623A
CN111352623A CN201811565125.3A CN201811565125A CN111352623A CN 111352623 A CN111352623 A CN 111352623A CN 201811565125 A CN201811565125 A CN 201811565125A CN 111352623 A CN111352623 A CN 111352623A
Authority
CN
China
Prior art keywords
page
processed
content
layout
determining
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.)
Granted
Application number
CN201811565125.3A
Other languages
Chinese (zh)
Other versions
CN111352623B (en
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201811565125.3A priority Critical patent/CN111352623B/en
Publication of CN111352623A publication Critical patent/CN111352623A/en
Application granted granted Critical
Publication of CN111352623B publication Critical patent/CN111352623B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Processing Or Creating Images (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The embodiment of the application provides a page generation method and device. The method comprises the steps of obtaining object description information of at least one object to be processed; determining a layout mode of the at least one object to be processed; and constructing at least one page according to the layout mode, and generating the page content of the at least one page based on the object description information of the at least one object to be processed so as to obtain a page file formed by the at least one page. The technical scheme provided by the embodiment of the application improves the page generation efficiency.

Description

Page generation method and device
Technical Field
The embodiment of the application relates to the technical field of computer application, in particular to a page generation method and a page generation device.
Background
With the development and popularization of network technologies, the internet becomes a main medium for people to acquire and exchange information, in particular, the technology of Html5(HyperText Markup Language5, 5 th edition of HyperText Markup Language, abbreviated as H5) appears, information propaganda by using web pages has become a current main trend, and more platforms for providing page production are provided.
At present, a page template is generally used for generating a page, the page template is an abstraction of page contents, which defines page elements contained in the page, the layout of each page element in the page, and the like, the page template is developed and designed by a designer, and a user modifies the element contents of some page elements in the page template according to an object to be publicized, so that a page required by the user can be generated.
Because the user is required to select the page template and modify the content on the basis of the page template, the required page can be generated, and the generation efficiency of the page is not high because of the limitation of the user collocation and layout knowledge.
Disclosure of Invention
The embodiment of the application provides a page generation method and device, which are used for solving the technical problem of low page generation efficiency in the prior art.
In a first aspect, an embodiment of the present application provides a page generation method, including:
the processing end obtains object description information of at least one object to be processed;
determining a layout mode of the at least one object to be processed;
and constructing at least one page according to the layout mode, and generating the page content of the at least one page based on the object description information of the at least one object to be processed so as to obtain a page file formed by the at least one page.
In a second aspect, an embodiment of the present application provides a page generation method, including:
responding to a request operation of a user for at least one object to be processed, and generating a user request;
sending the user request to a processing end so that the processing end can obtain the object description information of the at least one object to be processed; determining a layout mode of the at least one object to be processed, and constructing at least one page according to the layout mode; generating page content of the at least one page based on the object description information of the at least one object to be processed to obtain a page file formed by the at least one page;
and acquiring the page file provided by the processing terminal.
In a third aspect, an embodiment of the present application provides a page generation method, including:
the processing end obtains at least one picture to be processed
Determining a layout mode of the at least one picture to be processed;
and constructing at least one page according to the layout mode, and generating page content of the at least one page based on the at least one picture to be processed so as to obtain a page file formed by the at least one page.
In a fourth aspect, an embodiment of the present application provides a page generation method, including:
the processing end obtains object description information of at least one object to be processed;
generating a page file matched with the at least one object to be processed by utilizing a page classification model based on the object description information of the at least one object to be processed; the page classification model is obtained based on object description information of at least one sample object and training of at least one sample file corresponding to the at least one sample object.
In a fifth aspect, an embodiment of the present application provides a page generating apparatus, including:
the information acquisition module is used for acquiring object description information of at least one object to be processed;
the first layout determining module is used for determining the layout mode of the at least one object to be processed;
and the first content generation module is used for constructing at least one page according to the layout mode and generating the page content of the at least one page based on the object description information of the at least one object to be processed so as to obtain a page file formed by the at least one page.
In a sixth aspect, an embodiment of the present application provides a page generating apparatus, including:
the first request generation module is used for responding to the request operation of a user for at least one object to be processed and generating a user request;
a first request sending module, configured to send the user request to a processing end, so that the processing end obtains object description information of the at least one object to be processed, determines a layout manner of the at least one object to be processed, constructs at least one page according to the layout manner, and generates page content of the at least one page based on the object description information of the at least one object to be processed, so as to obtain a page file formed by the at least one page;
and the first file receiving module is used for acquiring the page file provided by the processing end.
In a seventh aspect, an embodiment of the present application provides a page generating apparatus, including:
a picture acquisition module for acquiring at least one picture to be processed
The second layout determining module is used for determining the layout mode of the at least one picture to be processed;
and the second content generation module is used for constructing at least one page according to the layout mode and generating the page content of the at least one page based on the at least one picture to be processed so as to obtain a page file formed by the at least one page.
In an eighth aspect, an embodiment of the present application provides a page generating apparatus, including:
the information acquisition module is used for acquiring object description information of at least one object to be processed;
the page generation module is used for generating a page file matched with the at least one object to be processed by utilizing a page classification model based on the object description information of the at least one object to be processed; the page classification model is obtained based on object description information of at least one sample object and training of at least one sample file corresponding to the at least one sample object.
In a ninth aspect, an embodiment of the present application provides a processing device, including a processing component and a storage component;
the storage component stores one or more computer instructions; the one or more computer instructions to be invoked for execution by the processing component;
the processing component is to:
acquiring object description information of at least one object to be processed;
determining a layout mode of the at least one object to be processed;
and constructing at least one page according to the layout mode, and generating the page content of the at least one page based on the object description information of the at least one object to be processed so as to obtain a page file formed by the at least one page.
In a tenth aspect, an embodiment of the present application provides a terminal, including a processing component and a storage component;
the storage component stores one or more computer instructions; the one or more computer instructions to be invoked for execution by the processing component;
the processing component is to:
responding to a request operation of a user for at least one object to be processed, and generating a user request;
sending the user request to a processing end, so that the processing end can obtain the object description information of the at least one object to be processed, determine the layout mode of the at least one object to be processed, construct at least one page according to the layout mode, and generate the page content of the at least one page based on the object description information of the at least one object to be processed, so as to obtain a page file formed by the at least one page;
and acquiring the page file provided by the processing terminal.
In an eleventh aspect, an embodiment of the present application provides a processing device, including a processing component and a storage component;
the storage component stores one or more computer instructions; the one or more computer instructions to be invoked for execution by the processing component;
the processing component is to:
obtaining at least one picture to be processed
Determining a layout mode of the at least one picture to be processed;
and constructing at least one page according to the layout mode, and generating page content of the at least one page based on the at least one picture to be processed so as to obtain a page file formed by the at least one page.
In a twelfth aspect, an embodiment of the present application provides a processing device, including a processing component and a storage component;
the storage component stores one or more computer instructions; the one or more computer instructions to be invoked for execution by the processing component;
the processing component is to:
acquiring object description information of at least one object to be processed;
generating a page file matched with the at least one object to be processed by utilizing a page classification model based on the object description information of the at least one object to be processed; the page classification model is obtained based on object description information of at least one sample object and training of at least one sample file corresponding to the at least one sample object.
In the embodiment of the application, firstly, object description information of at least one object to be processed is obtained; determining a layout mode matched with the at least one object to be processed; and constructing at least one page according to the layout mode, and generating the page content of the at least one page based on the object description information of the at least one object to be processed so as to obtain a page file formed by the at least one page. Generally, the embodiment of the application realizes automatic generation of the page and improves the page generation efficiency.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a flow chart illustrating an embodiment of a page generation method provided by the present application;
FIG. 2 is a flow chart illustrating a page generation method according to yet another embodiment of the present application;
FIGS. 3a to 3e are schematic diagrams illustrating interface displays of the embodiment of the present application in a practical application;
FIG. 4 is a flow chart illustrating a further embodiment of a page generation method provided by the present application;
FIG. 5 is a flow chart illustrating a further embodiment of a page generation method provided by the present application;
FIG. 6 is a schematic structural diagram illustrating an embodiment of a page generation apparatus provided in the present application;
FIG. 7 is a schematic diagram illustrating an embodiment of a processing device provided herein;
FIG. 8 is a flowchart illustrating an embodiment of a page generation apparatus provided herein;
FIG. 9 is a schematic diagram illustrating an embodiment of a processing device provided herein;
FIG. 10 is a flow chart illustrating one embodiment of a page generation apparatus provided by the present application;
fig. 11 is a schematic structural diagram illustrating an embodiment of a processing device provided in the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
In some of the flows described in the specification and claims of this application and in the above-described figures, a number of operations are included that occur in a particular order, but it should be clearly understood that these operations may be performed out of order or in parallel as they occur herein, the number of operations, e.g., 101, 102, etc., merely being used to distinguish between various operations, and the number itself does not represent any order of performance. Additionally, the flows may include more or fewer operations, and the operations may be performed sequentially or in parallel. It should be noted that, the descriptions of "first", "second", etc. in this document are used for distinguishing different messages, devices, modules, etc., and do not represent a sequential order, nor limit the types of "first" and "second" to be different.
The embodiment of the application is applied to a page generation scene, for example, an electronic poster aiming at a mobile popularization channel at present can be used for carrying out commodity promotion, job recruitment, making an invitation letter, a mini game and the like.
The page file in the embodiment of the application is composed of at least one page, and can be displayed in a fixed display area of an existing webpage or various clients with browser functions, namely, the page file can be shared and propagated based on a network address of the page file, and the page file can be opened by obtaining the network address through the client, so that the purpose of propaganda is achieved.
In the prior art, it is common to generate a page file using a page template, which is developed by a designer and may include at least one sample page. A sample page is composed of common page elements which can generally comprise background elements, control elements, main body elements, decoration elements and the like, wherein the main body elements are content variable elements and are used for modifying element contents of the main body elements by a user based on relevant information of an object needing promotion, and the background elements, the control elements and the decoration elements in the page template represent the overall style of the page template and are not generally changed. In the prior art, a user makes a page file, needs to select a page template meeting the needs of the user from a large number of page templates, edits each sample page in the page template based on an object needing propaganda, and generates the page file, so that the operation is complex, and the page generation efficiency is influenced.
In order to improve the page generation efficiency, the inventor provides the technical scheme of the embodiment of the application through a series of researches, and in the embodiment of the application, a processing end firstly obtains object description information of at least one object to be processed; determining a layout mode matched with the at least one object to be processed; and constructing at least one page according to the layout mode, and generating the page content of the at least one page based on the object description information of the at least one object to be processed so as to obtain a page file formed by the at least one page. According to the method and the device, the automatic generation of the page is realized, the user does not need to select, modify, submit and the like the template, and the page can be automatically generated only by selecting the object to be processed, so that the page generation efficiency is improved.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a flowchart of an embodiment of a page generation method provided in the embodiment of the present application, and this embodiment describes a technical solution of the present application from a processing end perspective, where the method may include the following steps:
101: object description information of at least one object to be processed is obtained.
The object description information may be in the form of a picture and/or a text, and is used for performing related introduction on the object to be processed, for example, when the object to be processed is a commodity, the object description information may include a commodity picture, a commodity name, a commodity price, a commodity origin, commodity characteristics, and the like, which are described in the form of a text; if the object to be processed is a job, the object description information may include a job name, job properties, job requirements, and the like described in a text form; for another example, when the object to be processed is a coupon, the object description information may include a coupon condition described in a text form, such as 100 yuan minus 50 yuan.
The objects to be processed are all corresponding to object description information.
As an optional manner, the obtaining the object description information of the at least one object to be processed may include:
and acquiring object description information of at least one object to be processed input by a user.
That is, the object description information of each object to be processed may be input by the user.
As another optional mode, the obtaining of the object description information of the at least one object to be processed may include:
acquiring an object identifier of at least one object to be processed input by a user;
and respectively acquiring the object description information of the at least one object to be processed from an object database based on the object identifier of the at least one object to be processed.
Under the condition of communicating with the object database, a user only needs to provide the object identifier of at least one object to be processed, and the object description information of the at least one object to be processed can be obtained from the object database based on the at least one object identifier.
The obtaining of the object identifier of the at least one object to be processed input by the user may include:
outputting prompt information of each of a plurality of objects corresponding to the user identification;
responding to the selection operation of the user for the plurality of prompt messages, and determining at least one selected object to be processed;
and acquiring the object identification of the at least one object to be processed.
102: and determining a layout mode matched with the at least one object to be processed.
Due to the limitation of page size, the main contents of all the objects to be processed may not be fully displayed in one page, and therefore, the layout manner may include the number of pages and the number of object layouts in each page.
Of course, the object layout position in each page and the like may also be included.
As an optional manner, the determining a layout manner that the at least one object to be processed matches may include:
and determining a layout mode matched with the at least one object to be processed based on the number of the at least one object to be processed.
The corresponding relationship between the number of the objects and the layout mode can be preset, and the layout mode matched with the at least one object to be processed can be obtained by searching the corresponding relationship.
In addition, one object number may correspond to a plurality of layout manners, and one layout manner may be randomly selected as a layout manner matched with the at least one object to be processed.
Or selecting the layout mode with the highest user utilization rate from a plurality of layout modes corresponding to the number of the objects as the layout mode matched with the at least one object to be processed.
Of course, it is also possible to search, from a plurality of layout manners corresponding to the number of objects, one layout manner corresponding to at least one object to be processed as a layout manner matched with the at least one object to be processed, in combination with the object category or the object type to which the at least one object to be processed belongs.
Of course, the object category or the object type may also be searched from a plurality of layout manners corresponding to the number of objects, and the layout manner with the highest user utilization rate is used as the layout manner matched with the at least one object to be processed.
103: and constructing at least one page according to the layout mode, and generating the page content of the at least one page based on the object description information of the at least one object to be processed so as to obtain a page file formed by the at least one page.
The page may be specifically an Html5(HyperText Markup Language5, 5 th edition, H5 for short) page, and the H5 page is a high-level web page technology and can support multimedia playing on the mobile device, so that the generated page file can be played on the mobile device. In practical applications, the page file may also be referred to as an electronic poster.
In this embodiment, the layout mode may be automatically determined according to the at least one object to be processed, the at least one page may be constructed according to the layout mode, and the page content of the at least one page may be automatically generated based on the object description information of the at least one object to be processed, so that a page file formed by the at least one page is obtained, a user does not need to participate in editing, automatic generation of the page is achieved, and page generation efficiency is improved.
Wherein the page content of the page is constituted by the element content of at least one page element.
The at least one page element may include at least one body element, and may further include a background element, at least one control element, at least one decoration element, and the like, where the at least one decoration element may include a body decoration element such as a body border, and a background decoration element such as a background tile and a background pattern.
As an optional mode, the layout mode includes the number of pages and the number of objects to be processed in each page layout.
The constructing at least one page according to the layout manner may include:
constructing at least one page according to the number of the pages;
the generating the page content in the at least one page based on the object description information of the at least one object to be processed to obtain the page file composed of the at least one page comprises:
determining at least one layout object corresponding to the page from the at least one object to be processed according to the number of the objects to be processed in the page layout;
and generating page content in the page aiming at the object description information of at least one layout object corresponding to the page.
The processing mode for each page of the at least one page is the same, so that the page content of the at least one page can be generated.
Wherein the at least one object to be processed may be determined based on user input. Therefore, in some embodiments, the determining, according to the number of the objects to be processed in the page layout, at least one layout object corresponding to the page from the at least one object to be processed may be:
and determining at least one layout object corresponding to each page from the at least one object to be processed according to the input sequence of the at least one object to be processed and the number of the objects to be processed in each page layout.
The main body elements in the page include main body picture elements and/or main body pattern elements, and the object description information may include picture information and text information.
Therefore, the generating the page content in the page according to the object description information of the at least one layout object corresponding to the page may include:
generating main picture contents respectively corresponding to the layout objects based on image information of the layout objects aiming at least one layout object corresponding to the page; and/or the presence of a gas in the gas,
generating main body file content corresponding to the layout object based on the text information of the layout object;
background content that matches the at least one subject picture content or the at least one subject document content is determined.
In addition, at least one control matched with at least one main picture content or at least one main file content in the page can be determined;
in addition, the picture modification content of each main picture content, the background modification content of the background content and the like in the page can be determined.
Wherein, the background content may specifically refer to a background picture; the background content matched with the at least one subject picture content or the at least one subject copy content may be a background picture in which a background color is determined to be collocated with a subject color according to a subject color extracted from the at least one subject picture content. The background color of the background picture may refer to a color that occupies the largest area in the background picture.
Wherein, the collocation rules of different colors can be preset.
As another optional mode, the determining a layout mode that the at least one object to be processed matches may include:
and determining a page template matched with the at least one object to be processed and a layout mode corresponding to the page template.
Because some page elements in the page can be unified, a page template can be preset, the page template can set the occupied position and the occupied size of each page element in each page, and in addition, content variable elements and content fixed elements in each page element can be set, for example, the page template is the content variable element for the main element, and the page template can be the content fixed element for the control element, the background element, the decoration element and the like.
The page template can also preset a corresponding layout mode, so that the page template matched with at least one object to be processed is determined, and the layout mode corresponding to the page template can be determined.
Of course, the layout mode corresponding to the page template may be determined based on the number of the at least one object to be processed. The layout mode includes the number of layouts and the number of layout objects per page.
As an optional manner, the determining a page template matched with the at least one object to be processed and a layout manner corresponding to the page template may include:
and according to the object category to which the at least one object to be processed belongs, taking the page template with the highest historical use frequency corresponding to the object category as the page template matched with the at least one object to be processed, and determining the layout mode corresponding to the page template.
In addition, the page template may be classified according to usage scenarios, and therefore, in some embodiments, the method may further include:
acquiring a target use scene input by a user;
the determining of the page template matched with the at least one object to be processed and the layout mode corresponding to the page template may include:
and selecting a page template with the highest historical use frequency from the page templates corresponding to the target use scene as a page template matched with the at least one object to be processed, and determining a layout mode corresponding to the page template.
Of course, it may also be that, from the target usage scene and the page template corresponding to the object category to which the at least one object to be processed belongs, a page template with the highest historical usage frequency is selected as a page template matched with the at least one object to be processed, and a layout manner corresponding to the page template is determined.
As another optional mode, the determining the page template matched with the at least one object to be processed and the layout mode corresponding to the page template may include:
determining a page template matched with the at least one object to be processed by utilizing a template classification model according to the object description information of the at least one object to be processed;
and determining a layout mode corresponding to the page template.
The template classification model may be obtained in advance by training according to the object description information of at least one sample object and at least one page template corresponding to the at least one sample object.
The object description information of the at least one sample object and the at least one page template corresponding to the at least one sample object are used as a training sample for training a template classification model.
Optionally, the at least one page template corresponding to the at least one sample object may be a predetermined page template with the highest matching degree with the at least one sample object.
In addition, the template classification model may be obtained by training specifically according to the object description information of at least one sample object, a plurality of page templates corresponding to the at least one sample object, and the matching degree between the at least one sample object and the plurality of page templates.
That is, the object description information of at least one sample object, a plurality of sample page templates corresponding to the at least one sample object, and the matching degree of the at least one sample object with the plurality of page templates respectively are used as a training sample to train the template classification model. Therefore, the page template which is matched with the at least one object to be processed to the highest degree can be determined through the template classification model.
The template classification model may adopt a currently general classifier, such as a support vector machine, and the like, which is not specifically limited in the present application.
In some embodiments, said building at least one page according to said layout manner includes:
constructing at least one page corresponding to the page template according to the layout mode of the page template;
the generating the page content of the at least one page based on the object description information of the at least one object to be processed includes:
determining at least one layout object corresponding to the at least one page from the at least one object to be processed according to the layout mode of the page template;
and determining the element content of each page element in the page based on the object description information of at least one layout object corresponding to the page.
In some embodiments, the determining the element content of each page element in the page based on the object description information of the at least one layout object corresponding to the page includes:
determining content variable elements and content fixed elements in the page;
generating element contents of content variable elements in the page based on object description information of at least one layout object corresponding to the page;
and determining the element content of the content fixed element in the page set by the page template.
The element contents of the content variable elements and the element contents of the content fixed elements of the page constitute the page contents of the page, so that a pagefile constituted by the at least one page can be obtained.
Wherein the content variable element may comprise a subject picture element and/or a subject document element; the object description information may include picture information and text information;
therefore, in some embodiments, the generating element content of the content variable element in the page based on the object description information of the at least one layout object corresponding to the page may include:
respectively generating main picture contents corresponding to the at least one layout object based on the image information of the at least one layout object; and/or the presence of a gas in the gas,
and respectively generating main file contents corresponding to the at least one layout object based on the text information of the at least one layout object.
Optionally, the generating the subject picture content corresponding to the at least one layout object based on the image information of the at least one layout object may include:
respectively identifying target contents in the picture information of the at least one layout object;
and according to the size of the main picture element in the page corresponding to the at least one layout object, respectively cutting the picture information of the at least one layout object to obtain the main picture content including respective target content corresponding to the at least one layout object.
The target content may refer to picture content at least including the layout object in the picture information. For example, when the layout object is a commodity such as clothes, the picture information is usually an effect picture of the clothes worn by a human body, and in order to better embody the effect of the layout object, the target content including a human face and the layout object may be identified based on a face recognition technology.
Optionally, the main document content may be abstract content or key content in the extracted text information, or the main document content matched with the extracted text information may be determined according to the meaning conveyed by the text information, specifically, for example, the main document content corresponding to different keywords may be preset, and the corresponding main document content may be determined by identifying the keywords in the text information.
After the content of each page element in the page is determined, the style characteristics of the page element may also be adjusted, such as shape, color, and the like.
Thus, in certain embodiments, the method may further comprise:
determining the page style of the page based on the object description information of at least one layout object corresponding to the page;
and adjusting the page according to the page style of the page. The element content of each page element in the page may specifically be adjusted.
Optionally, the page style may include a coloring scheme of at least one page element in a page; the at least one page element is a color-allocable element, for example, may include a background element, and the background color may be re-colored; control elements can also be included, and the colors of the controls can be re-matched; the color-changing machine can also comprise a modification element, and the modification element can be subjected to color re-matching;
the determining the page style in the page based on the object description information of the at least one layout object corresponding to the page may include:
identifying a main body color of at least one layout object corresponding to the page based on picture information of the at least one layout object;
determining a background color based on the subject color;
and determining a coloring scheme corresponding to at least one page element in the page according to the coloring rule corresponding to the background color.
In some embodiments, said determining a background color based on said subject color comprises:
deriving a plurality of associated colors according to at least one color matching rule;
selecting a background color from the plurality of associated colors.
Of course, the subject color may also be used as the determination background color.
In addition, the background color can also be obtained according to the main body color and a color matching rule displayed by contrasting with the main body color.
Wherein the at least one color matching rule may include a monochromatic color matching rule, a neighboring color matching rule, a contrasting color matching rule, a gradient color matching rule, a general color matching rule, and the like.
Based on each color matching rule, at least one associated color may be derived from the body color to obtain the plurality of associated colors, wherein the plurality of colors may include the body color.
The monochrome color matching rule refers to a rule for obtaining derivative colors by adjusting the brightness and saturation of the main color.
The adjacent color matching rule is a rule that a derivative color is obtained at a distance of 30 degrees from a hue ring of a main color or at a distance of five or six digits;
a contrasting color matching rule, which refers to a rule of derivative colors obtained at a distance of 120 to 180 degrees from the 24-color phase circle of the body color;
the gradual change color matching rule is a rule for obtaining derivative colors by adjusting the hue of a main color;
common color matching rules, namely, refer to black, white, and gray.
Wherein, one associated color can be arbitrarily selected from the plurality of associated colors as a background color; of course, the plurality of associated colors may also be recommended to the user, and the associated color selected by the user may be used as the background color.
The at least one page element at least comprises a background element, and the coloring rule also specifies that the coloring color of the at least one page element is based on different background colors.
Therefore, according to the coloring rule corresponding to the background color, the coloring scheme corresponding to at least one page element in the page can be determined.
The coloring scheme also includes the color of the at least one page element, so that the display color of the at least one page element in the page can be updated according to the coloring scheme.
Wherein the coloring rule may be preset based on readability of element contents of the respective page elements.
For example, at least one page element includes a background element, a control element, a tile element (a background decoration element), a fragment element (a background decoration element), a body pattern element, and the like, and one coloring rule may be: if the background color is m, if the color of the patch element is white and m is not white, the color of the patch element is not changed, otherwise, the similar color a of m is used as the color of the patch element; the fragment elements use the similar color of m as the color of the fragment elements; the main cultural relic element is a color b with strong readability relative to the background color and is used as the color of the main cultural relic element; the control element uses the contrasting color c of m as the color of the control element.
Furthermore, in some embodiments, the determining the page style of the page based on the object description information of the at least one layout object corresponding to the page includes:
determining the page style of the page by using a style classification model based on the object description information of at least one layout object corresponding to the page; the style classification model is obtained based on object description information of at least one sample object and at least one page style training corresponding to the at least one sample object.
Optionally, the style classification model may be obtained by training based on object description information of at least one sample, multiple page styles corresponding to the at least one sample object, and degrees of matching between the at least one sample object and the multiple page styles, respectively.
Furthermore, there may be more than one page style for a page, and thus, in some embodiments, the method may further comprise:
determining at least one group of page styles matched with the at least one object to be processed based on the object description information of the at least one object to be processed; each group of page styles comprises page styles respectively corresponding to the at least one page; the page style comprises style characteristics of element contents of each page element; the page styles of the pages in each group of page styles can be the same or different.
And respectively carrying out style adjustment on the at least one page in the page files according to the at least one group of page styles to obtain at least one target file.
That is, after the style of the page file is adjusted according to different page styles, at least one target file can be obtained.
In addition, the obtained at least one target file can be recommended to the user and then selected by the user. Thus, in certain embodiments, the method may further comprise:
recommending the at least one target file to a user;
and generating sharing prompt information based on the network address of the target file selected by the user.
The sharing prompt message may be used to obtain the network address, and open the target file based on the network address.
The sharing prompt information can include an information carrier bearing the network address, such as a two-dimensional code, and the network address is obtained by scanning the two-dimensional code and identifying through a client, that is, a page file corresponding to the network address can be opened.
Wherein the at least one page may include a cover page and at least one content page; in some embodiments, the determining at least one set of page styles matching the at least one object to be processed based on the object description information of the at least one object to be processed may include:
determining a target object of a corresponding cover page in the at least one object to be processed;
determining at least one cover page style matched with the target object based on the object description information of the target object;
determining content page styles matched with each cover page style;
a group of page styles consisting of each cover page style and a content page style matched with the cover page style are obtained, and at least one group of page styles are obtained.
The content page style may be the same as the closed page style, and certainly, the content page style corresponding to the different cover page style may be preset.
In one practical application, the page style may include a coloring scheme; the object description information comprises picture information;
the determining, based on the object description information of the target object, at least one cover page style that matches the target object comprises:
identifying a subject color of the target object based on the picture information of the target object;
determining a cover page background color based on the body color of the target object;
and determining a coloring scheme aiming at least one page element in the cover page according to a coloring rule corresponding to the background color of the cover page.
The main color of the target object may refer to a color occupying the largest area in the target object.
Wherein, based on the body color of the target object, determining the cover page background color may be:
deriving a plurality of associated colors according to at least one color matching rule;
selecting at least one color from the plurality of associated colors as a cover page background color;
of course, the body color of the target object may be used as the cover page background color.
Further, in some embodiments, the determining a content page style that matches each cover page style may include:
determining a content page background color matching each cover page background color;
and determining a coloring scheme corresponding to each visual element in the content page according to a coloring rule corresponding to the background color of each content page.
The coloring rule and the corresponding explanation of the color matching rule have been described above, and are not described herein again.
In order to improve user experience, the page content of each page in the page file can be modified.
Thus, in certain embodiments, the method may further comprise:
displaying at least one page of the page file in a client;
receiving a modification request of a user for any page element in any page;
updating the element content of any page element according to the modification request to obtain an updated file of the page file;
and generating sharing prompt information based on the network address of the updated file.
Optionally, the sharing prompt information is further used for displaying at the client, so as to facilitate the user to view.
The sharing prompt information may include an information carrier bearing the network address, such as a two-dimensional code, and the network address is obtained by scanning the two-dimensional code and identifying through the client, that is, the page file corresponding to the network address may be opened.
Further, when obtaining at least one target document through page style modification, in some embodiments, the method may further include:
displaying cover pages of the at least one target file in a client;
determining cover pages of any target file selected by a user;
displaying at least one page of any one target file in a client;
receiving a modification confirmation request of a user for any page element in any page;
updating the element content of any page element according to the modification confirmation request to obtain an updated file of any target file;
and generating sharing prompt information based on the network address of the updated file.
The modification confirmation request may include modification content for the any one page element, so that the element content of the any one page element may be updated based on the modification content.
In addition, as another embodiment, a page file is generally composed of a cover page and at least one content page, and since the cover page can represent the overall style of a page file, the cover page can be generated first to be confirmed by a user, and then the content page can be generated after the user confirms.
Therefore, the page generation method shown in fig. 2 may include the following steps:
201: object description information of at least one object to be processed is obtained.
202: and determining the layout mode of the at least one object to be processed.
The operations from step 201 to step 202 can be seen from step 101 to step 102 in the embodiment shown in fig. 1.
203: determining a target object of the at least one object to be processed.
204: and determining at least one cover page style according to the object description information of the target object.
Wherein, the page style may refer to a coloring scheme.
Thus, determining at least one cover page style that matches the target object based on the object description information of the target object may include:
identifying a subject color of the target object based on the picture information of the target object;
deriving a plurality of associated colors according to at least one color matching rule based on the main body color;
selecting at least one color from the plurality of associated colors as a cover page background color;
and determining a coloring scheme corresponding to at least one page element in the cover page according to a coloring rule corresponding to the background color of each cover page.
205: constructing at least one cover page according to the style of the at least one cover page;
206: and generating page content of the at least one cover page according to the object description information of the target object.
When the layout manner is determined with the page template of at least one object to be processed, step 206 may specifically determine the content variable elements and the content fixed elements in the cover page;
generating element contents of the content variable elements in the page based on the object description information of the target object;
and determining the element content of the content fixed element of the page set by the page template.
The page content of the cover page may be generated in the manner described above with reference to the page content of one page, which is not described herein again.
207: recommending the at least one cover page to the user.
The at least one cover page may be presented in the client.
208: and determining a target cover page selected by the user from the at least one cover page.
209: determining a content page style that matches a cover page style of the target cover page.
210: and constructing at least one content page according to the layout mode and the content page style.
211: and generating the page content of the at least one content page according to the object description information of the object to be processed corresponding to the at least one content page so as to obtain a page file formed by the at least one page.
In addition, the method may further include:
displaying at least one page of the page file in a client;
receiving a modification confirmation request of a user for any page element in any page;
updating the element content of any page element according to the modification confirmation request to obtain an updated file of the page file;
and generating sharing prompt information based on the network address of the updated file.
Furthermore, in some embodiments, the constructing at least one page according to the layout manner, and generating the page content of the at least one page based on the object description information of the at least one object to be processed may include:
constructing at least one page according to the layout mode, and determining at least one layout object corresponding to the at least one page from the at least one object to be processed;
and generating the page content and the page style of the page by using a content classification model aiming at the object description information of at least one layout object corresponding to the page so as to obtain a page file consisting of at least one page.
The content classification model is obtained in advance according to object description information of at least one sample object and at least one sample page corresponding to the at least one sample object.
Optionally, the object description information of at least one sample object, at least one sample page corresponding to the at least one sample object, and the matching degree between the at least one sample object and the at least one sample page respectively may be used as a training sample to train the content classification model.
The sample page can be obtained by human editing based on the object description information of at least one sample object, and includes page content, page style, and the like.
In addition, an embodiment of the present application further provides a page generation method, where this embodiment describes the technical solution of the present application from a client perspective, and the method may include the following steps:
responding to a request operation of a user for at least one object to be processed, and generating a user request;
sending the user request to a processing end, so that the processing end can obtain the object description information of the at least one object to be processed, determine the layout mode of the at least one object to be processed, construct at least one page according to the layout mode, and generate the page content of the at least one page based on the object description information of the at least one object to be processed, so as to obtain a page file formed by the at least one page;
and acquiring the page file provided by the processing terminal.
In some embodiments, after sending the user request to the processing terminal in response to the user request operation for the at least one object to be processed, the method may further include:
displaying at least one page in the page file;
responding to modification operation aiming at any page element in any page, sending a modification confirmation request to a processing end, so that the processing end updates the element content of any page element according to the modification confirmation request, obtains an update file of the page file, and generates sharing prompt information based on the network address of the update file;
receiving the sharing prompt information sent by the processing terminal;
and displaying the sharing prompt information.
In some embodiments, the processing end is further configured to determine at least one group of page styles matched with the at least one object to be processed based on the object description information of the at least one object to be processed, and perform style adjustment on pages in the page files according to the at least one group of page styles, to obtain at least one target file;
the method may further comprise:
displaying a cover page of each target file;
responding to the selected operation of cover pages of any target file, and requesting to acquire at least one page of any target file from a processing terminal;
displaying at least one page of any one target file;
responding to modification operation aiming at any page element in any page, sending a modification confirmation request to a processing end, so that the processing end updates the element content of any page element according to the modification confirmation request to obtain an update file of any target file, and generating sharing prompt information based on the network address of the update file;
receiving the sharing prompt information sent by the processing terminal;
and displaying the sharing prompt information.
In some embodiments, the processing terminal is specifically configured to determine a target object in the at least one object to be processed, determine at least one cover page style according to object description information of the target object, construct at least one cover page according to the at least one cover page style, and generate page content of the at least one cover page according to the object description information of the target object;
the method may further comprise:
displaying the at least one cover page;
and responding to the selected operation aiming at the at least one cover page, sending the selected target cover page to a processing end so that the processing section can determine a content page style matched with the cover page style of the target cover page, constructing at least one content page according to the layout mode and the content page style, and generating the page content of the content page according to the object description information of the object to be processed corresponding to the content page.
In some embodiments, the generating a user request in response to a user request operation for at least one object to be processed may include:
generating a user request comprising the object identification of at least one object to be processed in response to the object identification of the at least one object to be processed input by a user; the object identifier of the at least one object to be processed is used for the processing end to respectively acquire the object description information of the at least one object to be processed from an object database based on the object identifier of the at least one object to be processed.
In a practical application, the technical solution of the embodiment of the application can be applied to a scene of store product publicity in an e-commerce environment, and the object to be processed can refer to a product provided by a store, and can also include a coupon provided by the store. For the commodity, the object description information may describe, in the form of a picture or text, a commodity name, a commodity title, a commodity price, the store-related information (related introduction information such as a brand, a promotion activity, and a business style), a commodity category, a commodity picture, and the like.
For the coupon, the object description information may be a coupon rule or the like described in a text form.
Wherein the object description information can be input by a user or obtained from a database based on an object identification provided by the user.
In order to guide the user to make a page, the server may display object selection prompt information of different object types in the client, for example, in a partial interface display schematic diagram of a display interface of the client shown in fig. 3a, commodity selection prompt information 301 and coupon selection prompt information 302 corresponding to a commodity and a coupon respectively are respectively displayed, and are respectively used for prompting the user to perform commodity selection and coupon selection;
for a user operation of selecting the prompt information for any object, the server may select an object type corresponding to the prompt information according to any object, and output at least one object prompt information corresponding to the object type in the client, as shown in fig. 3b, for a user operation of selecting the prompt information for a commodity, at least one commodity prompt information 303 may be displayed at the client, wherein a store identifier corresponding to the user identifier may be determined based on the user identifier, all commodities corresponding to the store identifier may be determined based on the store identifier, and further commodity prompt information for all commodities may be output at the client, so that the user may select the commodity to be advertised from.
The user can operate (for example, click) the at least one item prompt message, the server can determine the selected item, and the user operation for selecting the coupon prompt message can output the at least one coupon prompt message, so that the user can determine the selected coupon by operating the at least one coupon prompt message.
The selected commodity and the selected coupon are used as at least one object to be processed, the server can obtain object description information of the at least one object to be processed according to the object identifier of the at least one object to be processed, and then the server can automatically generate a page file formed by at least one page by combining the layout mode corresponding to the at least one object to be processed and the object description information.
Because the style characteristics such as the color or the shape of the page element can be changed, the server side can also carry out the style characteristics on the page element in the page file based on at least one group of page styles, so as to obtain at least one target file corresponding to the at least one group of page styles.
Since the cover pages in the target file can represent the overall style of the target file, the server can display the respective cover pages of the at least one target file in the client for the user to browse, search and select. Of course, it is also possible to first determine a target object of the at least one object to be processed, i.e. a target item located on the cover. Determining at least one cover page style according to the object description information of the target object, such as determining at least one coloring scheme according to the body color of the target object; therefore, at least one cover page can be constructed according to the style of the at least one cover page, then the page content of the at least one cover page is generated according to the object description information of the target object, for example, the commodity picture of the target commodity is cut to obtain the main picture content, and the main file content is extracted from the text information describing the relevant characteristics of the target commodity, so that the at least one cover page can be firstly recommended to a user, the user can conveniently screen the target cover page, and then other content pages are continuously manufactured.
At least one cover page 304 is illustrated as shown in FIG. 3c (due to screen size constraints, only a portion of the cover page is shown in the display interface, and other cover pages can be viewed by flipping)
The user may select any cover page in combination with his aesthetic appeal.
In addition, in order to improve the user experience, the user may also adjust the page elements of any selected target file, and therefore, the service end may display at least one page of any selected target file in the client based on any selected target file, as shown in fig. 3d, and display at least one page 305 of any selected target file in the client (due to the screen size limitation, all pages may be viewed in a page-turning manner, and a cover page is shown in fig. 3 d).
The user can directly operate the page elements in the at least one page to modify.
Of course, as shown in fig. 3d, the server may also output modification prompt information 306 for the page. The modification prompt information may be for the main document element, so that the modification input box for the main document element may be output, so that the user may modify the document in the modification input box, and the modification prompt information may also include the modification prompt information for the background element or other page elements.
After the user finishes modifying, a confirmation button or the like can be operated to trigger a modification confirmation request, which can include modified content for any page element, so that the server can update the element content of any page element based on the modification confirmation request to obtain an updated file of any target file; and then based on the network address of the updated file, the sharing prompt information can be generated and displayed in the client.
As shown in fig. 3e, the sharing prompt message may include an information carrier bearing the network address, such as the two-dimensional code 307, and may also include a browsing control 308 to perform a process on at least one page of the update file, and of course, may also include other information, such as a network address link, a re-edit button, and the like, which is the same as in the prior art and is not described herein again.
Fig. 4 is a flowchart of another embodiment of a page generation method provided in an embodiment of the present application, where the method may include the following steps:
401: object description information of at least one object to be processed is obtained.
The operation of step 401 may refer to the operation of step 101 in the embodiment shown in fig. 1, and is not described herein again.
402: and generating a page file matched with the at least one object to be processed by utilizing a page classification model based on the object description information of the at least one object to be processed.
Wherein the page classification model is obtained based on training with at least one sample file generated based on object description information of at least one sample object.
In the embodiment, the page classification model obtained by pre-training is utilized, and based on the object description information of the at least one object to be processed, the page file matched with the at least one object to be processed can be automatically generated, so that the automatic generation of the page is realized, the user does not need to participate in editing, the automatic generation of the page is realized, and the page generation efficiency is improved.
Optionally, the object description information of at least one sample object and at least one sample file corresponding to the at least one sample object may be used as a training sample to train the page classification model.
Wherein, only one sample file with the highest matching degree of at least one sample object can be involved in training.
In addition, as another optional manner, the page classification model is obtained by specifically training as follows:
obtaining object description information of at least one sample object;
obtaining a plurality of sample files corresponding to the at least one sample object;
determining the matching degree of the plurality of sample files with the at least one sample object respectively;
and taking the object description information of the at least one sample object, the plurality of sample files and the matching degree of the plurality of sample files with the at least one sample object as a training sample to train a page classification model.
The sample files of the at least one sample object may be obtained by human editing, for example, based on the object description information of the at least one sample object, a plurality of page templates are selected, and the sample files are obtained by editing using the page templates.
Wherein, the matching degree of the plurality of sample files with the at least one sample object respectively can be obtained by artificial scoring, and the like.
Further, in some embodiments, the method may further comprise:
displaying at least one page of the page file in a client;
receiving a modification confirmation request of a user for any page element in any page;
updating the element content of any page element according to the modification confirmation request to obtain an updated file of the page file;
and generating sharing prompt information based on the network address of the updated file.
In addition, as another embodiment, an embodiment of the present application further provides a page generating method, which describes the technical solution of the present application from the perspective of a client, and the method may include the following steps:
responding to a request operation of a user for at least one object to be processed, and generating a user request;
sending the user request to a processing end so that the processing end can obtain the object description information of the at least one object to be processed, and generating a page file matched with the at least one object to be processed by using a page classification model; the page classification model is obtained based on object description information of at least one sample object and training of at least one sample file corresponding to the at least one sample object;
and acquiring the page file provided by the processing terminal.
In some embodiments, after sending the user request to the processing terminal in response to the user request operation for the at least one object to be processed, the method may further include:
displaying at least one page in the page file;
responding to modification operation aiming at any page element in any page, sending a modification confirmation request to a processing end, so that the processing end updates the element content of any page element according to the modification confirmation request, obtains an update file of the page file, and generates sharing prompt information based on the network address of the update file;
receiving the sharing prompt information sent by the processing terminal;
and displaying the sharing prompt information.
In some embodiments, the generating a user request in response to a user request operation for at least one object to be processed may further include:
generating a user request comprising the object identification of at least one object to be processed in response to the object identification of the at least one object to be processed input by a user; the object identifier of the at least one object to be processed is used for the processing end to respectively acquire the object description information of the at least one object to be processed from an object database.
In addition, as another embodiment, as shown in fig. 5, the present application further provides a page generating method, which describes the technical solution of the present application from the perspective of a processing end, and the method may include the following steps:
501: and acquiring at least one picture to be processed.
Wherein, one picture to be processed may correspond to one object to be processed.
The at least one to-be-processed picture can be input by a user or acquired from a picture database based on an object identifier of the at least one to-be-processed object input by the user.
502: and determining the layout mode of the at least one picture to be processed.
503: and constructing at least one page according to the layout mode, and generating page content of the at least one page based on the at least one picture to be processed so as to obtain a page file formed by the at least one page.
In the embodiment, the user only needs to provide the picture to be processed, the page file can be automatically generated, editing and adjusting are not needed, and the page generation efficiency is improved.
In some embodiments, the determining a layout manner of the at least one to-be-processed picture includes:
and determining a page template matched with the at least one picture to be processed and a layout mode corresponding to the page template.
In some embodiments, the constructing at least one page according to the layout manner, and generating page content of the at least one page based on the at least one to-be-processed picture to obtain a page file composed of the at least one page includes:
constructing at least one page corresponding to the page template according to the layout mode of the page template;
determining at least one layout picture corresponding to the at least one page from the at least one picture to be processed according to the layout mode of the page template;
and determining the element content of each page element in the page based on at least one layout picture corresponding to the page.
In some embodiments, the determining the element content of each page element in the page based on the at least one layout picture corresponding to the page includes:
determining content variable elements and content fixed elements in the page;
generating element content of content variable elements in the page based on at least one layout picture corresponding to the page;
and determining the element content of the content fixed element in the page set by the page template.
In some embodiments, the content variable element comprises a subject picture element;
the generating element contents of the content variable elements in the page based on the at least one layout picture corresponding to the page comprises:
respectively identifying target content in at least one layout picture corresponding to the page;
and according to the size of the main picture element corresponding to the at least one layout picture, respectively cutting the picture information of the at least one layout object to obtain the main picture content including respective target content corresponding to the at least one layout picture.
In certain embodiments, the method may further comprise:
determining the page style of the page based on the object description information of at least one layout object corresponding to the page;
and adjusting the page according to the page style of the page.
In some embodiments, the determining the page style of the page based on the object description information of the at least one layout object corresponding to the page may further include:
identifying a main body color in at least one layout picture based on the at least one layout picture corresponding to the page;
determining a background color based on the subject color;
and determining a coloring scheme corresponding to at least one page element in the page according to the coloring rule corresponding to the background color.
In some embodiments, the method may further comprise:
determining at least one group of page styles matched with the at least one picture to be processed based on the at least one picture to be processed; each group of page styles comprises a page style corresponding to the at least one page;
and respectively carrying out style adjustment on the at least one page in the page files according to the at least one group of page styles to obtain at least one target file.
Further, the method may further include:
recommending the at least one target file to a user;
and generating sharing prompt information based on the network address of any one target file selected by the user.
In some embodiments, the method may further comprise:
displaying cover pages of the at least one target file in a client;
determining cover pages of any target file selected by a user;
displaying at least one page of any one target file in a client;
receiving a modification confirmation request of a user for any page element in any page;
updating the element content of any page element according to the modification confirmation request to obtain an updated file of any target file;
and generating sharing prompt information based on the network address of the updated file.
In some embodiments, the at least one page includes a cover page and at least one content page;
the determining, based on the at least one picture to be processed, at least one group of page styles matching the at least one picture to be processed may further include:
determining a target picture of a corresponding cover page in the at least one picture to be processed;
determining at least one cover page style matched with the target picture based on the target picture;
determining content page styles matched with each cover page style;
a group of page styles consisting of each cover page style and a content page style matched with the cover page style are obtained, and at least one group of page styles are obtained.
In some embodiments, the page style includes a coloring scheme;
the determining, based on the target picture, at least one cover page style that matches the target picture may further comprise:
identifying a subject color of the target picture;
deriving a plurality of associated colors according to at least one color matching rule based on the main body color of the target picture;
selecting at least one color from the plurality of associated colors as a cover page background color;
and determining a coloring scheme corresponding to at least one page element in the cover page according to a coloring rule corresponding to the background color of each cover page.
It should be noted that, the same or similar steps in the embodiment shown in fig. 5 as those in the above embodiments may be specifically referred to the steps shown in the above embodiments, and will not be repeated herein.
In addition, as another embodiment, the present application further provides a page generation method, which is described in this embodiment from the perspective of a client, and the method may include:
responding to a request operation of a user for at least one graph to be processed, and generating a user request;
sending the user request to a processing end to enable the processing end to obtain at least one picture to be processed, determining a layout mode of the at least one picture to be processed, constructing at least one page according to the layout mode, and generating page content of the at least one page based on the at least one picture to be processed to obtain a page file formed by the at least one page;
and acquiring the page file provided by the processing terminal.
In some embodiments, the method may further comprise:
displaying at least one page in the page file;
responding to modification operation aiming at any page element in any page, sending a modification confirmation request to a processing end, so that the processing end updates the element content of any page element according to the modification confirmation request, obtains an update file of the page file, and generates sharing prompt information based on the network address of the update file;
receiving the sharing prompt information sent by the processing terminal;
and displaying the sharing prompt information.
In some embodiments, the processing terminal is further configured to determine, based on the at least one to-be-processed picture, at least one group of page styles matched with the at least one to-be-processed picture, and perform style adjustment on the at least one page in the page file according to the at least one group of page styles, to obtain at least one target file;
the method further comprises the following steps:
displaying a cover page of each target file;
responding to the selected operation of cover pages of any target file, and requesting to acquire at least one page of any target file from a processing terminal;
displaying at least one page of any one target file;
responding to modification operation aiming at any page element in any page, sending a modification confirmation request to a processing end, so that the processing end updates the element content of any page element according to the modification confirmation request to obtain an update file of any target file, and generating sharing prompt information based on the network address of the update file;
receiving the sharing prompt information sent by the processing terminal;
and displaying the sharing prompt information.
In some embodiments, the processing terminal is specifically configured to determine a target picture in the at least one to-be-processed picture, determine at least one cover page style according to the target picture, construct at least one cover page according to the at least one cover page style, and generate page content of the at least one cover page according to the target picture;
the method further comprises the following steps:
displaying the at least one cover page;
and responding to the selected operation aiming at the at least one cover page, sending the selected target cover page to a processing end so that the processing section can determine a content page style matched with the cover page style of the target cover page, constructing at least one content page according to the layout mode and the content page style, and generating the page content of the content page according to the object description information of the object to be processed corresponding to the content page.
Fig. 6 is a schematic structural diagram of an embodiment of a page generating apparatus provided in the embodiment of the present application, where the apparatus may include:
an information obtaining module 601, configured to obtain object description information of at least one object to be processed;
a first layout determining module 602, configured to determine a layout manner of the at least one object to be processed;
the first content generating module 603 is configured to construct at least one page according to the layout manner, and generate page content of the at least one page based on the object description information of the at least one object to be processed, so as to obtain a page file formed by the at least one page.
In some embodiments, the layout determining module may be specifically configured to determine a page template matched with the at least one object to be processed and a layout manner corresponding to the page template.
In some embodiments, the content generation module is specifically configured to:
constructing at least one page corresponding to the page template according to the layout mode of the page template;
determining at least one layout object corresponding to the at least one page from the at least one object to be processed based on the layout mode of the page template;
and determining the element content of each page element in the page based on the object description information of at least one layout object corresponding to the page.
In some embodiments, the content generation module determines, based on the object description information of at least one layout object corresponding to the page, the element content of each page element in the page, specifically, a content variable element and a content fixed element in the page; generating element contents of content variable elements in the page based on object description information of at least one layout object corresponding to the page; and determining the element content of the content fixed element in the page set by the page template.
In certain embodiments, the content-variable element comprises a subject picture element and/or a subject document element; the object description information comprises picture information and text information;
the content generating module generates element contents of content variable elements in the page based on the object description information of at least one layout object corresponding to the page, and the element contents can be specifically used for respectively generating main picture contents corresponding to the at least one layout object based on the image information of the at least one layout object; and/or the presence of a gas in the gas,
and respectively generating main file contents corresponding to the at least one layout object based on the text information of the at least one layout object.
In some embodiments, the apparatus may further comprise:
the first style determining module is used for determining the page style of the page based on the object description information of at least one layout object corresponding to the page; and adjusting the page according to the page style of the page.
In some embodiments, the page style includes a coloring scheme;
the first style determination module determines that the style of the page in the page can be specifically based on picture information of at least one layout object corresponding to the page, and identifies a main body color of the at least one layout object based on object description information of the at least one layout object corresponding to the page; determining a background color based on the subject color; and determining a coloring scheme corresponding to at least one page element in the page according to the coloring rule corresponding to the background color.
Optionally, the first style determination module determines the background color based on the body color, specifically, derives a plurality of associated colors according to at least one color matching rule based on the body color; selecting from the plurality of associated colors.
In some embodiments, the first style determining module is specifically configured to determine a page style of the page by using a style classification model based on object description information of at least one layout object corresponding to the page; the style classification model is obtained based on object description information of at least one sample object and page style training corresponding to the at least one sample object.
In some embodiments, the content generation module generates, based on the image information of the at least one layout object, subject picture content corresponding to the at least one layout object, respectively, which may specifically be target content in the picture information of the at least one layout object, respectively; and according to the size of the main body element in the page corresponding to the at least one layout object, respectively cutting the picture information of the at least one layout object to obtain main body picture contents including respective target contents corresponding to the at least one layout object.
In some embodiments, the apparatus may further comprise:
the second style determining module is used for determining at least one group of page styles matched with the at least one object to be processed based on the object description information of the at least one object to be processed; each group of page styles comprises a page style corresponding to the at least one page; and respectively carrying out style adjustment on the at least one page in the page files according to the at least one group of page styles to obtain at least one target file.
In some embodiments, the at least one page includes a cover page and at least one content page;
the second style determination module determines at least one group of page styles matched with the at least one object to be processed based on the object description information of the at least one object to be processed, specifically, determines a target object of a corresponding cover page in the at least one object to be processed; determining at least one cover page style matched with the target object based on the object description information of the target object; determining content page styles matched with each cover page style; a group of page styles consisting of each cover page style and a content page style matched with the cover page style are obtained, and at least one group of page styles are obtained.
In some embodiments, the page style includes a coloring scheme; the object description information comprises picture information;
the second style determination module may specifically determine, based on the object description information of the target object, at least one style of cover pages matched with the target object, to be:
identifying a subject color of the target object based on the picture information of the target object;
deriving a plurality of associated colors according to at least one color matching rule based on the main body color;
selecting at least one color from the plurality of associated colors as a cover page background color;
and determining a coloring scheme corresponding to at least one page element in the cover page according to a coloring rule corresponding to the background color of the cover page.
In some embodiments, the second style determination module may determine that the content page style matching each cover page style may specifically determine a content page background color matching each cover page background color; and determining a coloring scheme aiming at least one page element in each content page according to the coloring rule corresponding to the background color of each content page.
In some embodiments, the layout determining module is specifically configured to determine a layout manner matched with the at least one object to be processed based on the number of the at least one object to be processed; the layout mode comprises the number of pages and the number of objects to be processed in each page layout.
In some embodiments, the content determining module is specifically configured to construct at least one page according to the number of pages;
determining at least one layout object corresponding to the page from the at least one object to be processed according to the number of the objects to be processed in the page layout;
and generating the page content of the page aiming at the object description information of at least one layout object corresponding to the page.
In some embodiments, the information determining module is specifically configured to obtain object description information of at least one object to be processed, which is input by a user.
In some embodiments, the information determining module is specifically configured to obtain an object identifier of at least one object to be processed, which is input by a user; and respectively acquiring the object description information of the at least one object to be processed from an object database based on the object identifier of the at least one object to be processed.
In some embodiments, the layout determining module is specifically configured to, according to an object category to which the at least one object to be processed belongs, take a page template with a highest historical usage frequency corresponding to the object category as a page template matched with the at least one object to be processed, and determine a layout manner corresponding to the page template.
In some embodiments, the layout determining module is specifically configured to determine, based on the object description information of the at least one object to be processed, a page template matched with the at least one object to be processed by using a template classification model; determining a layout mode corresponding to the page template; the template classification model is obtained in advance according to object description information of at least one sample object and training of a page template corresponding to the at least one sample object.
In some embodiments, the apparatus may further comprise:
the first output module is used for displaying at least one page of the page file in a client;
the first request module is used for receiving a modification confirmation request of a user for any page element in any page;
a first updating module, configured to update element content of any one of the page elements according to the modification confirmation request, and obtain an updated file of the page file;
and the first sharing module is used for generating sharing prompt information based on the network address of the updated file.
In some embodiments, the apparatus may further comprise:
the recommending module is used for recommending the at least one target file to a user;
and the second sharing module is used for generating sharing prompt information based on the network address of any one target file selected by the user.
In some embodiments, the apparatus may further comprise:
the second display module is used for displaying cover pages of the at least one target file in the client;
the cover determining module is used for determining the cover page of any one target file selected by the user;
the third display module is used for displaying at least one page of any one target file in the client;
the second request module is used for receiving a modification confirmation request of a user for any page element in any page;
a second updating module, configured to update element contents of any page element according to the modification confirmation request, so as to obtain an updated file of any target file;
and the third sharing module is used for generating sharing prompt information based on the network address of the updated file.
In some embodiments, the content determination module may be specifically configured to:
determining a target object in the at least one object to be processed;
determining at least one cover page style according to the object description information of the target object;
constructing at least one cover page according to the style of the at least one cover page;
generating page content of the at least one cover page according to the object description information of the target object;
recommending the at least one cover page to a user;
determining a target cover page selected by a user from the at least one cover page;
determining a content page style matched with a cover page style of the target cover page;
constructing at least one content page according to the layout mode and the content page style;
and generating the page content of the at least one content page according to the object description information of the object to be processed corresponding to the at least one content page respectively.
In some embodiments, the content generating module may be specifically configured to construct at least one page according to the layout manner, and determine, from the at least one object to be processed, at least one layout object corresponding to the at least one page, respectively; and generating the page content and the page style of the at least one page by utilizing a page classification model aiming at the object description information of the at least one layout object corresponding to the at least one page so as to obtain a page file consisting of the at least one page.
The page generating apparatus shown in fig. 6 may execute the page generating method shown in the embodiment shown in fig. 1, and the implementation principle and the technical effect are not repeated. The specific manner in which each module and unit of the page generation apparatus in the above embodiments perform operations has been described in detail in the embodiments related to the method, and will not be elaborated herein.
In one possible design, the page generation apparatus of the embodiment shown in fig. 6 may be implemented as a processing device, as shown in fig. 7, which includes a processing component 701 and a storage component 702;
the storage component 702 stores one or more computer instructions; the one or more computer instructions are to be invoked for execution by the processing component 701;
the processing component 701 is configured to:
acquiring object description information of at least one object to be processed;
determining a layout mode of the at least one object to be processed;
and constructing at least one page according to the layout mode, and generating the page content of the at least one page based on the object description information of the at least one object to be processed so as to obtain a page file formed by the at least one page.
The processing component 701 may include one or more processors to execute computer instructions to perform all or part of the steps of the method described above. Of course, the processing elements may also be implemented as one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components configured to perform the above-described methods.
The storage component 702 is configured to store various types of data to support operations in the processing device. The memory components may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Of course, the processing device may of course also comprise other components, such as input/output interfaces, communication components, etc. The input/output interface provides an interface between the processing components and peripheral interface modules, which may be output devices, input devices, etc. The communication component is configured to facilitate wired or wireless communication between the processing device and other devices, and the like.
An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a computer, the page generating method according to the embodiment shown in fig. 1 may be implemented.
As another embodiment, an embodiment of the present application further provides a page generation apparatus, including:
the first request generation module is used for responding to the request operation of a user for at least one object to be processed and generating a user request;
a first request sending module, configured to send the user request to a processing end, so that the processing end obtains object description information of the at least one object to be processed, determines a layout manner of the at least one object to be processed, constructs at least one page according to the layout manner, and generates page content of the at least one page based on the object description information of the at least one object to be processed, so as to obtain a page file formed by the at least one page;
and the first file receiving module is used for acquiring the page file provided by the processing end.
Furthermore, in some embodiments, the apparatus may further comprise:
the first display module is used for displaying at least one page in the page file; responding to modification operation aiming at any page element in any page, sending a modification confirmation request to a processing end, so that the processing end updates the element content of any page element according to the modification confirmation request, obtains an update file of the page file, and generates sharing prompt information based on the network address of the update file; receiving the sharing prompt information sent by the processing terminal; and displaying the sharing prompt information.
In some embodiments, the processing end is further configured to determine at least one group of page styles matched with the at least one object to be processed based on the object description information of the at least one object to be processed, and perform style adjustment on the at least one page in the page files according to the at least one group of page styles, so as to obtain at least one target file;
the apparatus may further include:
the second display module is used for displaying cover pages of the at least one target file;
responding to the selected operation of cover pages of any target file, and requesting to acquire at least one page of any target file from a processing terminal;
displaying at least one page of any one target file;
responding to modification operation aiming at any page element in any page, sending a modification confirmation request to a processing end, so that the processing end updates the element content of any page element according to the modification confirmation request to obtain an update file of any target file, and generating sharing prompt information based on the network address of the update file;
receiving the sharing prompt information sent by the processing terminal;
and displaying the sharing prompt information.
In some embodiments, the processing terminal is specifically configured to determine a target object in the at least one object to be processed, determine at least one cover page style according to object description information of the target object, construct at least one cover page according to the at least one cover page style, and generate page content of the at least one cover page according to the object description information of the target object;
the apparatus may further include:
the third display module is used for displaying the at least one cover page;
and responding to the selected operation aiming at the at least one cover page, sending the selected target cover page to a processing end so that the processing section can determine a content page style matched with the cover page style of the target cover page, constructing at least one content page according to the layout mode and the content page style, and generating the page content of the content page according to the object description information of the object to be processed corresponding to the content page.
In some embodiments, the first request sending module is specifically configured to generate, in response to an object identifier of at least one object to be processed input by a user, a user request including the object identifier of the at least one object to be processed; the object identifier of the at least one object to be processed is used for the processing end to respectively acquire the object description information of the at least one object to be processed from an object database.
In addition, in one possible design, the page generating apparatus may be implemented as a terminal, and the terminal may include a processing component and a storage component;
the storage component stores one or more computer instructions; the one or more computer instructions to be invoked for execution by the processing component;
the processing component is to:
responding to a request operation of a user for at least one object to be processed, and generating a user request;
sending the user request to a processing end, so that the processing end can obtain the object description information of the at least one object to be processed, determine the layout mode of the at least one object to be processed, construct at least one page according to the layout mode, and generate the page content of the at least one page based on the object description information of the at least one object to be processed, so as to obtain a page file formed by the at least one page;
and acquiring the page file provided by the processing terminal.
In addition, the terminal may necessarily include other components such as a display component, an input/output interface, a communication component, and the like. The display component is used for displaying corresponding information; the input/output interface provides an interface between the processing components and peripheral interface modules, which may be output devices, input devices, etc. The communication component is configured to facilitate wired or wireless communication between the terminal and other devices, and the like.
Fig. 8 is a schematic structural diagram of another embodiment of a page generation apparatus provided in an embodiment of the present application, where the apparatus may include:
a picture obtaining module 801, configured to obtain at least one picture to be processed
A second layout determining module 802, configured to determine a layout manner of the at least one to-be-processed picture;
the second content generating module 803 is configured to construct at least one page according to the layout manner, and generate page content of the at least one page based on the at least one to-be-processed picture, so as to obtain a page file formed by the at least one page.
In some embodiments, the second layout determining module may be specifically configured to determine a page template matched with the at least one to-be-processed picture and a layout manner corresponding to the page template.
In some embodiments, the second content generation module is specifically configured to construct at least one page corresponding to the page template according to the layout manner of the page template; determining at least one layout picture corresponding to the at least one page from the at least one picture to be processed according to the layout mode of the page template; and determining the element content of each page element in the page based on at least one layout picture corresponding to the page.
In some embodiments, the second content generation module determines, based on at least one layout picture corresponding to the page, that the element content of each page element in the page may be specifically used for determining a content variable element and a content fixed element in the page; generating element content of content variable elements in the page based on at least one layout picture corresponding to the page; and determining the element content of the content fixed element in the page set by the page template.
In some embodiments, the content variable element comprises a subject picture element; the second content generation module generates element contents of content variable elements in the page based on the at least one layout picture corresponding to the page, wherein the element contents can be specifically used for respectively identifying target contents in the at least one layout picture corresponding to the page; and according to the size of the main picture element corresponding to the at least one layout picture, respectively cutting the picture information of the at least one layout object to obtain the main picture content including respective target content corresponding to the at least one layout picture.
In some embodiments, the apparatus may further comprise:
a third style determination module, configured to determine a page style of the page based on object description information of at least one layout object corresponding to the page; and adjusting the page according to the page style of the page.
In some embodiments, the third style determination module determines, based on object description information of at least one layout object corresponding to a page, a page style of the page, specifically, based on at least one layout picture corresponding to the page, and identifies a subject color in the at least one layout picture; determining a background color based on the subject color; and determining a coloring scheme corresponding to at least one page element in the page according to the coloring rule corresponding to the background color.
In some embodiments, the apparatus may further comprise:
the fourth style determining module is used for determining at least one group of page styles matched with the at least one picture to be processed based on the at least one picture to be processed; each group of page styles comprises page styles respectively corresponding to the at least one page; and respectively carrying out style adjustment on the at least one page in the page files according to the at least one group of page styles to obtain at least one target file.
In some embodiments, the at least one page includes a cover page and at least one content page;
the fourth style determination module determines, based on the at least one picture to be processed, at least one group of page styles matched with the at least one picture to be processed, including:
determining a target picture of a corresponding cover page in the at least one picture to be processed;
determining at least one cover page style matched with the target picture based on the target picture;
determining content page styles matched with each cover page style;
a group of page styles consisting of each cover page style and a content page style matched with the cover page style are obtained, and at least one group of page styles are obtained.
In some embodiments, the page style includes a coloring scheme;
the fourth style determination module determining, based on the target picture, at least one cover page style that matches the target picture comprises:
identifying a subject color of the target picture;
deriving a plurality of associated colors according to at least one color matching rule based on the main body color of the target picture;
selecting at least one color from the plurality of associated colors as a cover page background color;
and determining a coloring scheme corresponding to at least one page element in the cover page according to a coloring rule corresponding to the background color of each cover page.
The page generating apparatus shown in fig. 8 may execute the page generating method shown in the embodiment shown in fig. 5, and details of the implementation principle and the technical effect are not repeated. The specific manner in which each module and unit of the page generation apparatus in the above embodiments perform operations has been described in detail in the embodiments related to the method, and will not be elaborated herein.
In one possible design, the page generating apparatus of the embodiment shown in fig. 8 may be implemented as a processing device, as shown in fig. 9, which includes a processing component 901 and a storage component 902;
the storage component 902 stores one or more computer instructions; the one or more computer instructions are to be invoked for execution by the processing component 901;
the processing component 901 is configured to:
obtaining at least one picture to be processed
Determining a layout mode of the at least one picture to be processed;
and constructing at least one page according to the layout mode, and generating page content of the at least one page based on the at least one picture to be processed so as to obtain a page file formed by the at least one page.
The processing component 901 may include one or more processors to execute computer instructions to perform all or part of the steps of the above-described method. Of course, the processing elements may also be implemented as one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components configured to perform the above-described methods.
Storage component 902 is configured to store various types of data to support operations in a processing device. The memory components may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Of course, the processing device may of course also comprise other components, such as input/output interfaces, communication components, etc. The input/output interface provides an interface between the processing components and peripheral interface modules, which may be output devices, input devices, etc. The communication component is configured to facilitate wired or wireless communication between the processing device and other devices, and the like.
An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a computer, the page generating method according to the embodiment shown in fig. 5 may be implemented.
As another embodiment, an embodiment of the present application further provides a page generation apparatus, including:
the second request generation module is used for responding to the request operation of a user for at least one object to be processed and generating a user request;
the second request sending module is used for sending the user request to a processing end so that the processing end can obtain the object description information of the at least one object to be processed, and a page file matched with the at least one object to be processed is generated by utilizing a page classification model; the page classification model is obtained based on object description information of at least one sample object and training of at least one sample file corresponding to the at least one sample object;
and the second file receiving module is used for acquiring the page file provided by the server.
In addition, in one possible design, the page generating apparatus may be implemented as a terminal, and the terminal may include a processing component and a storage component;
the storage component stores one or more computer instructions; the one or more computer instructions to be invoked for execution by the processing component;
the processing component is to:
responding to a request operation of a user for at least one object to be processed, and generating a user request;
sending the user request to a processing end so that the processing end can obtain the object description information of the at least one object to be processed, and generating a page file matched with the at least one object to be processed by using a page classification model; the page classification model is obtained based on object description information of at least one sample object and training of at least one sample file corresponding to the at least one sample object;
and acquiring the page file provided by the processing terminal.
In addition, the terminal may necessarily include other components such as a display component, an input/output interface, a communication component, and the like. The display component is used for displaying corresponding information; the input/output interface provides an interface between the processing components and peripheral interface modules, which may be output devices, input devices, etc. The communication component is configured to facilitate wired or wireless communication between the terminal and other devices, and the like.
Fig. 10 is a schematic structural diagram of another embodiment of a page generation apparatus provided in an embodiment of the present application, where the apparatus may include:
an information obtaining module 1001 configured to obtain object description information of at least one object to be processed;
the page generation module 1002 is configured to generate a page file matched with the at least one object to be processed by using a page classification model based on the object description information of the at least one object to be processed; the page classification model is obtained based on object description information of at least one sample object and training of at least one sample file corresponding to the at least one sample object.
In some embodiments, the apparatus may further comprise:
the model training module is used for acquiring object description information of at least one sample object;
obtaining a plurality of sample files corresponding to the at least one sample object;
determining the matching degree of the plurality of sample files with the at least one sample object respectively;
and taking the object description information of the at least one sample object, the plurality of sample files and the matching degree of the plurality of sample files with the at least one sample object as a training sample to train a page classification model.
The page generating apparatus shown in fig. 10 may execute the page generating method shown in the embodiment shown in fig. 4, and the implementation principle and the technical effect are not described again. The specific manner in which each module and unit of the page generation apparatus in the above embodiments perform operations has been described in detail in the embodiments related to the method, and will not be elaborated herein.
In one possible design, the page generation apparatus of the embodiment shown in fig. 10 may be implemented as a processing device, as shown in fig. 11, which includes a processing component 1101 and a storage component 1102;
the storage component 1102 stores one or more computer instructions; the one or more computer instructions are to be invoked for execution by the processing component 1101;
the processing component 1101 is configured to:
acquiring object description information of at least one object to be processed;
generating a page file matched with the at least one object to be processed by utilizing a page classification model based on the object description information of the at least one object to be processed; the page classification model is obtained based on object description information of at least one sample object and training of at least one sample file corresponding to the at least one sample object.
The processing component 1101 may include one or more processors to execute computer instructions to perform all or part of the steps of the method described above. Of course, the processing elements may also be implemented as one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components configured to perform the above-described methods.
The storage component 1102 is configured to store various types of data to support operations in the processing device. The memory components may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Of course, the processing device may of course also comprise other components, such as input/output interfaces, communication components, etc. The input/output interface provides an interface between the processing components and peripheral interface modules, which may be output devices, input devices, etc. The communication component is configured to facilitate wired or wireless communication between the processing device and other devices, and the like.
An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a computer, the page generating method according to the embodiment shown in fig. 4 may be implemented.
In addition, an embodiment of the present application further provides a page generating apparatus, where the apparatus may include:
the third request generation module is used for responding to the request operation of the user for at least one object to be processed and generating a user request;
a third request sending module, configured to send the user request to a processing end, so that the processing end obtains object description information of the at least one object to be processed, and generates a page file matched with the at least one object to be processed by using a page classification model; the page classification model is obtained based on object description information of at least one sample object and training of at least one sample file corresponding to the at least one sample object;
and the third file receiving module is used for acquiring the page file provided by the processing end.
In addition, in one possible design, the page generating apparatus may be implemented as a terminal, and the terminal may include a processing component and a storage component;
the storage component stores one or more computer instructions; the one or more computer instructions to be invoked for execution by the processing component;
the processing component is to:
responding to a request operation of a user for at least one object to be processed, and generating a user request;
sending the user request to a processing end so that the processing end can obtain the object description information of the at least one object to be processed, and generating a page file matched with the at least one object to be processed by using a page classification model; the page classification model is obtained based on object description information of at least one sample object and training of at least one sample file corresponding to the at least one sample object;
and acquiring the page file provided by the processing terminal.
In addition, the terminal may necessarily include other components such as a display component, an input/output interface, a communication component, and the like. The display component is used for displaying corresponding information; the input/output interface provides an interface between the processing components and peripheral interface modules, which may be output devices, input devices, etc. The communication component is configured to facilitate wired or wireless communication between the terminal and other devices, and the like.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (36)

1. A page generation method is characterized by comprising the following steps:
the processing end obtains object description information of at least one object to be processed;
determining a layout mode of the at least one object to be processed;
and constructing at least one page according to the layout mode, and generating the page content of the at least one page based on the object description information of the at least one object to be processed so as to obtain a page file formed by the at least one page.
2. The method according to claim 1, wherein the determining the layout manner in which the at least one object to be processed matches comprises:
and determining a page template matched with the at least one object to be processed and a layout mode corresponding to the page template.
3. The method according to claim 2, wherein the constructing at least one page according to the layout manner and generating page content of the at least one page based on the object description information of the at least one object to be processed comprises:
constructing at least one page corresponding to the page template according to the layout mode of the page template;
determining at least one layout object corresponding to the at least one page from the at least one object to be processed according to the layout mode of the page template;
and determining the element content of each page element in the page based on the object description information of at least one layout object corresponding to the page.
4. The method of claim 3, wherein the determining the element content of each page element in the page based on the object description information of the at least one layout object corresponding to the page comprises:
determining content variable elements and content fixed elements in the page;
generating element contents of content variable elements in the page based on object description information of at least one layout object corresponding to the page;
and determining the element content of the content fixed element in the page set by the page template.
5. The method of claim 4, wherein the content variable element comprises a subject picture element and/or a subject copy element; the object description information comprises picture information and text information;
the generating element contents of the content variable elements in the page based on the object description information of at least one layout object corresponding to the page comprises:
respectively generating main picture contents corresponding to the at least one layout object based on the image information of the at least one layout object; and/or the presence of a gas in the gas,
and respectively generating main file contents corresponding to the at least one layout object based on the text information of the at least one layout object.
6. The method of claim 3, further comprising:
determining the page style of the page based on the object description information of at least one layout object corresponding to the page;
and adjusting the page according to the page style of the page.
7. The method of claim 6, wherein the page style comprises a coloring scheme;
the determining the page style in the page based on the object description information of the at least one layout object corresponding to the page comprises:
identifying a main body color of at least one layout object corresponding to the page based on picture information of the at least one layout object;
determining a background color based on the subject color;
and determining a coloring scheme corresponding to at least one page element in the page according to the coloring rule corresponding to the background color.
8. The method of claim 7, wherein the determining a background color based on the subject color comprises:
deriving a plurality of associated colors according to at least one color matching rule;
selecting a background color from the plurality of associated colors.
9. The method of claim 6, wherein the determining the page style of the page based on the object description information of the at least one layout object corresponding to the page comprises:
determining the page style of the page by using a style classification model based on the object description information of at least one layout object corresponding to the page; the style classification model is obtained based on object description information of at least one sample object and at least one page style training corresponding to the at least one sample object.
10. The method according to claim 5, wherein the generating the subject picture content corresponding to the at least one layout object based on the image information of the at least one layout object respectively comprises:
respectively identifying target contents in the picture information of the at least one layout object;
and according to the size of the main picture element in the page corresponding to the at least one layout object, respectively cutting the picture information of the at least one layout object to obtain the main picture content including respective target content corresponding to the at least one layout object.
11. The method of claim 1, further comprising:
determining at least one group of page styles matched with the at least one object to be processed based on the object description information of the at least one object to be processed; each group of page styles comprises page styles respectively corresponding to the at least one page;
and respectively carrying out style adjustment on the at least one page in the page files according to the at least one group of page styles to obtain at least one target file.
12. The method of claim 11, wherein the at least one page comprises a cover page and at least one content page;
the determining, based on the object description information of the at least one object to be processed, at least one group of page styles matched with the at least one object to be processed comprises:
determining a target object of a corresponding cover page in the at least one object to be processed;
determining at least one cover page style matched with the target object based on the object description information of the target object;
determining content page styles matched with each cover page style;
a group of page styles consisting of each cover page style and a content page style matched with the cover page style are obtained, and at least one group of page styles are obtained.
13. The method of claim 12, wherein the page style comprises a coloring scheme; the object description information comprises picture information;
the determining, based on the object description information of the target object, at least one cover page style that matches the target object comprises:
identifying a subject color of the target object based on the picture information of the target object;
deriving a plurality of associated colors according to at least one color matching rule based on the main body color of the target object;
selecting at least one color from the plurality of associated colors as a cover page background color;
and determining a coloring scheme aiming at least one page element in the cover page according to a coloring rule corresponding to the background color of the cover page.
14. The method of claim 13, wherein determining the content page style that matches each cover page style comprises:
determining a content page background color matching each cover page background color;
and determining a coloring scheme aiming at least one page element in the content page aiming at the coloring rule corresponding to the background color of each content page.
15. The method according to claim 1, wherein the determining the layout manner in which the at least one object to be processed matches comprises:
determining a layout mode matched with the at least one object to be processed based on the number of the at least one object to be processed; the layout mode comprises the number of pages and the number of objects to be processed in each page layout;
the constructing at least one page according to the layout mode, and generating the page content of the at least one page based on the object description information of the at least one object to be processed includes:
constructing at least one page according to the number of the pages;
determining at least one layout object corresponding to the page from the at least one object to be processed according to the number of the objects to be processed in the page layout;
and generating page content in the page aiming at the object description information of at least one layout object corresponding to the page.
16. The method according to claim 1, wherein the obtaining object description information of at least one object to be processed comprises:
acquiring an object identifier of at least one object to be processed input by a user;
and respectively acquiring the object description information of the at least one object to be processed from an object database based on the object identifier of the at least one object to be processed.
17. The method of claim 1, further comprising:
displaying at least one page of the page file in a client;
receiving a modification confirmation request of a user for any page element in any page;
updating the element content of any page element according to the modification confirmation request to obtain an updated file of the page file;
and generating sharing prompt information based on the network address of the updated file.
18. The method according to claim 1, wherein the constructing at least one page according to the layout manner and generating page content of the at least one page based on the object description information of the at least one object to be processed comprises:
determining a target object in the at least one object to be processed;
determining at least one cover page style according to the object description information of the target object;
constructing at least one cover page according to the style of the at least one cover page;
generating page content of the at least one cover page according to the object description information of the target object;
recommending the at least one cover page to a user;
determining a target cover page selected by a user from the at least one cover page;
determining a content page style matched with a cover page style of the target cover page;
constructing at least one content page according to the layout mode and the content page style;
and generating the page content of the at least one content page according to the object description information of the object to be processed corresponding to the at least one content page respectively.
19. The method according to claim 1, wherein the constructing at least one page according to the layout manner and generating page content of the at least one page based on the object description information of the at least one object to be processed comprises:
constructing at least one page according to the layout mode, and determining at least one layout object corresponding to the at least one page from the at least one object to be processed;
generating page content of the at least one page by using a content classification model aiming at the object description information of the at least one layout object corresponding to the at least one page respectively so as to obtain a page file consisting of the at least one page; the content classification model is obtained in advance according to object description information of at least one sample object and at least one sample page corresponding to the at least one sample object.
20. A page generation method is characterized by comprising the following steps:
responding to a request operation of a user for at least one object to be processed, and generating a user request;
sending the user request to a processing end so that the processing end can obtain the object description information of the at least one object to be processed; determining a layout mode of the at least one object to be processed, and constructing at least one page according to the layout mode; generating page content of the at least one page based on the object description information of the at least one object to be processed to obtain a page file formed by the at least one page;
and acquiring the page file provided by the processing terminal.
21. The method of claim 20, further comprising:
displaying at least one page in the page file;
responding to modification operation aiming at any page element in any page, sending a modification confirmation request to a processing end, so that the processing end updates the element content of any page element according to the modification confirmation request, obtains an update file of the page file, and generates sharing prompt information based on the network address of the update file;
receiving the sharing prompt information sent by the processing terminal;
and displaying the sharing prompt information.
22. The method according to claim 20, wherein the processing end is further configured to determine at least one group of page styles matched with the at least one object to be processed based on the object description information of the at least one object to be processed, and perform style adjustment on pages in the page file according to the at least one group of page styles, respectively, to obtain at least one target file;
the method further comprises the following steps:
displaying a cover page of each target file;
responding to the selected operation of cover pages of any target file, and requesting to acquire at least one page of any target file from a processing terminal;
displaying at least one page of any one target file;
responding to modification operation aiming at any page element in any page, sending a modification confirmation request to a processing end, so that the processing end updates the element content of any page element according to the modification confirmation request to obtain an update file of any target file, and generating sharing prompt information based on the network address of the update file;
receiving the sharing prompt information sent by the processing terminal;
and displaying the sharing prompt information.
23. The method according to claim 20, wherein the processing end is specifically configured to determine a target object in the at least one object to be processed, determine at least one cover page style according to object description information of the target object, construct at least one cover page according to the at least one cover page style, and generate page content of the at least one cover page according to the object description information of the target object;
the method further comprises the following steps:
displaying the at least one cover page;
and responding to the selected operation aiming at the at least one cover page, sending the selected target cover page to a processing end so that the processing section can determine a content page style matched with the cover page style of the target cover page, constructing at least one content page according to the layout mode and the content page style, and generating the page content of the content page according to the object description information of the object to be processed corresponding to the content page.
24. The method of claim 20, wherein generating a user request in response to a user request operation for at least one object to be processed comprises:
generating a user request comprising the object identification of at least one object to be processed in response to the object identification of the at least one object to be processed input by a user; the object identifier of the at least one object to be processed is used for the processing end to respectively acquire the object description information of the at least one object to be processed from an object database based on the object identifier of the at least one object to be processed.
25. A page generation method is characterized by comprising the following steps:
the processing end obtains at least one picture to be processed
Determining a layout mode of the at least one picture to be processed;
and constructing at least one page according to the layout mode, and generating page content of the at least one page based on the at least one picture to be processed so as to obtain a page file formed by the at least one page.
26. The method according to claim 25, wherein said determining the layout of the at least one picture to be processed comprises:
and determining a page template matched with the at least one picture to be processed and a layout mode corresponding to the page template.
27. The method according to claim 26, wherein the constructing at least one page according to the layout manner, and generating page content of the at least one page based on the at least one picture to be processed to obtain a page file composed of the at least one page comprises:
constructing at least one page corresponding to the page template according to the layout mode of the page template;
determining at least one layout picture corresponding to the at least one page from the at least one picture to be processed according to the layout mode of the page template;
and determining the element content of each page element in the page based on at least one layout picture corresponding to the page.
28. The method according to claim 27, wherein the determining the element content of each page element in the page based on the at least one layout picture corresponding to the page comprises:
determining content variable elements and content fixed elements in the page;
generating element content of content variable elements in the page based on at least one layout picture corresponding to the page;
and determining the element content of the content fixed element in the page set by the page template.
29. The method of claim 27, further comprising:
determining the page style of the page based on the object description information of at least one layout object corresponding to the page;
and adjusting the page according to the page style of the page.
30. The method of claim 26, further comprising:
determining at least one group of page styles matched with the at least one picture to be processed based on the at least one picture to be processed; each group of page styles comprises page styles respectively corresponding to the at least one page;
and respectively carrying out style adjustment on the at least one page in the page files according to the at least one group of page styles to obtain at least one target file.
31. A page generation method is characterized by comprising the following steps:
the processing end obtains object description information of at least one object to be processed;
generating a page file matched with the at least one object to be processed by utilizing a page classification model based on the object description information of the at least one object to be processed; the page classification model is obtained based on object description information of at least one sample object and training of at least one sample file corresponding to the at least one sample object.
32. The method of claim 31, wherein the page classification model is obtained by training specifically as follows:
obtaining object description information of at least one sample object;
obtaining a plurality of sample files corresponding to the at least one sample object;
determining the matching degree of the plurality of sample files with the at least one sample object respectively;
and taking the object description information of the at least one sample object, the plurality of sample files and the matching degree of the plurality of sample files with the at least one sample object as a training sample to train a page classification model.
33. A page generating apparatus, comprising:
the information acquisition module is used for acquiring object description information of at least one object to be processed;
the first layout determining module is used for determining the layout mode of the at least one object to be processed;
and the first content generation module is used for constructing at least one page according to the layout mode and generating the page content of the at least one page based on the object description information of the at least one object to be processed so as to obtain a page file formed by the at least one page.
34. A page generating apparatus, comprising:
the first request generation module is used for responding to the request operation of a user for at least one object to be processed and generating a user request;
a first request sending module, configured to send the user request to a processing end, so that the processing end obtains object description information of the at least one object to be processed, determines a layout manner of the at least one object to be processed, constructs at least one page according to the layout manner, and generates page content of the at least one page based on the object description information of the at least one object to be processed, so as to obtain a page file formed by the at least one page;
and the first file receiving module is used for acquiring the page file provided by the processing end.
35. A page generating apparatus, comprising:
a picture acquisition module for acquiring at least one picture to be processed
The second layout determining module is used for determining the layout mode of the at least one picture to be processed;
and the second content generation module is used for constructing at least one page according to the layout mode and generating the page content of the at least one page based on the at least one picture to be processed so as to obtain a page file formed by the at least one page.
36. A page generating apparatus, comprising:
the information acquisition module is used for acquiring object description information of at least one object to be processed;
the page generation module is used for generating a page file matched with the at least one object to be processed by utilizing a page classification model based on the object description information of the at least one object to be processed; the page classification model is obtained based on object description information of at least one sample object and training of at least one sample file corresponding to the at least one sample object.
CN201811565125.3A 2018-12-20 2018-12-20 Page generation method and device Active CN111352623B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811565125.3A CN111352623B (en) 2018-12-20 2018-12-20 Page generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811565125.3A CN111352623B (en) 2018-12-20 2018-12-20 Page generation method and device

Publications (2)

Publication Number Publication Date
CN111352623A true CN111352623A (en) 2020-06-30
CN111352623B CN111352623B (en) 2023-05-26

Family

ID=71195478

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811565125.3A Active CN111352623B (en) 2018-12-20 2018-12-20 Page generation method and device

Country Status (1)

Country Link
CN (1) CN111352623B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112256366A (en) * 2020-09-30 2021-01-22 北京达佳互联信息技术有限公司 Page display method and device and electronic equipment
CN112988309A (en) * 2021-04-14 2021-06-18 浙江口碑网络技术有限公司 Page element display method and device, electronic equipment and storage medium
CN116204184A (en) * 2023-04-28 2023-06-02 深圳华龙讯达信息技术股份有限公司 UI editing method, system and storage medium for improving page style adaptation

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101971204A (en) * 2007-10-01 2011-02-09 惠普开发有限公司 Arranging graphic objects on a page with relative position based control
CN106648555A (en) * 2015-10-28 2017-05-10 阿里巴巴集团控股有限公司 Page generation method and device
CN106682144A (en) * 2016-12-20 2017-05-17 上海亿账通互联网科技有限公司 Page display method and device
CN108008871A (en) * 2016-10-27 2018-05-08 阿里巴巴集团控股有限公司 A kind of page generation method and device
CN108345624A (en) * 2017-01-24 2018-07-31 阿里巴巴集团控股有限公司 Generate the method and device of the page
US20180300361A1 (en) * 2012-02-20 2018-10-18 Wix.Com Ltd. System and method for generating a visual data structure associated with business information based on a hierarchy of components
CN109002338A (en) * 2017-06-07 2018-12-14 阿里巴巴集团控股有限公司 Page rendering, page finishing information processing method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101971204A (en) * 2007-10-01 2011-02-09 惠普开发有限公司 Arranging graphic objects on a page with relative position based control
US20180300361A1 (en) * 2012-02-20 2018-10-18 Wix.Com Ltd. System and method for generating a visual data structure associated with business information based on a hierarchy of components
CN106648555A (en) * 2015-10-28 2017-05-10 阿里巴巴集团控股有限公司 Page generation method and device
CN108008871A (en) * 2016-10-27 2018-05-08 阿里巴巴集团控股有限公司 A kind of page generation method and device
CN106682144A (en) * 2016-12-20 2017-05-17 上海亿账通互联网科技有限公司 Page display method and device
CN108345624A (en) * 2017-01-24 2018-07-31 阿里巴巴集团控股有限公司 Generate the method and device of the page
CN109002338A (en) * 2017-06-07 2018-12-14 阿里巴巴集团控股有限公司 Page rendering, page finishing information processing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
漆海霞;: "DIV+CSS技术在地调局网站页面设计中的应用" *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112256366A (en) * 2020-09-30 2021-01-22 北京达佳互联信息技术有限公司 Page display method and device and electronic equipment
WO2022068293A1 (en) * 2020-09-30 2022-04-07 北京达佳互联信息技术有限公司 Page display method and apparatus
CN112988309A (en) * 2021-04-14 2021-06-18 浙江口碑网络技术有限公司 Page element display method and device, electronic equipment and storage medium
CN116204184A (en) * 2023-04-28 2023-06-02 深圳华龙讯达信息技术股份有限公司 UI editing method, system and storage medium for improving page style adaptation

Also Published As

Publication number Publication date
CN111352623B (en) 2023-05-26

Similar Documents

Publication Publication Date Title
KR101886161B1 (en) Method for providing clothing management service based on ai
US20190392487A1 (en) System, Device, and Method of Automatic Construction of Digital Advertisements
AU2020284731B2 (en) System and method for integrating user feedback into website building system services
CN107077698A (en) Use recommendation of the automation based on image of color palette
US20150277686A1 (en) Systems and Methods for the Real-Time Modification of Videos and Images Within a Social Network Format
JP2019523927A (en) Website construction system and method
CN106688215A (en) Automated click type selection for content performance optimization
US20100100840A1 (en) Systems and Methods for Logo Design
CN106105107A (en) For analyzing and synthesize the system and method for social communication data
CN109360020A (en) A kind of generation method and device of advertisement
ElShishtawy et al. A comparative review of zero-waste fashion design thinking and operational research on cutting and packing optimisation
CN105094775B (en) Webpage generation method and device
CN111352623B (en) Page generation method and device
KR101638423B1 (en) Method for how to create and distribute articles online through banner-type article auto-generation
KR20190131268A (en) Fashion design customizing system involving design creator and prosumer
CN104615639B (en) A kind of method and apparatus for providing the presentation information of picture
KR102149035B1 (en) Advertising page creation and management system for performance marketing
CN109739993A (en) Dress ornament knowledge mapping display methods, device, figure server and storage medium
US20210233134A1 (en) Greeting cards and system for creating and methods of manufacture and use
KR20200115044A (en) Identifying physical objects using visual search query
Qiuxia et al. A thematic review on souvenirs from design perspective publications from 2012–2022: analysis of trends for future studies
CN104156471A (en) Recommending processing method and system for automatic online decorative painting synthesis
CN117058275A (en) Commodity propaganda drawing generation method and device, computer equipment and storage medium
KR102303185B1 (en) Method for providing manufacturing service using copyright contents
SG176518A1 (en) Method and system for providing content

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
GR01 Patent grant
GR01 Patent grant