A copywriting method, device and equipment

By acquiring a set of copy generation data including view identifiers, copy filtering conditions, and copy templates, the problem of low efficiency in generating diverse copy in existing technologies has been solved, achieving efficient and accurate copy generation, simplifying the operation process for copy designers, and saving server resources.

CN119691027BActive Publication Date: 2026-02-24ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411835887.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-12
Publication Date
2026-02-24
Estimated Expiration
2044-12-12

AI Technical Summary

Technical Problem

Existing technologies are inefficient at generating diverse copy, template engines are difficult to write, the code is cumbersome and prone to errors, and they affect server performance.

Method used

By obtaining the copy generation data set of view identifiers, copy filtering conditions, and copy templates, the field values ​​of target fields are obtained from the view, and copy information is generated based on the copy template, thus avoiding the parsing and compilation process of the template engine.

Benefits of technology

It improves the efficiency and accuracy of copy generation, reduces the consumption of server computing resources, and simplifies the operation process for copy designers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119691027B_ABST
    Figure CN119691027B_ABST
Patent Text Reader

Abstract

The embodiment of the specification discloses a text generation method, device and equipment, and the scheme can include: obtaining a text information acquisition request for a display page; the display page is a page that a display interface on a user terminal needs to display; in response to the text information acquisition request, a text generation data set associated with the display page is acquired; the text generation data set includes a view identifier, a text screening condition, and a text template corresponding to the text screening condition; the text screening condition is set for a target field in a view represented by the view identifier; the field value of the target field is acquired from the view represented by the view identifier; it is judged whether the field value of the target field satisfies the text screening condition; if the field value of the target field satisfies the text screening condition, a text information used for display in the display page is generated based on the text template.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of data processing, in particular to a text generation method. The present application also relates to a text generation device and a text generation equipment. BACKGROUND

[0002] Text is a way of information transmission with text as the carrier. Text can be applied to various scenarios, such as advertising words, promotional phrases, social media posts, blog articles, web content, and product descriptions, etc.

[0003] In practical applications, in order to achieve accurate personalized services and improve user experience, different text contents can be displayed for different types of users or different types of terminals on the same text display page, and diversified (commonly known as "thousand faces for a thousand people") text display methods are adopted. Therefore, how to efficiently generate these diversified texts is a problem to be solved at present. SUMMARY

[0004] Therefore, the embodiments of the present application provide a text generation method, device and equipment to efficiently generate diversified texts.

[0005] According to a first aspect of the embodiments of the present application, a text generation method is provided, comprising:

[0006] obtaining a text information acquisition request for a display page; the display page is a page to be displayed on a display interface of a user terminal;

[0007] in response to the text information acquisition request, obtaining a text generation data set associated with the display page; the text generation data set includes a view identifier, a text screening condition, and a text template corresponding to the text screening condition; the text screening condition is set for a target field in a view represented by the view identifier;

[0008] obtaining a field value of the target field from the view represented by the view identifier;

[0009] judging whether the field value of the target field meets the text screening condition;

[0010] if the field value of the target field meets the text screening condition, generating text information for display in the display page based on the text template.

[0011] According to a second aspect of the embodiments of the present application, a text generation device is provided, comprising:

[0012] a request receiving module, configured to obtain a text information acquisition request for a display page; the display page is a page to be displayed on a display interface of a user terminal;

[0013] a data set obtaining module, configured to obtain a script generation data set associated with the display page in response to the script information obtaining request; the script generation data set comprises a view identifier, a script screening condition, and a script template corresponding to the script screening condition; the script screening condition is set for a target field in a view represented by the view identifier;

[0014] a field value obtaining module, configured to obtain a field value of the target field from the view represented by the view identifier;

[0015] a condition judging module, configured to judge whether the field value of the target field meets the script screening condition;

[0016] a script generation module, configured to generate script information for display in the display page based on the script template if the field value of the target field meets the script screening condition.

[0017] According to a third aspect of the embodiment of the present application, a script generation device is provided, comprising:

[0018] at least one processor; and

[0019] a memory in communication connection with the at least one processor; wherein

[0020] the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to

[0021] obtain a script information obtaining request for a display page; the display page is a page to be displayed by a display interface on a user terminal;

[0022] obtain a script generation data set associated with the display page in response to the script information obtaining request; the script generation data set comprises a view identifier, a script screening condition, and a script template corresponding to the script screening condition; the script screening condition is set for a target field in a view represented by the view identifier;

[0023] obtain a field value of the target field from the view represented by the view identifier;

[0024] judge whether the field value of the target field meets the script screening condition;

[0025] generate script information for display in the display page based on the script template if the field value of the target field meets the script screening condition.

[0026] At least one of the embodiments provided in the specification can achieve the following beneficial effects: by acquiring the view identification, the copywriting screening condition, and the copywriting template corresponding to the copywriting screening condition, and acquiring the field value of the target field from the view represented by the view identification, the copywriting information can be generated based on the text template when the field value of the target field meets the copywriting screening condition, so as to efficiently generate diversified copywriting. BRIEF DESCRIPTION OF DRAWINGS

[0027] In order to more clearly illustrate the technical solutions in the embodiments of the specification or the prior art, the drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments described in the present application, and those skilled in the art can also obtain other drawings according to these drawings without creative labor.

[0028] Figure 1 is an application scenario diagram of a copywriting generation method provided by an embodiment of the present application;

[0029] Figure 2 is a flowchart of a copywriting generation method provided by an embodiment of the present application;

[0030] Figure 3 is a processing flowchart applied to a copywriting generation method provided by an embodiment of the present application;

[0031] Figure 4 is a structural diagram of a copywriting generation device corresponding to Figure 2 provided by an embodiment of the specification;

[0032] Figure 5 is a structural diagram of a copywriting generation device corresponding to Figure 2 provided by an embodiment of the specification. DETAILED DESCRIPTION

[0033] In the following description, many specific details are set forth in order to provide a thorough understanding of the present application. However, the present application can be practiced in a variety of ways beyond the specific embodiments described herein without departing from the scope of the present application, and those skilled in the art can make similar extensions without departing from the connotation of the present application, so the present application is not limited to the specific implementation disclosed below.

[0034] The terminology used in this disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of one or more embodiments of the present disclosure. As used in this disclosure and the appended claims, the singular forms “a,” “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that the term “and / or” as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.

[0035] It is to be understood that, although the terms first, second, etc. can be used herein to describe various information, these terms are not intended to denote a temporal sequence, but are used only to distinguish one piece of information from another. For example, a first can be termed a second, and, similarly, a second can be termed a first, without departing from the scope of one or more embodiments of the present disclosure. As used herein, the word “if’ can be interpreted to mean “when” or “upon” or “in response to determining” depending on the context.

[0036] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present disclosure are all information and data authorized by the user or authorized by all parties, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards in the relevant region, and provide corresponding operation portal for user to choose authorization or refusal.

[0037] First, the nomenclature involved in one or more embodiments of the present disclosure is explained.

[0038] Search Promotion: Search promotion is a general term for promoting products or services using search engines. Search promotion is an important form of digital marketing, which attracts potential customers by displaying ads on search result pages.

[0039] Copy: It is a way of information transmission with text as the carrier. In the context of search promotion, copy is also called “material”, which is an important factor affecting the click-through rate and conversion rate of ads.

[0040] Template Engine: A tool used to generate dynamic content, commonly used in web development. Template engines can combine static template files and dynamic data to generate document data. The working process of a template engine is based on template files, such as HTML files or other text files. Template files contain the structure and style of the output text. Template files also contain specific markers or placeholders to indicate the insertion position of dynamic data. Template engines can parse template files, fill dynamic data into placeholders, and generate the final output text.

[0041] VIEW: Refers to a view in a computer database. A view is a virtual table that does not store data and can be defined by SQL statements and queried for data. A view does not exist in the database as a set of stored data values. A view contains a series of columns with names and row data. The columns and row data are derived from the tables referenced by the query that defines the view and are generated dynamically when the view is referenced. The data seen through the view is only the data stored in the base table. Operations on the view are the same as operations on the table, and it can be queried, modified, and deleted. When the data seen through the view is modified, the corresponding data of the base table will also change. In addition, if the data of the base table changes, the change can also be automatically reflected in the view.

[0042] In practical applications, in order to achieve accurate personalized service, it is often necessary to display a "thousand faces for a thousand people" script for user groups. Since template engines have powerful code capabilities and support complex logical reasoning, template engines are often used in the prior art to generate these diverse scripts. However, the code of the template engine is difficult to write and the modification process is cumbersome, making the efficiency of generating scripts based on template engines not high. The following will be explained in detail in conjunction with an example of generating scripts based on template engines.

[0043] First, the script designer proposes a diversification requirement, specifically, the script and its corresponding script filtering conditions need to be determined; then, the script designer provides the script and its corresponding script filtering conditions to the programmer; after that, the programmer needs to write or modify the code of the template engine based on the script and its corresponding script filtering conditions.

[0044] Exemplarily, assuming that the script and its corresponding script filtering conditions provided by the script designer include the following example: if the user terminal is located in "A region" and the user's hobbies include "sports", then when the user accesses the page of the sports product category, the script content displayed for the user is "a young man who loves sports, give yourself a suitable set of equipment". Therefore, the programmer needs to add or modify the code of the template engine according to this requirement.

[0045] Exemplarily, the code corresponding to the requirement of the foregoing example can be as follows.

[0046] area =.... (get area)

[0047] hobby =.... (get hobby)

[0048] productType =.... (get product type)

[0049] if (area == A) {

[0050] if (hobby == sports) {

[0051] if (productType == sports product) {

[0052] content = "Sunshine youth who loves sports, give yourself a suitable set of equipment"

[0053] }

[0054] } else {

[0055] / / Area meets "A area" but other hobby scenarios

[0056] }

[0057] } else {

[0058] / / Area does not meet "A area" scenarios

[0059] }.

[0060] As in the foregoing example, in order to achieve this text display requirement, the programmer needs to write information obtaining statements and condition judgment statements corresponding to the text screening conditions. The specific information obtaining statements are not shown in the foregoing example, and in actual application, the programmer needs to code according to the specific data storage location, format, etc. When actually applied, considering the need for diversified display, based on the foregoing example, for users of different areas, different hobbies, and using different products, information obtaining and condition judgment codes as described above need to be written, which is very tedious and prone to errors. Moreover, the text screening conditions in actual application are far more than area, hobby, etc. When the screening conditions increase, the coding workload will also double. Furthermore, when the text screening conditions or file content change, the change requirement needs to be submitted by the text designer to the programmer, and the programmer needs to modify the existing code. As can be seen, in the prior art, the scheme of displaying diversified texts by using a template engine must be operated by the programmer in the process of writing and subsequent maintenance of the template engine, which is inefficient and prone to errors.

[0061] As can be seen, the code of the template engine is long and must be written by professional programmers, and the code writing is difficult; moreover, when the copywriter adds or deletes the copy, the modification process of the corresponding code is also relatively cumbersome, so that the efficiency of generating the copy is not high.

[0062] It should be further noted that in the related art, when generating the copy by using the template engine, the template engine needs to be parsed and compiled, and this process will occupy more computing resources of the server, and the more the copy screening conditions designed by the copywriter, the more complex the template engine, and the more computing resources occupied by the parsing and compiling process of the template engine, thereby affecting the server performance and further limiting the copy generation efficiency.

[0063] The embodiment of the present specification provides a copy generation scheme based on a view. When it is necessary to generate a copy for display on a user terminal, a copy generation data set including a view identifier, a copy screening condition and a copy template corresponding to the copy screening condition set by a copywriter based on a view can be obtained, a field value of a target field can be obtained from the view represented by the view identifier, and then the copy information can be generated based on the copy template when the field value of the target field meets the copy screening condition, thereby efficiently generating the copy information.

[0064] The copy generation method provided by the embodiment of the present specification is introduced below in combination with the drawings.

[0065] Figure 1 is an application scenario diagram of a copy generation method provided by an embodiment of the present application. As shown in Figure 1 , the application scenario includes a terminal 1 and a server 2.

[0066] Although the terminal 1 can be a smart phone in Figure 1 , in actual application, the terminal 1 can also be a smart watch, a desktop computer, a handheld computer, a virtual reality terminal or an augmented reality terminal, and is not limited to the example types given here.

[0067] The server 2 can be a standalone physical server, or a server cluster or a distributed file system composed of multiple physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content distribution networks (Content Delivery Network, CDN), and basic cloud computing services such as big data and artificial intelligence platforms.

[0068] As shown in Figure 1In the illustrated application scenario, the server 2 can be connected to one or more terminals 1 through a local area network, a wide area network, the Internet, or another type of data network.

[0069] The user can perform a triggering operation on the display interface of the terminal 1 to cause the display interface of the terminal 1 to display a display page. For example, the user performs a clicking operation, a searching operation, or the like on the display interface of the terminal 1. The terminal 1 generates a script information acquisition request based on the triggering operation of the user, and sends the script information acquisition request to the server 2. The server 2 generates script information for display in the display page in response to the script information acquisition request. Then, the server 2 sends the generated script information to the terminal 1.

[0070] As an implementation, the script information can also be generated by the terminal 1. For example, after the user performs a triggering operation, the terminal 1 acquires a script information acquisition request for the display page based on the triggering operation of the user, and then generates script information for display in the display page in response to the script information acquisition request.

[0071] Optionally, the terminal 1 can also display the script information on the display page thereof.

[0072] For example, in a search promotion scenario, the user performs a searching operation on a display page A of a user terminal, and the search result of the searching operation is a display page B. The scheme provided in the embodiments of the present specification can generate script information for display on the display page B.

[0073] For example, the user performs a clicking operation on a display page C of a user terminal, such as clicking a certain product, a certain target pattern, or a certain target sentence, or the like on the display page C, and the result of the clicking operation can be to jump to a display page D. The scheme provided in the embodiments of the present specification can generate script information for display on the display page D.

[0074] For another example, the user performs an opening operation on an application program on a user terminal, and the result of the opening operation can be to display a display page E of the application program. The scheme provided in the embodiments of the present specification can generate script information for display on the display page E, and the like.

[0075] In the present application, a script generation method is provided, and the present application also relates to a script generation device and a script generation equipment, which are described in detail in the following embodiments.

[0076] Figure 2 FIG. 1 is a flowchart of a script generation method according to an embodiment of the present application. From the perspective of a program, Figure 2The execution subject of the method can be a program or application client loaded on a server, or a program or application client loaded on a terminal. It can be understood that the method can be executed by any device, equipment, platform, or cluster of equipment having computing and processing capabilities.

[0077] As shown in Figure 2 The text generation method can include the following steps.

[0078] Step 202: Obtain a text information acquisition request for a display page; the display page is a page that needs to be displayed on a display interface of a user terminal.

[0079] In an embodiment of the present specification, the display interface on the terminal is an interface for the user to interact with the terminal. The display interface can be a general term for the display part of the terminal. For example, the display screen of a computer, the display screen of a smart phone, the display screen of a smart terminal of a smart watch, etc. can be referred to as the display interface of these terminals.

[0080] The display page on the terminal generally refers to a specific display area presented in the display interface that the user can see in a specific application or service. For example, the display page can be a web page in a browser, or an application page, a mini-program page, a pop-up window page, etc. in an application program. In an embodiment of the present specification, the display page can be used to display different information for different terminals or users.

[0081] The user can perform a triggering operation on the user terminal to trigger the display of the display page, and then the display interface on the terminal can display the display page.

[0082] Optionally, the triggering operation can be an operation performed by the user on an icon of an application program on the user terminal. For example, an operation of opening the application program, or an operation of uninstalling the application program, etc.

[0083] Optionally, the triggering operation can also be an operation performed by the user on a display page in an application program on the user terminal. The user can perform a triggering operation on a certain display page in the application program, and then the application program can display another display page that needs to be displayed. Specifically, the triggering operation can be a search operation performed by the user on a certain display page, a click operation performed by the user on a certain display page, such as a left-click operation using a mouse, a right-click operation using a mouse, a double-click operation using a mouse, etc., a browsing operation performed by the user on a certain display page, such as a scroll wheel operation of a mouse, a page turning operation on the display page, staying on the certain display page for a preset time length, etc. The triggering operation can also be an operation of opening a certain display page, an operation of closing a certain display page, etc.

[0084] In the embodiments described in this specification, the user terminal can generate a request to retrieve text information for a displayed page based on a triggered operation. This displayed page can be any page that needs to be displayed on the terminal.

[0085] Optionally, if the executing entity of this embodiment is a server, the terminal can send a text information retrieval request to the server, and the server responds to the text information retrieval request by generating text information for display on the display page, and then the server can send the generated text information to the terminal.

[0086] Optionally, if the execution subject of this embodiment is a user terminal, the user terminal can obtain a text information acquisition request for the display page based on the trigger operation, and then the terminal responds to the text information acquisition request to generate text information for display on the display page.

[0087] In the embodiments of this specification, the text information retrieval request can be used to retrieve text information. Specifically, the text information can be information corresponding to a user's triggering operation. Different triggering operations can correspond to different text information. For example, for a user's operation of opening an application, the text information can be information related to opening the application, such as a greeting. For a user's operation of uninstalling an application, the text information can be a retention message. For a user's search, click, or browse operation on a display page, the text information can be advertising text information, such as advertising text information matching keywords on that display page. For a user's search, click, or browse operation on a display page, the text information can also be content description text information related to the content on that display page. For a user's operation of opening a display page, the text information can be a page greeting. For a user's operation of closing a display page, the text information can be a page closing message, and so on.

[0088] Step 204: In response to the text information acquisition request, acquire the text generation data set associated with the display page; the text generation data set includes a view identifier, text filtering conditions, and text templates corresponding to the text filtering conditions; the text filtering conditions are set for target fields in the view represented by the view identifier.

[0089] In the embodiments of this specification, the text information retrieval request may carry a first page identifier of the display page to be displayed, so as to obtain the text generation data set associated with the display page based on the first page identifier.

[0090] Optionally, a first association relationship between the first page identifier and the text generation data set can be pre-stored. Then, based on the first association relationship, the text generation data set associated with the displayed page can be obtained. For example, in an application, a user triggers an operation on display page a, which displays display page b. Based on this trigger operation, the terminal can generate a text information retrieval request for display page b. This text information retrieval request can include the first page identifier of display page b, and then, based on the first page identifier and the first association relationship, the text generation data set associated with display page b can be obtained.

[0091] As one implementation, if the triggering operation is an operation performed by the user on the display page of the user terminal, the text information acquisition request may also carry a control identifier for the control used to receive the user's triggering operation, so that after receiving the text information acquisition request, the executing entity can obtain the text generation data set associated with the page to be displayed in response to the triggering of the control based on the control identifier.

[0092] Optionally, the executing entity can pre-store a second association between the control identifier of the control used to receive user trigger operations and the text generation data set. Then, upon responding to a text information retrieval request, the executing entity can retrieve the text generation data set associated with the display page based on the second association. In this case, continuing the previous example, the text information retrieval request may include the control identifier of control M in display page a, where control M is used to redirect to display page b after receiving a trigger operation. Then, based on this control identifier and the second association, the text generation data set associated with display page b can be retrieved. Specifically, control M can be a button, text box, hyperlink such as a text hyperlink, image hyperlink, etc.

[0093] In the embodiments of this specification, the copywriting generation data set may include view identifiers, copywriting filtering conditions, and copywriting templates corresponding to the copywriting filtering conditions.

[0094] The view identifier can be the identity information of the view, and the view represented by the view identifier can be determined based on the view identifier.

[0095] A view is a virtual table in a computer database. It does not store data but can be defined and queried using SQL statements. Furthermore, views allow for setting data access permissions, hiding sensitive data, and more.

[0096] In practical applications, servers can store various types of views. For example, product information views related to products, user information views related to users, and so on. The view identifier in the embodiments of this specification may include the view identifier for the user information view. The user information view may include multiple fields representing user attributes, such as a field representing the user's name, a field representing the region where the user's terminal is located, a field representing the user's preferences, a field representing the type of user terminal used by the user, and so on. Optionally, the view identifier in the embodiments of this specification may also include the view identifier for the product information view. The product information view may include multiple fields representing product information, such as a field representing the product's function, a field representing the product's name, a field representing the product's price, and so on. Personnel configuring the copywriting generation dataset, such as copy designers, can select a view on the computer device's configuration page, view the fields contained in that view, and then select some of the target fields to set copywriting filtering conditions.

[0097] In the embodiments of this specification, the text filtering conditions are set for target fields in the view represented by the view identifier. For example, when configuring, the administrator can select multiple fields such as "user terminal location" and "user's hobbies" as target fields from the fields included in the user information view to set text filtering conditions. Specifically, text filtering conditions can be set for these target fields. For example, the text filtering condition set for the target field "user terminal location" could be that the region meets the condition "region A", and the text filtering condition set for the target field "user's hobbies" could be that the hobby is "sports".

[0098] Text filtering criteria can be used to filter based on the actual field values ​​of a target field when a specific text information retrieval request is received. For example, given the text filtering criteria of "Region A" and "Sports" as a hobby, this criterion can be used to filter users based on their terminal's location and hobby. Then, for users whose region is Region A and whose hobby is sports, the text template corresponding to the criterion can be used to generate text information to display to that user.

[0099] In the embodiments described in this specification, the copywriting template can be a pre-set template used to generate copywriting information.

[0100] The copy templates can correspond to the copy filtering criteria. For example, for the copy filtering criterion "Region A" which is related to the user's terminal location, there can be copy templates related to Region A. For the copy filtering criterion "Sports" which is related to hobbies, there can be copy templates related to sports.

[0101] Optionally, a single copywriting filter criterion can correspond to one or more copywriting templates. For example, for the copywriting filter criterion related to hobbies, "football," it can correspond to one copywriting template related to football; it can correspond to multiple copywriting templates related to football; or it can correspond to both a copywriting template related to football and multiple copywriting templates related to sports, and so on.

[0102] Optionally, a copy template can also correspond to one or more copy filtering conditions. For example, a copy template related to sports hobbies can correspond to a copy filtering condition for "football" hobbies; or, it can correspond to copy filtering conditions for "football" hobbies and multiple copy filtering conditions for "basketball" hobbies, and so on.

[0103] In practical applications, you can pre-set copywriting filtering criteria and then set corresponding copywriting templates for those criteria. Alternatively, you can pre-set copywriting templates and then set corresponding copywriting filtering criteria for those templates, etc., whichever is more specific here.

[0104] Since the copywriting templates in this embodiment are text-based, their content is simpler compared to complex template code. Even those without coding backgrounds can configure them, such as copywriters, thus improving the ease of template setup. Furthermore, when copywriting selection criteria change, copywriters can modify the template without the need for professional programmers, facilitating subsequent maintenance.

[0105] On the other hand, text-format copywriting templates are easier to understand than complex template code, and are less prone to errors when configuring them, which can improve the accuracy of copywriting template settings and thus improve the accuracy of the generated copywriting information.

[0106] It should also be noted that the embodiments in this specification can also eliminate the process of copy designers conveying the designed copy or copy modification requirements to the programmer, thereby improving the efficiency of copy information generation.

[0107] Step 206: Obtain the field value of the target field from the view represented by the view identifier.

[0108] In the embodiments described in this specification, a view may include row data and column data. In a view, row data represents the horizontal dimension, corresponding to one or more rows of data in the underlying table (or view). Each row represents a complete data record, such as a user information record, a product information record, etc. Each row contains values ​​from multiple columns, which together constitute a complete data record. Column data represents the vertical dimension, corresponding to one or more columns in the underlying table (or view). Each column represents an attribute or field in a data record, such as user name, product type, etc. Column data typically contains a series of values ​​representing the specific content of that attribute or field in different records.

[0109] Optionally, the target field can be a subset of multiple fields in the view.

[0110] In the embodiments of this specification, the field value of the target field obtained from the view represented by the view identifier may be a field value related to the user terminal that generated the text information retrieval request. Specifically, based on the field value query parameter associated with the user terminal, the field corresponding to the field value query parameter can be obtained from the view represented by the view identifier. Optionally, the field value query parameter may include at least one of the user terminal's terminal information and the account information of the user account logged into the user terminal. In practical applications, this field value query parameter can be carried in the text information retrieval request.

[0111] In one implementation, the terminal information of the user terminal may include the user terminal's model information or device identifier information, etc.

[0112] In one implementation, user account information may include the user's mobile phone number or email address, etc.

[0113] Step 208: Determine whether the field value of the target field meets the copywriting filtering conditions.

[0114] By determining whether the value of the target field meets the copywriting filtering criteria, the field value of the target field can be filtered using these criteria. Furthermore, when the target field value meets the filtering criteria, the corresponding copywriting template can be used to generate copywriting information.

[0115] In practical applications, you can determine whether the target field's value meets the text filtering criteria by checking if the target field's value is the same as the text filtering criteria. For example, if the text filtering criteria is "hobbies are music", and the target field's value is "music" for the current text information retrieval request, then the target field's value is considered to be the same as the text filtering criteria, and the target field's value meets the text filtering criteria.

[0116] Alternatively, you can determine whether the target field's value meets the copywriting filtering criteria by checking if the value falls within the range of the filtering conditions. For example, if the filtering condition is "the region belongs to region A", and for the current copywriting information retrieval request, the target field "the region where the user's terminal is located" has a value of "p", and region p belongs to region A, then the target field's value can be considered to meet the copywriting filtering criteria.

[0117] Step 210: If the field value of the target field meets the copywriting filtering conditions, then generate copywriting information for display on the display page based on the copywriting template.

[0118] In the embodiments of this specification, the content of the copywriting template can be preset, so copywriting information can be quickly generated based on the copywriting template.

[0119] For example, the content of the copy template can be directly determined as the text information to be displayed on the page. If the copy template is "For sporty, energetic young people, this gear is perfect for you," then the determined text information could be "For sporty, energetic young people, this gear is perfect for you." If the copy template is "Dear user, good morning!", then the determined text information could be "Dear user, good morning!"

[0120] Alternatively, the copy template can contain field placeholders, which can then be replaced with the field values ​​of the specified fields corresponding to the field placeholders in the view represented by the view identifier to obtain the copy information.

[0121] For example, the copy template could be "For the sports-loving, sunny young man {userBasicInfo.name}, this set of gear is perfect for you!", where {userBasicInfo.name} is a field placeholder that corresponds to the value of the specified field "name" in the view "userBasicInfo". If the value of the specified field "name" in the view "userBasicInfo" is Zhang San for the current user, then the resulting copy could be "For the sports-loving, sunny young man Zhang San, this set of gear is perfect for you."

[0122] For example, the copy template could be "Good morning, dear {useTerminalInformation.model} user!", where {useTerminalInformation.model} is a field placeholder that corresponds to the value of the specified field "model" in the view "useTerminalInformation". If the value of the specified field "model" in the view "useTerminalInformation" is "Android" for the current user's terminal device, then the resulting copy could be "Good morning, dear Android user!".

[0123] It should be understood that in the methods described in one or more embodiments of this specification, the order of some steps may be adjusted according to actual needs, or some steps may be omitted.

[0124] Figure 2 The method described above allows for view-based settings of text filtering criteria and templates used in generating text information, eliminating the need for strong coding skills. Specifically, view-based methods allow users with only business knowledge to set text filtering criteria and templates for generating text information. There's no need to pass the text to a professional programmer for coding; the view-based approach to building text generation datasets is less complex and improves text information generation efficiency.

[0125] On the other hand, text information is generated based on text filtering conditions and text templates related to the view. There is no need to call the template engine, which avoids the performance consumption caused by the template engine in the parsing and compilation process and thus affects the server performance. This can save server computing resources and ensure the efficiency of text information generation.

[0126] based on Figure 2 In addition to the method described herein, this specification also provides some improved implementation methods, which will be described below.

[0127] In the embodiments of this specification, the text generation data set may be pre-configured. Before obtaining the text generation data set associated with the display page in response to the text information acquisition request, the method may further include:

[0128] Retrieve manually entered conditional information for a target field in a preset view.

[0129] Based on the aforementioned conditional information, text filtering conditions for the target field are generated.

[0130] Obtain the copy template corresponding to the copy filtering criteria.

[0131] The view identifier of the preset view, the copy filtering conditions, and the copy template are associated and stored as a copy generation data set.

[0132] In practical applications, copy designers can input conditional information for target fields in a preset view on a server-side operation page. This conditional information can be conditional information for the field values ​​of the target fields. For example, for the target field "hobbies", the conditional information "sports" can be entered; for the target field "user terminal location region", the conditional information "region A" can be entered, and so on.

[0133] It can generate text filtering conditions based on conditional information for a target field. These generated filtering conditions can include the conditional information itself. For example, if the input conditional information is "sports" and "region A", the generated filtering condition could be "Hobbies include sports, located in region A".

[0134] In the embodiments described in this specification, the copywriting templates can also be pre-set by copywriters. Different copywriting filtering conditions can correspond to different copywriting templates, thereby achieving a "personalized" copywriting display effect.

[0135] Alternatively, different copywriting filter criteria can correspond to the same copywriting template. For example, copywriting filter criteria for "football" and "basketball" can both correspond to sports-related copywriting templates. This reduces the workload of setting copywriting templates and improves the efficiency of copywriting template creation.

[0136] The correspondence between view identifiers, text filtering conditions, and text templates can be preset. Specifically, view identifiers, text filtering conditions, and text templates can be associated and stored as a text generation data set.

[0137] In the embodiments of this specification, the copywriting template may also include field placeholders, which are used to indicate the position where the field value of a specified field will be filled in. The field value of the specified field may be a field value related to the user or user terminal that generated the copywriting information request. Thus, based on the copywriting template, copywriting information related to the user or user terminal can be generated, realizing personalized copywriting information display and improving user experience.

[0138] Optionally, obtaining the copy template corresponding to the copy filtering conditions may specifically include:

[0139] Obtain the selection operation for a specified field in the preset view and the template text information entered manually.

[0140] Based on the selection operation and the template text information, a copy template corresponding to the copy filtering conditions is generated; the copy template contains field placeholders, which are used to indicate the position where the field value of the specified field is filled in.

[0141] The selection operation can be used to set field placeholders in template text information. This allows the copy template to include both field placeholders and template text information. For example, the template text information could be "A sunny young person who loves sports, this gear is perfect for you!" The copy designer can select the name field in the view to set name-related field placeholders in the template text information. The resulting copy template could be "A sunny young person who loves sports {userBasicInfo.name}, this gear is perfect for you!", where {userBasicInfo.name} can be a field placeholder indicating the location where the name field value will be entered.

[0142] In practical applications, a display page may include multiple areas for displaying text information. This embodiment of the specification allows for the generation of text information for each of these multiple areas on a display page, improving the display effect. Optionally, the display page may include two or more areas for displaying text information. The step of obtaining a text generation data set associated with the display page in response to the text information acquisition request may specifically include:

[0143] In response to the request for obtaining the text information, for the target location area in the two or more location areas, obtain the text generation data set associated with the target location area.

[0144] If the field value of the target field meets the text filtering conditions, then text information for display on the display page is generated based on the text template, which may specifically include:

[0145] If the field value of the target field meets the copy filtering conditions, then copy information for display in the target location area is generated based on the copy template.

[0146] In the embodiments of this specification, multiple location regions can be two or more location regions.

[0147] Optionally, the target location area can be any of two or more location areas. A copywriting generation dataset associated with the target location area can be obtained, and then copywriting information for display in the target location area can be generated based on the copywriting templates in this copywriting generation dataset.

[0148] In the embodiments of this specification, the target location area can be associated with one or at least two text generation data sets. Assuming the target location area is associated with at least two text generation data sets, then for the target location area, at least two text information sets can be generated using text generation templates from these at least two sets. The preferred text information from these at least two sets can then be displayed, improving the user experience. Optionally, the step of retrieving the text generation data set associated with the display page in response to the text information retrieval request may specifically include:

[0149] In response to the text information acquisition request, a first text generation data set and a second text generation data set associated with the target location area are acquired.

[0150] The step of generating text information based on the text template for display on the display page may specifically include:

[0151] First text information for display in the target location area is generated based on the first text template in the first text generation data set.

[0152] Second copywriting information is generated based on the second copywriting generation template in the second copywriting generation data set for display in the target location area.

[0153] A preset text filtering engine is used to determine target text information for display in the target location area from the first text information and the second text information; wherein, the text filtering engine is used to determine the text information with better user guidance effect from two or more text information; the user guidance effect is used to reflect the probability that the user will perform the operation guided by the specified text information after browsing the specified text information.

[0154] In practical applications, copywriting can be used to guide user actions. For example, it can guide users to click on links to products indicated by the copywriting in search promotion scenarios. Alternatively, it can guide users to browse information, such as viewing product details indicated by the copywriting.

[0155] The probability that a user will perform the action prompted by the specified text after browsing it can be determined based on historical data. For example, it could be determined by the number of times a user group browses the specified text within a certain period, and the number of times the user group performs the action prompted by the specified text within that period.

[0156] In the embodiments of this specification, a text filtering engine can be used to determine the text information with better user guidance effect from two or more text information options. The multiple text information options can be two or more. For example, for a certain target location area, when multiple text information options exist for that target location area, for any given text information, the probability that a user will perform the operation guided by that text information after browsing it is statistically analyzed. By comparing the statistically obtained probabilities, the text information with better user guidance effect can be determined.

[0157] As one implementation method, the preset copywriting filtering engine can be a set of rules built upon a series of rules. These rules represent the conditions for filtering copywriting information. For example, whether the copywriting information contains a preset information content threshold, or whether the copywriting information contains keywords, etc.

[0158] As one implementation method, the pre-set copywriting filtering engine can also be a pre-trained network model, which can be a model that determines the target copywriting information from two or more copywriting information. For example, copywriting information labeled with guidance effect tags can be used as training samples to train a network model for predicting the user guidance effect of copywriting information. Then, the trained network model can be used to predict the user guidance effect of two or more copywriting information respectively, and the copywriting information with the better predicted user guidance effect can be used as the target copywriting information.

[0159] Optionally, target text information may be randomly selected from the first and second text information to be displayed in the target location area; this is not limited here.

[0160] After identifying the text information with optimal user guidance effect, this text information can be displayed at the target location to show it to the user. Optionally, after generating the text information for display on the display page based on the text template, the process may further include:

[0161] The target text information is displayed at the target location.

[0162] The text filtering conditions in the embodiments of this specification may include a text filtering sub-condition. Thus, when determining whether the field value of a target field meets the text filtering conditions, it is only necessary to check whether the field value of the target field meets this single text filtering sub-condition to quickly obtain the judgment result, simplifying data processing and improving the efficiency of text information generation.

[0163] To further achieve personalized text information display, the text filtering conditions in the embodiments of this specification may also include two or more text filtering sub-conditions. For example, the text filtering sub-condition that the user terminal is located in "Region A" and the text filtering sub-condition that the user terminal type is "smartphone" can together form a single text filtering condition.

[0164] In the embodiments of this specification, multiple copywriting filtering sub-conditions can be two or more copywriting filtering sub-conditions.

[0165] As one implementation method, text information can be generated when the field value of the target field satisfies all text filtering sub-conditions. Optionally, determining whether the field value of the target field satisfies the text filtering conditions may specifically include: if the field value of the target field satisfies all of the two or more text filtering sub-conditions, then text information for display on the display page is generated based on the text template.

[0166] In this scenario, the various text filtering sub-conditions are combined using a "AND" logical relationship to form the text filtering conditions. For example, if the target field can include both "the region where the user's terminal is located" and "the type of user's terminal," then the requester of the current text information retrieval request can be considered to have met the corresponding text filtering conditions if both the user's terminal region is "Region A" and the user's terminal type is "smartphone." This allows the generation of text information to be displayed to the requester.

[0167] In practical applications, to quickly generate text information for display on the page, when the text filtering conditions include two or more sub-conditions, it is not necessary to determine whether the target field value satisfies all sub-conditions. Instead, it is necessary to determine whether the target field value satisfies any one sub-condition. This allows for rapid generation of text information when any sub-condition is met. Optionally, determining whether the target field value satisfies the text filtering conditions may specifically include: if the target field value satisfies any one of the two or more sub-conditions, then text information for display on the page is generated based on the text template.

[0168] In this scenario, the various text filtering sub-conditions are combined using an "OR" logical relationship to form the text filtering conditions. For example, the target field may include both "the region where the user's terminal is located" and "the type of user's terminal." Therefore, if the requester of the text information request satisfies either the text filtering sub-condition that the user's terminal region belongs to "Region A" or the user's terminal type is "smartphone," then the corresponding text filtering condition can be met, and text information can be generated to display to the requester.

[0169] To further simplify data processing and improve the efficiency of text information generation, the embodiments of this specification may use the content of a text template as text information. Optionally, the step of generating text information for display on the display page based on the text template may specifically include:

[0170] The content of the text template is determined as the text information to be displayed on the display page.

[0171] For example, if the copy template is "For energetic young people who love sports, this gear is perfect for you!", then the content of the copy template can be used as the copy information. The resulting copy information would then be "For energetic young people who love sports, this gear is perfect for you!"

[0172] To achieve personalized text information display and improve user experience, when generating text information, the field value of a specified field corresponding to a field placeholder can be obtained from the view, thus obtaining text information containing the field value of the specified field. Therefore, text information related to the user or user terminal can be generated based on the text template. Optionally, the generation of text information for display on the display page based on the text template may specifically include:

[0173] Retrieve the field value of the specified field corresponding to the field placeholder from the view represented by the view identifier.

[0174] Replace the field placeholders with the field values ​​of the specified fields to obtain the copy information corresponding to the copy template.

[0175] Suppose the copy template is "For the sporty and energetic young man {userBasicInfo.name}, this gear is perfect for you!", where {userBasicInfo.name} can be a field placeholder indicating the position where the value of the name field will be entered. If the value of the name field obtained from the view represented by the view identifier is "Zhang San", then you can replace {userBasicInfo.name} with "Zhang San" in the copy template, resulting in the copy message "For the sporty and energetic young man Zhang San, this gear is perfect for you!"

[0176] In practical applications, there may be situations where the value of the target field does not meet the copywriting filtering criteria. In such cases, failing to generate copywriting information to be displayed on the page would degrade the user experience. Therefore, to improve the user experience, in cases where the value of the target field does not meet the copywriting filtering criteria, the embodiments of this specification can determine default copywriting information as the copywriting information to be displayed on the page. Optionally, the copywriting generation method may further include:

[0177] If the field value of the target field does not meet the text filtering conditions, then the default text information will be determined as the text information to be displayed on the display page.

[0178] In the embodiments of this specification, the default text information can be text information that is applicable to different target fields or different target field values. Alternatively, the default text information can be text information that is applicable to different user terminals or different users. For example, the default text information could be "This equipment is perfect for you!"

[0179] The generated text information can be displayed to the user. Optionally, after generating the text information for display on the display page based on the text template, the process may further include:

[0180] The text information is displayed on the display page.

[0181] In the embodiments of this specification, one copywriting filter condition can correspond to two or more copywriting templates. Two or more pieces of copywriting information can be generated based on these templates, and at least a portion of the copywriting information can be displayed on the display page, improving the user experience. Optionally, generating the copywriting information for display on the display page based on the copywriting templates may specifically include:

[0182] If the field value of the target field meets the copywriting filtering conditions, then based on the two or more copywriting templates, two or more pieces of copywriting information are generated for display on the display page; wherein, the copywriting templates in the two or more copywriting templates correspond one-to-one with the copywriting information in the two or more pieces of copywriting information.

[0183] Displaying the text information on the display page may specifically include:

[0184] According to the preset multi-template display rules, at least a portion of the text information from the two or more text information items is displayed on the display page.

[0185] In the embodiments of this specification, multiple copywriting templates can be two or more copywriting templates. Multiple pieces of copywriting information can be two or more pieces of copywriting information. One copywriting template can correspond to one piece of copywriting information, and one piece of copywriting information can be generated based on one copywriting template.

[0186] In the embodiments of this specification, the preset multi-template display rule can be to simultaneously display at least part of the text information, or to scroll and display at least part of the text information. Optionally, displaying at least part of the text information from the two or more pieces of text information on the display page according to the preset multi-template display rule can specifically include:

[0187] The display page simultaneously displays at least a portion of the two or more pieces of text information.

[0188] or,

[0189] The first text message from the two or more text messages is displayed on the display page.

[0190] After a preset time elapsed since the first text information was displayed, the second text information from the two or more text information is displayed on the display page.

[0191] Simultaneously displaying at least some of the text information from two or more pieces of text information can be either displaying one piece of text information from two or more pieces of text information, or displaying at least two pieces of text information from two or more pieces of text information.

[0192] In the embodiments of this specification, the first text information can be the text information with better user guidance effect among two or more text information. The preset text filtering engine mentioned above can be used to determine the first text information from two or more text information.

[0193] The second piece of copy can be the copy that has the best user engagement effect among two or more pieces of copy, excluding the first piece of copy. Similarly, the preset copy filtering engine mentioned earlier can be used to determine the second piece of copy.

[0194] Optionally, the second piece of copy information can be any of the two or more pieces of copy information other than the first piece of copy information. No limitation is imposed here.

[0195] In the embodiments described in this specification, the preset duration can be a fixed duration, such as 3 seconds, 5 seconds, or 10 seconds. This fixed duration can also be determined according to actual needs and is not limited here.

[0196] As one implementation method, the preset duration may not be fixed. For example, a preset duration can correspond to one piece of text information, and the preset duration can be positively correlated with the amount of information in the text information corresponding to that preset duration. Specifically, if the amount of information in the text information is large, the text information can be displayed for a longer time, and the preset duration corresponding to that text information can be longer. If the amount of information in the text information is small, the text information can be displayed for a shorter time, and the preset duration corresponding to that text information can be shorter. By setting a preset duration that is positively correlated with the amount of information in the text information, the display effect of the text information can be improved.

[0197] As one implementation method, the preset multi-template display rule can also be to display all text information sequentially. For example, all text information can be sorted according to user guidance effectiveness, with text information showing better user guidance effectiveness placed before text information showing poorer user guidance effectiveness. Then, based on the sorting result, all text information is displayed sequentially on the display page according to the aforementioned preset duration.

[0198] The various technical features in the above embodiments can be combined arbitrarily, as long as there is no conflict or contradiction between the combinations of features. However, due to space limitations, they have not been described one by one. Therefore, the arbitrary combination of various technical features in the above embodiments is also within the scope of this specification.

[0199] Figure 3 This is a flowchart illustrating a text generation method according to an embodiment of this application. Figure 3 As shown, the method may include the following steps.

[0200] Step 302: Generate copywriting filtering criteria.

[0201] In the embodiments described in this specification, the copy filtering conditions can be set by the copy designer. For example, the copy designer can input condition information for a target field in a preset view on a certain operation page of the server. This condition information can be condition information for the field value of the target field. Then, the server can generate copy filtering conditions for the target field based on the condition information.

[0202] Step 304: Obtain the copywriting template.

[0203] In the embodiments described in this specification, the copy template can also be set by the copy designer.

[0204] Optionally, the copy template can be a text-based template.

[0205] In practical applications, there is a correspondence between copywriting templates and copywriting filtering criteria. The obtained copywriting templates can be those that correspond to the copywriting filtering criteria.

[0206] For example, copy designers can first set up copy templates, and then set up copy filtering conditions corresponding to the copy templates. Alternatively, copy designers can first set up copy filtering conditions, and then set up copy templates corresponding to the copy filtering conditions; there is no limitation here.

[0207] Step 306: Obtain a set of copy generation data including view identifiers, copy filtering conditions, and copy templates.

[0208] In the embodiments of this specification, a copywriting generation dataset can be pre-set. For example, the view identifier of a preset view, the copywriting filter conditions, and the copywriting templates corresponding to the copywriting filter conditions can be pre-stored as a copywriting generation dataset. The copywriting generation dataset may include the correspondence between the view identifier, the copywriting filter conditions, and the copywriting templates.

[0209] The copywriting generation data set can be stored on a server, or on the user's terminal, etc.

[0210] The copy generation dataset can be used to generate copy information for the display page.

[0211] For details on setting up copywriting selection criteria, copywriting templates, copywriting datasets, and copywriting generation datasets, please refer to the previous introductions; they will not be repeated here.

[0212] Step 308: In response to the copy information retrieval request, retrieve the copy generation data set associated with the display page.

[0213] In practical applications, users can perform a trigger operation on their terminal to display the page, and then the terminal's display interface can show the page.

[0214] Furthermore, the user terminal can generate a text information retrieval request for the displayed page based on the user's triggered operation. The text information retrieval request can carry the first page identifier of the display page that needs to be displayed.

[0215] The server can respond to a text information retrieval request and, based on the first page identifier, retrieve the text generation data set associated with the display page.

[0216] Step 310: Determine whether the field value of the target field in the view represented by the view identifier meets the copy filtering conditions.

[0217] Step 312: If so, generate copy information based on the copy template.

[0218] In the embodiments described in this specification, the content of the copy template can be determined as the copy information to be displayed on the display page.

[0219] Alternatively, you can retrieve the field value of the specified field corresponding to the field placeholder in the copy template from the view represented by the view identifier. Replace the field placeholder with the field value of the specified field to obtain the copy information corresponding to the copy template.

[0220] As one implementation method, in order to improve user experience, if the field value of the target field in the view represented by the view identifier does not meet the copywriting filtering conditions, the content of the copywriting template can be determined as the copywriting information to be displayed on the display page, or the default copywriting information can be determined as the copywriting information to be displayed on the display page.

[0221] For details on the specific process of generating copy information, please refer to the relevant introduction above, which will not be repeated here.

[0222] Based on the same idea, embodiments of this specification also provide apparatus corresponding to the above methods.

[0223] Figure 4 The embodiments provided in this specification correspond to Figure 2 A schematic diagram of the structure of a copywriting generation device. (Example) Figure 4 As shown, the device may include:

[0224] The request receiving module 402 is used to obtain a request for obtaining text information of the display page; the display page is the page that needs to be displayed on the display interface of the user terminal.

[0225] The data set acquisition module 404 is used to respond to the text information acquisition request and acquire a text generation data set associated with the display page; the text generation data set includes a view identifier, text filtering conditions, and text templates corresponding to the text filtering conditions; the text filtering conditions are set for target fields in the view represented by the view identifier.

[0226] The field value acquisition module 406 is used to acquire the field value of the target field from the view represented by the view identifier.

[0227] The condition judgment module 408 is used to determine whether the field value of the target field meets the copywriting filtering conditions.

[0228] The copy generation module 410 is used to generate copy information for display on the display page based on the copy template if the field value of the target field meets the copy filtering conditions.

[0229] based on Figure 4 The embodiments of this specification also provide some specific implementation schemes of the method, which are described below.

[0230] Optionally, the copywriting generation module 410 can be specifically used for:

[0231] The content of the text template is determined as the text information to be displayed on the display page.

[0232] Optionally, the copy template includes field placeholders; the copy generation module 410 can specifically be used for:

[0233] Retrieve the field value of the specified field corresponding to the field placeholder from the view represented by the view identifier.

[0234] Replace the field placeholders with the field values ​​of the specified fields to obtain the copy information corresponding to the copy template.

[0235] Optionally, the copywriting filtering conditions specifically include two or more copywriting filtering sub-conditions; the condition judgment module 408 can be specifically used for:

[0236] If the value of the target field satisfies all of the two or more copywriting filtering sub-conditions, then copywriting information for display on the display page is generated based on the copywriting template.

[0237] Optionally, the device may further include:

[0238] The first display module is used to display the text information on the display page.

[0239] Optionally, one copywriting filter condition corresponds to two or more copywriting templates; the copywriting generation module 410 can specifically be used for:

[0240] If the field value of the target field meets the copywriting filtering conditions, then based on the two or more copywriting templates, two or more pieces of copywriting information are generated for display on the display page; wherein, the copywriting templates in the two or more copywriting templates correspond one-to-one with the copywriting information in the two or more pieces of copywriting information.

[0241] The first display module can be specifically used for:

[0242] According to the preset multi-template display rules, at least a portion of the text information from the two or more text information items is displayed on the display page.

[0243] Optionally, displaying at least a portion of the text information from the two or more text messages on the display page according to preset multi-template display rules may specifically include:

[0244] On the display page, at least a portion of the two or more pieces of text information are displayed simultaneously.

[0245] or,

[0246] The first text message from the two or more text messages is displayed on the display page.

[0247] After a preset time elapsed since the first text information was displayed, the second text information from the two or more text information is displayed on the display page.

[0248] Optionally, the display page includes two or more location areas for displaying text information; the data set acquisition module 404 can specifically be used for:

[0249] In response to the request for obtaining the text information, for the target location area in the two or more location areas, obtain the text generation data set associated with the target location area.

[0250] The copy generation module 410 can be specifically used for:

[0251] If the field value of the target field meets the copy filtering conditions, then copy information for display in the target location area is generated based on the copy template.

[0252] Optionally, the data set acquisition module 404 can be specifically used for:

[0253] In response to the text information acquisition request, a first text generation data set and a second text generation data set associated with the target location area are acquired.

[0254] The copy generation module 410 can be specifically used for:

[0255] First text information for display in the target location area is generated based on the first text template in the first text generation data set.

[0256] Second copywriting information is generated based on the second copywriting generation template in the second copywriting generation data set for display in the target location area.

[0257] A preset text filtering engine is used to determine target text information for display in the target location area from the first text information and the second text information; wherein, the text filtering engine is used to determine the text information with better user guidance effect from two or more text information; the user guidance effect is used to reflect the probability that the user will perform the operation guided by the specified text information after browsing the specified text information.

[0258] Optionally, the device may further include:

[0259] The second display module is used to display the target text information at the target location.

[0260] Optionally, the device may further include:

[0261] The condition information acquisition module is used to acquire condition information entered manually for a target field in a preset view.

[0262] The copywriting filtering condition generation module is used to generate copywriting filtering conditions for the target field based on the condition information.

[0263] The copywriting template acquisition module is used to acquire copywriting templates corresponding to the copywriting filtering conditions.

[0264] The data storage module is used to associate and store the view identifier of the preset view, the copy filtering conditions, and the copy template as a copy generation data set.

[0265] Optionally, the copywriting template acquisition module can be specifically used for:

[0266] Obtain the selection operation for a specified field in the preset view and the template text information entered manually.

[0267] Based on the selection operation and the template text information, a copy template corresponding to the copy filtering conditions is generated; the copy template contains field placeholders, which are used to indicate the position where the field value of the specified field is filled in.

[0268] It is understood that the modules mentioned above refer to computer programs or program segments used to perform one or more specific functions. Furthermore, the distinction between these modules does not imply that the actual program code must also be separate.

[0269] The above is a schematic scheme of a copywriting generation device according to this embodiment. It should be noted that the technical solution of this copywriting generation device and the technical solution of the above-described copywriting generation method belong to the same concept. For details not described in detail in the technical solution of the copywriting generation device, please refer to the description of the technical solution of the above-described copywriting generation method.

[0270] Based on the same idea, this specification also provides devices corresponding to the above methods in its embodiments.

[0271] Figure 5 The embodiments provided in this specification correspond to Figure 2 A schematic diagram of the structure of a copywriting generation device. (For example...) Figure 5 As shown, device 500 may include:

[0272] At least one processor 510; and,

[0273] Memory 530 communicatively connected to the at least one processor; wherein,

[0274] The memory 530 stores instructions 520 that can be executed by the at least one processor 510, the instructions being executed by the at least one processor 510 to enable the at least one processor 510 to:

[0275] A request is made to obtain text information for the display page; the display page is the page that needs to be displayed on the user terminal's display interface.

[0276] In response to the text information retrieval request, a text generation data set associated with the display page is retrieved; the text generation data set includes a view identifier, text filtering conditions, and text templates corresponding to the text filtering conditions; the text filtering conditions are set for target fields in the view represented by the view identifier.

[0277] Obtain the field value of the target field from the view represented by the view identifier; determine whether the field value of the target field meets the copy filtering conditions.

[0278] If the field value of the target field meets the copywriting filtering conditions, then copywriting information for display on the display page is generated based on the copywriting template.

[0279] The above is an illustrative scheme of a copywriting generation device according to this embodiment. It should be noted that the technical solution of this copywriting generation device and the technical solution of the above-described copywriting generation method belong to the same concept. For details not described in detail in the technical solution of the copywriting generation device, please refer to the description of the technical solution of the above-described copywriting generation method.

[0280] Based on the same idea, embodiments of this specification also provide computer-readable media corresponding to the above methods.

[0281] A computer-readable medium stores computer-readable instructions that can be executed by a processor to perform the following methods:

[0282] A request is made to obtain text information for the display page; the display page is the page that needs to be displayed on the user terminal's display interface.

[0283] In response to the text information retrieval request, a text generation data set associated with the display page is retrieved; the text generation data set includes a view identifier, text filtering conditions, and text templates corresponding to the text filtering conditions; the text filtering conditions are set for target fields in the view represented by the view identifier.

[0284] Obtain the field value of the target field from the view represented by the view identifier; determine whether the field value of the target field meets the copy filtering conditions.

[0285] If the field value of the target field meets the copywriting filtering conditions, then copywriting information for display on the display page is generated based on the copywriting template.

[0286] The above is an illustrative scheme of a computer-readable storage medium according to this embodiment. It should be noted that the technical solution of this storage medium and the technical solution of the above-described document generation method belong to the same concept. For details not described in detail in the technical solution of the storage medium, please refer to the description of the technical solution of the above-described document generation method.

[0287] Based on the same idea, the embodiments of this specification also provide computer program products corresponding to the above methods.

[0288] The computer program product includes a computer program / instruction that, when executed by a processor, implements the steps of the above-described document generation method.

[0289] The above is an illustrative scheme of a computer program product according to this embodiment. It should be noted that the technical solution of this computer program product and the technical solution of the above-described document generation method belong to the same concept. For details not described in detail in the technical solution of the computer program product, please refer to the description of the technical solution of the above-described document generation method.

[0290] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, for the apparatus and device embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiments. The apparatus, device and method provided in the embodiments of this specification are corresponding to each other, and therefore the apparatus and device also have similar beneficial technical effects as the corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the corresponding apparatus and device will not be repeated here.

[0291] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, a computer can be, for example, a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or any combination of these devices.

[0292] For ease of description, the above devices are described separately by function as various units. Of course, in implementing this application, the functions of each unit can be implemented in one or more software and / or hardware.

[0293] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0294] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0295] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0296] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 Figure 1 The steps of the function specified in one or more boxes.

[0297] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0298] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0299] Computer-readable media include both permanent and non-permanent, removable and non-removable media that can store information by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0300] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0301] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0302] This application can be described in the general context of computer-executable instructions, such as program modules, that are executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform a specific task or implement a specific abstract data type. This application can also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.

[0303] The above description is merely an embodiment of this application and is not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.

Claims

1. A copywriting generation method, comprising: Retrieve text information for the displayed page; The display page is the page that needs to be displayed on the user terminal's display interface; In response to the text information acquisition request, a text generation data set associated with the display page is acquired; the text generation data set includes view identifiers, text filtering conditions, and text templates corresponding to the text filtering conditions; The text filtering criteria are set for target fields in the view represented by the view identifier; Obtain the field value of the target field from the view represented by the view identifier; Determine whether the field value of the target field meets the text filtering conditions; If the field value of the target field meets the copywriting filtering conditions, then copywriting information for display on the display page is generated based on the copywriting template.

2. The method as described in claim 1, wherein generating text information for display on the display page based on the text template specifically includes: The content of the text template is determined as the text information to be displayed on the display page.

3. The method as described in claim 1, wherein the copy template includes field placeholders; the step of generating copy information for display on the display page based on the copy template specifically includes: From the view represented by the view identifier, obtain the field value of the specified field corresponding to the field placeholder; Replace the field placeholders with the field values ​​of the specified fields to obtain the copy information corresponding to the copy template.

4. The method of claim 1, wherein, The copywriting filtering conditions specifically include two or more copywriting filtering sub-conditions; the step of determining whether the field value of the target field meets the copywriting filtering conditions specifically includes: If the value of the target field satisfies all of the two or more copywriting filtering sub-conditions, then copywriting information for display on the display page is generated based on the copywriting template.

5. The method as described in claim 1, further comprising, after generating the text information for display on the display page based on the text template: The text information is displayed on the display page.

6. The method as described in claim 5, wherein one copywriting filter condition corresponds to two or more copywriting templates; the step of generating copywriting information for display on the display page based on the copywriting templates specifically includes: If the field value of the target field meets the copywriting filtering conditions, then based on the two or more copywriting templates, two or more pieces of copywriting information are generated for display on the display page; wherein, the copywriting templates in the two or more copywriting templates correspond one-to-one with the copywriting information in the two or more pieces of copywriting information; The display of the text information on the display page specifically includes: According to the preset multi-template display rules, at least a portion of the text information from the two or more text information items is displayed on the display page.

7. The method as described in claim 6, wherein displaying at least a portion of the text information from the two or more text information entries on the display page according to a preset multi-template display rule specifically includes: On the display page, at least a portion of the two or more pieces of text information are displayed simultaneously. or, The first text message from the two or more text messages is displayed on the display page. After a preset time elapsed since the first text information was displayed, the second text information from the two or more text information is displayed on the display page.

8. The method of claim 1, wherein, The display page includes two or more location areas for displaying text information; the step of responding to the text information acquisition request and acquiring the text generation data set associated with the display page specifically includes: In response to the text information acquisition request, for the target location area in the two or more location areas, a text generation data set associated with the target location area is acquired; If the field value of the target field meets the text filtering conditions, then text information for display on the display page is generated based on the text template, specifically including: If the field value of the target field meets the copy filtering conditions, then copy information for display in the target location area is generated based on the copy template.

9. The method of claim 8, wherein the step of obtaining the text information acquisition request and the text generation data set associated with the display page specifically includes: In response to the text information acquisition request, a first text generation data set and a second text generation data set associated with the target location area are acquired; The step of generating text information for display on the display page based on the text template specifically includes: First text information for display in the target location area is generated based on the first text template in the first text generation data set. Second text information is generated based on the second text template in the second text generation data set for display in the target location area; A preset text filtering engine is used to determine target text information for display in the target location area from the first text information and the second text information; wherein, the text filtering engine is used to determine the text information with better user guidance effect from two or more text information; the user guidance effect is used to reflect the probability that the user will perform the operation guided by the specified text information after browsing the specified text information; After generating the text information for display on the display page based on the text template, the process further includes: The target text information is displayed in the target location area.

10. The method of claim 1, further comprising, before obtaining the set of text generation data associated with the display page in response to the text information acquisition request: Retrieve manually entered conditional information for a target field in a preset view; Based on the aforementioned conditional information, generate text filtering conditions for the target field; Obtain the copy template corresponding to the copy filtering criteria; The view identifier of the preset view, the copy filtering conditions, and the copy template are associated and stored as a copy generation data set.

11. The method as described in claim 10, wherein obtaining the copy template corresponding to the copy filtering conditions specifically includes: Obtain the selection operation for a specified field in the preset view and the template text information entered manually; Based on the selection operation and the template text information, a copy template corresponding to the copy filtering conditions is generated; The copy template includes field placeholders, which are used to indicate the position where the field value of the specified field will be filled in.

12. A copywriting generation device, comprising: The request receiving module is used to receive requests for text information retrieval on the displayed page; The display page is the page that needs to be displayed on the user terminal's display interface; The data set acquisition module is used to respond to the text information acquisition request and acquire the text generation data set associated with the display page; the text generation data set includes view identifiers, text filtering conditions, and text templates corresponding to the text filtering conditions; The text filtering criteria are set for target fields in the view represented by the view identifier; The field value acquisition module is used to acquire the field value of the target field from the view represented by the view identifier; The condition judgment module is used to determine whether the field value of the target field meets the copywriting filtering conditions; The copy generation module is used to generate copy information for display on the display page based on the copy template if the field value of the target field meets the copy filtering conditions.

13. A copywriting generation device, comprising: At least one processor; as well as, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enable the at least one processor to: Obtain a request for obtaining text information for the display page; the display page is the page that needs to be displayed on the user terminal's display interface. In response to the text information retrieval request, a text generation data set associated with the display page is retrieved; the text generation data set includes a view identifier, text filtering conditions, and text templates corresponding to the text filtering conditions; the text filtering conditions are set for target fields in the view represented by the view identifier. Obtain the field value of the target field from the view represented by the view identifier; determine whether the field value of the target field meets the text filtering conditions; If the field value of the target field meets the copywriting filtering conditions, then copywriting information for display on the display page is generated based on the copywriting template.

Citation Information

Patent Citations

  • Information processing system, method and apparatus, and storage medium

    CN112084445A

  • Copywriting information generation method and device, storage medium and electronic equipment

    CN112131848A