Activity configuration method and device, equipment and storage medium

By displaying the elements to be configured in the activity configuration method and generating the activity configuration file, the problem of inconsistent activity configuration in the existing technology is solved, and standardized configuration in the international e-commerce field is realized, and configuration efficiency is improved.

CN119311979APending Publication Date: 2025-01-14BEIJING YOUZHUJU NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310847292.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-11
Publication Date
2025-01-14

AI Technical Summary

Technical Problem

The existing activity configuration methods lack standardized configuration file generation functions for different activity objects, resulting in inconsistent configurations and it is difficult to meet the diversified needs of the international e-commerce field.

Method used

It provides an activity configuration method, which displays elements to be configured in response to the selected operation of the target activity template, receives and generates the activity configuration file, and applies it to the terminal of the target activity to realize standardized activity configuration file generation.

Benefits of technology

It realizes the standardization of activity configuration, simplifies user input configuration information, improves configuration efficiency, and is suitable for diversified activity needs in the international e-commerce field.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119311979A_ABST
    Figure CN119311979A_ABST
Patent Text Reader

Abstract

The invention provides an activity configuration method and device, equipment and a storage medium, and the method comprises the steps: responding to a selection operation for a target activity template, and displaying a to-be-configured element corresponding to the target activity template, the to-be-configured element being used for representing activity information needing to be configured for a target activity corresponding to the target activity template; activity configuration information input for the to-be-configured element is received, an activity configuration file corresponding to the target activity is generated based on the activity configuration information, and the activity configuration file is applied to a terminal where the target activity is deployed. Visibly, according to the embodiment of the invention, the to-be-configured information corresponding to the target activity is displayed on the target activity template, so that a user can conveniently input the activity configuration information aiming at the to-be-configured information to generate the activity configuration file corresponding to the target activity, and a relatively standardized activity configuration file generation function is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of data processing, and in particular to an activity configuration method, device, equipment and storage medium. Background Art

[0002] In the field of e-commerce, especially in the field of international e-commerce, event operation is an indispensable way of shelf shopping guide. Due to the differences in culture, habits, etc. of different event objects, there are also certain differences in event configurations for different event objects.

[0003] In the current activity configuration method, operators usually complete the activity configuration based on their own understanding of the scope, rules, crowds and other information of the activity objects, and lack the standardized generation function of configuration files corresponding to different activity objects. Summary of the invention

[0004] In order to solve the above technical problems, an embodiment of the present disclosure provides an activity configuration method.

[0005] In a first aspect, the present disclosure provides an activity configuration method, the method comprising:

[0006] In response to a selection operation on a target activity template, displaying an element to be configured corresponding to the target activity template; wherein the element to be configured is used to represent activity information required to be configured for a target activity corresponding to the target activity template;

[0007] Receive activity configuration information input for the element to be configured;

[0008] An activity configuration file corresponding to the target activity is generated based on the activity configuration information; wherein the activity configuration file is applied to a terminal where the target activity is deployed.

[0009] In an optional implementation, the target activity template is configured with a template file, the template file defines page rendering information of the target activity template on multiple pages respectively, and in response to a selection operation on the target activity template, displaying the to-be-configured element corresponding to the target activity template includes:

[0010] In response to a selection operation on a target active template, acquiring page rendering information corresponding to the first page from a template file corresponding to the target active template;

[0011] Based on the page rendering information corresponding to the first page, the to-be-configured element corresponding to the target active template is displayed on the first page.

[0012] In an optional embodiment, the page rendering information corresponding to the second page among the multiple pages defines an information configuration module corresponding to the second page, the information configuration module is configured with a configuration module file, the configuration module file defines elements to be configured corresponding to the information configuration module, and the elements to be configured are used to represent the activity information that needs to be configured by the information configuration module.

[0013] In an optional implementation manner, the element to be configured is configured with an element file, and the element file defines element rendering information of the element to be configured on multiple pages respectively, and the step of displaying the element to be configured corresponding to the target active template on the first page based on the page rendering information corresponding to the first page includes:

[0014] Based on the page rendering information corresponding to the first page, acquiring element rendering information of the element to be configured on the first page;

[0015] Based on the element rendering information of the element to be configured on the first page, the element to be configured is displayed on the first page.

[0016] In an optional implementation manner, the method further includes:

[0017] In response to a triggering operation of switching from the first page to a third page, acquiring element rendering information of the element to be configured on the third page from page rendering information corresponding to the third page;

[0018] The display is switched from the first page to the third page, and based on the element rendering information of the element to be configured on the third page, the element to be configured is displayed on the third page.

[0019] In an optional implementation manner, before the displaying of the to-be-configured element corresponding to the target active template in response to the selection operation on the target active template, the method further includes:

[0020] According to the activity application object information carried in the context injection parameter, the candidate activity templates corresponding to the activity application object information are displayed; wherein the candidate activity templates include the target activity template, and the activity application object information is used to characterize the application object corresponding to the target activity.

[0021] In an optional implementation manner, after generating the activity configuration file corresponding to the target activity based on the activity configuration information, the method further includes:

[0022] In response to a submission operation on the activity configuration file, the activity configuration information in the activity configuration file is verified based on a verification condition corresponding to the activity application object information carried in the context injection parameter.

[0023] In an optional implementation manner, after the displaying of the to-be-configured element corresponding to the target activity template in response to the selection operation on the target activity template, the method further includes:

[0024] In response to a selection operation on a target element to be configured, the activity configuration information corresponding to the target element to be configured is processed based on the linkage display mode, inspection conditions and / or data conversion rules corresponding to the activity application object information carried in the context injection parameters.

[0025] In a second aspect, the present disclosure provides an activity configuration device, the device comprising:

[0026] A display module, configured to display the to-be-configured element corresponding to the target activity template in response to a selection operation on the target activity template; wherein the to-be-configured element is used to represent the activity information required to be configured for the target activity corresponding to the target activity template;

[0027] A receiving module, used for receiving activity configuration information input for the element to be configured;

[0028] A generating module is used to generate an activity configuration file corresponding to the target activity based on the activity configuration information; wherein the activity configuration file is applied to a terminal where the target activity is deployed.

[0029] In a third aspect, the present disclosure provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, and when the instructions are executed on a terminal device, the terminal device implements the above method.

[0030] In a fourth aspect, the present disclosure provides an activity configuration device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above method when executing the computer program.

[0031] In a fifth aspect, the present disclosure provides a computer program product, wherein the computer program product comprises a computer program / instructions, and the computer program / instructions implement the above method when executed by a processor.

[0032] Compared with the prior art, the technical solution provided by the embodiments of the present disclosure has at least the following advantages:

[0033] The disclosed embodiment provides an activity configuration method, in response to a selection operation on a target activity template, displaying an element to be configured corresponding to the target activity template, wherein the element to be configured is used to characterize the activity information required to be configured for the target activity corresponding to the target activity template; receiving activity configuration information input for the element to be configured, and generating an activity configuration file corresponding to the target activity based on the activity configuration information, wherein the activity configuration file is applied to a terminal where the target activity is deployed. It can be seen that the disclosed embodiment can facilitate the user to input the activity configuration information for the information to be configured to generate the activity configuration file corresponding to the target activity by displaying the information to be configured corresponding to the target activity on the target activity template, thereby realizing a relatively standardized activity configuration file generation function. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0035] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0036] Figure 1 A flowchart of an activity configuration method provided by an embodiment of the present disclosure;

[0037] Figure 2 A schematic diagram of the relationship between an information configuration module and elements to be configured provided in an embodiment of the present disclosure;

[0038] Figure 3 A schematic diagram of context information injection provided by an embodiment of the present disclosure;

[0039] Figure 4 An operational schematic diagram of an activity configuration provided for an embodiment of the present disclosure;

[0040] Figure 5 A schematic diagram of the structure of an activity configuration device provided in an embodiment of the present disclosure;

[0041] Figure 6 A schematic diagram of the structure of an activity configuration device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0042] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.

[0043] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0044] In the field of e-commerce, event operation is an indispensable way of shelf shopping guide. Due to the differences in culture, habits, etc. of different event objects, there are also certain differences in event configurations for different event objects.

[0045] In the current activity configuration method, operators usually complete the activity configuration based on their own understanding of the scope, rules, crowds and other information of the activity objects, and lack the standardized generation function of configuration files corresponding to different activity objects.

[0046] To this end, the embodiment of the present disclosure provides an activity configuration method, which, in response to a selection operation on a target activity template, displays an element to be configured corresponding to the target activity template, wherein the element to be configured is used to characterize the activity information required to be configured for the target activity corresponding to the target activity template; receives activity configuration information input for the element to be configured, and generates an activity configuration file corresponding to the target activity based on the activity configuration information, and the activity configuration file is applied to a terminal where the target activity is deployed. It can be seen that the embodiment of the present disclosure can facilitate users to input activity configuration information for the information to be configured to generate an activity configuration file corresponding to the target activity by displaying the information to be configured corresponding to the target activity on the target activity template, thereby realizing a relatively standardized activity configuration file generation function.

[0047] Based on this, the present disclosure provides an activity configuration method, referring to Figure 1 , is a flow chart of an activity configuration method provided by an embodiment of the present disclosure, the method specifically comprising:

[0048] S101: In response to a selection operation on a target activity template, displaying elements to be configured corresponding to the target activity template.

[0049] The element to be configured is used to represent the activity information required to be configured for the target activity corresponding to the target activity template.

[0050] The activity configuration method provided by the embodiments of the present disclosure may be applied to a client. For example, the client may include a client deployed on a smart phone, a client deployed on a tablet computer, and the like.

[0051] In the embodiment of the present disclosure, the target activity template can be a standardized template pre-created based on the activity information required to be configured for the target activity, and the user can configure the activity information required to be configured for the target activity based on the elements to be configured displayed on the target activity template. The target activity is, for example, an international e-commerce marketing activity, and the embodiment of the present disclosure does not limit the type of the target activity.

[0052] In the disclosed embodiment, the elements to be configured corresponding to the target activity template may be used to characterize the activity information required for the target activity, wherein the elements to be configured may include the activity name, activity time, target users, activity area, etc.

[0053] In an optional implementation, the selection operation for the target activity template may include a click operation on the target activity template, etc. For example, in the process of displaying multiple activity templates on a list page, a click operation on the target activity template may be performed to trigger the display of the to-be-configured elements corresponding to the target activity template, wherein the target activity template may be any one of the multiple activity templates.

[0054] S102: Receive activity configuration information input for the element to be configured.

[0055] In the disclosed embodiment, the activity configuration information is used to generate an activity configuration file corresponding to the target activity.

[0056] In an optional implementation, when a selection operation for a target activity template is received, the element to be configured corresponding to the target activity template can be displayed in the form of a form page, and an input box or tab for the element to be configured can be displayed at a preset position of the element to be configured, so that a user (such as an operator) can enter the activity configuration information for the element to be matched based on the input box or tab.

[0057] In the embodiment of the present disclosure, during the process of displaying the to-be-configured elements corresponding to the target activity template, activity configuration information input by a user (such as an operator) for the to-be-configured elements may be received so that a corresponding activity configuration file may be subsequently generated based on the activity configuration information.

[0058] S103: Generate an activity configuration file corresponding to the target activity based on the activity configuration information.

[0059] The activity configuration file is applied to a terminal where the target activity is deployed.

[0060] In an embodiment of the present disclosure, after receiving activity configuration information input by a user for an element to be configured, an activity configuration file corresponding to a target activity may be generated based on the received activity configuration information, and the generated activity configuration file may subsequently be applied to a terminal where the target activity is deployed, so that the terminal where the target activity is deployed may display the activity based on the activity configuration file.

[0061] In the disclosed embodiment, the activity configuration file is used to describe the activity process of the target activity corresponding to the target activity template.

[0062] In the activity configuration method provided by the embodiment of the present disclosure, in response to the selection operation for the target activity template, the element to be configured corresponding to the target activity template is displayed, wherein the element to be configured is used to characterize the activity information required to be configured for the target activity corresponding to the target activity template; the activity configuration information input for the element to be configured is received, and an activity configuration file corresponding to the target activity is generated based on the activity configuration information, and the activity configuration file is applied to the terminal where the target activity is deployed. It can be seen that the embodiment of the present disclosure can facilitate the user to input the activity configuration information for the information to be configured to generate the activity configuration file corresponding to the target activity by displaying the information to be configured corresponding to the target activity on the target activity template, thereby realizing a relatively standardized activity configuration file generation function.

[0063] In actual applications, when receiving a selection operation for a target active template and displaying the elements to be configured corresponding to the target active template, it is necessary to render the first page corresponding to the target active template, so as to achieve the effect of displaying the elements to be configured corresponding to the target active template on the first page.

[0064] In the embodiment of the present disclosure, the target activity template is pre-configured with a template file, and the template file can be used to describe the activity information required to be configured for the target activity corresponding to the target activity template.

[0065] In an optional implementation, the activity information required to be configured for the target activity corresponding to the target activity template can be described using a domain-specific language (DSL), so that an activity configuration file corresponding to the target activity can be subsequently generated based on the activity configuration information input for the activity information required to be configured (i.e., the element to be configured); wherein DSL is a programming language or specification language that is easy for people to understand and can be interpreted and executed by computers, such as JSON, SQL, regular expressions, etc. It is worth noting that the DSL language used in configuring the template file for the target activity template in the embodiment of the present disclosure is the JSON language.

[0066] Among them, JSON (Java Script Object Notation) is a lightweight data exchange format. It is based on a subset of the ECMAScript specification and uses a text format that is completely independent of the programming language to store and represent data. The concise and clear hierarchical structure makes JSON an ideal data exchange language. The JSON language is easy for people to read and write, and it is also easy for machines to parse and generate, and it effectively improves network transmission efficiency.

[0067] In the disclosed embodiment, since there are certain differences in the display effects or display styles of the target activity template on different pages, in the process of configuring the template file corresponding to the target activity template, it is also necessary to define the page rendering information of the target activity template on multiple pages in the template file.

[0068] In the disclosed embodiment, page rendering information of the target activity template on multiple pages is used to parse and generate corresponding page routes, wherein the display page corresponding to the target activity template may include a list page, a form page, a detail page, and the like.

[0069] For example, assuming that the template file is named Template, the template file Template defines page rendering information of the target activity template on multiple pages, where the page information on multiple pages may be, for example, fields listRender, formRender, and viewRender, where the field listRender is used to describe the page rendering information of the target activity template on the list page, and the page rendering information is used to parse and generate the list page route, the field formRender is used to describe the page rendering information of the target activity template on the form page, and the page rendering information is used to parse and generate the form page route, and the field viewRender is used to describe the page rendering information of the target activity template on the details page, and the page rendering information is used to parse and generate the details page route.

[0070] In addition, the name, route prefix and identifier corresponding to the target activity template can also be defined in the template file Template. For example, the name field can be used to describe the name of the target activity template, and the route field can be used to describe the route prefix. Specifically, based on the front-end routing principle, the URL of the list page, detail page, etc. corresponding to the target activity template is generated, and the templateKey field can be used to describe the identifier of the target activity template, which can be used to uniquely distinguish the target activity corresponding to the target activity template.

[0071] In an optional implementation, in response to a selection operation on a target active template, displaying the to-be-configured elements corresponding to the target active template may include: in response to a selection operation on the target active template, obtaining page rendering information corresponding to the first page from a template file corresponding to the target active template, and, based on the page rendering information corresponding to the first page, displaying the to-be-configured elements corresponding to the target active template on the first page.

[0072] In the disclosed embodiment, the first page may be any page, for example, the first page may be any page among a list page, a form page and a detail page.

[0073] Since the template file Template defines the page rendering information of the target active template on the list page (assuming the first page is the list page), when the user's selection operation for the target active template is received, the page rendering information listRender corresponding to the list page can be obtained from the template file based on the page rendering information identifier, and then based on the page rendering information listRender, the elements to be configured corresponding to the target active template are displayed on the list page.

[0074] In an optional implementation, the page rendering information corresponding to the second page among multiple pages defines an information configuration module corresponding to the second page, wherein the information configuration module may include modules such as basic information of the activity, activity object, activity scope, activity conditions, activity rules, and activity display.

[0075] For example, assuming that the page rendering information corresponding to the second page is named listRender, the information configuration module corresponding to the second page is named Workflow, and the information configuration module Workflow corresponding to the second page is defined in the page rendering information listRender corresponding to the second page; wherein, the field listRender is used to describe the page rendering information of the target activity template on the list page, and the field workflow is used to describe the information configuration module corresponding to the list page.

[0076] In the embodiment of the present disclosure, there is a corresponding relationship between the information configuration module and the element to be configured, such as Figure 2 As shown, it is a schematic diagram of the relationship between an information configuration module and elements to be configured provided in an embodiment of the present disclosure, specifically taking the designated merchandise voucher for a new user as an example, wherein the elements to be configured corresponding to the basic information module are the activity name, activity time and activity status, the elements to be configured corresponding to the activity scope module are the product identification, the elements to be configured corresponding to the activity object module are the new user, and the elements to be configured corresponding to the activity rule module are the superimposed subsidy, full discount and free shipping.

[0077] In the disclosed embodiment, the second page may be the same page as the first page, or may be a different page.

[0078] In the disclosed embodiment, the information configuration module is configured with a configuration module file, in which the to-be-configured elements corresponding to the information configuration module are defined, and the to-be-configured elements are used to represent the activity information required to be configured by the information configuration module.

[0079] For example, assuming that the configuration module file is named Workflow, the element to be configured is named element, and the element to be configured element corresponding to the information configuration module is defined in the configuration module file Workflow, where the field element is used to describe the element to be configured corresponding to the information configuration module, such as activity name, activity object, activity area, etc.

[0080] In addition, the configuration module file Workflow can also define the display method and name of the information configuration module. For example, you can use the type field to describe the display method of the information configuration module. Specifically, you can use default to indicate that the information configuration modules are displayed in sequence, use bottom to indicate that the information configuration modules are displayed at the bottom of the page, and use the label field to describe the name of the information configuration module, such as basic information, activity scope, activity object, activity rules, etc., and use the customProps field to describe the customized style of the information configuration module.

[0081] In the disclosed embodiment, since the information configuration module corresponding to the first page is defined in the page rendering information corresponding to the first page (assuming that the first page and the second page are the same page), and the elements to be configured corresponding to the information configuration module are defined in the configuration module file, during the process of rendering the first page, the first page can be rendered based on the configuration module file and the elements to be configured defined in the configuration module file.

[0082] In actual applications, in the process of defining the elements to be configured in the configuration module file, element files may be configured for the elements to be configured, and the element files are used to describe element rendering information of the elements to be configured on multiple pages respectively.

[0083] For example, assuming that the element file is named Element, the element rendering information of the element to be configured on multiple pages is defined in the element file Element, where the element rendering information can be, for example, the fields listRender, formRender, and viewRender. The field formRenderer is used to describe the element rendering information of the element to be configured on the form page, the field listRenderer is used to describe the element rendering information of the element to be configured on the list page, and the field viewRenderer is used to describe the element rendering information of the element to be configured on the details page.

[0084] In addition, the element file Element can also define the display name of the element to be configured on each page. For example, the field label can be used to describe the display name of the element to be configured on multiple pages, such as the display name on the list page, form page, and detail page, etc. The field field can be used to describe the field of the element to be configured on each page.

[0085] In an optional implementation, based on the page rendering information corresponding to the first page, displaying the element to be configured corresponding to the target active template on the first page may include: based on the page rendering information corresponding to the first page, obtaining element rendering information of the element to be configured on the first page; based on the element rendering information of the element to be configured on the first page, displaying the element to be configured on the first page.

[0086] Since the template file Template defines page rendering information corresponding to the first page (for example, listRender, formRender, viewRender), and the page rendering information defines the configuration module file Workflow corresponding to the first page (assuming that the second page and the first page are the same page), and the configuration module file Element is defined, therefore, when the user's selection operation for the target activity template is received, first, based on the page rendering information identifier, the page rendering information corresponding to the first page is obtained from the template file, for example, the page rendering information listRender corresponding to the list page, and then based on the element file Element defined in the page rendering information listRender, the element rendering information of the element to be configured on the first page is obtained, and finally, based on the element rendering information of the element to be configured on the first page, the element to be configured is displayed on the first page, so that after the activity configuration information input for the element to be configured is subsequently received, the activity configuration file corresponding to the target activity is generated based on the activity configuration information.

[0087] In an optional embodiment, when a trigger operation to switch from a first page to a third page is received, element rendering information of the element to be configured on the third page is obtained from the page rendering information corresponding to the third page; then the display is switched from the first page to the third page, and based on the element rendering information of the element to be configured on the third page, the element to be configured is displayed on the third page.

[0088] In the disclosed embodiment, the first page and the third page are different pages. For example, the first page may be a list page, and the third page may be a detail page or a form page.

[0089] It can be seen that the embodiment of the present disclosure can facilitate users to input activity configuration information for the information to be configured to generate an activity configuration file corresponding to the target activity by displaying the information to be configured corresponding to the target activity on the target activity template, thereby realizing a more standardized activity configuration file generation function.

[0090] In actual applications, in the process of describing target activities based on DSL, activity application object information is usually used. Since activity application object information belongs to context information, it is necessary to obtain activity application object information regardless of page display, component display, or even linkage display scenario, in order to improve the accuracy of activity application object information obtained in page display, component display, linkage display and other scenarios.

[0091] In the disclosed embodiment, the activity application object information is abstracted into the context injection parameters so that when a selection operation for a candidate activity template is subsequently received, the candidate activity template corresponding to the activity application object information can be displayed based on the activity application object information carried in the context injection parameters.

[0092] In the embodiment of the present disclosure, the candidate activity templates may include multiple activity templates, and the target activity template may be any one of the candidate activity templates.

[0093] In the embodiments of the present disclosure, the activity application object information may include the tenant and effective region corresponding to the activity, wherein the tenant corresponding to the activity is specifically used to characterize the application where the activity is located, and the effective region corresponding to the activity can be used to characterize the effective region of the application where the activity is located, for example, different effective regions can correspond to different countries, or different effective regions can correspond to different cities, etc.

[0094] like Figure 3As shown, it is a schematic diagram of context information injection provided by an embodiment of the present disclosure. After the user selects the tenant corresponding to the activity and the effective region of the application where the activity is located, the tenant and the effective region are abstracted into the context injection parameters, so that based on the tenant and the effective region carried in the context injection parameters, the candidate activity templates corresponding to the tenant and the effective region are displayed.

[0095] In an optional implementation, a correspondence between the activity application object information and the candidate activity templates may be pre-established, so that after the user selects the activity application object information, the candidate activity templates corresponding to the activity application object information may be displayed to the user based on the correspondence.

[0096] In an optional implementation, in order to further improve the accuracy of the activity application object information obtained in scenarios such as page display, component display, and linkage display, at least one of the linkage display mode, verification conditions, and data conversion rules corresponding to the activity application object information can also be carried in the context injection parameters, so that after displaying the element to be configured corresponding to the target activity template, it is also possible to respond to the selection operation for the target element to be configured and process the activity configuration information corresponding to the target element to be configured based on at least one of the linkage display mode, verification conditions, and data conversion rules corresponding to the activity application object information.

[0097] Among them, the linkage display method can be used to describe the display relationship between multiple elements to be configured. For example, after the user selects the target restriction type as the live broadcast type, the type corresponding to the creator who has a display relationship with the target restriction type is highlighted. At this time, the user does not need to select the type corresponding to the creator; the inspection condition is used to describe the restriction range information of the element to be configured.

[0098] like Figure 3 As shown, after the candidate activity templates corresponding to the tenant and the effective region are displayed based on the tenant and the effective region carried in the context injection parameters, when the selection operation for the target element to be configured is received, the tenant and the effective region are abstracted into the context injection parameters again, and then based on the linkage display method, inspection conditions and / or data conversion rules corresponding to the tenant and the effective region carried in the context injection parameters, the activity configuration information corresponding to the target element to be configured is processed, thereby further improving the accuracy of the activity application object information obtained in scenarios such as page display, component display, and linkage display.

[0099] In actual applications, the context injection parameters may also carry verification conditions corresponding to the activity application object information, wherein the activity application object information is used to perform business logic verification on the interactive object corresponding to the target activity.

[0100] After generating an activity configuration file corresponding to the target activity based on the activity configuration information, upon receiving a user submission operation for the activity configuration file, the activity configuration information in the activity configuration file needs to be verified based on the verification condition corresponding to the activity application object information carried in the context injection parameter.

[0101] In the embodiment of the present disclosure, the submission operation for the activity configuration file may include a trigger operation for a submit control on a form page, etc.

[0102] For example, in the scenario where a new user specifies a coupon, assuming that the effective area corresponding to the target activity is Indonesia, and the verification condition corresponding to the dynamic application object information carried in the context injection parameter is that the subsidy rate does not exceed 30%, when the user's submission operation for the activity profile is received, the activity configuration information in the activity profile, that is, the subsidy rate, is verified. If the subsidy rate is 20% (i.e., not more than 30%), it indicates that the activity profile can be applied to the terminal where the target activity is deployed. If the subsidy rate is 40% (i.e., it has exceeded 30%), it indicates that the activity profile cannot be applied to the terminal where the target activity is deployed.

[0103] like Figure 4 As shown, it is a schematic diagram of an operation of activity configuration provided by an embodiment of the present disclosure, wherein the operation of the activity configuration includes three processes of creating an activity, modifying an activity and viewing an activity.

[0104] When creating an activity, a user (such as an operator) first selects the activity application object information corresponding to the activity, where the activity application object information may include the tenant corresponding to the activity, the effective region of the application where the activity is located, etc. The tenant corresponding to the activity is specifically used to represent the application where the activity is located.

[0105] After the user selects the activity application object information corresponding to the activity, the list page is used to display the candidate activity templates corresponding to the activity application object information. In an optional implementation, when a trigger operation from the user for the activity creation button displayed on the list page is received, the list page jumps to the form page, and the elements to be configured corresponding to the target activity template are displayed on the form page; the user can input the activity configuration information based on the elements to be configured, thereby generating an activity configuration file corresponding to the target activity based on the activity configuration information.

[0106] In another optional implementation, when a user's copy operation for a target activity template among candidate activity templates is received, the list page jumps to the form page, and the elements to be configured corresponding to the target activity template are displayed on the form page; the user can input activity configuration information based on the elements to be configured, thereby generating an activity configuration file corresponding to the target activity based on the activity configuration information.

[0107] When modifying an activity, the user first selects the activity application object information corresponding to the activity. After the user selects the activity application object information corresponding to the activity, the candidate activity templates corresponding to the activity application object information are displayed based on the list page. In an optional implementation, upon receiving the user's editing operation on the target activity template in the candidate activity templates, the list page jumps to the form page, and the elements to be configured corresponding to the target activity template are displayed on the form page. The user can modify the activity configuration information corresponding to the elements to be configured based on the form page, thereby generating an activity configuration file corresponding to the target activity based on the modified activity configuration information.

[0108] When viewing an activity, the user first selects the activity application object information corresponding to the activity. After the user selects the activity application object information corresponding to the activity, the list page displays the candidate activity templates corresponding to the activity application object information. In an optional implementation, when a user's viewing operation for a target activity template among the candidate activity templates displayed on the list page is received, the list page jumps to the details page, and the elements to be configured corresponding to the target activity template are displayed on the details page for the user to view.

[0109] During the operation process of activity configuration provided by the embodiment of the present disclosure, by displaying the information to be configured corresponding to the target activity on the target activity template, it is convenient for the user to input the activity configuration information for the information to be configured to generate an activity configuration file corresponding to the target activity, thereby realizing a more standardized activity configuration file generation function.

[0110] Based on the above method embodiment, the present disclosure also provides an activity configuration device, referring to Figure 5 , is a schematic diagram of the structure of an activity configuration device provided in an embodiment of the present disclosure, the device comprising:

[0111] The first display module 501 is used to display the to-be-configured element corresponding to the target activity template in response to the selection operation on the target activity template; wherein the to-be-configured element is used to represent the activity information required to be configured for the target activity corresponding to the target activity template;

[0112] A receiving module 502 is used to receive activity configuration information input for the element to be configured;

[0113] The generating module 503 is configured to generate an activity configuration file corresponding to the target activity based on the activity configuration information; wherein the activity configuration file is applied to a terminal where the target activity is deployed.

[0114] In an optional implementation manner, the target activity template is configured with a template file, and the template file defines page rendering information of the target activity template on multiple pages respectively, and the first display module includes:

[0115] A first acquisition submodule, configured to acquire, in response to a selection operation on a target active template, page rendering information corresponding to a first page from a template file corresponding to the target active template;

[0116] The display submodule is used to display the to-be-configured elements corresponding to the target active template on the first page based on the page rendering information corresponding to the first page.

[0117] In an optional embodiment, the page rendering information corresponding to the second page among the multiple pages defines an information configuration module corresponding to the second page, the information configuration module is configured with a configuration module file, the configuration module file defines elements to be configured corresponding to the information configuration module, and the elements to be configured are used to represent the activity information that needs to be configured by the information configuration module.

[0118] In an optional implementation manner, the element to be configured is configured with an element file, and the element file defines element rendering information of the element to be configured on multiple pages respectively, and the display submodule is specifically used to:

[0119] Based on the page rendering information corresponding to the first page, acquiring element rendering information of the element to be configured on the first page;

[0120] Based on the element rendering information of the element to be configured on the first page, the element to be configured is displayed on the first page.

[0121] In an optional implementation manner, the first display module further includes:

[0122] A second acquisition submodule is used for acquiring, in response to a trigger operation of switching from the first page to a third page, element rendering information of the element to be configured on the third page from page rendering information corresponding to the third page;

[0123] The switching display submodule is used to switch the display from the first page to the third page, and display the element to be configured on the third page based on the element rendering information of the element to be configured on the third page.

[0124] In an optional implementation, the device further includes:

[0125] The second display module is used to display the candidate activity templates corresponding to the activity application object information carried in the context injection parameter; wherein the candidate activity templates include the target activity template, and the activity application object information is used to represent the application object corresponding to the target activity.

[0126] In an optional implementation, the device further includes:

[0127] The verification module is used to verify the activity configuration information in the activity configuration file based on the verification condition corresponding to the activity application object information carried in the context injection parameter in response to the submission operation on the activity configuration file.

[0128] In an optional implementation, the device further includes:

[0129] A processing module is used to respond to the selection operation on the target element to be configured, and process the activity configuration information corresponding to the target element to be configured based on the linkage display mode, inspection conditions and / or data conversion rules corresponding to the activity application object information carried in the context injection parameters.

[0130] In the activity configuration method provided by the embodiment of the present disclosure, in response to the selection operation for the target activity template, the element to be configured corresponding to the target activity template is displayed, wherein the element to be configured is used to characterize the activity information required to be configured for the target activity corresponding to the target activity template; the activity configuration information input for the element to be configured is received, and an activity configuration file corresponding to the target activity is generated based on the activity configuration information, and the activity configuration file is applied to the terminal where the target activity is deployed. It can be seen that the embodiment of the present disclosure can facilitate the user to input the activity configuration information for the information to be configured to generate the activity configuration file corresponding to the target activity by displaying the information to be configured corresponding to the target activity on the target activity template, thereby realizing a relatively standardized activity configuration file generation function.

[0131] In addition to the above-mentioned method and apparatus, the embodiment of the present disclosure further provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on a terminal device, the terminal device implements the activity configuration method described in the embodiment of the present disclosure.

[0132] The embodiment of the present disclosure further provides a computer program product, which includes a computer program / instructions. When the computer program / instructions are executed by a processor, the activity configuration method described in the embodiment of the present disclosure is implemented.

[0133] In addition, the present disclosure also provides an activity configuration device, see Figure 6 As shown, this may include:

[0134] Processor 601, memory 602, input device 603 and output device 604. The number of processors 601 in the activity configuration device can be one or more. Figure 6In some embodiments of the present disclosure, the processor 601, the memory 602, the input device 603 and the output device 604 may be connected via a bus or other means, wherein: Figure 6 The example of connecting through bus is taken in the following.

[0135] The memory 602 can be used to store software programs and modules. The processor 601 executes various functional applications and data processing of the active configuration device by running the software programs and modules stored in the memory 602. The memory 602 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function, etc. In addition, the memory 602 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. The input device 603 can be used to receive input digital or character information, and generate signal input related to user settings and function control of the active configuration device.

[0136] Specifically in this embodiment, the processor 601 will load the executable files corresponding to the processes of one or more applications into the memory 602 according to the following instructions, and the processor 601 will run the applications stored in the memory 602 to realize the various functions of the above-mentioned activity configuration device.

[0137] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0138] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. An activity configuration method, characterized in that: The method comprises: In response to a selection operation on a target activity template, displaying an element to be configured corresponding to the target activity template; wherein the element to be configured is used to represent activity information required to be configured for a target activity corresponding to the target activity template; Receive activity configuration information input for the element to be configured; An activity configuration file corresponding to the target activity is generated based on the activity configuration information; wherein the activity configuration file is applied to a terminal where the target activity is deployed.

2. The method according to claim 1, characterized in that: The target activity template is configured with a template file, wherein the template file defines page rendering information of the target activity template on multiple pages respectively, and the displaying of the to-be-configured element corresponding to the target activity template in response to the selection operation on the target activity template includes: In response to a selection operation on a target active template, acquiring page rendering information corresponding to the first page from a template file corresponding to the target active template; Based on the page rendering information corresponding to the first page, the to-be-configured element corresponding to the target active template is displayed on the first page.

3. The method according to claim 2, characterized in that The page rendering information corresponding to the second page among the multiple pages defines an information configuration module corresponding to the second page, the information configuration module is configured with a configuration module file, the configuration module file defines elements to be configured corresponding to the information configuration module, and the elements to be configured are used to represent activity information that needs to be configured by the information configuration module.

4. The method according to claim 2 or 3, characterized in that: The element to be configured is configured with an element file, wherein the element file defines element rendering information of the element to be configured on multiple pages respectively, and displaying the element to be configured corresponding to the target active template on the first page based on the page rendering information corresponding to the first page includes: Based on the page rendering information corresponding to the first page, acquiring element rendering information of the element to be configured on the first page; Based on the element rendering information of the element to be configured on the first page, the element to be configured is displayed on the first page.

5. The method according to claim 4, characterized in that The method further comprises: In response to a triggering operation of switching from the first page to a third page, acquiring element rendering information of the element to be configured on the third page from page rendering information corresponding to the third page; The display is switched from the first page to the third page, and based on the element rendering information of the element to be configured on the third page, the element to be configured is displayed on the third page.

6. The method according to claim 1, characterized in that Before the method of displaying the to-be-configured element corresponding to the target activity template in response to the selection operation on the target activity template, the method further includes: According to the activity application object information carried in the context injection parameter, the candidate activity templates corresponding to the activity application object information are displayed; wherein the candidate activity templates include the target activity template, and the activity application object information is used to characterize the application object corresponding to the target activity.

7. The method according to claim 6, characterized in that After generating the activity configuration file corresponding to the target activity based on the activity configuration information, the method further includes: In response to a submission operation on the activity configuration file, the activity configuration information in the activity configuration file is verified based on a verification condition corresponding to the activity application object information carried in the context injection parameter.

8. The method according to claim 6 or 7, characterized in that: After the to-be-configured element corresponding to the target activity template is displayed in response to the selection operation on the target activity template, the method further includes: In response to a selection operation on a target element to be configured, the activity configuration information corresponding to the target element to be configured is processed based on the linkage display mode, inspection conditions and / or data conversion rules corresponding to the activity application object information carried in the context injection parameters.

9. An activity configuration device, characterized in that: The device comprises: A first display module is used to display the to-be-configured element corresponding to the target activity template in response to a selection operation on the target activity template; wherein the to-be-configured element is used to represent the activity information required to be configured for the target activity corresponding to the target activity template; A receiving module, used for receiving activity configuration information input for the element to be configured; A generating module is used to generate an activity configuration file corresponding to the target activity based on the activity configuration information; wherein the activity configuration file is applied to a terminal where the target activity is deployed.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed on a terminal device, the terminal device implements the method according to any one of claims 1 to 8.

11. An activity configuration device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method according to any one of claims 1 to 8 is implemented.