Page template processing method and device, electronic equipment and storage medium

By clustering and combining page components and generating derived templates, the problem of long page template development cycle in the existing technology is solved, efficient and flexible page template construction is achieved, and business delivery efficiency is improved.

CN119668600APending Publication Date: 2025-03-21TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311222326.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-20
Publication Date
2025-03-21

AI Technical Summary

Technical Problem

When building diversified page templates, the existing technology has a long development cycle, making it difficult to achieve business goals efficiently and quickly, and lacks flexibility and scalability.

Method used

By clustering and combining page components and inserting them into the corresponding component bits in the page template, multiple derived templates are generated, thereby improving the efficiency and flexibility of page templates.

Benefits of technology

It realizes the rapid reuse of page components to other page template scenarios, accelerates business delivery efficiency, reduces development and maintenance costs, and improves the flexibility and scalability of page template construction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119668600A_ABST
    Figure CN119668600A_ABST
Patent Text Reader

Abstract

The invention provides a page template processing method and device, electronic equipment and a storage medium. The method can be applied to vehicle-mounted scenes and map scenes; the method comprises the following steps: displaying a human-computer interaction interface; in response to a component selection operation in the human-computer interaction interface, obtaining a plurality of page components; in response to a template selection operation in the human-computer interaction interface, at least one page template is obtained, and the page template comprises a plurality of component positions; a trigger operation is generated in response to a template in the human-computer interaction interface, the server is triggered to cluster the multiple page components into multiple combinations, each combination comprises different types of page components, each type in the combinations corresponds to one page component, and the page components in each combination are stored in the server. And inserting a component position having a matching relationship with the page component in the page template to obtain a derived template corresponding to each combination. According to the method and the device, diversified page templates are efficiently generated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a page template processing method, device, electronic device and computer-readable storage medium. Background Art

[0002] At present, as software demand gradually expands, developers need to build visual page templates according to the needs of different platforms. The common practice in the prior art is to use low-code platforms to freely layout a given series of built-in components, thereby creating page templates with rich components. However, as business scenarios become more diverse, it is necessary to continuously develop new components for business needs and re-drag and generate page templates. When the number of page templates increases, the time will also increase exponentially, resulting in a long page template development cycle and difficulty in achieving business goals efficiently and quickly. Summary of the invention

[0003] The embodiments of the present application provide a page template processing method, device, electronic device and computer-readable storage medium, which can efficiently generate diversified page templates to improve the flexibility and scalability of page template construction on a development platform.

[0004] The technical solution of the embodiment of the present application is implemented as follows:

[0005] The present application provides a page template processing method, the method comprising:

[0006] Display human-computer interaction interface;

[0007] In response to a component selection operation in the human-computer interaction interface, obtaining a plurality of page components;

[0008] In response to a template selection operation in the human-computer interaction interface, obtaining at least one page template, wherein the page template includes a plurality of component locations;

[0009] In response to a template generation trigger operation in the human-computer interaction interface, the trigger server clusters the plurality of page components into a plurality of combinations, wherein each of the combinations includes a different type of page components, and each type in the combination corresponds to a page component, and

[0010] The page component in each of the combinations is inserted into the component position in the page template that has a matching relationship with the page component, so as to obtain a derived template corresponding to each of the combinations.

[0011] The present application provides a page template processing method, the method comprising:

[0012] Receive a template generation task request, and query a plurality of page components and at least one page template from a database;

[0013] clustering the plurality of page components into a plurality of combinations, wherein each of the combinations comprises a different type of page components, and each type in the combination corresponds to a page component; and

[0014] Inserting the page component in each of the combinations into the component position in the page template that has a matching relationship with the page component, to obtain a derived template corresponding to each of the combinations;

[0015] The generate template task request is responded to based on the derived template.

[0016] In the above scheme, each of the combinations includes page components of the same type, and different combinations include page components of different types; inserting the page component in each combination into the component position in the page template that has a matching relationship with the page component includes:

[0017] The following processing is performed for each of the page templates:

[0018] Compare the keyword value of each component position of the page template with the component type value of each page component in the combination, and determine whether there is a matching relationship between the component position and the page component that are consistent in the comparison;

[0019] The page component is inserted into the component position in the page template that has the matching relationship with the page component to obtain a derived template.

[0020] The present application provides a page template processing device, including:

[0021] An acquisition module, used for acquiring a plurality of page components and at least one page template, wherein the page template includes a plurality of component positions;

[0022] A template generation module, used for splitting the plurality of page components into a plurality of combinations, each of the combinations comprising different types of page components, each type in the combination corresponding to one page component; inserting the page components in each of the combinations into the corresponding component positions in the page template to obtain a derived template corresponding to each of the combinations;

[0023] An update module, used for generating a derived template containing new version page component data when the page component is updated;

[0024] The updating module is also used to generate a derived template containing new version page template data when the page template is updated.

[0025] The present application provides a page template processing device, including:

[0026] A receiving module, used for receiving a template generation task request, obtaining a plurality of page components and at least one page template, wherein the page template includes a plurality of component positions;

[0027] A processing module, used for splitting the multiple page components into multiple combinations, each of the combinations including different types of page components, each type in the combination corresponding to one page component; inserting the page component in each combination into the corresponding component position in the page template to obtain a derived template corresponding to each combination;

[0028] A response module is used to respond to the template generation task request based on the derived template.

[0029] An embodiment of the present application provides an electronic device, including:

[0030] A memory for storing computer executable instructions;

[0031] The processor is used to implement a page template processing method when executing the computer executable instructions stored in the memory.

[0032] An embodiment of the present application provides a computer-readable storage medium storing a computer program or computer-executable instructions for implementing the page template processing method provided in the embodiment of the present application when executed by a processor.

[0033] An embodiment of the present application provides a computer program product, including a computer program or computer executable instructions, which, when executed by a processor, implements the page template processing method provided in the embodiment of the present application.

[0034] The embodiments of the present application have the following beneficial effects:

[0035] The method of clustering and combining page components and then batch inserting corresponding page templates to generate multiple derived templates is, on the one hand, more efficient than the existing method of manually generating page templates one by one according to scenarios. On the other hand, page components of different types and styles ensure the differences between derived templates, so that page components can be quickly used in various scenarios, thereby improving the flexibility and scalability of page template construction on the development platform, reducing development and maintenance costs, and improving business delivery efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 It is a schematic diagram of an application mode of the page template processing method provided in an embodiment of the present application;

[0037] Figure 2A It is a schematic diagram of the server structure provided in an embodiment of the present application;

[0038] Figure 2B It is a schematic diagram of the terminal structure provided in an embodiment of the present application;

[0039] FIG. 3A to FIG. 3I It is a flow chart of the page template processing method provided in the embodiment of the present application;

[0040] Figure 4 It is a flow chart of the page template processing method provided in the embodiment of the present application;

[0041] FIG. 5A to FIG. 5C It is a flow chart of the page template processing method provided in the embodiment of the present application;

[0042] Fig. 6A This is a schematic diagram of an interface generated by a template provided in an embodiment of the present application;

[0043] Figure 6B is a schematic diagram of multiple page components displayed on a human-computer interaction interface provided by an embodiment of the present application;

[0044] Figure 6C is a schematic diagram of multiple page templates displayed on a human-computer interaction interface provided by an embodiment of the present application;

[0045] Fig.6D A schematic diagram of a successful submission of a template generation task request provided in an embodiment of the present application;

[0046] Fig. 6E It is a schematic diagram of a derived template list and an operation module in a draft box provided in an embodiment of the present application;

[0047] Fig. 6F is a schematic diagram of a template preview graphic code provided in an embodiment of the present application;

[0048] FIG. 6G to FIG. 6H is a schematic diagram of a template test result provided in an embodiment of the present application;

[0049] Fig.6I It is a schematic diagram of a page component list and an operation module provided in an embodiment of the present application;

[0050] Figure 6J A schematic diagram of a successful submission of a task to update a component-associated template provided in an embodiment of the present application;

[0051] Figure 7 It is a schematic diagram of the process of generating a derived template provided in an embodiment of the present application. DETAILED DESCRIPTION

[0052] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.

[0053] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0054] Unless otherwise defined, all technical and scientific terms used in the embodiments of the present application have the same meanings as those commonly understood by those skilled in the art. The terms used in the embodiments of the present application are only for the purpose of describing the embodiments of the present application and are not intended to limit the present application.

[0055] The relevant data collection and processing in the embodiments of this application should be strictly in accordance with the requirements of relevant national laws and regulations when applied in examples, obtain the informed consent or separate consent of the personal information subject, and carry out subsequent data use and processing within the scope of authorization of laws and regulations and the personal information subject.

[0056] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.

[0057] 1) In response to: used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed may be in real time or have a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations executed may be executed.

[0058] 2) Template: A native page rendered by a domain-specific language (DSL), which is not constrained by external frameworks and can flexibly design web pages according to specific needs.

[0059] 3) Page template: Also known as a master template, it is a template that contains component locations and is used for predefined layouts in web page design and development.

[0060] 4) Page component: also known as composite component, is a component composed of multiple smaller components to form a larger functional unit, which can be applied to the corresponding template to present a specific page, such as a map page, advertising page, etc.

[0061] 5) Component position: A customizable placeholder used to insert page components into a specific location in the page template.

[0062] 6) Cross product combination: match at least one page template and multiple page components through component bits, insert the page components into specific positions of the page templates with matching relationships through component bits, thereby generating multiple derived templates.

[0063] 7) Derived template: A template generated by combining page templates and page components through cross product.

[0064] In the related technology, there are two main methods for reusing existing page components to other page template scenarios. One is to use low-code technology to develop a new page component, and then re-drag the page templates for different scenarios and add the new page component. However, this method requires the development of a new low-code compatible page component, and re-drag to generate page templates for multiple other scenarios, which is inefficient and wastes manpower; the other method is to manually copy the page components to the page templates for different scenarios, re-verify the correctness of the page templates and go online, but manual operations are subject to human errors and lack flexibility and scalability.

[0065] In order to solve the above problems, the embodiments of the present application provide a page template processing method, device, electronic device, computer-readable storage medium and computer program product, which can quickly reuse page components to other page template scenarios and speed up business delivery.

[0066] See also Figure 1 , Figure 1 This is a schematic diagram of the application mode of the page template processing method provided in the embodiment of the present application, for example, Figure 1 The invention involves a server 100, a terminal 200, a network 300 and a database 400. The terminal 200 is connected to the server 100 via the network 300, wherein the network 300 may be a wide area network or a local area network, or a combination of the two.

[0067] In some embodiments, the page template processing method provided in the embodiment of the present application can be implemented by the server and the terminal in collaboration. For example, the terminal 200 displays a human-computer interaction interface, and in response to a component selection operation in the human-computer interaction interface, obtains multiple page components from a page component database, and displays a list consisting of multiple page components in the human-computer interaction interface, in response to a template selection operation in the human-computer interaction interface, obtains at least one page template from a template database, and displays a list consisting of at least one page template in the human-computer interaction interface, in response to a template generation operation in the human-computer interaction interface, generates a template generation request, and sends the template generation request to the server 100, the server 100 receives the template generation request, clusters the multiple page components into multiple combinations, and inserts the page components in each combination into the component position in the page template that has a matching relationship with the page components, and obtains a derived template corresponding to each combination, wherein each combination includes different types of page components, and each type in the combination corresponds to a page component, and the server responds to completing the template generation task and stores the generated multiple derived templates in the database 400.

[0068] In some embodiments, the page template processing method provided in the embodiments of the present application can be implemented by a terminal. For example, the terminal 200 displays a human-computer interaction interface, and in response to a component selection operation in the human-computer interaction interface, obtains multiple page components from a page component database, and displays a list consisting of multiple page components in the human-computer interaction interface, in response to a template selection operation in the human-computer interaction interface, obtains at least one page template from a template database, and displays a list consisting of at least one page template in the human-computer interaction interface, and in response to a template generation operation in the human-computer interaction interface, clusters multiple page components into multiple combinations, and inserts the page components in each combination into the component position in the page template that has a matching relationship with the page components, and obtains a derived template corresponding to each combination, wherein each combination includes different types of page components, and each type in the combination corresponds to a page component.

[0069] In some embodiments, the terminal or server can implement the page template processing method provided in the embodiment of the present application by running various computer executable instructions or computer programs. For example, computer executable instructions can be microprogram-level commands, machine instructions or software instructions. The computer program can be a native program or software module in the operating system; it can be a local (Native) application (APP, Application), that is, a program that needs to be installed in the operating system to run, such as a game application or a live broadcast application; it can also be a small program embedded in any APP, that is, a program that can be run only by downloading it to a browser environment. In short, the above-mentioned computer executable instructions can be instructions in any form, and the above-mentioned computer program can be an application, module or plug-in in any form.

[0070] In some embodiments, server 100 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), as well as big data and artificial intelligence platforms. Among them, cloud services can be interactive processing services for terminals to call.

[0071] The terminal provided in the embodiments of the present application can be implemented as various types of user terminals such as laptop computers, tablet computers, desktop computers, set-top boxes, mobile devices (for example, mobile phones, portable music players, personal digital assistants, dedicated messaging devices, portable gaming devices), smart phones, smart speakers, smart watches, smart televisions, vehicle-mounted terminals, aircraft, etc.

[0072] In some embodiments, multiple servers may form a blockchain, and server 100 is a node on the blockchain. Information connections may exist between each node in the blockchain, and information may be transmitted between nodes through the above information connections. Among them, data related to the page template processing method provided in the embodiment of the present application (such as the logic of interactive processing, updated unlocking progress control) may be stored on the blockchain.

[0073] See also Figure 2A , Figure 2A is a schematic diagram of the structure of a server 100 for page template processing provided in an embodiment of the present application, Figure 2A The server 100 shown includes: at least one processor 110, a memory 130 and at least one network interface 120. The various components in the server 100 are coupled together via a bus system 140. It is understood that the bus system 140 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 140 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 140 is not described in detail. Figure 2A Various buses are labeled as bus system 140 .

[0074] The processor 110 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.

[0075] The memory 130 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard disk drives, optical disk drives, etc. The memory 130 may optionally include one or more storage devices that are physically remote from the processor 110.

[0076] The memory 130 includes a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories. The non-volatile memory may be a read-only memory (ROM), and the volatile memory may be a random access memory (RAM). The memory 130 described in the embodiments of the present application is intended to include any suitable type of memory.

[0077] In some embodiments, memory 130 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplarily described below.

[0078] Operating system 131, including system programs for processing various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks;

[0079] A network communication module 132, used to reach other electronic devices via one or more (wired or wireless) network interfaces 120, exemplary network interfaces 120 include: Bluetooth, Wireless Compatibility Certification (WiFi), and Universal Serial Bus (USB), etc.;

[0080] The input processing module 133 is used to detect one or more user inputs or interactions from one of the one or more input devices 132 and translate the detected inputs or interactions.

[0081] In some embodiments, the device provided in the embodiments of the present application can be implemented in software. Figure 2A The page template processing device 134 stored in the memory 130 is shown, which can be software in the form of a program and a plug-in, etc., and includes the following software modules: a receiving module 1341, a processing module 1342 and a response module 1343. These modules are logical, so they can be arbitrarily combined or further split according to the functions implemented. The functions of each module will be explained below.

[0082] See also Figure 2B , Figure 2B is a schematic diagram of the structure of a terminal 200 for page template processing provided in an embodiment of the present application, Figure 2BThe terminal 200 shown includes: at least one processor 210, a memory 250, at least one network interface 220 and a user interface 230. The various components in the terminal 200 are coupled together via a bus system 240. It is understood that the bus system 240 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 240 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 240 is not described in detail. Figure 2B Various buses are labeled as a bus system 240, wherein the descriptions related to the processor 210, the memory 250 and the network interface 220 are referred to above and will not be repeated below.

[0083] The user interface 230 includes one or more output devices 231 that enable presentation of media content, including one or more speakers and / or one or more visual display screens. The user interface 230 also includes one or more input devices 232, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.

[0084] In some embodiments, memory 250 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplarily described below.

[0085] The presentation module 253 is used to enable presentation of information (eg, a user interface for operating peripheral devices and displaying content and information) via one or more output devices 231 (eg, a display screen, a speaker, etc.) associated with the user interface 230 .

[0086] In some embodiments, the device provided in the embodiments of the present application can be implemented in software. Figure 2B The page template processing device 255 stored in the memory 250 is shown, which can be software in the form of a program and a plug-in, etc., including the following software modules: an acquisition module 2551, a template generation module 2552 and an update module 2553. These modules are logical, so they can be arbitrarily combined or further split according to the functions implemented. The functions of each module will be explained below.

[0087] In other embodiments, the device provided in the embodiments of the present application can be implemented in hardware. As an example, the device provided in the embodiments of the present application can be a processor in the form of a hardware decoding processor, which is programmed to execute the page template processing method provided in the embodiments of the present application. For example, the processor in the form of a hardware decoding processor can adopt one or more application specific integrated circuits (Application Specific Integrated Circuit, ASIC), digital signal processors (Digital Signal Processor, DSP), programmable logic devices (Programmable Logic Device, PLD), complex programmable logic devices (Complex Programmable Logic Device, CPLD), field programmable gate arrays (Field-Progr ammable Gate Array, FPGA) or other electronic components.

[0088] The page template processing method provided by the embodiment of the present application will be described in conjunction with the exemplary application and implementation of the terminal provided by the embodiment of the present application. Figure 3A , Figure 3A is a flow chart of the page template processing method provided in the embodiment of the present application, which will be combined with Figure 3A The steps shown are explained, FIG. 3A to FIG. 3I The execution subject can be Figure 1 The terminal 200 is shown in FIG.

[0089] In step 101, a human-computer interaction interface is displayed.

[0090] Here, the human-computer interaction interface can be, for example, a navigation interface for an in-vehicle scene, a live broadcast room interface for a live broadcast scene, and an information flow interface for a social software.

[0091] In step 102, in response to a component selection operation in a human-computer interaction interface, a plurality of page components are acquired.

[0092] In some embodiments, see Figure 3B , Figure 3A The illustrated step 102 may be implemented by following the steps 1021 to 1022, which are described in detail below.

[0093] In step 1021, in response to a trigger operation on a component selection control, a plurality of candidate page components in a page component database are displayed.

[0094] As an example, see Fig. 6A , Fig. 6A is a schematic diagram of an interface generated by a template provided in an embodiment of the present application, in response to Fig. 6AThe component selection control 601 in the triggering operation displays multiple candidate page components in the page component database on the human-computer interaction interface.

[0095] In step 1022, in response to a component selection operation among a plurality of candidate page components, a plurality of selected page components are obtained.

[0096] As an example, see Figure 6B , Figure 6B is a schematic diagram of multiple page components displayed on a human-computer interaction interface provided by an embodiment of the present application, in response to Figure 6B A component selection operation is performed on multiple candidate page components to obtain multiple selected page components.

[0097] Through step 102, the beneficial effect of supporting flexible selection of page components is achieved.

[0098] Continue to see Figure 3A In step 103, in response to a template selection operation in the human-computer interaction interface, at least one page template is obtained, wherein the page template includes a plurality of component locations.

[0099] In some embodiments, see Figure 3C , Figure 3A The illustrated step 103 may be implemented by following the steps 1031 to 1032, which are described in detail below.

[0100] In step 1031, in response to a trigger operation on a template selection control, a plurality of candidate page templates in a template database are displayed.

[0101] As an example, see Fig. 6A , Fig. 6A is a schematic diagram of an interface generated by a template provided in an embodiment of the present application, in response to Fig. 6A The trigger operation of the template selection control 602 in the template selection control 602 is used to display multiple candidate page templates in the template database on the human-computer interaction interface.

[0102] In step 1032 , in response to a template selection operation for a plurality of candidate page templates, at least one selected page template is obtained.

[0103] As an example, see Figure 6C , Figure 6C is a schematic diagram of multiple page templates displayed on a human-computer interaction interface provided by an embodiment of the present application, in response to Figure 6C A template selection operation is performed on multiple candidate page templates to obtain at least one selected page template.

[0104] Through step 103, the beneficial effect of supporting flexible selection of page templates is achieved.

[0105] Continue to see Figure 3A In step 104, in response to a template generation trigger operation in the human-computer interaction interface, the trigger server aggregates multiple page components into multiple combinations, wherein each combination includes different types of page components, and each type in the combination corresponds to a page component.

[0106] In some embodiments, see Figure 7 , Figure 7 This is a schematic diagram of a process for generating a derived template provided in an embodiment of the present application, for example, Figure 3A Step 104 of the presentation can be Figure 7 The method of obtaining two component sets is implemented in . Both the parent template A and the parent template B have two component positions, endcard and redrain. There are two endcard type components and two redrain type components in the composite component (here refers to components of different styles of the same component type). Then the set of two components is 2×2=4 (corresponding to the multiple combinations above), among which complexComponentType represents the component type.

[0107] here, Figure 7 This is an exemplary description, and the embodiments of the present application do not limit the page component type, the number of page components, the page template type, and the number of page templates.

[0108] In step 105, the page component in each combination is inserted into the component position in the page template that has a matching relationship with the page component, so as to obtain a derived template corresponding to each combination.

[0109] In some embodiments, see Figure 7 , Figure 7 This is a schematic diagram of a process for generating a derived template provided in an embodiment of the present application, for example, Figure 3A Step 105 presented can be Figure 7 The components in the method of combining with the parent template are realized. Referring to the above, the set of two components is 2×2=4, and further combining the two parent templates to obtain 4×2=8 derived templates.

[0110] In some embodiments, see Figure 3D , Figure 3A The illustrated step 105 can be implemented by following the steps 1051 to 1052, which are described in detail below.

[0111] In step 1051, the keyword value of each component position of the page template is compared with the component type value of each page component in the combination to determine whether there is a matching relationship between the component position and the page component that match the comparison.

[0112] In some embodiments, the DSL in the page template reserves the component position keyword "complexComponentType" and matches the corresponding page component type through the keyword value, for example: {"complexComponentType":"end_card"}, indicating that this is a page template with a component position of the end_card component type. When the value of the complexComponentType of the page template is consistent with the value of the complexComponentType of the page component, it indicates that there is a matching relationship between the page component and the page template.

[0113] In step 1052, the data of the page component is inserted into the component position in the page template that has a matching relationship with the page component to obtain a derived template.

[0114] In some embodiments, referring to the above, the DSL of the page component with matching relationship is inserted into the corresponding component position, and the identification number (ID) and version information of the page component are put into the DSL to generate a new derived template.

[0115] The above steps 1051 and 1052 are executed by the terminal. As an alternative, in some embodiments, steps 1051 to 1052 can be implemented by the terminal calling corresponding capabilities of the server, such as calling an application programming interface (API) in the server.

[0116] See also Figure 3E ,exist Figure 3A Before step 105 shown, steps 106 to 107 may also be performed, which are described in detail below.

[0117] In step 106, the attributes of the page template are compared with the attributes of each page component in the combination.

[0118] Taking the page used for advertising as an example, the attributes include at least one of the following: supported page scenarios (for example, incentive ads, interstitial ads, splash ads, and information flow ads in advertising scenarios, etc.), supported screen orientations (for example, horizontal, vertical, horizontal and vertical, etc.), and page layout ratio (for example, full screen, half screen, etc.).

[0119] In step 107, in response to the matching, it is determined that there is a matching relationship between the page template and the page component with consistent attributes, and then the process proceeds to step 105 to insert the page component in each combination into the component position in the page template that has a matching relationship with the page component.

[0120] See also Figure 3F ,exist Figure 3A Before step 102 shown, steps 108 to 109 may also be performed, which are described in detail below.

[0121] In step 108, in response to a new page component creation operation in the human-computer interaction interface, component data of a plurality of new page components are acquired.

[0122] In some embodiments, Figure 3F The step 108 shown can be triggered by displaying a page component information entry control on the human-computer interaction interface to obtain the component data of the page component input in the page component information entry control.

[0123] Here, the embodiment of the present application does not limit the number of components that can be entered into a page component at a single time, and component data of one or more page components can be entered at a single time.

[0124] In step 109, in response to verifying that the component data is correct, the server is triggered to perform a component online operation on the new page component that has passed the verification, wherein the component online operation is used to store the new page component that has passed the verification into the page component database.

[0125] In some embodiments, Figure 3F Step 109 presented can send a component online task request to the server in response to the trigger operation of the component online control of the human-computer interaction interface, so that the server performs a component online operation on the new page component that has passed the verification, wherein the component online operation is used to store the new page component that has passed the verification into the page component database.

[0126] Through step 108 to step 109, the beneficial effects of supporting flexible construction of page components for selection of page components and ensuring the accuracy of page component data are achieved.

[0127] See also Figure 3G ,exist Figure 3A After step 105 shown, steps 110 to 114 may also be performed, which are described in detail below.

[0128] In step 110, the derived template corresponding to each combination is stored in a draft box to form a derived template list.

[0129] In step 111, a derived template list and an operation module corresponding to each derived template are displayed on a human-computer interaction interface, and the operation module includes at least one of the following: a preview control and a test control.

[0130] In step 112, in response to a triggering operation of a preview control for a target derived template, a graphic code (e.g., a QR code, a barcode) of the derived template is displayed, and in response to a scanning operation of the graphic code for the target derived template, a preview effect of the target derived template is displayed.

[0131] As an example, see Fig. 6E , Fig. 6E is a schematic diagram of a derived template list and an operation module in a draft box provided in an embodiment of the present application, in response to Fig. 6E The trigger operation of the preview control 604 in the human-computer interaction interface displays the graphic code of the derived template, see Fig. 6F , Fig. 6F It is a schematic diagram of a template preview graphic code provided in an embodiment of the present application, which displays a preview effect of a target derived template in response to a scanning operation on the graphic code of the target derived template.

[0132] The target derived template is any derived template, which will not be described in detail below.

[0133] In step 113, in response to a triggering operation on a test control of a target derived template, a test result of the target derived template is displayed.

[0134] As an example, see Fig. 6E , Fig. 6E is a schematic diagram of a derived template list and an operation module in a draft box provided in an embodiment of the present application, in response to Fig. 6E The trigger operation of the transfer test control 605 in the display test result of the target derived template, see FIG. 6G to FIG. 6H , FIG. 6G to FIG. 6H is a schematic diagram of the template test results provided in the embodiment of the present application, wherein: Figure 6G Test report for target derived template, Figure 6H The rendering results of the target derived template in different devices.

[0135] Here, the embodiments of the present application do not limit the device for testing, for example, it may be a testing device such as a terminal or a server.

[0136] In step 114, when the test result is that the test passes, the server is triggered to perform a template online operation on the target derived template, wherein the template online operation is used to transfer the target derived template that passes the test from the draft box to the template database.

[0137] As an example, see Fig. 6E , Fig. 6E is a schematic diagram of a derived template list and an operation module in a draft box provided in an embodiment of the present application, in response to Fig. 6EThe trigger operation of the online control 606 in the example sends an online template task request to the server, so that the server performs a template online operation on the target derived template.

[0138] Through steps 110 to 114, the high-frequency processing function for the derived template is integrated to improve the processing efficiency of the derived template.

[0139] See also Figure 3H ,exist Figure 3A After step 105 shown, steps 115 to 117 may also be performed, which are described in detail below.

[0140] In step 115, in response to the update page component operation in the human-computer interaction interface, component data of the new version page component is obtained.

[0141] In some embodiments, Figure 3H The step 115 shown can be triggered by displaying an update page component control on the human-computer interaction interface to update the page component control to obtain the component data of the page component input in the page component information entry control.

[0142] In step 116, in response to the component data being verified, the server is triggered to perform a new component online operation on the new version page component, wherein the new component online operation is used to store the verified new version page component into the page component database.

[0143] Here, the server may be triggered by sending a component launch task request to the server, so that the server performs a new component launch operation on the new version page component.

[0144] In step 117, in response to the update component association template operation in the human-computer interaction interface, the identification number of the new version page component is obtained through the component data, and the identification number of the new version page component is compared with the identification number of the page component in the derived template to determine that there is a matching relationship between the new version page component and the page component with the same identification number, and the component data of the page component is replaced with the component data of the new version page component with the matching relationship to obtain a derived template including the component data of the new version page component.

[0145] As an example, see Fig.6I , Fig.6I is a schematic diagram of a page component list and an operation module provided in an embodiment of the present application, in response to Fig.6IThe trigger operation of updating the associated template control 603 in the embodiment obtains the identification number of the new version page component through the component data, compares the identification number of the new version page component with the identification number of the page component in the derived template, determines that there is a matching relationship between the new version page component and the page component with the same identification number, replaces the component data of the page component with the component data of the new version page component with the matching relationship, and obtains the derived template including the component data of the new version page component. By timely iteratively updating the associated template, the beneficial effect of improving the flexibility and extensibility of page template processing is achieved.

[0146] Through steps 115 to 117, the beneficial effect of quickly updating the derived template associated with the current page component when the page component is updated is achieved.

[0147] See also Fig. 3I ,exist Figure 3A After step 105 shown, steps 118 to 120 may also be performed, which are described in detail below.

[0148] In step 118, in response to the page template update operation, template data of the new version page template is obtained.

[0149] In step 119, in response to verifying that the template data is correct, a new template online operation is performed on the new version page template, wherein the new template online operation is used to store the new version page template into the page template database.

[0150] In step 120, in response to the operation of updating the page template derived template, the mark number of the new version page template is compared with the mark number of the derived template to determine whether there is a matching relationship between the new version page template and the derived template with the same mark number, and the template data of the derived template is replaced with the template data of the new version page template with a matching relationship to obtain a derived template including the template data of the new version page template.

[0151] Through step 118 to step 120, the beneficial effect of quickly updating the derived template associated with the current page template when the page template is updated is achieved.

[0152] In some embodiments, the operation module in step 111 further includes at least one of the following: a template information viewing control, a template online control, a template deletion control, a template associated component control, and a rule control. The specific operations of these controls are as follows:

[0153] In response to a triggering operation of a view template information control for a target derived template, detailed information of the target derived template is displayed, including but not limited to the name, identifier, version number, template type, creation time, current status, application scenario, rendering mode, canvas direction, and template source of the target derived template;

[0154] In response to a trigger operation of a template online control for a target derived template, triggering a server, sending an online template task request to the server, so that the server performs a template online operation on the target derived template;

[0155] In response to a trigger operation of a template deletion control for a target derived template, triggering a server, sending a template deletion task request to the server, so that the server performs a deletion operation on the target derived template;

[0156] In response to a triggering operation of a template-associated component control of a target derived template, a list of associated components of the target derived template is displayed, wherein the associated components are page components inserted into each component position of the target derived template;

[0157] In response to a triggering operation on a rule control of a target derived template, template rules of the target derived template and an editing module of the template rules are displayed, wherein the template rules are used to control the display logic and data rendering method of the target derived template, and the editing module is used to edit the template rules.

[0158] The page template processing method provided by the embodiment of the present application will be described in combination with the exemplary application and implementation of the server provided by the embodiment of the present application. Figure 4 , Figure 4 is a flow chart of the page template processing method provided in the embodiment of the present application, which will be combined with Figure 4 The steps shown are explained, Figure 4 The execution subject can be Figure 1 The server 100 shown in the figure is used to interact with the terminal 200 described above. For details not described in detail about the server 100 described below, please refer to the above.

[0159] In step 201, a template generation task request is received, and a plurality of page components and at least one page template are queried from a database.

[0160] In some embodiments, Figure 4 The step 201 presented may be implemented in the following manner: receiving a template generation task request sent by a terminal, querying a plurality of page components from a page component database, and querying at least one page template from a page template database.

[0161] In step 202, a plurality of page components are clustered into a plurality of combinations, wherein each combination includes page components of different types, and each type in the combination corresponds to a page component.

[0162] The specific implementation steps of step 202 may refer to the above description of step 104 .

[0163] In step 203, the page component in each combination is inserted into the component position in the page template that has a matching relationship with the page component, so as to obtain a derived template corresponding to each combination.

[0164] The specific implementation steps of step 203 may refer to the above description of step 105 .

[0165] In step 204, a template task request is generated based on the derived template response.

[0166] Below, taking an advertising page as an example, an exemplary application of an embodiment of the present application in an actual application scenario is described. The advertising page here can be displayed in a vehicle-mounted scenario.

[0167] The embodiment of the present application supports users (such as advertisers or advertising backend operation and maintenance personnel) to select multiple components and advertising page templates of interest on the terminal. After submitting the template generation task, multiple derived templates are generated in batches. For these derived templates, users can preview the template effects and test them. After the test passes, users can put them online. When the template or component is updated, the user can independently select the template or component that needs to be updated, and batch update all derived templates associated with the updated page template or updated page component with one click. When building an advertising page, the user can select a derived template that is suitable for the current advertising scenario to build an advertising page, and then deliver the advertising page to each platform.

[0168] In summary, the embodiment of the present application provides an advertising page template rapid generation platform (corresponding to the server above), which not only allows users to obtain multiple advertising page templates at one time, but also helps users to timely update and iterate related advertising page templates, thereby reducing the development cycle of advertising pages and speeding up the business delivery of advertising page development.

[0169] The page template processing method provided in the embodiment of the present application is described in detail below.

[0170] See also FIG. 5A to FIG. 5C , FIG. 5A to FIG. 5C Schematic diagram of the process of the page template processing method provided by the embodiment of the present application. FIG. 5A to FIG. 5C The page template processing method provided by the embodiment of the present application is described. The embodiment of the present application does not limit the framework used for the page template processing method, for example, it can be: React, Vue, Preact and other frameworks.

[0171] Step 301: The terminal creates a new page component and enters page component data.

[0172] In some embodiments, Figure 5AThe step 301 shown can be triggered by displaying a page component information entry control on the human-computer interaction interface to obtain the component data of the page component input in the page component information entry control.

[0173] Here, the embodiment of the present application does not limit the number of components that can be entered into a page component at a single time, and component data of one or more page components can be entered at a single time.

[0174] Step 302 , in response to the composite component data being correct, the terminal executes a composite component online operation and stores the composite component into a composite component database.

[0175] Step 303: the terminal creates a page template and enters page template data.

[0176] In some embodiments, Figure 5A The step 304 shown can be performed by displaying a page template information entry control on the human-computer interaction interface, triggering the page template information entry control to obtain the template data of the page template input in the page template information entry control.

[0177] Here, the embodiment of the present application does not limit the number of templates that can be entered into a page template at a time, and template data of one or more page templates can be entered at a time.

[0178] Step 304: In response to the page template data being correct, the terminal executes the page template online operation.

[0179] Step 305: the terminal obtains multiple page components in response to the component selection operation.

[0180] As an example, see Fig. 6A , Fig. 6A is a schematic diagram of an interface generated by a template provided in an embodiment of the present application, in response to Fig. 6A The trigger operation of the component selection control 601 in the human-computer interaction interface displays multiple candidate page components in the component database, see Figure 6B , Figure 6B is a schematic diagram of multiple page components displayed on a human-computer interaction interface provided by an embodiment of the present application, in response to Figure 6B A component selection operation is performed on multiple candidate page components to obtain multiple selected page components.

[0181] Step 306: The terminal obtains at least one page template in response to the template selection operation, wherein the page template includes a plurality of component locations.

[0182] In some embodiments, see Fig. 6A , Fig. 6A is a schematic diagram of an interface generated by a template provided in an embodiment of the present application, in response to Fig. 6AThe trigger operation of the template selection control 602 in the human-computer interaction interface displays multiple candidate page templates in the template database, see Figure 6C , Figure 6C is a schematic diagram of multiple page templates displayed on a human-computer interaction interface provided by an embodiment of the present application, in response to Figure 6C A template selection operation is performed on multiple candidate page templates to obtain at least one selected page template.

[0183] Step 307, the terminal triggers the server in response to the template generation trigger operation, and sends a template generation task request to the server, so that the server clusters multiple page components into multiple combinations, wherein each combination includes different types of page components, each type in the combination corresponds to a page component, and the page components in each combination are inserted into the component positions in the page template that have a matching relationship with the page components, so as to obtain a derived template corresponding to each combination.

[0184] In some embodiments, see Figure 7 , Figure 7 This is a schematic diagram of a process for generating a derived template provided in an embodiment of the present application, for example, Figure 5A Step 307 shown can be Figure 7 It is implemented by obtaining two component sets and combining them with the parent template. When both the parent template A and the parent template B have the two component positions of endcard and redrain, there are 2 endcard type components and 2 redrain type components in the composite component (here refers to components of different styles of the same component type), then the set of two components is 2×2=4 (corresponding to the multiple combinations above), and further combining the two parent templates to obtain 4×2=8 derived templates, among which complexComponentType represents the component type.

[0185] here, Figure 7 This is an exemplary description, and the embodiments of the present application do not limit the page component type, the number of page components, the page template type, and the number of page templates.

[0186] Step 308: The server stores the generated derived template into a draft box to form a derived template list.

[0187] Step 309: The terminal displays a list of derived templates and an operation module corresponding to each derived template on the human-computer interaction interface. The operation module includes at least one of the following: a preview control and a test control.

[0188] Step 310, the terminal displays a graphic code (such as a QR code, a barcode) of the target derived template in response to a trigger operation of a preview control of the target derived template, and displays a preview effect of the target derived template in response to a scanning operation of the graphic code of the target derived template, wherein the target derived template is any derived template.

[0189] As an example, see Fig. 6E , Fig. 6E is a schematic diagram of a derived template list and an operation module in a draft box provided in an embodiment of the present application, Figure 5B Step 310 of the display may be performed by Fig. 6E For the trigger operation implementation of the preview control 604 in Fig. 6F , Fig. 6F It is a schematic diagram of a template preview graphic code provided in an embodiment of the present application, which displays a preview effect of a target derived template in response to a scanning operation on the graphic code of the target derived template.

[0190] Step 311: The terminal displays the test result of the target derived template in response to the triggering operation of the test control for the target derived template.

[0191] As an example, see Fig. 6E , Fig. 6E is a schematic diagram of a derived template list and an operation module in a draft box provided in an embodiment of the present application, in response to Fig. 6E The trigger operation of the transfer test control 605 in the display test effect of the target derived template, see FIG. 6G to FIG. 6H , FIG. 6G to FIG. 6H is a schematic diagram of the template test results provided in the embodiment of the present application, wherein: Figure 6G Test report for target derived template, Figure 6H The rendering results of the target derived template in different devices.

[0192] Here, the present application does not limit the equipment for testing, for example, it may be: terminal testing, server testing and other testing equipment.

[0193] Step 312: In response to the test result being a passed test, the terminal triggers the server to perform a template online operation on the target derived template, wherein the template online operation is used to transfer the target derived template that has passed the test from the draft box to the template database.

[0194] As an example, see Fig. 6E , Fig. 6E is a schematic diagram of a derived template list and an operation module in a draft box provided in an embodiment of the present application, in response to Fig. 6EThe trigger operation of the online control 606 in the example (for example, manually clicking the button of the online control) sends an online template task request to the server, so that the server performs the template online operation on the target derived template.

[0195] Step 313: the terminal obtains component data of the new version of the page component in response to the update page component operation in the human-computer interaction interface.

[0196] In some embodiments, Figure 5A The step 313 shown can be triggered by displaying an update page component control on the human-computer interaction interface to update the page component control to obtain the component data of the page component input in the page component information entry control.

[0197] Step 314, in response to the verification component data passing, the terminal triggers the server to perform a new component online operation on the new version page component, wherein the new component online operation is used to store the verified new version page component into the page component database.

[0198] Here, triggering the server may be, for example: sending a component launch task request to the server, so that the server performs a new component launch operation on the new version page component.

[0199] Step 315, the terminal responds to the update component association template operation in the human-computer interaction interface, obtains the identification number of the new version page component through the component data, compares the identification number of the new version page component with the identification number of the page component in the derived template, determines that there is a matching relationship between the new version page component and the page component with the same identification number, replaces the component data of the page component with the component data of the new version page component with the matching relationship, and obtains a derived template including the component data of the new version page component.

[0200] As an example, see Fig.6I , Fig.6I is a schematic diagram of a page component list and an operation module provided in an embodiment of the present application, in response to Fig.6I The trigger operation of the update associated template control 603 in the embodiment obtains the identification number of the new version page component through the component data, compares the identification number of the new version page component with the identification number of the page component in the derived template, determines that there is a matching relationship between the new version page component and the page component with the same identification number, replaces the component data of the page component with the component data of the new version page component with the matching relationship, and obtains the derived template including the component data of the new version page component.

[0201] Step 316: In response to the page template update operation, the terminal obtains template data of the new version page template.

[0202] In some embodiments, Figure 5BThe step 316 shown can be triggered by displaying an update page template control on the human-computer interaction interface to update the page template control to obtain the template data of the page template input in the page template information input control.

[0203] Step 317 , in response to verifying that the template data is correct, the terminal performs a new template online operation on the new version page template, wherein the new template online operation is used to store the new version page template into the page template database.

[0204] Here, triggering the server may, for example, send a template online task request to the server, so that the server performs a new template online operation on the new version page template.

[0205] Step 318, in response to the operation of updating the page template derived template, the terminal compares the mark number of the new version page template with the mark number of the derived template, determines that there is a matching relationship between the new version page template and the derived template with the same mark number, replaces the template data of the derived template with the template data of the new version page template with the matching relationship, and obtains a derived template including the template data of the new version page template.

[0206] Step 319: The server stores the template data in the template database into the advertisement position database.

[0207] Step 320: The terminal responds to starting the experiment operation and performs the experiment through the experiment system.

[0208] Among them, the experimental system evaluates the effectiveness of advertising pages through data testing in the advertising position database, such as: A / B testing, multivariate testing and other forms of experiments on advertising pages, to understand the impact of different variables on advertising effectiveness, and to design the best design and content strategies.

[0209] Step 321 , the server responds to the full-scale online operation and begins to widely deliver and display the advertising campaign on all media channels within the target audience to achieve maximum advertising coverage and exposure.

[0210] Step 322: In response to the advertisement request sent by the software package, the server calls the display and playback system to send an advertisement response packet to the software package.

[0211] Among them, the display and playback system is a software platform or system used to manage and play digital advertisements. The advertising response package is sent to the software package through the advertising position database data and the analysis results of the experimental system to realize the delivery of advertisements. The advertising response package contains the advertising content to be displayed and related information.

[0212] Step 323 , in response to the operation of sending the advertisement response packet, the server calls the display and playback system to report the component identification number information contained in the advertisement response packet, and uploads the identification number information to the log system.

[0213] Step 324 , in response to receiving the advertisement reply packet operation, the server calls the software package to report the component identification number information included in the advertisement reply packet, and uploads the identification number information to the log system.

[0214] Step 325 : The terminal responds to the data visualization operation by visually displaying the component identification number information contained in the log system.

[0215] Among them, the visualization of component identification number (such as component ID) information plays the role of identifying, monitoring and analyzing each component, thereby helping to monitor advertising effects, optimize delivery strategies and monitor advertising activities.

[0216] Step 326 , the server responds to the full offline operation, terminates the delivery of the advertising campaign, removes the advertisement from all media channels, and no longer displays the advertisement.

[0217] In some embodiments, after executing step 307, a prompt indicating that the template task request has been successfully submitted is displayed on the human-computer interaction interface. Fig.6D , Fig.6D A schematic diagram of successful submission of a template generation task request provided in an embodiment of the present application.

[0218] In some embodiments, before executing step 307, step 327 can also be executed. In step 327, the attributes of the page template are compared with the attributes of each page component in the combination. In response to the consistent comparison, it is determined that there is a matching relationship between the page template and the page component with consistent attributes, and the execution of step 307 is performed to insert the page component in each combination into the component position in the page template that has a matching relationship with the page component, so as to obtain the processing of the derived template corresponding to each combination.

[0219] The attributes include at least one of the following: supported page scenarios (e.g., incentive ads, interstitial ads, splash ads, and information flow ads in advertising scenarios), supported screen orientations (e.g., horizontal, vertical, horizontal and vertical), and page layout ratios (e.g., full screen, half screen, etc.). The execution subject of step 327 may be Figure 1 The server 100 is shown in FIG.

[0220] In some embodiments, the operation module in step 309 also includes at least one of the following: a template information viewing control, a template online control, a template deletion control, a template associated component control, and a rule control. The specific operations of these controls are as follows: in response to a trigger operation of a template information viewing control for a target derived template, detailed information of the target derived template is displayed, and the detailed information includes but is not limited to the name, identifier, version number, template type, creation time, current status, application scenario, rendering method, canvas direction, and template source of the target derived template; in response to a trigger operation of a template online control for a target derived template, a server is triggered and a template online task request is sent to the server so that the server performs a template online operation on the target derived template; in response to a trigger operation of a template deletion control for a target derived template, a server is triggered. , sending a template deletion task request to the server so that the server performs a deletion operation on the target derived template; in response to the triggering operation of the template associated component control for the target derived template, displaying the associated component list of the target derived template, wherein the associated component is the page component inserted into each component position of the target derived template; in response to the triggering operation of the rule control for the target derived template, displaying the template rules of the target derived template and the editing module of the template rules, wherein the template rules are used to control the display logic and data rendering method of the target derived template, and the editing module is used to edit the template rules; wherein the target derived template is any derived template.

[0221] In some embodiments, when executing step 315, it includes executing in response to the update component association template operation, sending a request for updating the component association template task to the server, and displaying a prompt indicating that the update component association template task has been successfully submitted on the human-computer interaction interface, see Figure 6J , Figure 6J A schematic diagram of successful submission of an update component association template task provided in an embodiment of the present application.

[0222] In some embodiments, after executing steps 301 to 307, step 328 may also be executed, which is described in detail below.

[0223] In step 328, in response to the operation of viewing component association templates in the human-computer interaction interface, the page component association template of any page component in the page component list is displayed.

[0224] In some embodiments, see Fig.6I , Fig.6I is a schematic diagram of a page component list and an operation module provided in an embodiment of the present application, Figure 5A Step 328 of the presentation can be performed by Fig.6I The trigger operation of the associated template control in is implemented, wherein the execution subject of step 328 can be Figure 1 The terminal 200 is shown in FIG.

[0225] The following is a description of an exemplary structure of the page template processing device 134 provided in the embodiment of the present application implemented as a software module. In some embodiments, Figure 2A As shown, the software modules stored in the page template processing device 134 of the memory 130 may include:

[0226] The receiving module 1341 is used to receive a template generation task request, obtain multiple page components and at least one page template, wherein the page template includes multiple component positions.

[0227] Processing module 1342 is used to split the multiple page components into multiple combinations, each of the combinations includes different types of page components, and each type in the combination corresponds to one page component; the page components in each combination are inserted into the corresponding component positions in the page template to obtain a derived template corresponding to each combination.

[0228] The response module 1343 is used to respond to the template generation task request based on the derived template.

[0229] In some embodiments, the processing module 1342 is also used to compare the keyword value of each component position of the page template with the component type value of each page component in the combination, and determine that there is a matching relationship between the consistent component position and the page component; insert the page component into the component position in the page template that has the matching relationship with the page component to obtain a derived template.

[0230] In some embodiments, the processing module 1342 is further configured to perform the following operations before inserting the page component in each of the combinations into the component position in the page template that has the matching relationship with the page component:

[0231] The attributes of the page template are compared with the attributes of each of the page components in the combination respectively; in response to a consistent comparison, it is determined that there is a matching relationship between the page template and the page component with consistent attributes, and the process of inserting the page component in each of the combinations into the component position in the page template that has a matching relationship with the page component is executed.

[0232] The following is a description of an exemplary structure of the page template processing device 255 provided in the embodiment of the present application implemented as a software module. In some embodiments, Figure 2B As shown, the software modules stored in the page template processing device 255 of the memory 250 may include:

[0233] The acquisition module 2551 is used to acquire multiple page components and at least one page template, wherein the page template includes multiple component positions.

[0234] The template generation module 2552 is used to split the multiple page components into multiple combinations, each of the combinations includes different types of page components, and each type in the combination corresponds to one page component; the page components in each combination are inserted into the corresponding component positions in the page template to obtain a derived template corresponding to each combination.

[0235] The update module 2553 is used to generate a derived template containing new version page component data when the page component is updated.

[0236] In some embodiments, the template generation module 2552 is also used to compare the keyword value of each component position of the page template with the component type value of each page component in the combination, and determine that there is a matching relationship between the consistent component position and the page component; insert the page component into the component position in the page template that has the matching relationship with the page component to obtain a derived template.

[0237] In some embodiments, the template generation module 2553 is further configured to perform the following operations before inserting the page component in each of the combinations into the component position in the page template that has the matching relationship with the page component:

[0238] The attributes of the page template are compared with the attributes of each of the page components in the combination respectively; in response to a consistent comparison, it is determined that there is a matching relationship between the page template and the page component with consistent attributes, and the process of inserting the page component in each of the combinations into the component position in the page template that has a matching relationship with the page component is executed.

[0239] In some embodiments, the update module 2553 is also used to obtain component data of the new version page component in response to the update page component operation in the human-computer interaction interface; in response to the verification of the component data passing, trigger the server to perform a new component online operation on the new version page component, wherein the new component online operation is used to store the verified new version page component into the page component database.

[0240] In some embodiments, the update module 2553 is also used to, after the new component online operation is performed on the new version page component, respond to the update component associated template operation in the human-computer interaction interface, obtain the identification number of the new version page component through the component data, compare the identification number of the new version page component with the identification number of the page component in the derived template, determine that there is a matching relationship between the new version page component with the consistent identification number and the page component, replace the component data of the page component with the component data of the new version page component with the matching relationship, and obtain a derived template including the component data of the new version page component.

[0241] In some embodiments, the update module 2553 is also used to generate a derived template containing new version page template data when the page template is updated.

[0242] In some embodiments, the update module 2553 is also used to obtain template data of a new version of the page template in response to an update page template operation; in response to verifying that the template data is correct, perform a new template online operation on the new version of the page template, wherein the new template online operation is used to store the new version of the page template in a page template database; in response to an update page template derived template operation, compare the identification number of the new version of the page template with the identification number of the derived template, determine that there is a matching relationship between the new version of the page template and the derived template with the consistent identification number, replace the template data of the derived template with the template data of the new version of the page template with the matching relationship, and obtain a derived template including the template data of the new version of the page template.

[0243] The embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions or computer programs are stored. When the computer-executable instructions or computer programs are executed by a processor, the processor will be caused to execute the page template processing method provided by the embodiment of the present application, for example, FIG. 3A to FIG. 3I The page template processing method shown or Figure 4 The page template processing method shown.

[0244] In some embodiments, the computer-readable storage medium may be a memory such as RAM, ROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or may be various devices including one or any combination of the above memories.

[0245] In some embodiments, computer executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.

[0246] As an example, computer-executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file storing other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).

[0247] As an example, computer executable instructions may be deployed to be executed on one electronic device, or on multiple electronic devices located at one site, or on multiple electronic devices distributed at multiple sites and interconnected by a communication network.

[0248] The embodiment of the present application provides a computer program product, which includes a computer program or a computer executable instruction, and the computer program or the computer executable instruction is stored in a computer-readable storage medium. The processor of the electronic device reads the computer program or the computer executable instruction from the computer-readable storage medium, and the processor executes the computer program or the computer executable instruction, so that the electronic device executes the page template processing method described in the embodiment of the present application.

[0249] To summarize, the method of the embodiment of the present application that quickly generates multiple page templates based on the cross product of page components and can iterate and update them in a timely manner improves the page template production efficiency, enables page components to be quickly used in various scenarios, thereby improving the flexibility and scalability of the development platform page template construction, reducing development and maintenance costs, and improving business delivery efficiency.

[0250] The above is only an embodiment of the present application and is not intended to limit the protection scope of the present application. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the present application are included in the protection scope of the present application.

Claims

1. A page template processing method, characterized in that: The method comprises: Display human-computer interaction interface; In response to a component selection operation in the human-computer interaction interface, obtaining a plurality of page components; In response to a template selection operation in the human-computer interaction interface, obtaining at least one page template, wherein the page template includes a plurality of component locations; In response to a template generation trigger operation in the human-computer interaction interface, the trigger server clusters the plurality of page components into a plurality of combinations, wherein each of the combinations includes a different type of page components, and each type in the combination corresponds to a page component, and The page component in each of the combinations is inserted into the component position in the page template that has a matching relationship with the page component, so as to obtain a derived template corresponding to each of the combinations.

2. The method according to claim 1, characterized in that Each of the combinations includes page components of the same type, and different combinations include page components of different types; The step of inserting the page component in each of the combinations into the component position in the page template that has a matching relationship with the page component includes: The following processing is performed for each of the page templates: Compare the keyword value of each component position of the page template with the component type value of each page component in the combination, and determine whether there is a matching relationship between the component position and the page component that are consistent in the comparison; The page component is inserted into the component position in the page template that has the matching relationship with the page component to obtain a derived template.

3. The method according to claim 1 or 2, characterized in that: Before inserting the page component in each of the combinations into the component position in the page template that has the matching relationship with the page component, the method further includes: Comparing the attributes of the page template with the attributes of each of the page components in the combination; In response to the matching, it is determined that there is a matching relationship between the page template and the page component with consistent attributes, and the process of inserting the page component in each combination into the component position in the page template that has a matching relationship with the page component is executed.

4. The method according to claim 1, characterized in that: The plurality of page components are obtained from a page component database; Before acquiring a plurality of page components in response to a component selection operation in the human-computer interaction interface, the method further includes: In response to a new page component creation operation in the human-computer interaction interface, obtaining component data of a plurality of new page components; In response to verifying that the component data is correct, the server is triggered to perform a component online operation on the new page component that has passed the verification, wherein the component online operation is used to store the new page component that has passed the verification into the page component database.

5. The method according to claim 1, characterized in that The human-computer interaction interface includes a component selection control and a template selection control; The step of obtaining a plurality of page components in response to a component selection operation in the human-computer interaction interface includes: In response to a trigger operation on the component selection control, displaying a plurality of candidate page components; In response to a component selection operation on the plurality of candidate page components, obtaining a plurality of selected page components; In response to the template selection operation in the human-computer interaction interface, at least one page template is obtained, wherein the page template includes multiple component positions, including: In response to a triggering operation on the template selection control, displaying a plurality of candidate page templates; In response to a template selection operation on the plurality of candidate page templates, at least one selected page template is acquired.

6. The method according to any one of claims 1, 2, 4 and 5, characterized in that: After inserting the page components in each of the combinations into the corresponding component positions in the page template to obtain the derived template corresponding to each of the combinations, the method further includes: Storing the derived template corresponding to each of the combinations in a draft box to form a derived template list; The derived template list and the operation module corresponding to each derived template are displayed on the human-computer interaction interface.

7. The method according to claim 6, characterized in that The operation module includes at least one of the following: a preview control and a test control; The method further comprises: In response to a triggering operation on the preview control of the target derived template, displaying the graphic code of the target derived template, and in response to a scanning operation on the graphic code of the target derived template, displaying a preview effect of the target derived template; In response to the triggering operation of the test control for the target derived template, the test result of the target derived template is displayed, and when the test result is that the test passes, the server is triggered to perform a template online operation on the target derived template, wherein the template online operation is used to transfer the target derived template that passes the test from the draft box to a template database; The target derived template is any one of the derived templates.

8. The method according to any one of claims 1, 2, 4 and 5, characterized in that: After obtaining the derived template corresponding to each of the combinations, the method further includes: In response to an update page component operation in the human-computer interaction interface, obtaining component data of a new version of the page component; In response to the component data being verified to be passed, the server is triggered to perform a new component online operation on the new version page component, wherein the new component online operation is used to store the verified new version page component into a page component database.

9. The method according to claim 8, characterized in that After performing the new component online operation on the new version page component, the method further includes: In response to an operation of updating the component association template in the human-computer interaction interface, the identification number of the new version page component is obtained through the component data, and the identification number of the new version page component is compared with the identification number of the page component in the derived template, to determine that there is a matching relationship between the new version page component and the page component with the same identification number, and the component data of the page component is replaced with the component data of the new version page component with the matching relationship, to obtain a derived template including the component data of the new version page component.

10. The method according to any one of claims 1, 2, 4 and 5, characterized in that: The method further comprises: In response to the page template update operation, obtaining template data of a new version of the page template; In response to verifying that the template data is correct, performing a new template online operation on the new version page template, wherein the new template online operation is used to store the new version page template into a page template database; In response to the operation of updating the page template derived template, the mark number of the new version page template is compared with the mark number of the derived template respectively, and it is determined that there is a matching relationship between the new version page template and the derived template with the same mark number, and the template data of the derived template is replaced with the template data of the new version page template with the matching relationship, so as to obtain a derived template including the template data of the new version page template.

11. A page template processing method, characterized in that: The method comprises: Receive a template generation task request; Query multiple page components and at least one page template from a database; clustering the plurality of page components into a plurality of combinations, wherein each of the combinations comprises a different type of page components, and each type in the combination corresponds to a page component; and Inserting the page component in each of the combinations into the component position in the page template that has a matching relationship with the page component, to obtain a derived template corresponding to each of the combinations; The generate template task request is responded to based on the derived template.

12. A page template processing device, characterized in that: The page template processing device comprises: An acquisition module, used for acquiring a plurality of page components and at least one page template, wherein the page template includes a plurality of component positions; A template generation module, used for splitting the plurality of page components into a plurality of combinations, each of the combinations comprising different types of page components, each type in the combination corresponding to one page component; inserting the page components in each of the combinations into the corresponding component positions in the page template to obtain a derived template corresponding to each of the combinations; An update module, used for generating a derived template containing new version page component data when the page component is updated; The updating module is also used to generate a derived template containing new version page template data when the page template is updated.

13. A page template processing device, characterized in that: The page template processing device comprises: A receiving module, used for receiving a template generation task request, obtaining a plurality of page components and at least one page template, wherein the page template includes a plurality of component positions; A processing module, configured to split the plurality of page components into a plurality of combinations, wherein each combination includes different types of page components, and each type in the combination corresponds to one page component; inserting the page component in each combination into the corresponding component position in the page template to obtain a derived template corresponding to each combination; A response module is used to respond to the template generation task request based on the derived template.

14. An electronic device, characterized in that: The electronic device comprises: A memory for storing computer executable instructions; The processor is used to implement the page template processing method described in any one of claims 1 to 10, or implement the page template processing method described in claim 11 when executing the computer executable instructions stored in the memory.

15. A computer-readable storage medium storing computer-executable instructions or a computer program, characterized in that: The computer-readable storage medium stores executable instructions, and when a computer executes the executable instructions, the page template processing method according to any one of claims 1 to 10 is implemented, or the page template processing method according to claim 11 is implemented.