CN107832041B - Method, device and equipment for making thematic page and readable storage medium - Google Patents

Method, device and equipment for making thematic page and readable storage medium Download PDF

Info

Publication number
CN107832041B
CN107832041B CN201711066905.9A CN201711066905A CN107832041B CN 107832041 B CN107832041 B CN 107832041B CN 201711066905 A CN201711066905 A CN 201711066905A CN 107832041 B CN107832041 B CN 107832041B
Authority
CN
China
Prior art keywords
page
special
template
special topic
topic
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.)
Active
Application number
CN201711066905.9A
Other languages
Chinese (zh)
Other versions
CN107832041A (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.)
Ping An Life Insurance Company of China Ltd
Original Assignee
Ping An Life Insurance Company of China 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 Ping An Life Insurance Company of China Ltd filed Critical Ping An Life Insurance Company of China Ltd
Priority to CN201711066905.9A priority Critical patent/CN107832041B/en
Publication of CN107832041A publication Critical patent/CN107832041A/en
Application granted granted Critical
Publication of CN107832041B publication Critical patent/CN107832041B/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/20Software design
    • 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
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0641Shopping interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Human Computer Interaction (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a method, a device and equipment for making a special topic page and a readable storage medium, wherein the method for making the special topic page comprises the following steps: when a reservation instruction of a special topic page of a merchant is detected, acquiring page content corresponding to the reservation instruction and the type of the special topic page to be manufactured; selecting a target special topic source template based on the type of the special topic page to be made, and taking the target special topic source template as a template to be edited; acquiring a non-style area in a template to be edited, and correspondingly filling the page content into the non-style area to obtain a target thematic page. The invention aims to solve the technical problems of time and labor waste and low efficiency in the process of manufacturing a special page in the prior art.

Description

Method, device and equipment for making thematic page and readable storage medium
Technical Field
The invention relates to the technical field of networks, in particular to a method, a device and equipment for making a special topic page and a readable storage medium.
Background
At present, a plurality of commodities need to develop special subjects of merchants, the development of special pages of the merchants comprises front-end page interaction, visual design and the like, a plurality of special pages such as thousands of special pages can be included in the same special subject, and in the prior art, different pages of each special subject of the merchants need to be developed independently, so that the technical problems of waste of human resources and low efficiency are caused.
Disclosure of Invention
The invention mainly aims to provide a method, a device and equipment for making a special page and a readable storage medium, and aims to solve the technical problems of time and labor waste and low efficiency in making the special page in the prior art.
In order to achieve the above object, the present invention provides a method for making a special topic page, comprising:
when a reservation instruction of a special topic page of a merchant is detected, acquiring page content corresponding to the reservation instruction and the type of the special topic page to be manufactured;
selecting a target special topic source template based on the type of the special topic page to be made, and taking the target special topic source template as a template to be edited;
acquiring a non-style area in a template to be edited, and correspondingly filling the page content into the non-style area to obtain a target thematic page.
Optionally, the step of correspondingly filling the page content into the non-style region includes:
acquiring the region attribute of a non-style region in a template to be edited, and performing splitting processing on the page content based on the region attribute;
and filling the page content subjected to the splitting processing into the non-style area.
Optionally, the obtaining a region attribute of a non-style region in the template to be edited, and the splitting the page content based on the region attribute includes:
acquiring a title position identifier of the title sub-region and a product position identifier of the product sub-region based on the region attribute of the non-style region in the template to be edited;
and identifying a title sub-area and a product sub-area in the template non-style area to be edited based on the title position identification and the product position identification so as to extract the title sub-content in the title sub-area and the product sub-content in the product sub-area.
Optionally, the step of obtaining the page content corresponding to the reservation instruction and the type of the special topic page to be produced includes:
when a reservation instruction of a special topic page of a merchant is detected, judging whether the corresponding special topic of the merchant is in a proper setting state;
and if the page is in a proper setting state, executing the step of acquiring the page content corresponding to the reservation instruction and the type of the special page to be manufactured.
Optionally, the step of determining whether the corresponding merchant topic is in a suitable setting state includes:
acquiring a time attribute when the reservation instruction is detected, and acquiring a historical sales activity value of a merchant corresponding to the time attribute;
and when the historical sales active value is lower than a preset value, judging that the corresponding merchant special topic is in a proper setting state.
Optionally, the step of selecting a topic source template based on the type of the topic page to be made includes:
acquiring a corresponding special topic mark based on the type of the special topic page to be made, and judging whether the special topic page to be made is a jump page based on the special topic mark;
and if the special topic page to be made is a jump page, selecting a jump page special topic source template.
Optionally, the step of correspondingly filling the page content into the non-style region includes:
rendering the non-style area of the template to be edited into a visual interface;
and filling the page content on the visual interface.
In addition, in order to achieve the above object, the present invention further provides a special topic page creation device, including:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring page content corresponding to a reservation instruction and the type of a special page to be manufactured when the reservation instruction of a special page of a merchant is detected;
the selecting module is used for selecting a special topic source template based on the type of the special topic page to be made and taking the special topic source template as a template to be edited;
and the second acquisition module is used for acquiring a non-style area in the template to be edited and correspondingly filling the page content into the non-style area so as to obtain the target thematic page.
In addition, in order to achieve the above object, the present invention further provides a special topic page making device, including: a memory, a processor, a communication bus, and a topical page creation program stored on the memory,
the communication bus is used for realizing communication connection between the processor and the memory;
the processor is used for executing the thematic page making program to realize the following steps:
when a reservation instruction of a special topic page of a merchant is detected, acquiring page content corresponding to the reservation instruction and the type of the special topic page to be manufactured;
selecting a target special topic source template based on the type of the special topic page to be made, and taking the target special topic source template as a template to be edited;
acquiring a non-style area in a template to be edited, and correspondingly filling the page content into the non-style area to obtain a target thematic page.
Optionally, the step of correspondingly filling the page content into the non-style region includes:
acquiring the region attribute of a non-style region in a template to be edited, and performing splitting processing on the page content based on the region attribute;
and filling the page content subjected to the splitting processing into the non-style area.
Optionally, the obtaining a region attribute of a non-style region in the template to be edited, and the splitting the page content based on the region attribute includes:
acquiring a title position identifier of the title sub-region and a product position identifier of the product sub-region based on the region attribute of the non-style region in the template to be edited;
and identifying a title sub-area and a product sub-area in the template non-style area to be edited based on the title position identification and the product position identification so as to extract the title sub-content in the title sub-area and the product sub-content in the product sub-area.
Optionally, the step of obtaining the page content corresponding to the reservation instruction and the type of the special topic page to be produced includes:
when a reservation instruction of a special topic page of a merchant is detected, judging whether the corresponding special topic of the merchant is in a proper setting state;
and if the page is in a proper setting state, executing the step of acquiring the page content corresponding to the reservation instruction and the type of the special page to be manufactured.
Optionally, the step of determining whether the corresponding merchant topic is in a suitable setting state includes:
acquiring a time attribute when the reservation instruction is detected, and acquiring a historical sales activity value of a merchant corresponding to the time attribute;
and when the historical sales active value is lower than a preset value, judging that the corresponding merchant special topic is in a proper setting state.
Optionally, the step of selecting a topic source template based on the type of the topic page to be made includes:
acquiring a corresponding special topic mark based on the type of the special topic page to be made, and judging whether the special topic page to be made is a jump page based on the special topic mark;
and if the special topic page to be made is a jump page, selecting a jump page special topic source template.
Optionally, the step of correspondingly filling the page content into the non-style region includes:
rendering the non-style area of the template to be edited into a visual interface;
and filling the page content on the visual interface.
Further, to achieve the above object, the present invention also provides a readable storage medium storing one or more programs, the one or more programs being executable by one or more processors for:
when a reservation instruction of a special topic page of a merchant is detected, acquiring page content corresponding to the reservation instruction and the type of the special topic page to be manufactured;
selecting a target special topic source template based on the type of the special topic page to be made, and taking the target special topic source template as a template to be edited;
acquiring a non-style area in a template to be edited, and correspondingly filling the page content into the non-style area to obtain a target thematic page.
According to the method, when a reservation instruction of a special topic page of a merchant is detected, the page content corresponding to the reservation instruction and the type of the special topic page to be manufactured are obtained; selecting a special topic source template based on the type of the special topic page to be made, and taking the special topic source template as a template to be edited; acquiring a non-style area in a template to be edited, and correspondingly filling the page content into the non-style area to obtain a target thematic page. According to the method and the device, when a reservation instruction of the special pages of the merchant is detected, the special source template can be selected based on the acquired page content, and the style region of the special source template reserves the setting of repeated style regions such as backgrounds and fonts, so that repeated information such as the backgrounds and the fonts does not need to be edited again when the special pages are edited, and different page contents of each page are correspondingly filled into the non-style region, so that different pages of the special pages of the merchant do not need to be independently developed, manpower resources are saved, and the efficiency is improved. Therefore, the technical problems of time and labor waste and low efficiency in the process of manufacturing the special page in the prior art are solved.
Drawings
FIG. 1 is a schematic flow chart of a method for making a topical page according to a first embodiment of the present invention;
FIG. 2 is a schematic view of a scene of the method for making a topical page of the present invention;
fig. 3 is a schematic device structure diagram of a hardware operating environment related to the method according to the embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The invention provides a method for making a special topic page, which comprises the following steps of, in a first embodiment of the method for making the special topic page, referring to fig. 1:
step S10, when a reservation instruction of a special topic page of a merchant is detected, acquiring the page content corresponding to the reservation instruction and the type of the special topic page to be manufactured;
it should be noted that the topic page making method is applied to the topic page making device, in this embodiment, n topic source templates are respectively made and pre-stored for the topics of the merchant in advance, where a value of n is determined according to an actual situation.
Classifying thematic source templates in n thematic source templates prestored by a merchant according to different adaptive terminal types, wherein the specific types can be a PC thematic source template and a mobile terminal thematic source template, or the PC thematic source template, a mobile phone thematic source template, a flat plate thematic source template and the like, after classifying the thematic source templates, the PC thematic source template and the mobile terminal thematic source template can be respectively classified into different subclasses based on the style attributes of the thematic source templates, wherein, for example, the thematic source templates are divided into a hand-drawing style thematic source template, a compound wind grid thematic source template, a clear humor style thematic source template, a dark system style thematic source template and the like, and in addition, the PC thematic source template and the mobile terminal thematic source template can be respectively divided into different subclasses based on the functions of the thematic source templates, for example, the thematic source templates are divided into a skip function thematic source template, a mobile terminal thematic source template and a mobile terminal thematic source template, A non-skip function sub-topic source template, an expand function sub-topic source template, a compress function sub-topic source template, and the like.
In this embodiment, the label processing is performed on each topic source template, which is described in the specific embodiment, and the labels added to the topic source template a may be: the mobile phone end, returning to the ancient and skipping, and the label added to the B thematic source template can be as follows: the special subject page making device of the embodiment provides a merchant special subject page reservation interface, namely a selection interface for a merchant to select a special subject source template.
When a merchant special page reservation instruction is detected, acquiring corresponding page content, namely when the merchant special page reservation instruction is detected, acquiring the page content corresponding to the reservation instruction, wherein the page content can include a plurality of pages and the content of each page in the plurality of pages, and the content of each page includes a product picture, a title content, a product description and the like of the page.
After the reservation instruction is detected, the page content corresponding to the reservation instruction and the type of the special page to be made are also obtained, that is, the target type of the special page of the merchant is obtained, and it needs to be stated that the type of the special page to be made of the merchant can be one or more.
When the types of the special pages to be made by the merchant are multiple, the page contents need to be processed in batches, and the page contents in batches have a mapping relation with the types of the special pages to be made, wherein the batch processing process of the page contents can be manually batch by the merchant before the reservation instruction is generated, or can be automatically identified based on prestored special marks on different page contents, so that batch processing is performed based on the automatically identified marks.
Step S20, selecting a target special topic source template based on the type of the special topic page to be made, and taking the target special topic source template as a template to be edited;
the types of the pages to be made of the special topics are different, and the target special topic source templates are different, so that the target special topic source templates are selected based on the types of the pages to be made of the special topics, and the target special topic source templates are used as the templates to be edited, namely the templates to be edited are editable.
It should be noted that the process of selecting the target topic source template based on the type of the topic page to be made may be: based on the type of the special topic page to be made, obtaining a source template keyword, if the keyword can be: and selecting a target thematic source template from all thematic source templates based on the source template keywords at the mobile phone terminal, the dark system style, the jump kinetic energy and the like.
Wherein the step of selecting the topic source template based on the type of the topic page to be made comprises the following steps:
step S21, acquiring corresponding thematic marks based on the types of the to-be-made thematic pages, and judging whether the to-be-made thematic pages are jump pages based on the thematic marks;
in this embodiment, the type of the special subject page to be made is obtained, and the corresponding special subject mark is obtained based on the type of the special subject page to be made, where the special subject marks of different types of the special subject pages to be made are different, and the special subject mark can be divided into a jump page mark, a non-jump page mark, and the like, so that it can be determined whether the special subject page to be made is a jump page based on the special subject mark, the jump page is a page including other page link modes, it needs to be noted that, in the jump page, other page link modes are placed in the page to determine the position, and in addition, the sub-page of the jump page can also be the jump page.
And step S22, if the special topic page to be made is a jump page, selecting a jump page special topic source template.
And if the special topic page to be made is a jump page, selecting a jump page special topic source template. The skip page topic source template is divided into different types of skip page topic sub-source templates based on the number of sub-pages, so that if the topic page to be manufactured is a skip page, a target skip page topic sub-source template is selected based on the number of skip sub-pages.
Step S30, acquiring a non-style area in the template to be edited, and correspondingly filling the page content into the non-style area to obtain a target thematic page.
It should be noted that the template to be edited includes a style region and a non-style region, as shown in fig. 2, where the style region is a characteristic background region of the topic source template, and background information of the region, such as background patterns and text settings, is default, and is used for the description of the specific embodiment, the style region of the topic source template may be: the slogan 'Qishijie Happy' is arranged at the top of the template, wherein a non-style area also exists in the template to be edited, when a target thematic page is generated, the original content in the non-style area is required to be erased, the page content is filled, if different product thematic patterns are different, the different thematic patterns are filled into the non-style area, the position of the non-style area is determined, and it is required to say that the area of the non-style area in the template to be edited is larger than that of the style area.
Wherein the step of correspondingly filling the page content into the non-style region comprises:
step S31, rendering the non-style area of the template to be edited into a visual interface;
it should be noted that, the templates to be edited are all embodied in the form of codes before visualization, rendering the templates as the visualization interface belongs to the prior art, and no specific description is made.
And step S32, filling the page content on the visual interface.
And after rendering the non-style area of the template to be edited into a visual interface, filling the page content on the visual interface, namely filling the page content at the corresponding position of the template to be edited.
According to the method, when a reservation instruction of a special topic page of a merchant is detected, the page content corresponding to the reservation instruction and the type of the special topic page to be manufactured are obtained; selecting a special topic source template based on the type of the special topic page to be made, and taking the special topic source template as a template to be edited; acquiring a non-style area in a template to be edited, and correspondingly filling the page content into the non-style area to obtain a target thematic page. According to the method and the device, when a reservation instruction of the special pages of the merchant is detected, the special source template can be selected based on the acquired page content, and the style region of the special source template reserves the setting of repeated style regions such as backgrounds and fonts, so that repeated information such as the backgrounds and the fonts does not need to be edited again when the special pages are edited, and different page contents of each page are correspondingly filled into the non-style region, so that different pages of the special pages of the merchant do not need to be independently developed, manpower resources are saved, and the efficiency is improved. Therefore, the technical problems of time and labor waste and low efficiency in the process of manufacturing the special page in the prior art are solved.
Further, the present invention provides a second embodiment of the method for making a special topic page, wherein in the second embodiment, the step of correspondingly filling the page content into the non-style region includes:
step S33, acquiring the region attribute of the non-style region in the template to be edited, and performing splitting processing on the page content based on the region attribute;
acquiring the region attribute of the non-style region in the template to be edited, wherein the region attribute of the non-style region comprises information such as default filled page content in the non-style region, the position of the non-style region and the like.
The method for obtaining the region attribute of the non-style region in the template to be edited and performing the splitting processing on the page content based on the region attribute comprises the following steps:
step A1, acquiring title position marks of the title sub-regions and product position marks of the product sub-regions based on the region attributes of the non-style regions in the template to be edited;
the template non-style area to be edited is subdivided into a title sub-area and a product sub-area, wherein the title sub-area is filled with title sub-content in page content by default, the product sub-area is filled with product sub-content by default, the product sub-content comprises pictures, product descriptions and the like, it needs to be noted that different sub-areas are provided with different position marks for distinguishing by a special page making device, and the position marks comprise title position marks set by the title sub-area and product position marks set by the product sub-area.
Step A2, identifying a title sub-area and a product sub-area in the template non-style area to be edited based on the title position identification and the product position identification, so as to extract the title sub-content in the title sub-area and the product sub-content in the product sub-area.
And identifying a title sub-area in the non-style area of the template to be edited based on the title position identification, extracting title sub-content in the title sub-area, identifying a product sub-area in the non-style area of the template to be edited based on the product position identification, and extracting product sub-content in the product sub-area.
And step S34, filling the page content after the splitting processing into the non-style area.
And filling the page content subjected to the splitting processing into the non-style area. In this embodiment, after the title sub-content and the product sub-content are extracted, the adaptive font size, the image size, and the like of the title sub-content and the product sub-content are adjusted, because the areas of the title sub-region and the product sub-region in the non-style region are not necessarily matched with the corresponding page content.
In the embodiment, the page content is subjected to splitting processing based on the region attribute by acquiring the region attribute of the non-style region in the template to be edited; and filling the page content subjected to the splitting processing into the non-style area. Therefore, the thematic page is accurately changed, and the user experience is improved.
Further, the present invention provides a third embodiment of the method for making the special topic page, and in the third embodiment, the step of obtaining the page content corresponding to the reservation instruction and the type of the special topic page to be made includes:
step S11, when a reservation instruction of a special topic page of a merchant is detected, judging whether the corresponding special topic of the merchant is in a proper setting state;
wherein, the step of judging whether the special topic of the corresponding merchant is in a suitable setting state comprises the following steps:
step S12, acquiring a time attribute when the reservation instruction is detected, and acquiring a historical selling activity value of a merchant corresponding to the time attribute;
and acquiring a time attribute when the reservation instruction is detected so as to acquire reservation deadline of the merchant special page reservation and acquire a historical sales active value of the merchant corresponding to the time attribute, wherein the historical sales active value of the merchant comprises the historical sales amount of the commodity.
And step S13, when the historical sale active value is lower than a preset value, judging that the corresponding merchant special topic is in a proper setting state.
The method comprises the steps of judging that a corresponding merchant topic is in a proper setting state based on historical sales amount of a merchant, judging that the corresponding merchant topic is in the proper setting state when the historical sales active value is lower than a preset value, judging that the corresponding merchant topic is not in the proper setting state when the historical sales active value is higher than the preset value, specifically, obtaining a time period with a time attribute corresponding to the lowest historical sales amount, correspondingly generating updating time based on the lowest time period, and judging that the corresponding merchant topic is in the proper setting state based on the updating time if the updating time is 3-4 am. Note that the update time is before the reservation deadline.
To illustrate by using the specific embodiment, when detecting that the special subject of the business appointment "Qihai festival" of A, the historical sales amount of the business before the special subject of the business appointment of A is obtained to obtain the updating time so as to judge that the special subject of the corresponding business is in a proper setting state.
And step S14, if the reservation instruction is in a suitable setting state, executing the step of acquiring the page content corresponding to the reservation instruction and the type of the special topic page to be made.
And if the page is in a proper setting state, executing the step of acquiring the page content corresponding to the reservation instruction and the type of the special page to be manufactured. And if the page is not in the proper setting state, the step of acquiring the page content corresponding to the reservation instruction and the type of the special page to be manufactured is not executed.
In the embodiment, when a reservation instruction of a special topic page of a merchant is detected, whether the corresponding special topic of the merchant is in a proper setting state is judged; and if the page is in a proper setting state, executing the step of acquiring the page content corresponding to the reservation instruction and the type of the special page to be manufactured. The embodiment reduces the influence caused by changing the special topic page of the merchant, and improves the user experience.
The invention also provides a special topic page making device, which comprises:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring page content corresponding to a reservation instruction and the type of a special page to be manufactured when the reservation instruction of a special page of a merchant is detected;
the selecting module is used for selecting a special topic source template based on the type of the special topic page to be made and taking the special topic source template as a template to be edited;
and the second acquisition module is used for acquiring a non-style area in the template to be edited and correspondingly filling the page content into the non-style area so as to obtain the target thematic page.
Optionally, the selecting module includes:
the first acquisition unit is used for acquiring the region attribute of a non-style region in the template to be edited and splitting the page content based on the region attribute;
and the first filling unit is used for filling the page content subjected to the splitting processing into the non-style area.
Optionally, the first obtaining unit includes:
the first acquiring subunit is used for acquiring a title sub-area and a product sub-area in a template non-style area to be edited;
and the cutting unit is used for acquiring the distinguishing positions of the title sub-area and the product sub-area based on the title sub-area and the product sub-area, and respectively extracting the title sub-content in the title sub-area and the product sub-content in the product sub-area based on the distinguishing positions.
Optionally, the device for making thematic pages further includes:
the judging module is used for judging whether the corresponding merchant special topic is in a proper setting state or not when the reservation instruction of the merchant special topic page is detected;
and the execution module is used for executing the step of acquiring the page content corresponding to the reservation instruction and the type of the special page to be manufactured if the reservation instruction is in a proper setting state.
Optionally, the determining module includes:
the second acquisition unit is used for acquiring the time attribute when the reservation instruction is detected and acquiring the historical sales activity value of the merchant corresponding to the time attribute;
and the first judging unit is used for judging that the corresponding merchant special topic is in a proper setting state when the historical sales activity value is lower than a preset value.
Optionally, the selecting module further includes:
the second judging unit is used for acquiring a corresponding special topic mark based on the type of the special topic page to be made and judging whether the special topic page to be made is a skip page or not based on the special topic mark;
and the selecting unit is used for selecting a special topic source template of the jump page if the special topic page to be made is the jump page.
Optionally, the second obtaining module includes:
the rendering unit is used for rendering the non-style area of the template to be edited into a visual interface;
and the second filling unit is used for filling the page content on the visual interface.
Referring to fig. 3, fig. 3 is a schematic device structure diagram of a hardware operating environment according to an embodiment of the present invention.
The special page making device of the embodiment of the invention can be a PC, and also can be a terminal device such as a smart phone, a tablet personal computer, an electronic book reader, an MP3(Moving Picture Experts Group Audio Layer III, dynamic video Experts compression standard Audio Layer 3) player, an MP4(Moving Picture Experts Group Audio Layer IV, dynamic video Experts compression standard Audio Layer 4) player, a portable computer and the like.
As shown in fig. 3, the topic page making apparatus may include: a processor 1001, such as a CPU, a memory 1005, and a communication bus 1002. The communication bus 1002 is used for realizing connection communication between the processor 1001 and the memory 1005. The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a memory device separate from the processor 1001 described above.
Optionally, the theme page making device may further include a user interface, a network interface, a camera, an RF (radio frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like. The user interface may comprise a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface may also comprise a standard wired interface, a wireless interface. The network interface may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface).
Those skilled in the art will appreciate that the thematic page creation device configuration shown in fig. 3 does not constitute a limitation of the thematic page creation device, and may include more or fewer components than those shown, or some of the components may be combined, or a different arrangement of components.
As shown in fig. 3, a memory 1005, which is a kind of computer storage medium, may include therein an operation network communication module and a theme page making program. The operating system is a program that manages and controls the hardware and software resources of the topical page making device, and supports the operation of the topical page making program as well as other software and/or programs. The network communication module is used to implement communication between the components in the memory 1005 and with other hardware and software in the topical page preparation device.
In the topical page preparation apparatus shown in fig. 3, the processor 1001 is configured to execute the topical page preparation program stored in the memory 1005, and implement the following steps:
when a reservation instruction of a special topic page of a merchant is detected, acquiring page content corresponding to the reservation instruction and the type of the special topic page to be manufactured;
selecting a target special topic source template based on the type of the special topic page to be made, and taking the target special topic source template as a template to be edited;
acquiring a non-style area in a template to be edited, and correspondingly filling the page content into the non-style area to obtain a target thematic page.
Further, the step of correspondingly filling the page content into the non-style region includes:
acquiring the region attribute of a non-style region in a template to be edited, and performing splitting processing on the page content based on the region attribute;
and filling the page content subjected to the splitting processing into the non-style area.
Further, the step of obtaining the region attribute of the non-style region in the template to be edited and performing the splitting processing on the page content based on the region attribute comprises:
acquiring a title position identifier of the title sub-region and a product position identifier of the product sub-region based on the region attribute of the non-style region in the template to be edited;
and identifying a title sub-area and a product sub-area in the template non-style area to be edited based on the title position identification and the product position identification so as to extract the title sub-content in the title sub-area and the product sub-content in the product sub-area.
Further, the step of obtaining the page content corresponding to the reservation instruction and the type of the special topic page to be made comprises the following steps:
when a reservation instruction of a special topic page of a merchant is detected, judging whether the corresponding special topic of the merchant is in a proper setting state;
and if the page is in a proper setting state, executing the step of acquiring the page content corresponding to the reservation instruction and the type of the special page to be manufactured.
Further, the step of judging whether the special topic of the corresponding merchant is in the suitable setting state comprises the following steps:
acquiring a time attribute when the reservation instruction is detected, and acquiring a historical sales activity value of a merchant corresponding to the time attribute;
and when the historical sales active value is lower than a preset value, judging that the corresponding merchant special topic is in a proper setting state.
Further, the step of selecting a topic source template based on the type of the topic page to be made comprises the following steps:
acquiring a corresponding special topic mark based on the type of the special topic page to be made, and judging whether the special topic page to be made is a jump page based on the special topic mark;
and if the special topic page to be made is a jump page, selecting a jump page special topic source template.
Further, the step of correspondingly filling the page content into the non-style region includes:
rendering the non-style area of the template to be edited into a visual interface;
and filling the page content on the visual interface.
The specific implementation of the special page making device of the invention is basically the same as the embodiments of the special page making method, and the details are not repeated herein.
The present invention provides a readable storage medium storing one or more programs, the one or more programs being further executable by one or more processors for performing the steps of:
when a reservation instruction of a special topic page of a merchant is detected, acquiring page content corresponding to the reservation instruction and the type of the special topic page to be manufactured;
selecting a target special topic source template based on the type of the special topic page to be made, and taking the target special topic source template as a template to be edited;
acquiring a non-style area in a template to be edited, and correspondingly filling the page content into the non-style area to obtain a target thematic page.
Further, the step of correspondingly filling the page content into the non-style region includes:
acquiring the region attribute of a non-style region in a template to be edited, and performing splitting processing on the page content based on the region attribute;
and filling the page content subjected to the splitting processing into the non-style area.
Further, the step of obtaining the region attribute of the non-style region in the template to be edited and performing the splitting processing on the page content based on the region attribute comprises:
acquiring a title position identifier of the title sub-region and a product position identifier of the product sub-region based on the region attribute of the non-style region in the template to be edited;
and identifying a title sub-area and a product sub-area in the template non-style area to be edited based on the title position identification and the product position identification so as to extract the title sub-content in the title sub-area and the product sub-content in the product sub-area.
Further, the step of obtaining the page content corresponding to the reservation instruction and the type of the special topic page to be made comprises the following steps:
when a reservation instruction of a special topic page of a merchant is detected, judging whether the corresponding special topic of the merchant is in a proper setting state;
and if the page is in a proper setting state, executing the step of acquiring the page content corresponding to the reservation instruction and the type of the special page to be manufactured.
Further, the step of judging whether the special topic of the corresponding merchant is in the suitable setting state comprises the following steps:
acquiring a time attribute when the reservation instruction is detected, and acquiring a historical sales activity value of a merchant corresponding to the time attribute;
and when the historical sales active value is lower than a preset value, judging that the corresponding merchant special topic is in a proper setting state.
Further, the step of selecting a topic source template based on the type of the topic page to be made comprises the following steps:
acquiring a corresponding special topic mark based on the type of the special topic page to be made, and judging whether the special topic page to be made is a jump page based on the special topic mark;
and if the special topic page to be made is a jump page, selecting a jump page special topic source template.
Further, the step of correspondingly filling the page content into the non-style region includes:
rendering the non-style area of the template to be edited into a visual interface;
and filling the page content on the visual interface.
The specific implementation of the readable storage medium of the present invention is basically the same as the embodiments of the above-mentioned topic page creation method, and is not described herein again.
The invention provides a special topic page making system, and the specific implementation mode of the special topic page making system is basically the same as that of each embodiment of the special topic page making method, and the detailed description is omitted here.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (7)

1. A method for making a special topic page is characterized by comprising the following steps:
when a reservation instruction of a special page of a merchant is detected, acquiring a time attribute when the reservation instruction is detected, and acquiring a historical sale activity value of the merchant corresponding to the time attribute;
when the historical sales activity value is lower than a preset value, judging that the corresponding merchant special topic is in a proper setting state;
if the page is in a proper setting state, acquiring the page content corresponding to the reservation instruction and the type of the special page to be made, and when the type of the special page to be made is multiple, carrying out batch processing on the page content based on the special mark, wherein the batch page content has a mapping relation with the type of the special page to be made;
acquiring a corresponding special topic mark based on the type of the special topic page to be made, and judging whether the special topic page to be made is a jump page based on the special topic mark;
if the special topic page to be made is a jump page, selecting a jump page special topic source template, and taking the jump page special topic source template as a template to be edited, wherein other page link modes are placed in the page to determine the position in the jump page, in addition, a sub-page of the jump page also comprises the jump page, and the special topic source template of the jump page is divided into different types according to the number of the sub-pages;
acquiring a non-style area in a template to be edited, and correspondingly filling the page content into the non-style area to obtain a target thematic page.
2. The method for making a topical page according to claim 1, wherein said step of correspondingly filling said page contents into said non-style region comprises:
acquiring the region attribute of a non-style region in a template to be edited, and performing splitting processing on the page content based on the region attribute;
and filling the page content subjected to the splitting processing into the non-style area.
3. The method for making a thematic page according to claim 2, wherein the step of obtaining the region attribute of the non-style region in the template to be edited and the step of performing the splitting processing on the page content based on the region attribute comprises:
acquiring a title position identifier of the title sub-region and a product position identifier of the product sub-region based on the region attribute of the non-style region in the template to be edited;
and identifying a title sub-area and a product sub-area in the template non-style area to be edited based on the title position identification and the product position identification so as to extract the title sub-content in the title sub-area and the product sub-content in the product sub-area.
4. The method for making a topical page according to claim 1, wherein said step of correspondingly filling said page contents into said non-style region comprises:
rendering the non-style area of the template to be edited into a visual interface;
and filling the page content on the visual interface.
5. A topic page creation device, characterized in that the topic page creation device comprises:
the first acquisition module is used for acquiring a time attribute when the reservation instruction is detected and acquiring a historical sales activity value of a merchant corresponding to the time attribute;
when the historical sales activity value is lower than a preset value, judging that the corresponding merchant special topic is in a proper setting state;
if the page is in a proper setting state, acquiring the page content corresponding to the reservation instruction and the type of the special page to be made, and when the type of the special page to be made is multiple, carrying out batch processing on the page content based on the special mark, wherein the batch page content has a mapping relation with the type of the special page to be made;
the second judging unit is used for acquiring a corresponding special topic mark based on the type of the special topic page to be made and judging whether the special topic page to be made is a skip page or not based on the special topic mark;
the selecting unit is used for selecting a special topic source template of the jump page and taking the special topic source template of the jump page as a template to be edited if the special topic page to be made is the jump page, wherein other page link modes are arranged in the page to determine the position in the jump page, in addition, a sub-page of the jump page also comprises the jump page, and the special topic source template of the jump page is divided into different types according to the number of the sub-pages;
and the second acquisition module is used for acquiring a non-style area in the template to be edited and correspondingly filling the page content into the non-style area so as to obtain the target thematic page.
6. A special topic page production device, characterized in that the special topic page production device comprises: a memory, a processor, a communication bus, and a topical page creation program stored on the memory,
the communication bus is used for realizing communication connection between the processor and the memory;
the processor is configured to execute the topic page creation program to implement the steps of the topic page creation method according to any one of claims 1 to 4.
7. A readable storage medium having stored thereon a topical page preparation program, which when executed by a processor, performs the steps of the topical page preparation method of any of claims 1-4.
CN201711066905.9A 2017-11-01 2017-11-01 Method, device and equipment for making thematic page and readable storage medium Active CN107832041B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711066905.9A CN107832041B (en) 2017-11-01 2017-11-01 Method, device and equipment for making thematic page and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711066905.9A CN107832041B (en) 2017-11-01 2017-11-01 Method, device and equipment for making thematic page and readable storage medium

Publications (2)

Publication Number Publication Date
CN107832041A CN107832041A (en) 2018-03-23
CN107832041B true CN107832041B (en) 2020-10-30

Family

ID=61650571

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711066905.9A Active CN107832041B (en) 2017-11-01 2017-11-01 Method, device and equipment for making thematic page and readable storage medium

Country Status (1)

Country Link
CN (1) CN107832041B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110633118A (en) * 2018-06-21 2019-12-31 绍兴锋芒电子科技有限公司 Program self-making method, device and storage medium
CN109032584A (en) * 2018-07-27 2018-12-18 郑州云海信息技术有限公司 A kind of generation method of cascading style sheets, device, equipment and medium
CN109343851A (en) * 2018-09-26 2019-02-15 中国平安人寿保险股份有限公司 Page generation method, device, computer equipment and storage medium
CN109460481A (en) * 2018-11-13 2019-03-12 北京中网易企秀科技有限公司 A kind of multimedia file producting method and device
CN109885305B (en) * 2019-02-26 2022-10-28 广州虎牙信息科技有限公司 Method, device, equipment and storage medium for processing special topic pages
CN112528204B (en) * 2020-12-22 2024-02-06 北京搜房科技发展有限公司 Method and device for manufacturing thematic webpage

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8869016B2 (en) * 2012-03-13 2014-10-21 You Everywhere Now, Llc Page creation system
CN104426896A (en) * 2013-09-10 2015-03-18 腾讯科技(北京)有限公司 Method and device for producing topic pages
CN105677699A (en) * 2015-12-18 2016-06-15 网易传媒科技(北京)有限公司 Method and apparatus for generating news pages for user
CN106708484A (en) * 2015-11-13 2017-05-24 阿里巴巴集团控股有限公司 Page creating method and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8869016B2 (en) * 2012-03-13 2014-10-21 You Everywhere Now, Llc Page creation system
CN104426896A (en) * 2013-09-10 2015-03-18 腾讯科技(北京)有限公司 Method and device for producing topic pages
CN106708484A (en) * 2015-11-13 2017-05-24 阿里巴巴集团控股有限公司 Page creating method and apparatus
CN105677699A (en) * 2015-12-18 2016-06-15 网易传媒科技(北京)有限公司 Method and apparatus for generating news pages for user

Also Published As

Publication number Publication date
CN107832041A (en) 2018-03-23

Similar Documents

Publication Publication Date Title
CN107832041B (en) Method, device and equipment for making thematic page and readable storage medium
CN107729361B (en) Automatic synthesized picture pushing method and device and storage medium
CN109697093A (en) Card generation method, card generating means, mobile terminal and readable storage medium storing program for executing
CN104765746B (en) Data processing method and device for mobile communication terminal browser
CN111752557A (en) Display method and device
CN112925520A (en) Method and device for building visual page and computer equipment
CN111338690A (en) Method and device for configuring pages of small program shop, computer equipment and storage medium
CN111259284A (en) Page lazy loading method and device, storage medium and processor
CN110765015A (en) Method for testing application to be tested and electronic equipment
EP4033438A1 (en) Video generation method and device, and terminal and storage medium
US10558745B2 (en) Information processing apparatus and non-transitory computer readable medium
CN111596911A (en) Method and device for generating control, computer equipment and storage medium
CN112068911A (en) Method, device, system, equipment and medium for generating electronic form
CN109683760B (en) Recent content display method, device, terminal and storage medium
CN111767488A (en) Article display method, electronic device and storage medium
CN111694549A (en) Data processing method, device, terminal and medium
CN105260459A (en) Search method and apparatus
CN106155754B (en) Display template processing method and device
CN109740074B (en) Method, device and equipment for processing parameter configuration information
CN107862728B (en) Picture label adding method and device and computer readable storage medium
CN107733777B (en) Third party information notification method, system and computer readable storage medium
CN114741144B (en) Web-side complex form display method, device and system
CN114461960B (en) Page generation method, page display method and page display device
CN110633251A (en) File conversion method and equipment
CN106776634A (en) A kind of method for network access, device and terminal device

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