CN113867881B - Application home page dynamic display method, device, equipment and medium - Google Patents
Application home page dynamic display method, device, equipment and medium Download PDFInfo
- Publication number
- CN113867881B CN113867881B CN202111217379.8A CN202111217379A CN113867881B CN 113867881 B CN113867881 B CN 113867881B CN 202111217379 A CN202111217379 A CN 202111217379A CN 113867881 B CN113867881 B CN 113867881B
- Authority
- CN
- China
- Prior art keywords
- page
- template
- activity
- home page
- target
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0483—Interaction with page-structured environments, e.g. book metaphor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04842—Selection of displayed objects or displayed text elements
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a method, a device, equipment and a medium for dynamically displaying an application home page, which are applied to an operation background with a pre-stored activity list, and the method comprises the following steps: responding to a home page template type selection instruction, and searching a target home page activity display type from a plurality of home page activity display types; responding to a second-level page template type selection instruction, and searching a target second-level page activity display type from a plurality of second-level page activity display types associated with the target home page activity display type; configuring a home page editing template corresponding to the target home page activity display type and a secondary page editing template corresponding to the target secondary page activity display type by adopting the received editing information; when the template is configured, adding the template as a template to be displayed to an activity list; and responding to an application home page reading request of an application end, extracting a matched template to be displayed from the activity list to construct a target home page, and mapping the target home page to the application end for displaying, so that the activity configuration flexibility is ensured and the development cost is effectively reduced.
Description
Technical Field
The invention relates to the technical field of page display, in particular to a method, a device, equipment and a medium for dynamically displaying an application home page.
Background
With the continuous development of technologies, smart devices such as smart phones and tablet computers are widely popularized, and more users use portable terminal devices. In these terminal devices, users can conveniently install application software applications with various functions, and by using the application software applications installed in the terminal devices, internet information can be acquired, and activities such as work, entertainment, and the like can be performed.
However, as the use scenes of the application are fragmented, the attractiveness of the application page is also more demanding. It is obvious that, in the process of using the e-commerce application, users tend to click beautiful pages more while meeting personal requirements.
Therefore, in the prior art, various e-commerce activities are generally aggregated in a fixed typesetting manner through an operation background, and an application end is displayed, for example, all the commodity sales activities are collectively arranged in a home page classification page of an application, but when relevant commodity sales activities such as seasonality, paroxysmal are encountered, the display page of an application client needs to be re-typesetted, which leads to an increase in development cost.
Disclosure of Invention
The invention provides a method, a device, equipment and a medium for dynamically displaying an application home page, which solve the technical problem that in the prior art, the aggregation of E-commerce activities is usually carried out on an application client in a fixed typesetting mode, and the development cost is increased because the edition of the application client needs to be reissued every time the activities are updated.
The invention provides a dynamic display method of an application home page, which is applied to an operation background, wherein a preset activity list is stored in the operation background, and the method comprises the following steps:
responding to a received home page template type selection instruction, and searching a home page activity display type matched with the home page template type selection instruction from a plurality of preset home page activity display types as a target home page activity display type;
responding to a received second-level page template type selection instruction, and searching a second-level page activity display type matched with the second-level page template type selection instruction from a plurality of second-level page activity display types associated with the target first-level page activity display type as a target second-level page activity display type;
when receiving editing information, configuring a home page editing template corresponding to the target home page activity display type and a secondary page editing template corresponding to the target secondary page activity display type by adopting the editing information;
when detecting that the first page editing template and the second page editing template are configured completely, adding the first page editing template and the second page editing template into the activity list as templates to be displayed;
when an application home page reading request sent by any application terminal is received, at least one template to be displayed, which is matched with the application home page reading request, is extracted from the activity list to construct a target home page, and the target home page is mapped to the application terminal for displaying.
Optionally, the edit information includes first page edit information and second page edit information; the step of configuring the home page editing template corresponding to the target home page activity display type and the second level page editing template corresponding to the target second level page activity display type by using the editing information comprises the following steps:
loading the home page editing information to a home page editing template corresponding to the target home page activity display type;
loading the secondary page editing information to a secondary page editing template corresponding to the target secondary page activity display type;
when a submission instruction is received, rendering the first page editing template to generate a first page card, and rendering the second page editing template to generate a second page associated with the first page card and displaying the second page;
and responding to a page confirmation instruction aiming at the home page card and the secondary page, and judging that the home page editing template and the secondary page editing template are configured to be completed.
Optionally, when an application home page read request sent by any application end is received, the step of extracting at least one template to be displayed, which is matched with the application home page read request, from the active list to construct a target home page, and mapping the target home page to the application end for displaying includes:
when an application home page reading request sent by any application terminal is received, determining at least one template to be displayed as a target display template according to the current template state of each template to be displayed in the activity list;
rendering at least one target display template, and constructing an initial page;
adjusting the display sequence of the target display template in the initial page based on the template type contained in the initial page and a preset type sequence relation table to generate a target home page;
and mapping the target home page to the application end for displaying.
Optionally, the step of determining, when an application home page reading request sent by any application terminal is received, at least one template to be displayed as a target display template according to a current template state of each template to be displayed in the activity list includes:
when an application home page reading request sent by any application terminal is received, acquiring the current template state of each template to be displayed in the activity list; wherein the current template state comprises a displayable state and a non-displayable state;
determining the template to be displayed with the current template state as the displayable state as a target display template;
and if the current template state is the non-displayable state, determining the template to be displayed as a hidden template.
Optionally, the template types include a seasonal activity template, a time-limited buying activity template, a sales promotion activity template, and/or other activity templates; the step of adjusting the display order of the target display template in the initial page based on the template type contained in the initial page and a preset type order relation table to generate a target home page includes:
when the initial page contains all the template types, arranging the target display templates according to the display sequence of the seasonal activity templates, the time-limited shopping activity templates, the promotion activity templates and the other activity templates to generate a target home page;
when the initial page does not contain the seasonal activity template and the time-limited purchase activity template, arranging the target display templates according to the display sequence of the other activity templates and the promotion activity templates to generate a target home page;
when the initial page does not contain the seasonal activity template, arranging the target display template according to the display sequence of the time-limited purchase activity template, the promotion activity template and the other activity templates to generate a target home page;
and when the initial page does not contain the time-limited purchasing activity template, arranging the target display template according to the display sequence of the seasonal activity template, the promotion activity template and the other activity templates to generate a target home page.
Optionally, before the step of mapping the target home page to the application end for displaying, the method further includes:
acquiring historical revenue information and holiday time information of a region where the application terminal is located according to the commodity type corresponding to the target display template in the target home page;
sequencing the target display templates corresponding to the commodity types from high to low according to the historical revenue information to obtain a middle page;
respectively calculating the festival relevance of each commodity type and the region where the application terminal is located according to the festival time information;
and updating the intermediate page from high to low according to the festival relevance to generate a new target home page.
Optionally, the application end is configured to jump from the target top page to the secondary page in response to a click instruction for the top page card;
the secondary page comprises a plurality of switchable page options, and each switchable page option is associated with a secondary page corresponding to the home page card.
The second aspect of the present invention provides a dynamic display apparatus for an application home page, which is applied to an operation background, where a preset activity list is stored, and the apparatus includes:
the home page template selecting module is used for responding to a received home page template type selecting instruction and searching a home page activity display type matched with the home page template type selecting instruction from a plurality of preset home page activity display types as a target home page activity display type;
the second-level page template selecting module is used for responding to a received second-level page template type selecting instruction and searching a second-level page activity display type matched with the second-level page template type selecting instruction from a plurality of second-level page activity display types associated with the target home page activity display type to be used as a target second-level page activity display type;
the template configuration module is used for configuring a home page editing template corresponding to the target home page activity display type and a secondary page editing template corresponding to the target secondary page activity display type by adopting the editing information when the editing information is received;
the template adding module is used for adding the first page editing template and the second page editing template into the activity list as templates to be displayed when the first page editing template and the second page editing template are detected to be configured;
and the mapping display module is used for extracting at least one template to be displayed matched with the application home page reading request from the activity list to construct a target home page when receiving the application home page reading request sent by any application terminal, and mapping the target home page to the application terminal for display.
A third aspect of the present invention provides an electronic device, which includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method for dynamically displaying the application home page according to any one of the first aspect of the present invention.
A fourth aspect of the present invention provides a computer-readable storage medium, on which a computer program is stored, which, when executed, implements the method for dynamically presenting an application home page according to any one of the first aspect of the present invention.
According to the technical scheme, the invention has the following advantages:
according to the method, an operation background responds to a received home page template type selection instruction, a home page activity display type matched with the home page template type selection instruction is searched from a plurality of preset home page activity display types to serve as a target home page activity display type, the operation background displays a plurality of secondary page activity display types related to the target home page activity display type at the moment, the input secondary page template type selection instruction is responded to the page, a secondary page activity display type matched with the secondary page template type selection instruction is searched from the plurality of secondary page activity display types to serve as a target secondary page activity display type, and therefore the target home page activity display type and the secondary page activity display type are selected; if the editing information is received, further configuring page elements for a home page editing template corresponding to the target home page activity display type and a secondary page editing template corresponding to the target secondary page activity display type by adopting the editing information; when the operation background detects that the template is configured completely, adding the first-level page editing template and the second-level page editing template into the activity list as templates to be displayed; when an application home page reading request sent by any application end is received, at least one template to be displayed, which is matched with the application home page reading request, is extracted from the activity list and is rendered to construct a target home page, and the target home page is mapped to the application end for displaying, so that the technical problems that the flexibility of the activity configuration of the e-commerce type activities caused by fixed typesetting aggregation on the application page is low and the development cost is increased because the re-typesetting of the application is required for updating the e-commerce type activities in each time in the prior art are solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings 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 only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a flowchart illustrating steps of a method for dynamically displaying an application home page according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating steps of a method for dynamically displaying an application home page according to a second embodiment of the present invention;
FIG. 3a is a schematic illustration of a page of an active display stencil according to an embodiment of the present invention;
fig. 3b is a schematic page diagram of a second-level page editing template according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a page of an activity list according to an embodiment of the present invention;
fig. 5 is a schematic page diagram of a target home page of an application according to an embodiment of the present invention;
fig. 6 is a block diagram of a structure of an application home page dynamic display apparatus according to a third embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a method, a device, equipment and a medium for dynamically displaying an application home page, which are used for solving the technical problem that in the prior art, the aggregation of E-commerce activities is usually carried out on an application client in a fixed typesetting mode, and the development cost is increased because the edition of the application client needs to be sent again each time the activities are updated. .
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the embodiments described below are only a part of the embodiments of the present invention, 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 invention.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for dynamically displaying an application home page according to an embodiment of the present invention.
The invention provides a dynamic display method of an application home page, which is applied to an operation background, wherein a preset activity list is stored in the operation background, and the method comprises the following steps:
and 101, responding to the received home page template type selection instruction, and searching a home page activity display type matched with the home page template type selection instruction from a plurality of preset home page activity display types as a target home page activity display type.
An operation background refers to a system capable of providing an application operator with modification, operation and management of an application, which may be implemented by software and/or hardware, and may be configured in a computer device, such as a personal computer, a notebook computer, a mobile terminal, a smart device, and so on.
The activity list pre-stored in the operation background is used for storing operation records for operating each business object in the application, taking e-commerce application APP as an example, the business object can be various commodity sales activities to be displayed on the application front-end page, such as sales promotion activities, seasonal activities, killing activities per second, limited time purchasing activities, and the like, and the business object can also be other element contents to be displayed on the application front-end page, such as IP joint names, member registration, hot sales commodity list, category recommendation, and the like.
In this embodiment, the operation background may be configured to perform background configuration on the front-end display content of the application, specifically, may configure specific display types, display positions, display pictures, and activity states (for example, online, offline, and to be released) of various service objects in the application, where the service objects may be various display templates that may be displayed on the application front-end page.
The home page template type selection instruction refers to an instruction for performing type selection on a home page activity display type in an operation background display page by an operation user of an operation background, and the instruction can be generated by triggering operation such as clicking, touching or checking on operation equipment connected to the operation background by the user. The home page activity display type refers to activity template type options displayed in a card form on a home page of an application end, and each activity template type option is associated with at least one secondary page activity display type, namely each home page activity display type is associated with at least one secondary page activity display type.
The home page activity display type comprises but is not limited to a seasonal activity template type, a time-limited purchase activity template type, a promotion activity template type, other activity template types and the like, wherein commodity sales activities can be freely defined in the other activity templates, and the other activity templates are special areas set for facilitating the sale configuration of certain commodities of which the promotion types cannot be defined at any time in a background; the other activity templates may perform activity configuration of online sales of commodities according to a commodity sales condition of a region where the application user group is located, for example, discount is performed on the commodity of the food class, or, for example, product selection and promotion are performed according to popular commodities of the region where the application user group is located in a recent period of time, a configuration page for editing activity commodities to be promoted is below a secondary page of the other activity templates, and the configuration page includes pricing configuration of the activity commodities, uploading pictures of the activity commodities, description of commodity detail information, and the like.
In the embodiment of the invention, after the operation background is initialized, if the operation background receives a home page template type selection instruction generated by triggering of a user on a display screen or other operation equipment, the home page template type selection instruction is responded, the home page template type selection instruction is analyzed, and a home page activity display type matched with the home page template selection instruction is searched from a plurality of currently displayed home page activity display types and is used as a target home page activity display type.
It is worth mentioning that the specific operation dynamics of each type of display template can be displayed in an activity list, a plurality of controls are preset in a page where the activity list is located, the controls can adjust the display sequence of the various types of display templates on the application front-end page, and the controls can also control the display states of the various types of display templates on the application front-end page.
And 102, responding to the received second-level page template type selection instruction, and searching a second-level page activity display type matched with the second-level page template type selection instruction from a plurality of second-level page activity display types associated with the target first-level page activity display type to serve as the target second-level page activity display type.
The second-level page template type selection instruction in the embodiment of the invention refers to instruction information generated by responding to the triggering operation of clicking, touching or checking and the like of a second-level activity display type displayed in association with the current target home page activity display type by a user after the operation background responds to the home page template type selection instruction to select the target home page activity display type.
The second-level page activity display type refers to an activity display type of a second-level page to which a display card corresponding to the current target first-page activity display type is mapped. For example, when the home page activity display type is a promotion activity template type, the associated secondary page activity display type may include discount types (such as 3-fold, 7-fold, 9-fold, etc.) corresponding to the commodity class, and different discount types may be set for different commodity classes; when the front page activity display type is the time-limited purchase activity template type, the associated secondary page activity display type may include a commodity type, and a discount type (e.g., 2-piece 8-fold, 3-piece 7-fold, etc.) bound to the commodity quantity.
In this embodiment, after the operation background receives the home page template type selection instruction to select the target home page activity display type, the operation background displays a plurality of secondary page activity display types associated with the target home page activity display type on the current page. If the user triggers in a plurality of secondary page activity display types of the current page, the operation background responds to a secondary page template type selection instruction generated by the triggering operation, and the secondary page activity display type matched with the secondary page template type selection instruction is matched from the plurality of secondary page activity display types and serves as the target secondary page activity display type.
And 103, when the editing information is received, configuring a home page editing template corresponding to the target home page activity display type and a secondary page editing template corresponding to the target secondary page activity display type by using the editing information.
The editing information refers to activity information loaded in a home page editing template corresponding to the target home page activity display type and a webpage element on a secondary page editing template corresponding to the target secondary page activity display type in response to input operation of a user.
The specific content of the home page editing template is not limited in this embodiment, because the home page activity display type includes, but is not limited to, a seasonal activity template type, a time-limited purchase activity template type, a promotion activity template type, other activity template types, and the like, the target home page activity display type is used as a determined home page activity display type in the operation background, and the home page editing template corresponding to the target home page activity display type may include, but is not limited to, a seasonal activity editing template, a time-limited purchase activity editing template, a promotion activity editing template, other activity editing templates, and the like.
It can be understood that the secondary page activity display type may include a discount type corresponding to a commodity category, a commodity type, a discount type bound to a commodity quantity, and the like, and then the target secondary page activity display type is used as a secondary page activity display type determined in the operation background, and the secondary page editing template corresponding to the target secondary page activity display type may include a discount editing template corresponding to a commodity category, a commodity type editing template, a discount type editing template bound to a commodity quantity, and the like, and the specific content of the secondary page editing template is not limited in this embodiment.
The editing information in this embodiment may include home page editing information and secondary page editing information, where the home page editing information includes, but is not limited to, information such as a name of an activity tag (tab), a type of a delivered crowd, a mapping page, and an example picture, and the secondary page editing information includes, but is not limited to, information such as a picture of a head of a secondary page (a picture shown at a top of a page), a background color, a name of a activity tag (tab) of a secondary page, a commodity attribute list, and a delivery store list.
In the embodiment of the invention, when an operator inputs editing information on the operation background, the operation background responds to the editing information and configures the home page editing template corresponding to the target home page activity display type to complete the configuration of the home page card, and the home page card can be generated by rendering the home page editing template; meanwhile, the operation background can also respond to the editing information to configure a secondary page editing template corresponding to the target secondary page activity display type, and the configuration of the secondary page associated with the home page card is completed.
And step 104, when detecting that the first page editing template and the second page editing template are configured completely, adding the first page editing template and the second page editing template into the activity list as templates to be displayed.
The template to be displayed in the embodiment of the invention refers to a template for recording information such as a first-level page editing template, a second-level page editing template, a mapping relation between the first-level page editing template and the second-level page editing template.
In this embodiment, the pages where the first page editing template and the second page editing template are located also have submission options, and when the user triggers the submission options through an instruction such as a click, the operation background determines that the first page editing template and the second page editing template are configured and completed at the current moment, and at this moment, the first page editing template and the second page editing template can be used as templates to be displayed, and the templates to be displayed are added to the activity list.
And 105, when receiving an application home page reading request sent by any application end, extracting at least one template to be displayed matched with the application home page reading request from the activity list to construct a target home page, and mapping the target home page to the application end for displaying.
The application home page reading request is request information generated when the user performs access operation on the application home page at the application terminal. The application home page reading request can be used for acquiring a template to be displayed, which is matched with the request information, from an activity list of an operation background, rendering the template to be displayed in the operation background or a server and other equipment associated with the operation background, and constructing to obtain a target home page.
In the embodiment of the invention, when a user opens the application end, the application end can automatically send the application home page reading request to the operation background, and the operation background responds to the triggering of the application home page reading request at the moment and retrieves the activity list. And extracting at least one template to be displayed as a target display template to construct a target home page based on the template state of each template to be displayed in the activity list, and mapping the constructed target home page to an application terminal for displaying.
In specific implementation, because the template to be displayed is constructed by the first page editing template and the second level editing template, and the target display template is used as the template to be displayed, when the application end receives a click command of a user on the target display template, the application end can jump from the first page card formed by rendering the first page editing template to the second level page associated with the first page card according to the page mapping relation between the first page editing template and the second level editing template in the target display template (the second level page is constructed by rendering the second level editing template mapped in association with the first page editing template). Furthermore, a plurality of switchable page options can be further arranged in the secondary page, each switchable page option is correspondingly matched with one home page card, and the switchable page option corresponding to each home page card can jump to the secondary page associated with the current home page card when response information is received; specifically, in a certain secondary page, when the application end receives a trigger action of the user for a switchable page option in the secondary page, the application end can switch from the current secondary page to a secondary page corresponding to the triggered switchable page option associated with the home page card, so that the user can switch the secondary pages of different home page cards in the secondary page.
In the embodiment of the invention, a received home page template type selection instruction is responded by an operation background, a home page activity display type matched with the home page template type selection instruction is searched from a plurality of preset home page activity display types to be used as a target home page activity display type, at the moment, a plurality of secondary page activity display types related to the target home page activity display type are displayed by the operation background, the input secondary page template type selection instruction is responded by the page, and a secondary page activity display type matched with the secondary page template type selection instruction is searched from the plurality of secondary page activity display types to be used as a target secondary page activity display type, so that the target home page activity display type and the secondary page activity display type are selected; if the editing information is received, further configuring page elements for a home page editing template corresponding to the target home page activity display type and a secondary page editing template corresponding to the target secondary page activity display type by adopting the editing information; when the operation background detects that the template is configured completely, adding the first-level page editing template and the second-level page editing template into the activity list as templates to be displayed; when an application home page reading request sent by any application end is received, at least one template to be displayed, which is matched with the application home page reading request, is extracted from the activity list and is rendered to construct a target home page, and the target home page is mapped to the application end for displaying, so that the technical problems that the flexibility of the activity configuration of the e-commerce type activities caused by fixed typesetting aggregation on the application page is low and the development cost is increased because the re-typesetting of the application is required for updating the e-commerce type activities in each time in the prior art are solved.
Referring to fig. 2, fig. 2 is a flowchart illustrating steps of a dynamic presentation method for an application home page according to a second embodiment of the present invention.
The invention provides a dynamic display method of an application home page, which is applied to an operation background, wherein a preset activity list is stored in the operation background, and the method comprises the following steps:
In the embodiment of the present invention, the specific implementation process of steps 201-202 is similar to that of steps 101-102, and is not described herein again.
Referring to FIG. 3a, a diagram of a page showing various home activity types is shown.
In one example of the present invention, for the convenience of user selection, various home page activity presentation types may use the categories of the secondary page activity presentation types respectively associated therewith as a cover map.
When a user finds a target home page activity display type, a home page template type selection instruction can be input in an operation background, and the home page activity display type matched with the home page template type selection instruction is selected as the target home page activity display type. At this time, another page is generated on the basis of the current page, and a plurality of secondary page activity display types associated with the target home page activity display type are displayed, as shown in fig. 3 b. The user can input a second-level page template type selection instruction on the page, so that the second-level page activity display type matched with the second-level page template type selection instruction is found from the multiple second-level page activity display types, and the second-level page activity display type is determined as a target second-level page activity display type.
In a specific implementation, taking a sales promotion type activity template as an example, after selecting a sales promotion type activity template type as a target home page activity display type from a plurality of home page activity display types in response to a home page template type selection instruction, the current target home page activity display type may include 5 secondary page activity display types, for example, a discount type corresponding to a commodity type, a special price type set by the commodity type, a quantity full gift activity type of the commodity type, a discount type bound to the commodity quantity, and a user point accumulation activity type (for example, a product of a price for purchasing a commodity by a user and different point activity coefficients may be used as a user point accumulation activity type, and a point activity system may be 2 times, 3 times, N times, and the like); the above 5 secondary page activity display types may be respectively embodied as: discounts (discount districts), specials (reduced-price good items), full gifts (gifts are bought), combined prices (combination offers), X-fold points (i.e. member dedication); all secondary page activity display types can exist simultaneously, but only one secondary page editing template corresponding to each type can be online, and the application end can display different template styles according to the number of the secondary page activity display types configured by the operation background, for example, if 5 types of configurations are selected, the application end can display template styles which are all the 5 secondary page activity display types; if 4 types of configuration are selected, the application end can display template patterns which are all of the 4 secondary page activity display types; if 3 types of configuration are selected, the application end can display template patterns which are all of the 3 types of second-level page activity display types; if 2 types of configuration are selected, the application end can display template patterns which are all of 2 secondary page activity display types; if only 1 type of configuration is selected, the application end only displays template styles of 1 type of second-level page activity display types.
It is worth mentioning that, after the target home page activity display type is determined, the editing page where the home page editing template corresponding to the target home page activity display type and the second-level page editing template corresponding to the target home page activity display type exist simultaneously can be skipped to wait for the loading of the editing information to complete the template configuration.
In one example of the present invention, the edit information may include first page edit information and second page edit information. The home page editing information refers to activity information loaded in a webpage element of a home page editing template corresponding to the target home page activity display type in response to input operation of a user; the second-level page editing information refers to activity information loaded in a webpage element on a second-level page editing template corresponding to the target second-level page activity display type. The first page editing information comprises but is not limited to information such as an activity tab name, a release crowd type, a mapping page and an example picture, and the second page editing information comprises but is not limited to information such as a second page head picture, a background color, a second page activity tab name, a commodity attribute list and a release store list.
And step 203, when the first page editing information and the second page editing information are received, loading the first page editing information to a first page editing template corresponding to the target first page activity display type.
The home page editing template refers to a page provided with a plurality of page elements to be edited, and the page elements to be edited can include, but are not limited to, an activity tab name, an activity type, a delivery crowd, an activity profile, an activity example picture, and an option or input box for mapping the page.
In the embodiment of the invention, after the homepage editing information is received, page elements such as each input frame or option in the template can be subjected to information input or picture uploading according to the homepage editing information in the homepage editing template corresponding to the target homepage activity display type, so that the loading of the homepage editing information is completed, and the configuration of the homepage editing template is completed.
And step 204, loading the second-level page editing information to a second-level page editing template corresponding to the target second-level page activity display type.
The secondary page editing template in the embodiment of the present invention refers to a page including a plurality of secondary page editing page elements, where the secondary page editing page elements may include, but are not limited to, a secondary page header picture (a page top presentation picture), a page background color, a secondary page switching item, a page font style, a page font color, and the like.
It can be understood that, in this embodiment, there is an association relationship between a second-level page activity display type and a first-level page activity display type, each first-level page activity display type is associated with at least one second-level page activity display type, a target first-level page activity display type is used as one selected by an operation background, and is associated with at least one second-level page activity display type, after responding to a second-level page template type selection instruction, the operation background determines at least one target second-level page activity display type from a plurality of second-level page activity display types, and then the target first-level page activity display type is associated with at least one target second-level page activity display type, and a second-level page editing template is used as an activity template matched with the target second-level page activity display type, and is also associated with a first-level page template corresponding to the target first-level page activity display type, that is a mapping relationship between the second-level page editing template and the first-level page editing template, and a first-level editing template can be corresponding to a plurality of second-level pages editing templates, and when the operation background receives editing information, the editing template can respond to the first-level editing template and edit information, and edit templates can be subdivided into corresponding to the second-level editing templates.
In one example, when the target top page activity display type is a sales promotion type activity template type, the top page editing template is a sales promotion type activity editing template, and in the second level page editing template associated with the current top page editing template, the second level page editing template may include a discount editing template corresponding to a commodity type, and for the discount editing template, a second level page switching item in a second level page editing page element may respectively create specific items corresponding to respective discounts for discount types of 3-fold, 7-fold, 9-fold, and the like.
In an example of the present invention, after the secondary page editing information is obtained, the secondary page editing information may be loaded in each input box, image upload box, or option selection position on the secondary page editing template, so as to complete the configuration of the secondary page editing template.
It should be noted that the activity example picture in the page element to be edited may be the most typical activity picture in the current second-level page editing template, for example, taking the second-level page editing template including a discount editing template as an example, the content to be edited under the first-level page editing template associated with the second-level page editing template corresponds to the content on the first-level page card shown by the application terminal, the first-level page card is generated by rendering the first-level page editing template, the second-level page editing template corresponds to the second-level page content shown by the application terminal, and the second-level page content is associated with the content of the first-level page card. The activity discount rate (3, 5, 8 and 9, which can be configured according to the business requirements of the goods) can be filled in each activity tab name in the second-level page editing template under the discount type, and two types of goods data with the maximum discount strength can be used as the most typical activity pictures and correspondingly displayed in the picture display area of the first-page card.
And step 205, when a submission instruction is received, rendering the first page editing template to generate a first page card, and rendering the second page editing template to generate a second page associated with the first page card and displaying the second page.
In the embodiment of the invention, if the operation background receives a submission instruction input by a user, the configuration of the home page editing template and the secondary page editing template is completed at the moment, the home page editing template can be further rendered, and a corresponding home page card is generated; and simultaneously rendering a second-level page editing template, generating and displaying a second-level page associated with the first-level page card for a user to preview, and conveniently judging whether the current configurations of the first-level page editing template and the second-level page editing template meet expectations.
The page confirmation instruction in the embodiment of the invention refers to instruction information triggered by operations such as clicking, touching or checking on confirmation options set by a user on the home page card and the display page of the secondary page.
In an example of the present invention, after previewing the home page card and the secondary page, the user may click on the confirmation option on the previewed page to generate a page confirmation instruction, and at this time, the operation background responds to the page confirmation instruction to determine that the home page editing template and the secondary page editing template have been configured.
Optionally, the preview page may further be provided with a template modification option, and when the user clicks this option, the operation background determines that the first page editing template and the second level editing template are not configured, and may jump to a page where the first page editing template and the second level editing template are located, and wait for further loading and configuration of editing information.
And step 207, when the fact that the configuration of the first page editing template and the second page editing template is completed is detected, adding the first page editing template and the second page editing template serving as templates to be displayed into the activity list.
The template to be displayed in the embodiment of the invention refers to a template for recording information such as a first-level page editing template, a second-level page editing template, a mapping relation between the first-level page editing template and the second-level page editing template.
In this embodiment, the pages where the first page editing template and the second page editing template are located also have submission options, and when the user triggers the submission options through an instruction such as a click, the operation background determines that the first page editing template and the second page editing template are configured and completed at the current moment, and at this moment, the first page editing template and the second page editing template can be used as templates to be displayed, and the templates to be displayed are added to the activity list.
Referring to fig. 4, fig. 4 is a schematic diagram of a page of an activity list.
In an example of the application, after the user submits the template to be displayed in the operation background, the template to be displayed may be further modified, the activity list may record the modification time and the last modifier, and the user may also adjust the current template status of the template to be displayed, where the status may include, but is not limited to, published, offline, to-be-published, and the like. In order to facilitate a user to preview a template to be displayed, a corresponding viewing option is further provided, the activity list responds to the user's click on the viewing option, a home page card and/or a secondary page of the template to be displayed, which is rendered to generate a preview, is obtained, whether a secondary page is generated or not can correspond to the mapping category in the activity list or not, if yes, a secondary page mapped by the home page card can be generated, for example, a time-limited purchase (second kill) template with the sequence number of 1, and if the mapping category is a time-limited second kill secondary page, a home page card of the time-limited purchase (second kill) template and a secondary page of the time-limited second kill secondary page are generated; if the mapping category does not exist, only the home page card of the promotion activity is displayed, for example, the promotion activity of the serial number 4.
And step 208, when an application home page reading request sent by any application terminal is received, extracting at least one template to be displayed matched with the application home page reading request from the activity list to construct a target home page, and mapping the target home page to the application terminal for displaying.
Optionally, step 208 may include S11-S14:
s11, when an application home page reading request sent by any application terminal is received, determining at least one template to be displayed as a target display template according to the current template state of each template to be displayed in the activity list.
The current template state refers to a template state set by a template to be displayed in the current activity list, the template state may include a displayable state and a non-displayable state, the non-displayable state includes but is not limited to an offline state and a to-be-released state, and the displayable state includes an online state.
In the embodiment of the invention, when an application home page reading request sent by any application end is received, a template to be displayed with the current template state being a displayable state can be selected as a target display template according to the current template state of each template to be displayed in the activity list.
Further, S11 may comprise the following sub-steps:
when an application home page reading request sent by any application terminal is received, the current template state of each template to be displayed in the activity list is obtained; the current template state comprises a displayable state and a non-displayable state;
determining a template to be displayed with the current template state as a displayable state as a target display template;
and if the current template state is the non-displayable state, determining the template to be displayed as the hidden template.
In an example of the present invention, when an operation background receives an application home page reading request sent by any application terminal, a current template state of each template to be displayed in an activity list is obtained in response to the application home page reading request. And selecting the template to be displayed with the current template state being the displayable state as the target display template, and selecting the template to be displayed with the current template state being the non-displayable state as the hidden template.
As shown in FIG. 4, FIG. 4 shows a page schematic of an activity list.
The activity list in the embodiment of the invention comprises a plurality of templates to be displayed, such as time-limited (second-killing) templates, promotion activities, seasonal activities, coupon entrances and the like, wherein each template to be displayed is provided with a current template state, the template state can be manually set by a user of an operation background, and if the current template state is a displayable state, such as an on-line state and a published state, the template to be displayed can be displayed at an application end, and can be determined as a target display template; if the current template state is a non-displayable state, for example, an offline state and a to-be-released state, the template to be displayed is indicated to be not displayable at an application end, and is determined as a hidden template.
S12, rendering at least one target display template, and constructing an initial page.
In the embodiment of the invention, after at least one target display template is determined, the determined target display template is adopted for rendering, an initial page is constructed, and the sequential adjustment of the target display templates is waited.
And S13, adjusting the display sequence of the target display template in the initial page based on the template type contained in the initial page and a preset type sequence relation table, and generating a target home page.
Further, the template types include a seasonal activity template, a time-limited buying activity template, a sales promotion activity template, and/or other activity templates, and S13 may include the following sub-steps:
when the initial page contains all template types, arranging the target display templates according to the display sequence of the seasonal activity templates, the time-limited buying activity templates, the sales promotion activity templates and other activity templates to generate a target home page;
when the initial page does not contain the seasonal activity template and the time-limited purchasing activity template, arranging the target display templates according to the display sequence of the other activity templates and the sales promotion activity templates to generate a target home page;
when the initial page does not contain the seasonal activity template, arranging the target display templates according to the display sequence of the time-limited purchase activity template, the promotion activity template and other activity templates to generate a target home page;
and when the initial page does not contain the time-limited purchasing activity template, arranging the target display templates according to the display sequence of the seasonal activity template, the promotion activity template and other activity templates to generate a target home page.
As shown in FIG. 5, in one example of the present invention, if all activities are present, the order of the top 4 active master templates defaults to: 1. seasonal movable template-2, time-limited purchasing movable template-3, sales promotion movable template-4 and other movable templates.
And for the condition that the seasonal activity template is lacked and the activity template is purchased within a limited time, the activity templates of other types are displayed at the top, and the display sequence of the initial page is as follows: other type activity template-sales promotion type activity template; if the seasonal activity template is lacked, the display sequence of the initial page is as follows: time-limited purchasing activity template-sales promotion activity template-other activity template; if the time-limited purchasing activity template does not exist, the display sequence of the initial page is seasonal activity template, sales promotion activity template and other activity templates.
And after the display sequence of each target display template in the initial page is adjusted, generating a target home page to be returned to the application end for display.
In another example of the present invention, to further adapt to the different regions of the respective application terminals, the order of displaying the home page cards may be adjusted, and before performing S14, that is, mapping the target home page to the application terminal for displaying, the method may further include the following sub-steps:
acquiring historical revenue information and festival time information of a region where an application terminal is located according to a commodity type corresponding to a target display template in a target home page;
sequencing target display templates corresponding to the commodity types from high to low according to the historical revenue information to obtain a middle page;
respectively calculating the festival relevance of each commodity type and the region where the application terminal is located according to the festival time information;
and updating the intermediate page from high to low according to the festival relevance to generate a new target home page.
In the embodiment of the invention, after the target home page is generated, but the target home page is not returned to the application end, in order to further adapt to different regions where the application ends are located, historical revenue information and holiday time information of the region where the commodity type is located at the application end can be obtained according to the commodity type corresponding to the target display template in the target home page. Firstly, sequencing target display templates associated with commodity types from high to low according to historical revenue information to obtain an intermediate page; due to the fact that the regions of the application terminals are different, commodity sales can be greatly increased in holidays, and after the middle page is obtained, the festival relevance of each commodity type and the region of the application terminals can be calculated according to holiday time information so as to facilitate purchasing of users, and therefore sales changes of each commodity type caused by the holidays of the region of the application terminals are determined. And updating the intermediate page from high to low according to the festival relevance, and sequencing the target display template again to generate a new target home page.
It should be noted that the calculation method of the festival association may refer to Apriori algorithm, pearson coefficient method, correlation coefficient method, etc., and is not described herein again.
In another example of the present invention, revenue proportions of the respective product types may be respectively calculated as weights according to historical revenue information corresponding to the respective product types, and the target display templates may be sorted according to the weights from high to low.
It should be noted that the importance of the activity is linked to the revenue of the product, for example, the importance of the activity may be set according to the historical revenue data of different types of activities, the historical revenue data is arranged according to the value, a weight is set for the activity corresponding to each type of historical revenue data (the weight is related to the historical revenue data), and the order of the activity master template on the top page is set according to the weight configured for each type of activity; for example, the order of the activity home templates on the home page can be set according to the discount strength of the goods corresponding to each type of activity (for example, the activity home template with the highest discount strength is set at the first place); the operation property of the service may relate to the holiday of the area where the application user group is located, the sales data operated in the quarterly, and the like, for example, the operation may correspondingly adjust the order of the active main template on the home page according to the holiday time of the area where the application user group is located.
And S14, mapping the target home page to an application end for displaying.
In an example of the present invention, after the target home page after rendering and adjusting the display order is obtained, the target home page may be mapped to an application end corresponding to the application home page read request for display, and at this time, compared with the initial home page, the target home page obtained by the application end further considers the characteristics of the region where the application end sending the application home page read request is located, so as to implement flexible display of the commodity activities for application ends in different regions.
In the embodiment of the invention, the application end is used for responding to the click instruction aiming at the home page card and jumping from the target home page to the secondary page;
the secondary page comprises a plurality of switchable page options, and each switchable page option is associated with the secondary page corresponding to the home page card.
The switchable page option refers to an option set at the bottom or top of a secondary page displayed by the application terminal and the like, and is used for responding to a click command of a user to switch to the secondary page corresponding to the option-associated first page card.
In the embodiment of the invention, the target home page comprises at least one home page card and a secondary page associated with the home page card, so as to facilitate the operation flexibility of the application end, after the application end receives the target home page, the application end can respond to a click command which is input by a user and aims at the home page card and send the click command to the operation background or the server associated with the operation background, and at the moment, the click command is responded, and the secondary page associated with the home page card is mapped to the application end. The application terminal is characterized in that the target home page jumps to the secondary page, and meanwhile, the secondary page further comprises a plurality of switchable page options which can be arranged at the bottom or the top of the application terminal, wherein each switchable page option is associated with a home page card.
Optionally, if a click instruction of the user for the switchable page options is received on the secondary page, judging whether a home page card targeted by the click instruction is a currently displayed home page card; if not, jumping to a secondary page corresponding to the switchable page option associated home page card; and if so, keeping the display of the current secondary page.
In the embodiment of the invention, a received home page template type selection instruction is responded by an operation background, a home page activity display type matched with the home page template type selection instruction is searched from a plurality of preset home page activity display types to be used as a target home page activity display type, at the moment, a plurality of secondary page activity display types related to the target home page activity display type are displayed by the operation background, the input secondary page template type selection instruction is responded by the page, and a secondary page activity display type matched with the secondary page template type selection instruction is searched from the plurality of secondary page activity display types to be used as a target secondary page activity display type, so that the target home page activity display type and the secondary page activity display type are selected; if the editing information is received, further configuring page elements for a home page editing template corresponding to the target home page activity display type and a secondary page editing template corresponding to the target secondary page activity display type by adopting the editing information; when the operation background detects that the template is configured completely, adding the first-level page editing template and the second-level page editing template into the activity list as templates to be displayed; when an application home page reading request sent by any application end is received, at least one template to be displayed, which is matched with the application home page reading request, is extracted from the activity list and is rendered to construct a target home page, and the target home page is mapped to the application end for displaying, so that the technical problems that the flexibility of the activity configuration of the e-commerce type activities caused by fixed typesetting aggregation on the application page is low and the development cost is increased because the re-typesetting of the application is required for updating the e-commerce type activities in each time in the prior art are solved.
Referring to fig. 6, fig. 6 is a block diagram illustrating a structure of a dynamic display apparatus for an application home page according to a third embodiment of the present invention.
The embodiment of the invention provides a dynamic display device for an application home page, which is applied to an operation background, wherein a preset activity list is stored in the operation background, and the device comprises:
a home page template selecting module 601, configured to respond to a received home page template type selecting instruction, and search, from a plurality of preset home page activity display types, a home page activity display type that matches the home page template type selecting instruction as a target home page activity display type;
a second-level page template selecting module 602, configured to respond to the received second-level page template type selecting instruction, and search, from multiple second-level page activity display types associated with the target home page activity display type, a second-level page activity display type that matches the second-level page template type selecting instruction as a target second-level page activity display type;
a template configuration module 603, configured to, when receiving the editing information, configure a home page editing template corresponding to the target home page activity display type and a secondary page editing template corresponding to the target secondary page activity display type by using the editing information;
a template adding module 604, configured to add the first page editing template and the second page editing template as a template to be displayed to the active list when it is detected that the first page editing template and the second page editing template are configured;
the mapping display module 605 is configured to, when receiving an application home page read request sent by any application terminal, extract at least one template to be displayed, which is matched with the application home page read request, from the active list to construct a target home page, and map the target home page to the application terminal for display.
Optionally, the editing information includes first page editing information and second page editing information; the template configuration module 603 includes:
the home page template information loading submodule is used for loading home page editing information to a home page editing template corresponding to the target home page activity display type;
the second-level page template information loading submodule is used for loading second-level page editing information to a second-level page editing template corresponding to the target second-level page activity display type;
the template preview submodule is used for rendering the first page editing template to generate a first page card and rendering the second page editing template to generate a second page related to the first page card and displaying the second page when a submission instruction is received;
and the template configuration completion judging submodule is used for responding to the page confirmation instruction aiming at the first page card and the second page and judging that the first page editing template and the second page editing template are configured and completed.
Optionally, the mapping presentation module 605 includes:
the target display template determining submodule is used for determining at least one template to be displayed as a target display template according to the current template state of each template to be displayed in the activity list when an application home page reading request sent by any application terminal is received;
the target display template rendering submodule is used for rendering at least one target display template and constructing an initial page;
the display sequence adjusting submodule is used for adjusting the display sequence of the target display template in the initial page based on the template type contained in the initial page and a preset type sequence relation table to generate a target home page;
and the target home page mapping submodule is used for mapping the target home page to the application end for displaying.
Optionally, the target display template determining sub-module is specifically configured to:
when an application home page reading request sent by any application terminal is received, the current template state of each template to be displayed in an activity list is obtained; the current template state comprises a displayable state and a non-displayable state;
determining the template to be displayed with the current template state as a displayable state as a target display template;
and if the current template state is the non-displayable state, determining the template to be displayed as the hidden template.
Optionally, the template type includes a seasonal activity template, a time-limited purchase activity template, a promotion type activity template and/or other types of activity templates; the display order adjustment submodule is specifically configured to:
when the initial page contains all the template types, arranging the target display templates according to the display sequence of the seasonal activity templates, the time-limited purchase activity templates, the promotion activity templates and other activity templates to generate a target home page;
when the initial page does not contain the seasonal activity template and the time-limited purchasing activity template, arranging the target display templates according to the display sequence of the other activity templates and the sales promotion activity templates to generate a target home page;
when the initial page does not contain the seasonal activity template, arranging the target display templates according to the display sequence of the time-limited purchase activity template, the sales promotion activity template and other activity templates to generate a target home page;
and when the initial page does not contain the time-limited purchasing activity template, arranging the target display templates according to the display sequence of the seasonal activity template, the sales promotion activity template and other activity templates to generate a target home page.
Optionally, the mapping presentation module 605 further includes:
the historical information acquisition submodule is used for acquiring historical revenue information and festival time information of a region where the application terminal is located according to the commodity type corresponding to the target display template in the target home page;
the intermediate page generation submodule is used for sequencing the target display templates corresponding to the commodity types from high to low according to the historical revenue information to obtain an intermediate page;
the festival relevance calculating submodule is used for respectively calculating the festival relevance between each commodity type and the region where the application terminal is located according to the festival time information;
and the page updating submodule is used for updating the intermediate page from high to low according to the festival relevance and generating a new target home page.
Optionally, the application end is configured to respond to a click instruction for the first page card and jump from the target first page to the second-level page;
the secondary page comprises a plurality of switchable page options, and each switchable page option is associated with the secondary page corresponding to the home page card.
The embodiment of the present invention further provides an electronic device, which includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method for dynamically displaying the application home page according to any embodiment of the present invention.
The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where when the computer program is executed, the method for dynamically displaying an application home page according to any embodiment of the present invention is implemented.
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.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one type of logical functional division, and other divisions may be realized in practice, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
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 units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is substantially or partly contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will 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 of the embodiments of the present invention.
Claims (9)
1. A dynamic display method for an application home page is applied to an operation background, wherein a preset activity list is stored in the operation background, and the method comprises the following steps:
responding to a received home page template type selection instruction, and searching a home page activity display type matched with the home page template type selection instruction from a plurality of preset home page activity display types as a target home page activity display type;
responding to a received second-level page template type selection instruction, and searching a second-level page activity display type matched with the second-level page template type selection instruction from a plurality of second-level page activity display types associated with the target first-level page activity display type as a target second-level page activity display type;
when receiving editing information, adopting the editing information to configure a home page editing template corresponding to the target home page activity display type and a secondary page editing template corresponding to the target secondary page activity display type;
when the fact that the configuration of the first page editing template and the configuration of the second page editing template are completed is detected, the first page editing template and the second page editing template are used as templates to be displayed and added to the activity list;
when an application home page reading request sent by any application terminal is received, extracting at least one template to be displayed matched with the application home page reading request from the activity list to construct a target home page, and mapping the target home page to the application terminal for displaying, wherein the steps of:
when an application home page reading request sent by any application terminal is received, determining at least one template to be displayed as a target display template according to the current template state of each template to be displayed in the activity list;
rendering at least one target display template, and constructing an initial page;
based on the template type contained in the initial page and a preset type sequence relation table, adjusting the display sequence of the target display template in the initial page to generate a target home page, including:
the template types comprise seasonal activity templates, time-limited purchase activity templates, promotion activity templates and/or other activity templates; when the initial page contains all the template types, arranging the target display templates according to the display sequence of the seasonal activity templates, the time-limited purchase activity templates, the promotion activity templates and the other activity templates to generate a target home page;
and mapping the target home page to the application end for displaying.
2. The method of claim 1, wherein the edit information includes first page edit information and second page edit information; the step of configuring the home page editing template corresponding to the target home page activity display type and the second level page editing template corresponding to the target second level page activity display type by using the editing information comprises the following steps:
loading the home page editing information to a home page editing template corresponding to the target home page activity display type;
loading the secondary page editing information to a secondary page editing template corresponding to the target secondary page activity display type;
when a submission instruction is received, rendering the first page editing template to generate a first page card, and rendering the second page editing template to generate a second page related to the first page card and displaying the second page;
and responding to a page confirmation instruction aiming at the home page card and the secondary page, and judging that the home page editing template and the secondary page editing template are configured to be completed.
3. The method according to claim 1, wherein the step of determining at least one template to be displayed as a target display template according to a current template state of each template to be displayed in the activity list when receiving an application home page reading request sent by any application terminal, comprises:
when an application home page reading request sent by any application terminal is received, acquiring the current template state of each template to be displayed in the activity list; wherein the current template state comprises a displayable state and a non-displayable state;
determining the template to be displayed with the current template state as the displayable state as a target display template;
and if the current template state is the non-displayable state, determining the template to be displayed as a hidden template.
4. The method according to claim 1, wherein the step of adjusting the display order of the target display template in the initial page based on the template type contained in the initial page and a preset type order relation table to generate a target home page further comprises:
when the initial page does not contain the seasonal activity template and the time-limited purchase activity template, arranging the target display templates according to the display sequence of the other activity templates and the promotion activity templates to generate a target home page;
when the initial page does not contain the seasonal activity template, arranging the target display template according to the display sequence of the time-limited purchase activity template, the promotion activity template and the other activity templates to generate a target home page;
and when the initial page does not contain the time-limited purchasing activity template, arranging the target display template according to the display sequence of the seasonal activity template, the promotion activity template and the other activity templates to generate a target home page.
5. The method of claim 1, wherein prior to the step of mapping the target home page to the application for presentation, the method further comprises:
acquiring historical revenue information and festival time information of a region where the application terminal is located according to the commodity type corresponding to the target display template in the target homepage;
sequencing the target display templates corresponding to the commodity types from high to low according to the historical revenue information to obtain a middle page;
respectively calculating the festival relevance of each commodity type and the region where the application terminal is located according to the festival time information;
and updating the intermediate page from high to low according to the festival relevance to generate a new target home page.
6. The method according to claim 2, wherein the application terminal is configured to jump from the target home page to the secondary page in response to a click command for the home page card;
the secondary page comprises a plurality of switchable page options, and each switchable page option is associated with a secondary page corresponding to the home page card.
7. The utility model provides an use home page developments display device which characterized in that is applied to the operation backstage, the operation backstage has preset activity list, the device includes:
the home page template selecting module is used for responding to a received home page template type selecting instruction and searching a home page activity display type matched with the home page template type selecting instruction from a plurality of preset home page activity display types as a target home page activity display type;
the second-level page template selecting module is used for responding to a received second-level page template type selecting instruction and searching a second-level page activity display type matched with the second-level page template type selecting instruction from a plurality of second-level page activity display types associated with the target home page activity display type to be used as a target second-level page activity display type;
the template configuration module is used for configuring a home page editing template corresponding to the target home page activity display type and a secondary page editing template corresponding to the target secondary page activity display type by adopting the editing information when the editing information is received;
the template adding module is used for adding the first page editing template and the second page editing template serving as templates to be displayed to the activity list when the first page editing template and the second page editing template are detected to be configured;
the mapping display module is configured to, when receiving an application home page read request sent by any application terminal, extract at least one template to be displayed, which is matched with the application home page read request, from the activity list to construct a target home page, and map the target home page to the application terminal for display, and includes:
when an application home page reading request sent by any application terminal is received, determining at least one template to be displayed as a target display template according to the current template state of each template to be displayed in the activity list;
rendering at least one target display template, and constructing an initial page;
adjusting the display sequence of the target display template in the initial page based on the template type contained in the initial page and a preset type sequence relation table to generate a target home page, including:
the template types comprise seasonal activity templates, time-limited purchase activity templates, promotion activity templates and/or other activity templates; when the initial page contains all the template types, arranging the target display templates according to the display sequence of the seasonal activity templates, the time-limited purchase activity templates, the promotion activity templates and the other activity templates to generate a target home page;
and mapping the target home page to the application end for displaying.
8. An electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the computer program, when executed by the processor, causes the processor to perform the steps of the method for dynamically displaying the application home page as claimed in any one of claims 1 to 6.
9. A computer-readable storage medium, on which a computer program is stored, wherein the computer program, when executed, implements the method for dynamically exposing a home page of an application according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111217379.8A CN113867881B (en) | 2021-10-19 | 2021-10-19 | Application home page dynamic display method, device, equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111217379.8A CN113867881B (en) | 2021-10-19 | 2021-10-19 | Application home page dynamic display method, device, equipment and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113867881A CN113867881A (en) | 2021-12-31 |
CN113867881B true CN113867881B (en) | 2023-01-03 |
Family
ID=79000445
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111217379.8A Active CN113867881B (en) | 2021-10-19 | 2021-10-19 | Application home page dynamic display method, device, equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113867881B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114595404B (en) * | 2022-03-10 | 2024-01-30 | 抖音视界有限公司 | Recommendation data display method and device, computer equipment and storage medium |
CN114862504A (en) * | 2022-04-22 | 2022-08-05 | 北京达佳互联信息技术有限公司 | Information display method, device, terminal and medium |
CN115640477B (en) * | 2022-08-26 | 2024-05-21 | 百度在线网络技术(北京)有限公司 | Content recommendation method, device, equipment, medium and product of application program home page |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105446726B (en) * | 2014-09-25 | 2019-10-11 | 腾讯科技(深圳)有限公司 | The method and apparatus for generating webpage |
CN110020236B (en) * | 2017-08-29 | 2021-11-30 | 北京国双科技有限公司 | Webpage parsing method, device, storage medium, processor and equipment |
CN107992346B (en) * | 2017-10-19 | 2021-09-03 | 用友网络科技股份有限公司 | Interface display method and interface display system of application program |
CN110058856B (en) * | 2019-04-28 | 2023-08-01 | 恒生电子股份有限公司 | Page configuration method and device |
CN110442822B (en) * | 2019-08-02 | 2024-03-22 | 腾讯科技(深圳)有限公司 | Method, device, equipment and storage medium for displaying small program content |
CN113094136A (en) * | 2021-04-09 | 2021-07-09 | 广州博冠信息科技有限公司 | Page display control method and device, storage medium and electronic equipment |
-
2021
- 2021-10-19 CN CN202111217379.8A patent/CN113867881B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN113867881A (en) | 2021-12-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113867881B (en) | Application home page dynamic display method, device, equipment and medium | |
US20190243860A1 (en) | Personalized landing pages | |
US20200320600A1 (en) | Virtual Marketplace Enabling Machine-to-Machine Commerce | |
US11010441B2 (en) | Method for accurately searching within website | |
US20150220979A1 (en) | Controlling a Commerce System with Omnipresent Marketing | |
US20230376892A1 (en) | System and method for integrating intermediary and end-user online retail experiences | |
US20100228628A1 (en) | Integrated Real-Time Ancillary Revenue Optimization System | |
US20110218857A1 (en) | System and Methods for Ordering and Presenting Custom Electronic Advertisements | |
KR20000006883A (en) | System and method for building customized shopping malls | |
CN107169839A (en) | Merchandise display method, device and electronic equipment | |
CN104574136A (en) | Method for presenting sales information and system for presenting the same | |
TWI811808B (en) | Electronic apparatus and information providing method thereof | |
US11094002B1 (en) | Self-learning aisle generating system and methods of making and using same | |
CN112711706A (en) | Information interaction method and device, readable storage medium and electronic equipment | |
US20110040690A1 (en) | System and Methods for Ordering and Presenting Custom Electronic Advertisements | |
CN105608610A (en) | Information push method and device | |
JP6004952B2 (en) | Point exchange processing device, point exchange processing method and program | |
CN113628007A (en) | Information processing method, server, terminal device, and storage medium | |
JP6915018B2 (en) | Providing equipment, providing method and providing program | |
JP6774974B2 (en) | Display program, display device and display method | |
US10726469B1 (en) | Systems and methods for adjusting item attribute values of a selected item | |
JP2009187303A (en) | Net selling system | |
JP2019046190A (en) | Distribution device, distribution method, and distribution program | |
CN111199450B (en) | Page label processing method and device, storage medium and processor | |
JP2005108055A (en) | Commodity sell/buy management system |
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 |