Cboth case generation method, device and equipment

By obtaining view identifiers, copywriting filtering conditions and templates, and judging and generating copywriting information, the problem of high difficulty in writing template engine code in the existing technology is solved, and efficient and accurate copywriting generation is achieved.

CN119691027AActive Publication Date: 2025-03-25ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411835887.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-12
Publication Date
2025-03-25
Estimated Expiration
2044-12-12

AI Technical Summary

Technical Problem

When generating diverse copywriting, the code of the template engine is difficult, inefficient and prone to errors, which affects the efficiency of copywriting generation.

Method used

By obtaining the view identifier, copy filtering conditions and corresponding copy templates, we can determine whether the field value of the target field meets the filtering conditions, and generate appropriate copy information based on the copy template.

Benefits of technology

It realizes efficient generation of diverse copywriting, reduces the complexity of code writing and maintenance, and improves the efficiency and accuracy of copywriting generation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119691027A_ABST
    Figure CN119691027A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a copywriting generation method, device and equipment. According to the scheme, the method comprises the steps that a copywriting information obtaining request for a display page is obtained; the display page is a page needing to be displayed on a display interface on the user terminal; in response to the copywriting information acquisition request, acquiring a copywriting generation data set associated with the display page; the copywriting generation data set comprises a view identifier, a copywriting screening condition and a copywriting template corresponding to the copywriting screening condition; the copywriting screening condition is set for a target field in a view represented by the view identifier; obtaining a field value of the target field from a view represented by the view identifier; judging whether the field value of the target field meets the copywriting screening condition or not; and if the field value of the target field meets the copywriting screening condition, generating copywriting information used for being displayed in the display page based on the copywriting template.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and more particularly to a method for generating a text. The present invention also relates to a text generating device and a text generating equipment. Background Art

[0002] Copywriting is a way of conveying information through text. Copywriting can be applied to a variety of scenarios, such as advertising slogans, promotional slogans, social media posts, blog articles, web page content, product descriptions, etc.

[0003] In actual applications, in order to achieve accurate personalized services and improve user experience, different copy content can be displayed for different types of users or different types of terminals on the same copy display page, adopting diversified (commonly known as "one thousand faces for one thousand people") copy display methods. Therefore, how to efficiently generate these diversified copy is a problem that needs to be solved urgently. Summary of the invention

[0004] In view of this, the embodiments of the present application provide a copy generation method, device and equipment to efficiently generate diversified copies.

[0005] According to a first aspect of an embodiment of the present application, a method for generating a copy is provided, comprising: Obtaining a copy information acquisition request for a display page; the display page is a page that needs to be displayed on a display interface on a user terminal; In response to the copy information acquisition request, a copy generation data set associated with the display page is acquired; the copy generation data set includes a view identifier, a copy screening condition, and a copy template corresponding to the copy screening condition; the copy screening condition is set for a target field in the view represented by the view identifier; Obtaining a 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 screening condition; If the field value of the target field satisfies the text screening condition, text information for display in the display page is generated based on the text template.

[0006] According to a second aspect of an embodiment of the present application, a copywriting generation device is provided, including: A request receiving module, used to obtain a copy information acquisition request for a display page; the display page is a page that needs to be displayed on a display interface on a user terminal; a data set acquisition module, configured to acquire, in response to the copy information acquisition request, a copy generation data set associated with the display page; the copy generation data set includes a view identifier, a copy screening condition, and a copy template corresponding to the copy screening condition; the copy screening condition is set for a target field in the view represented by the view identifier; A field value acquisition module, used to acquire the field value of the target field from the view represented by the view identifier; A condition judgment module, used to judge whether the field value of the target field meets the text screening condition; The text generation module is used to generate text information for display in the display page based on the text template if the field value of the target field meets the text screening condition.

[0007] According to a third aspect of an embodiment of the present application, a copywriting generation device is provided, including: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to; Obtaining a copy information acquisition request for a display page; the display page is a page that needs to be displayed on a display interface on a user terminal; In response to the copy information acquisition request, a copy generation data set associated with the display page is acquired; the copy generation data set includes a view identifier, a copy screening condition, and a copy template corresponding to the copy screening condition; the copy screening condition is set for a target field in the view represented by the view identifier; Obtaining a 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 screening condition; If the field value of the target field satisfies the text screening condition, text information for display in the display page is generated based on the text template.

[0008] At least one embodiment provided in this specification can achieve the following beneficial effects: by obtaining a copy template including a view identifier, a copy filtering condition, and corresponding to the copy filtering condition, and obtaining the field value of the target field from the view represented by the view identifier, copy information can be generated based on the text template when the field value of the target field meets the copy filtering condition, so as to efficiently generate diversified copy. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] In order to more clearly illustrate the embodiments of this specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0010] Figure 1 This is a schematic diagram of an application scenario of a copywriting generation method provided by an embodiment of the present application; Figure 2 It is a flowchart of a method for generating a text provided by an embodiment of the present application; Figure 3 It is a processing flow chart of a method for generating a text provided in an embodiment of the present application; Figure 4 The embodiments of this specification provide corresponding to Figure 2 A structural schematic diagram of a copywriting generation device; Figure 5 The embodiments of this specification provide corresponding to Figure 2 A structural schematic diagram of a copywriting generation device. DETAILED DESCRIPTION

[0011] Many specific details are described in the following description to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of the present application, so the present application is not limited by the specific implementation disclosed below.

[0012] The terms used in one or more embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of the present application. The singular forms of "a", "said" and "the" used in one or more embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in one or more embodiments of the present application refers to and includes any or all possible combinations of one or more associated listed items.

[0013] It should be understood that, although the terms first, second, etc. may be used to describe various information in one or more embodiments of the present application, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of the present application, the first may also be referred to as the second, and similarly, the second may also be referred to as the first. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0014] 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 used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards in the relevant regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0015] First, the terms involved in one or more embodiments of the present application are explained.

[0016] 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 that attracts potential customers by displaying ads on search results pages.

[0017] Copywriting: It is a way of delivering information using text as a carrier. In the context of search promotion, copywriting is also called "material" and is an important factor affecting the click-through rate and conversion rate of advertisements.

[0018] Template Engine: A tool used to generate dynamic content, usually used in Web development. Template engines can combine static template files with dynamic data to generate document data. The working process of template engines 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 tags or placeholders to indicate where dynamic data is inserted. Template engines can parse template files, fill dynamic data into placeholders, and generate the final output text.

[0019] View (VIEW): refers to the view in the computer database. A view is a virtual table that does not store data. It can be defined and queried through SQL statements. Views do not exist in the database as a stored set of data values. Views contain a series of named columns and row data. The column and row data come from the table referenced by the query that defines the view, and are dynamically generated when the view is referenced. The data seen through the view is only the data stored in the base table. The operation on the view is the same as the operation on the table, which can be queried, modified, and deleted. When the data seen through the view is modified, the data of the corresponding base table must also change. In addition, if the data in the base table changes, this change can also be automatically reflected in the view.

[0020] In practical applications, in order to achieve accurate personalized services, it is often necessary to display "different faces" of copywriting to user groups. Since the template engine has powerful coding capabilities and supports complex logical reasoning, template engines are usually used in the prior art to generate these diverse copywriting. However, the code writing of the template engine is difficult and the modification process is cumbersome, which makes the efficiency of copywriting generated based on the template engine not high. The following is a specific explanation based on the example of generating copywriting based on the template engine.

[0021] First, the copywriters put forward various requirements, specifically, they need to determine the copy and its corresponding copy screening conditions; then, the copywriters provide the copy and its corresponding copy screening conditions to the programmers; after that, the programmers need to write or modify the template engine code based on the copy and its corresponding copy screening conditions.

[0022] For example, assume that the copywriting provided by the copywriting designer and its corresponding copywriting screening conditions include the following example: if the user terminal is located in "Area A" and the user's hobbies include "sports", then when the user visits a page of sports products, the copywriting content displayed to the user is "Sunny young people who love sports, give yourself a set of suitable equipment." Therefore, the programmer needs to add or modify the code of the template engine according to this requirement.

[0023] Exemplarily, the code corresponding to the requirements of the aforementioned example may be as follows.

[0024] area = .... (Get area) hobby = .... (get hobby) productType = ....(Get product type) if (area == A) { if (hobby == sports) { if (productType == sports products) { content = "Young people who love sports, please give yourself a set of suitable equipment" } } else { / / The region matches "A region" but has other hobbies } } else { / / The region does not meet the scenario of "A region" }.

[0025] As in the above example, in order to realize this text display demand, the programmer needs to write information acquisition statements and conditional judgment statements corresponding to the text screening conditions. The specific information acquisition statements are not shown in the above example. In actual application, the programmer needs to encode according to the specific data storage location, format, etc. In actual application, considering the demand for diversified display, based on the above example, for users in different regions, different hobbies, and using different products, it is necessary to write the above-mentioned information acquisition and conditional judgment codes. This coding process is very cumbersome and error-prone. In addition, the text screening conditions in actual application are far more than conditions such as regions and hobbies, and when the screening conditions increase, the coding workload will double. Furthermore, when the text screening conditions or file content changes, the text designer also needs to submit the change requirements to the programmer so that the programmer can modify the existing coding. In summary, the scheme of displaying diversified texts by using the template engine in the prior art must be completed by the programmer in the writing and subsequent maintenance of the template engine, which is inefficient and error-prone.

[0026] From the above, we can see that the code of the template engine is very long and must be written by professional programmers, which makes code writing difficult. Moreover, when copy designers add or delete text, the corresponding code modification process is also cumbersome, making the efficiency of generating text low.

[0027] It should also be noted that in the relevant technology, when using a template engine to generate copy, the template engine needs to be parsed and compiled, and this process will occupy more computing resources of the server. In addition, the more copy screening conditions designed by the copy designer, the more complex the template engine will be, and the more computing resources will be occupied by the template engine's parsing and compilation process, thereby affecting server performance and further limiting copy generation efficiency.

[0028] The embodiments of this specification provide a view-based copy generation solution. When it is necessary to generate copy for display on a user terminal, a copy generation data set including a view identifier, copy filtering conditions, and a copy template corresponding to the copy filtering conditions, which is set by a copy designer based on the view, can be obtained. The field value of the target field can be obtained from the view represented by the view identifier, and then when the field value of the target field meets the copy filtering conditions, copy information can be generated based on the copy template, thereby efficiently generating copy information.

[0029] The following describes the copywriting generation method provided in the embodiments of this specification in conjunction with the accompanying drawings.

[0030] Figure 1 Schematic diagram of an application scenario of a copywriting generation method provided by an embodiment of the present application. Figure 1 As shown, the application scenario includes a terminal 1 and a server 2.

[0031] Despite Figure 1 It is shown that terminal 1 can be a smart phone, but in actual application, terminal 1 can also be a smart watch, a desktop computer, a handheld computer, a virtual reality terminal or an augmented reality terminal, etc., and is not limited to the example types given here.

[0032] Server 2 can be an independent physical server, or a server cluster or distributed file system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), as well as big data and artificial intelligence platforms.

[0033] In such Figure 1 In the application scenario shown, the server 2 may be connected to one or more terminals 1 via a local area network, a wide area network, the Internet or other types of data networks.

[0034] The user can perform a trigger operation on the display interface of the terminal 1 to display a display page on the display interface of the terminal 1. For example, click, search, and other operations are performed on the display interface of the terminal 1. The terminal 1 can generate a copy information acquisition request based on the user's trigger operation, and send the copy information acquisition request to the server 2. In response to the copy information acquisition request, the server 2 can generate copy information for display in the display page. Afterwards, the server 2 can send the generated copy information to the terminal 1.

[0035] As an implementation method, the text information may also be generated by the terminal 1. For example, after the user performs a trigger operation, the terminal 1 obtains a text information acquisition request for the display page based on the user's trigger operation, and then generates text information for display on the display page in response to the text information acquisition request.

[0036] Optionally, the terminal 1 may also display the text information on its display page.

[0037] For example, in a search promotion scenario, a user performs a search operation on display page A of a user terminal, and the search result of the search operation is display page B. The solution provided in the embodiments of this specification can generate text information for display on display page B.

[0038] For example, a user performs a click operation on display page C of a user terminal, such as clicking a certain product, a certain target pattern, or a certain target phrase on display page C, and the result of the click operation may be jumping to display page D. The solution provided in the embodiment of this specification can generate text information for display on display page D.

[0039] For another example, the user performs an opening operation on an application on the user terminal, and the result of the opening operation may be a display page E showing the application. The solution provided in the embodiment of this specification may generate text information for display on the display page E, etc.

[0040] In the present application, a copy generation method is provided. The present application also relates to a copy generation device and a copy generation equipment, which are described in detail one by one in the following embodiments.

[0041] Figure 2 is a flowchart of a method for generating text provided by an embodiment of the present application. From a program perspective, Figure 2 The execution subject of the method can be a program or application client installed on a server, or a program or application client installed on a terminal. It can be understood that the method can be executed by any device, equipment, platform, or device cluster with computing and processing capabilities.

[0042] like Figure 2 As shown, the copywriting generation method may include the following steps.

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

[0044] In the embodiments of this 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 called the display interface of these terminals. The display page on the terminal usually refers to a specific display area 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 page, etc. in a certain application. In the embodiments of this specification, the display page can be used to display different information for different terminals or users.

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

[0046] Optionally, the trigger operation may be an operation performed by the user on the icon of the application on the user terminal, such as an operation of opening the application, or an operation of uninstalling the application, etc.

[0047] Optionally, the trigger operation may also be an operation performed by the user on a display page in an application on the user terminal. The user may perform a trigger operation on a display page in the application, and then the application may display another display page that needs to be displayed. Specifically, the trigger operation may be a search operation performed by the user on a display page, a click operation performed by the user on a display page, such as left-clicking the mouse, right-clicking the mouse, double-clicking the mouse, etc., a browsing operation performed by the user on a display page, such as scrolling the mouse wheel, turning the display page, staying on the display page for a preset time, etc. The trigger operation may also be an operation by the user to open a display page, an operation by the user to close a display page, etc.

[0048] In the embodiment of the present specification, the user terminal may generate a copy information acquisition request for a display page based on a trigger operation. The display page may be a display page that needs to be displayed on the terminal.

[0049] Optionally, if the executor of the embodiment of this specification is a server, the terminal can send a copy information acquisition request to the server, and the server responds to the copy information acquisition request to generate copy information for display on the display page, and then the server can send the generated copy information to the terminal.

[0050] Optionally, if the executor of the embodiment of this specification is a user terminal, the user terminal can obtain a copy information acquisition request for the display page based on a trigger operation, and then the terminal responds to the copy information acquisition request to generate copy information for display on the display page.

[0051] In the embodiments of the present specification, the copy information acquisition request may be used to obtain copy information. Specifically, the copy information may be information corresponding to the user's trigger operation. Different trigger operations may correspond to different copy information. For example, for the user's operation of opening an application, the copy information may be information related to the opening of the application, such as greeting information. For the user's operation of uninstalling the application, the copy information may be retention information. For the user's search operation, click operation or browsing operation on a certain display page, the copy information may be advertising copy information, such as advertising copy information matching the keywords on the certain display page. For the user's search operation, click operation or browsing operation on a certain display page, the copy information may also be content introduction copy information related to the content on the certain display page. For the user's operation of opening a certain display page, the copy information may be page greeting information. For the user's operation of closing a certain display page, the copy information may be page ending information, etc. Step 204: In response to the copy information acquisition request, obtain a copy generation data set associated with the display page; the copy generation data set includes a view identifier, a copy filtering condition, and a copy template corresponding to the copy filtering condition; the copy filtering condition is set for a target field in the view represented by the view identifier.

[0052] In the embodiment of the present specification, the copy information acquisition request may carry a first page identifier of a display page to be displayed, so as to acquire a copy generation data set associated with the display page according to the first page identifier.

[0053] Optionally, a first association relationship between a first page identifier and a copy generation data set may be pre-stored. Based on the first association relationship, a copy generation data set associated with the display page may be obtained. For example, in a certain application, a user performs a trigger operation on display page a in the application, and the trigger operation is used to display display page b. Based on the trigger operation, the terminal may generate a copy information acquisition request for display page b. The copy information acquisition request may include the first page identifier of display page b, and based on the first page identifier and the first association relationship, a copy generation data set associated with display page b may be obtained.

[0054] As an implementation mode, if the trigger operation is an operation performed by the user on a display page of a user terminal, the copy information acquisition request may also carry a control identifier of a control for receiving the user's trigger operation, so that after receiving the copy information acquisition request, the execution subject can obtain, according to the control identifier, a copy generation data set associated with the page that needs to be displayed in response to the triggering of the control.

[0055] Optionally, the execution subject may pre-store a second association relationship between a control identifier of a control for receiving a user's trigger operation and a copy generation data set. Then, the execution subject may obtain a copy generation data set associated with the display page based on the second association relationship after responding to the copy information acquisition request. In this case, continuing with the above example, the copy information acquisition request may include a control identifier of a control M in display page a, and control M is used to jump to display page b after receiving a trigger operation. Then, based on the control identifier and the second association relationship, the copy generation data set associated with display page b may be obtained. Specifically, control M may be a button, a text box, a hyperlink such as a text hyperlink, an image hyperlink, and the like.

[0056] In the embodiment of the present specification, the copy generation data set may include a view identifier, a copy screening condition, and a copy template corresponding to the copy screening condition.

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

[0058] A view is a view in a computer database. A view is a virtual table that does not store data. It can be defined and queried using SQL statements. In addition, data access permissions can be set based on views, sensitive data can be hidden, and so on.

[0059] In actual applications, the server may store multiple types of views. For example, a product information view related to a product, a user information view related to a user, and so on. The view identifier in the embodiment of this specification may include a view identifier of a 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 area where the user terminal is located, a field representing the user's hobbies, a field representing the type of user terminal used by the user, and so on. Optionally, the view identifier in the embodiment of this specification may also include a view identifier of a product information view. The product information view may include multiple fields representing product information, such as a field representing product functions, a field representing product names, a field representing product prices, and so on. A configuration person who generates a copywriting data set, such as a copywriting designer, may select a view on the configuration page of a computer device, view the fields contained in the view, and then select some of the target fields therein to set the copywriting screening conditions.

[0060] In the embodiments of this specification, the text screening conditions are set for the target fields in the view represented by the view identifier. For example, when setting, the configuration personnel can select multiple fields such as "the area where the user terminal is located" and "the user's hobbies" from the fields included in the user information view as target fields to set the text screening conditions. Specifically, the text screening conditions can be set for these target fields. For example, the text screening condition set for the target field "the area where the user terminal is located" can be that the area meets "Area A", and the text screening condition set for the target field "the user's hobbies" can be that the hobbies are "sports".

[0061] The text screening condition can be used to screen according to the actual field value of the target field when a specific text information acquisition request is received. For example, if the area satisfies the text screening condition of "Area A" and the hobby is "sports", the text screening condition can be used to screen the area where the user terminal is located and the hobby, and then for the user whose area belongs to Region A and whose hobby is sports, the text information for displaying to the user is generated using the text template corresponding to the text screening condition.

[0062] In the embodiment of the present specification, the copy template may be a pre-set template for generating copy information.

[0063] The copy templates may correspond to the copy screening conditions. For example, for the copy screening condition "Area A" related to the area where the user terminal is located, a copy template related to Area A may be set, and for the copy screening condition "Sports" related to hobbies, a copy template related to sports hobbies may be set.

[0064] Optionally, a copy screening condition may correspond to one or more copy templates. For example, for the copy screening condition "football" related to hobbies, one copy template related to football hobbies may correspond; or multiple copy templates related to football hobbies may correspond; or, a copy template related to football hobbies and multiple copy templates related to sports hobbies may correspond, and so on.

[0065] Optionally, a copy template may correspond to one or more copy screening conditions. For example, a copy template for sports-related hobbies may correspond to a copy screening condition for the hobby "football"; or, it may correspond to a copy screening condition for the hobby "football" and multiple copy screening conditions for the hobby "basketball", and so on.

[0066] In actual applications, the text screening conditions may be pre-set, and then the text templates corresponding to the text screening conditions may be set. Alternatively, the text templates may be pre-set, and then the text screening conditions corresponding to the text template may be set, etc., which are not limited here.

[0067] Since the copy template of the embodiment of the present specification is a text format template, the content is simpler than the complex template code, and configuration personnel without code technical background can also set it, such as copy designers, thereby improving the convenience of copy template setting. In addition, when the copy screening conditions change, there is no need for professional programmers to intervene, and the copy designer can modify the copy template, which facilitates the subsequent maintenance of the copy template.

[0068] On the other hand, text-formatted copy templates are easier to understand than complex template codes, and configuration personnel are less likely to make mistakes when setting them up. This can improve the accuracy of copy template settings, thereby improving the accuracy of generated copy information.

[0069] It should also be pointed out that the embodiments of this specification can also save the process of the copy designer conveying the designed copy or copy modification requirements to the programmer, thereby improving the efficiency of copy information generation.

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

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

[0072] Optionally, the target field can be part of the multiple fields in the view.

[0073] In the embodiment of the present 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 generates the copy information acquisition request. Specifically, based on the field value query parameter associated with the user terminal, the field corresponding to the field value query parameter may be obtained from the view represented by the view identifier. Optionally, the field value query parameter may include at least one of the terminal information of the user terminal and the account information of the user account logged in to the user terminal. In actual application, the field value query parameter may be carried in the copy information acquisition request.

[0074] As an implementation manner, the terminal information of the user terminal may include model information or device identifier information of the user terminal, etc.

[0075] As an implementation method, the account information of the user account may include the user's mobile phone number information or email information, etc.

[0076] Step 208: Determine whether the field value of the target field satisfies the text screening condition.

[0077] By judging whether the field value of the target field meets the copy filtering condition, the field value of the target field is filtered using the copy filtering condition. Then, when the field value of the target field meets the copy filtering condition, the copy information can be generated using the copy template corresponding to the copy filtering condition.

[0078] In actual applications, you can determine whether the field value of the target field meets the text screening condition by determining whether the field value of the target field is the same as the text screening condition. For example, if the text screening condition is "Hobby is Music", if the field value of the target field "Hobby" is "Music" for the current text information acquisition request, it can be considered that the field value of the target field is the same as the text screening condition, and the field value of the target field meets the text screening condition.

[0079] Alternatively, it is possible to determine whether the field value of the target field meets the text screening condition by determining whether the field value of the target field is within the text screening condition range. For example, if the text screening condition is "the area belongs to region A", if the field value of the target field "the area where the user terminal is located" is "p" for the current text information acquisition request, and region p is within the range of region A, then it can be considered that the field value of the target field meets the text screening condition.

[0080] Step 210: If the field value of the target field meets the text screening condition, text information for display in the display page is generated based on the text template.

[0081] In the embodiment of the present specification, the content of the copy template may be preset, so copy information may be quickly generated based on the copy template.

[0082] For example, the content of the copy template can be directly determined as the copy information for displaying on the display page. Assuming the copy template is "Sunny young people who love sports, this set of equipment is most suitable for you", the determined copy information can be "Sunny young people who love sports, this set of equipment is most suitable for you". Assuming the copy template is "Dear user, good morning!", the determined copy information can be "Dear user, good morning!".

[0083] Alternatively, the text template may include a field placeholder, and the field placeholder in the text template may be replaced with the field value of the specified field corresponding to the field placeholder in the view represented by the view identifier to obtain the text information.

[0084] For example, the copy template can be "A sunny young man who loves sports, {userBasicInfo.name}, this set of equipment is most suitable for you!", where {userBasicInfo.name} is a field placeholder, which corresponds to the value of the specified field "name" in the view "userBasicInfo". If for the current user, the value of the specified field "name" in the view "userBasicInfo" is Zhang San, then the copy information obtained can be "A sunny young man who loves sports, Zhang San, this set of equipment is most suitable for you."

[0085] For another example, the copy template can be "Dear {useTerminalInformation.model} user, good morning!", where {useTerminalInformation.model} is a field placeholder, which corresponds to the value of the specified field "model" in the view "useTerminalInformation". If for the current user terminal device, the value of the specified field "model" in the view "useTerminalInformation" is "Android", the resulting copy information can be "Dear Android user, good morning!".

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

[0087] Figure 2 In the method, the copy screening conditions and copy templates used in the process of generating copy information can be set based on views, without relying on a strong coding technology background. Specifically, based on views, users only need to have business background to set the copy screening conditions and copy templates used to generate copy information, and there is no need to convey the copy to professional programmers and then have them code it. The method of constructing a copy generation data set based on views is low in complexity and is also convenient for improving the efficiency of copy information generation.

[0088] On the other hand, the copy information is generated based on the copy screening conditions and copy templates related to the view, without calling the template engine, avoiding the performance consumption generated by the template engine during the parsing and compilation process, which in turn affects the server performance. It can save server computing resources and ensure the efficiency of copy information generation.

[0089] based on Figure 2 The present specification also provides some improved implementation methods of the method, which are described below.

[0090] In the embodiment of the present specification, the copywriting generation data set may be pre-configured. Before obtaining the copywriting generation data set associated with the display page in response to the copywriting information acquisition request, the method may further include: Gets manually entered conditional information for the target field in the preset view.

[0091] Based on the condition information, a text screening condition for the target field is generated.

[0092] Obtain a text template corresponding to the text screening condition.

[0093] The view identifier of the preset view, the text screening condition and the text template are associated and stored as a text generation data set.

[0094] In actual applications, the copywriter can enter conditional information for the target field in the preset view on a certain operation page of the server, and the conditional information can be conditional information of the field value of the target field. For example, for the target field "hobby", the conditional information "sports" can be entered, and for the target field "user terminal location area", the conditional information "Area A" can be entered, and so on.

[0095] Based on the condition information, a text screening condition for the target field can be generated. The generated text screening condition can include the condition information. For example, if the input condition information is "sports" and "A region", the generated text screening condition can be "hobby is sports, belongs to A region".

[0096] In the embodiments of this specification, the copy template can also be preset by the copy designer. Different copy screening conditions can correspond to different copy templates, thereby achieving a copy display effect of "one thousand faces for one thousand people".

[0097] Alternatively, different copywriting screening conditions can also correspond to the same copywriting template. For example, the copywriting screening conditions for hobbies such as "football" and "basketball" can both correspond to copywriting templates related to hobbies. This can reduce the workload of copywriting template setting and improve the efficiency of copywriting template setting.

[0098] The corresponding relationship among the view identifier, the text screening condition and the text template may be preset. Specifically, the view identifier, the text screening condition and the text template may be associated and stored as a text generation data set.

[0099] In the embodiment of the present specification, the copy template may further include a field placeholder, which is used to indicate the position of the field value filled in the specified field. The field value of the specified field may be a field value related to the user or user terminal that generates the copy information acquisition request, thereby, based on the copy template, copy information related to the user or user terminal can be generated, realizing the display of copy information for "thousands of people with different faces" and improving the user experience.

[0100] Optionally, the acquiring of the text template corresponding to the text screening condition may specifically include: Acquire the selection operation for the specified field in the preset view and the manually input template text information.

[0101] Based on the selection operation and the template text information, a text template corresponding to the text screening condition is generated; the text template includes a field placeholder, and the field placeholder is used to indicate the position of the field value filled in the specified field.

[0102] The selection operation can be used to set field placeholders in the template text information. Therefore, the copy template can include field placeholders and template text information. For example, the template text information can be "Sunny young man who loves sports, this set of equipment is most suitable for you!" The copy designer can perform a selection operation on the name field in the view, so as to set the field placeholder related to the name in the template text information. The resulting copy template can be "Sunny young man who loves sports {userBasicInfo.name}, this set of equipment is most suitable for you!", where {userBasicInfo.name} can be a field placeholder, which is used to indicate the location of the field value filled in the name field.

[0103] In actual applications, a display page may include multiple location areas for displaying text information. In the embodiment of this specification, text information can be generated for multiple location areas of a display page respectively to improve the display effect of the text information. Optionally, the display page includes two or more location areas for displaying text information. In response to the text information acquisition request, obtaining a text generation data set associated with the display page may specifically include: In response to the copy information acquisition request, for a target location area among the two or more location areas, a copy generation data set associated with the target location area is acquired.

[0104] If the field value of the target field satisfies the text screening condition, generating text information for display on the display page based on the text template may specifically include: If the field value of the target field meets the text screening condition, text information for display in the target location area is generated based on the text template.

[0105] In the embodiment of this specification, the multiple location areas may be more than two location areas.

[0106] Optionally, the target location area may be any location area of ​​the two or more location areas. A copywriting generation data set associated with the target location area may be obtained, and then copywriting information for display in the target location area may be generated based on a copywriting template in the copywriting generation data set.

[0107] In the embodiment of the present specification, the target location area can be associated with one or at least two copywriting generation data sets. Assuming that the target location area is associated with at least two copywriting generation data sets, then for the target location area, at least two copywriting information can be generated using copywriting generation templates in at least two copywriting generation data sets, and then the preferred copywriting information in the at least two copywriting information can be displayed to improve the user experience. Optionally, in response to the copywriting information acquisition request, acquiring the copywriting generation data set associated with the display page may specifically include: In response to the copy information acquisition request, a first copy generation data set and a second copy generation data set associated with the target location area are acquired.

[0108] Generating the copy information for displaying on the display page based on the copy template may specifically include: First copy information for display in the target location area is generated based on a first copy template in the first copy generation data set.

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

[0110] A preset copy screening engine is used to determine target copy information for display in the target location area from the first copy information and the second copy information; wherein the copy screening engine is used to determine copy information with better user guidance effect from two or more copy information; the user guidance effect is used to reflect the probability of a user executing the operation guided by the specified copy information after browsing the specified copy information.

[0111] In actual applications, the copy information can be used to guide user operations. For example, it can guide users to click. For example, in the search promotion scenario, the copy information can be used to guide users to click on the link of the product indicated by the copy information. For another example, the copy information can guide users to browse, such as guiding users to browse the relevant introduction of the product indicated by the copy information.

[0112] The probability that a user performs an operation guided by the specified copy information after browsing the specified copy information can be determined based on historical data, for example, the probability can be determined by using the number of times a user group browses the specified copy information within a certain period of time and the number of times the user group performs the operation guided by the specified copy information within the same period of time.

[0113] In the embodiments of the present specification, the copy screening engine can be used to determine the copy information with better user guidance effect from two or more copy information. The multiple copy information can be more than two copy information. For example, for a certain target location area, when there are multiple copy information options in the target location area, for any copy information, the probability of the user performing the operation guided by any copy information after browsing the any copy information is counted, and the copy information with better user guidance effect can be determined by comparing the statistically obtained probabilities.

[0114] As an implementation method, the preset text screening engine can be a rule set constructed based on a series of rules. These rules represent the conditions for screening text information, such as whether the amount of information contained in the text information reaches a preset information amount threshold, whether the text information contains keywords, etc.

[0115] As an implementation method, the preset copy screening engine may also be a pre-trained network model, which may be a model for determining target copy information from two or more copy information. For example, copy information marked with a guidance effect label may be used as a training sample to train a network model for predicting the user guidance effect of copy information, and then the trained network model may be used to predict the user guidance effects of two or more copy information, and then the copy information with the better predicted user guidance effect may be used as the target copy information.

[0116] Optionally, the target text information for display in the target position area may be randomly selected from the first text information and the second text information, which is not limited here.

[0117] After determining the copy information with better user guidance effect, the copy information can also be displayed at the target location to show it to the user. Optionally, after generating the copy information for display in the display page based on the copy template, the following steps can also be included: The target copy information is displayed at the target position.

[0118] The text screening condition in the embodiment of this specification may include a text screening sub-condition. In this way, when judging whether the field value of the target field meets the text screening condition, it is only necessary to judge whether the field value of the target field meets this text screening sub-condition to quickly obtain the judgment result, which simplifies the data processing work and improves the efficiency of text information generation.

[0119] In order to further realize the display of copy information for "one thousand faces for one thousand people", the copy screening condition of the embodiment of this specification may also include two or more copy screening sub-conditions. For example, the copy screening sub-condition that the area where the user terminal is located belongs to "Area A" and the copy screening sub-condition that the user terminal type is "smartphone" can together form a copy screening condition.

[0120] In the embodiment of the present specification, the multiple text screening sub-conditions may be more than two text screening sub-conditions.

[0121] As an implementation mode, when the field value of the target field satisfies all the text screening sub-conditions, the text information can be generated. Optionally, the step of determining whether the field value of the target field satisfies the text screening condition can specifically include: if the field value of the target field satisfies all of the two or more text screening sub-conditions, then generating the text information for display on the display page based on the text template.

[0122] In this case, each copy screening sub-condition is combined into a copy screening condition in a logical relationship of "and". For example, the target field may include "the region where the user terminal is located" and "the type of user terminal used by the user". If the requester of the current copy information acquisition request satisfies both the copy screening sub-conditions that the region where the user terminal is located belongs to "region A" and the user terminal type is "smartphone", it can be regarded as satisfying the corresponding copy screening condition, and then the copy information can be generated to be displayed to the requester.

[0123] In actual applications, in order to quickly generate text information for display on the display page, when the text screening condition includes two or more text screening sub-conditions, it is not necessary to determine whether the field value of the target field satisfies all the text screening sub-conditions, but it is determined whether the field value of the target field satisfies any of the text screening sub-conditions, so that the text information can be quickly generated when any of the text screening sub-conditions is met. Optionally, the determination of whether the field value of the target field satisfies the text screening condition may specifically include: if the field value of the target field satisfies any of the two or more text screening sub-conditions, then generating the text information for display on the display page based on the text template.

[0124] In this case, each copy screening sub-condition is combined into a copy screening condition in the logical relationship of "or". For example, the target field may include "the region where the user terminal is located" and "the type of user terminal used by the user". If the requester of the current copy information acquisition request satisfies any one of the copy screening sub-conditions that the region where the user terminal is located belongs to "region A" or the user terminal type is "smartphone", it can be regarded as satisfying the corresponding copy screening condition, and then the copy information can be generated to be displayed to the requester.

[0125] In order to further simplify data processing and improve the efficiency of copywriting information generation, the content of the copywriting template can be used as copywriting information in the embodiments of this specification. Optionally, the copywriting information generated based on the copywriting template for display on the display page may specifically include: The content of the text template is determined as the text information for display in the display page.

[0126] For example, if the copy template can be "Sunny young people who love sports, this set of equipment is most suitable for you!", the content of the copy template can be used as the copy information. The copy information obtained at this time can be "Sunny young people who love sports, this set of equipment is most suitable for you!".

[0127] In order to realize the display of copy information that is "different for different people" and improve the user experience, when generating copy information, the field value of the specified field corresponding to the field placeholder can be obtained from the view, and then the copy information containing the field value of the specified field can be obtained. Thus, copy information related to the user or user terminal can be generated based on the copy template. Optionally, the copy information generated for display in the display page based on the copy template can specifically include: The field value of the designated field corresponding to the field placeholder is obtained from the view represented by the view identifier.

[0128] The field placeholder is replaced with the field value of the specified field to obtain the copy information corresponding to the copy template.

[0129] Assume that the copy template is "Sunny young man who loves sports {userBasicInfo.name}, this set of equipment is the most suitable for you!", where {userBasicInfo.name} can be a field placeholder, which is used to indicate the location of the field value filled in the name field. If the field value of the name field obtained from the view represented by the view identifier is Zhang San, then {userBasicInfo.name} in the copy template can be replaced with Zhang San, and the resulting copy information can be "Sunny young man who loves sports Zhang San, this set of equipment is the most suitable for you!" In actual applications, there may be a situation where the field value of the target field does not meet the text screening condition. In this case, if the text information displayed on the display page is not generated, the user experience will be reduced. Therefore, in order to improve the user experience, when the field value of the target field does not meet the text screening condition, the embodiment of this specification can determine the default text information as the text information for display on the display page. Optionally, the text generation method may also include: If the field value of the target field does not satisfy the text screening condition, the default text information is determined as the text information for display in the display page.

[0130] In the embodiment of the present specification, the default copy information may be copy information applicable to different target fields or field values ​​of different target fields. In other words, the default copy information may be copy information applicable to different user terminals or different users. For example, the default copy information may be "This set of equipment is most suitable for you!".

[0131] The generated copy information can be used to display to the user. Optionally, after the copy information for displaying in the display page is generated based on the copy template, the following steps may also be included: The text information is displayed in the display page.

[0132] In the embodiment of the present specification, one copy screening condition may correspond to two or more copy templates, and two or more copy information may be generated based on the two or more copy templates, and then at least part of the two or more copy information is displayed on the display page to improve the user experience. Optionally, the copy information generated based on the copy template for display on the display page may specifically include: If the field value of the target field meets the copy screening condition, two or more copy information are generated based on the two or more copy templates for display in the display page; wherein the copy templates in the two or more copy templates correspond one-to-one to the copy information in the two or more copy information.

[0133] The displaying of the copywriting information in the display page may specifically include: According to a preset multi-template display rule, at least part of the two or more pieces of text information are displayed in the display page.

[0134] In the embodiments of this specification, the multiple copy templates may be more than two copy templates. The multiple copy information may be more than two copy information. One copy template may correspond to one copy information, and one copy information may be generated based on one copy template.

[0135] In the embodiment of the present specification, the preset multi-template display rule may be to display at least part of the copy information simultaneously, or to display at least part of the copy information in a scrolling manner. Optionally, displaying at least part of the copy information of the two or more copy information on the display page according to the preset multi-template display rule may specifically include: In the display page, at least part of the two or more pieces of copy information are displayed simultaneously.

[0136] or, In the display page, the first copywriting information among the two or more copywriting information is displayed.

[0137] After a preset time from the moment when the first copy information is displayed, the second copy information among the two or more copy information is displayed in the display page.

[0138] Simultaneously displaying at least part of two or more pieces of text information may be displaying one piece of text information among the two or more pieces of text information, or displaying at least two pieces of text information among the two or more pieces of text information.

[0139] In the embodiment of the present specification, the first copy information may be the copy information with better user guidance effect among two or more copy information. The preset copy screening engine mentioned above may be used to determine the first copy information from the two or more copy information.

[0140] The second copy information may be a copy information with a better user guidance effect among the two or more copy information except the first copy information. The preset copy screening engine mentioned above may also be used to determine the second copy information.

[0141] Optionally, the second text information may also be any text information among the two or more text information except the first text information, which is not limited here.

[0142] In the embodiments of this specification, the preset duration may be a fixed duration, such as 3 seconds, 5 seconds or 10 seconds, etc. The fixed duration may also be determined according to actual needs and is not limited here.

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

[0144] As an implementation method, the preset multi-template display rule can also be to display all the copy information in sequence. For example, all the copy information can be sorted according to the user guidance effect, and the copy information with better user guidance effect is placed before the copy information with poor user guidance effect. Then, according to the sorting result, all the copy information is displayed in sequence on the display page according to the above preset time.

[0145] 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 are not described one by one. Therefore, any combination of the various technical features in the above embodiments also falls within the scope of this specification.

[0146] Figure 3 FIG. 1 is a processing flow chart of a method for generating a text provided by an embodiment of the present application. Figure 3 As shown, the method may include the following steps.

[0147] Step 302: Generate text screening conditions.

[0148] In the embodiments of this specification, the text screening condition may be set by the text designer. For example, the text designer may input condition information for a target field in a preset view on a certain operation page of the server, and the condition information may be condition information for the field value of the target field. Afterwards, the server may generate a text screening condition for the target field based on the condition information.

[0149] Step 304: Obtain a copywriting template.

[0150] In the embodiments of this specification, the copy template may also be set by a copy designer.

[0151] Optionally, the copywriting template may be a template in text format.

[0152] In actual applications, there is a corresponding relationship between the copy template and the copy screening condition. The acquired copy template may be a copy template corresponding to the copy screening condition.

[0153] For example, the copy designer may first set a copy template, and then set a copy screening condition corresponding to the copy template. Alternatively, the copy designer may first set a copy screening condition, and then set a copy template corresponding to the copy screening condition, which is not limited here.

[0154] Step 306: Obtain a copywriting generation data set including a view identifier, copywriting screening conditions, and a copywriting template.

[0155] In the embodiments of the present specification, a copy generation data set may be preset. For example, the view identifier of the preset view, the copy screening condition, and the copy template corresponding to the copy screening condition are pre-associated and stored as a copy generation data set. The copy generation data set may include the corresponding relationship between the view identifier, the copy screening condition, and the copy template.

[0156] The copywriting data set can be stored in a server or in a user terminal, etc.

[0157] The copywriting generation data set can be used to subsequently generate copywriting information for the display page.

[0158] For the content about the setting process of copy screening conditions, copy templates, copy data sets and copy generation data sets, please refer to the previous introduction and will not be repeated here.

[0159] Step 308: In response to the copy information acquisition request, a copy generation data set associated with the display page is acquired.

[0160] In actual applications, the user may perform a triggering operation on the user terminal to trigger the display of the display page, and then the display interface on the terminal may display the display page.

[0161] Furthermore, the user terminal may generate a copy information acquisition request for a display page based on a trigger operation of the user. The copy information acquisition request may carry a first page identifier of a display page to be displayed.

[0162] The server may respond to the copy information acquisition request and acquire a copy generation data set associated with the display page based on the first page identifier.

[0163] Step 310: Determine whether the field value of the target field in the view represented by the view identifier satisfies the text screening condition.

[0164] Step 312: If yes, generate copywriting information based on the copywriting template.

[0165] In the embodiment of the present specification, the content of the copy template may be determined as copy information for display on the display page.

[0166] Alternatively, the field value of the specified field corresponding to the field placeholder in the copy template can be obtained from the view represented by the view identifier, and the field placeholder is replaced with the field value of the specified field to obtain the copy information corresponding to the copy template.

[0167] As an implementation method, in order to improve the user experience, if the field value of the target field in the view represented by the view identifier does not meet the copy filtering conditions, the content of the copy template can also be determined as the copy information for display in the display page, or the default copy information can be determined as the copy information for display in the display page.

[0168] For the specific copywriting information generation process, please refer to the relevant introduction in the previous article, which will not be repeated here.

[0169] Based on the same idea, the embodiments of this specification also provide a device corresponding to the above method.

[0170] Figure 4 The embodiments of this specification provide corresponding to Figure 2 A schematic diagram of the structure of a copywriting generation device. Figure 4 As shown, the device may include: The request receiving module 402 is used to obtain a copy information acquisition request for a display page; the display page is a page that needs to be displayed on the display interface of the user terminal.

[0171] The data set acquisition module 404 is used to respond to the copy information acquisition request and obtain the copy generation data set associated with the display page; the copy generation data set includes a view identifier, a copy filtering condition and a copy template corresponding to the copy filtering condition; the copy filtering condition is set for the target field in the view represented by the view identifier.

[0172] 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.

[0173] The condition judgment module 408 is used to judge whether the field value of the target field meets the text screening condition.

[0174] The text generation module 410 is configured to generate text information for display on the display page based on the text template if the field value of the target field meets the text screening condition.

[0175] based on Figure 4 The present specification also provides some specific implementation schemes of the method, which are described below.

[0176] Optionally, the copywriting generation module 410 may be specifically used for: The content of the text template is determined as the text information for display in the display page.

[0177] Optionally, the text template includes field placeholders; the text generation module 410 may be specifically used for: The field value of the designated field corresponding to the field placeholder is obtained from the view represented by the view identifier.

[0178] The field placeholder is replaced with the field value of the specified field to obtain the copy information corresponding to the copy template.

[0179] Optionally, the text screening condition specifically includes two or more text screening sub-conditions; the condition judgment module 408 can be specifically used to: If the field value of the target field satisfies all of the two or more text screening sub-conditions, text information for display in the display page is generated based on the text template.

[0180] Optionally, the device may further include: The first display module is used to display the text information in the display page.

[0181] Optionally, one copy screening condition corresponds to two or more copy templates; the copy generation module 410 may be specifically used for: If the field value of the target field meets the copy screening condition, two or more copy information are generated based on the two or more copy templates for display in the display page; wherein the copy templates in the two or more copy templates correspond one-to-one to the copy information in the two or more copy information.

[0182] The first display module can be specifically used for: According to a preset multi-template display rule, at least part of the two or more pieces of text information are displayed in the display page.

[0183] Optionally, displaying at least part of the two or more pieces of copy information on the display page according to a preset multi-template display rule may specifically include: In the display page, at least part of the two or more pieces of copy information are displayed simultaneously; or, In the display page, display the first copy information among the two or more copy information; After a preset time from the moment when the first copy information is displayed, the second copy information among the two or more copy information is displayed in the display page.

[0184] Optionally, the display page includes two or more position areas for displaying text information; the data set acquisition module 404 may be specifically used for: In response to the copy information acquisition request, for a target location area among the two or more location areas, a copy generation data set associated with the target location area is acquired.

[0185] The copywriting generation module 410 can be specifically used for: If the field value of the target field meets the text screening condition, text information for display in the target location area is generated based on the text template.

[0186] Optionally, the data set acquisition module 404 may be specifically used to: In response to the copy information acquisition request, a first copy generation data set and a second copy generation data set associated with the target location area are acquired.

[0187] The copywriting generation module 410 can be specifically used for: First copy information for display in the target location area is generated based on a first copy template in the first copy generation data set.

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

[0189] A preset copy screening engine is used to determine target copy information for display in the target location area from the first copy information and the second copy information; wherein the copy screening engine is used to determine copy information with better user guidance effect from two or more copy information; the user guidance effect is used to reflect the probability of a user executing the operation guided by the specified copy information after browsing the specified copy information.

[0190] Optionally, the device may further include: The second display module is used to display the target text information at the target position.

[0191] Optionally, the device may further include: The condition information acquisition module is used to obtain the manually input condition information for the target field in the preset view. The document screening condition generating module is used to generate the document screening condition about the target field based on the condition information.

[0192] The document template acquisition module is used to acquire the document template corresponding to the document screening condition.

[0193] The data storage module is used to associate and store the view identifier of the preset view, the text screening condition and the text template as a text generation data set.

[0194] Optionally, the copy template acquisition module can be specifically used for: Acquire the selection operation for the specified field in the preset view and the manually input template text information.

[0195] Based on the selection operation and the template text information, a text template corresponding to the text screening condition is generated; the text template includes a field placeholder, and the field placeholder is used to indicate the position of the field value filled in the specified field.

[0196] It is understood that the above modules refer to computer programs or program segments for executing one or more specific functions. In addition, the distinction between the above modules does not mean that the actual program codes must also be separated.

[0197] The above is a schematic scheme of a copywriting generation device of this embodiment. It should be noted that the technical scheme of the copywriting generation device and the technical scheme of the copywriting generation method described above are of the same concept, and the details not described in detail in the technical scheme of the copywriting generation device can be referred to the description of the technical scheme of the copywriting generation method described above.

[0198] Based on the same idea, the embodiments of this specification also provide a device corresponding to the above method.

[0199] Figure 5 The embodiments of this specification provide corresponding to Figure 2 A schematic diagram of the structure of a copywriting generation device. Figure 5 As shown, the device 500 may include: at least one processor 510; and, A memory 530 in communication with the at least one processor; wherein, The memory 530 stores instructions 520 executable by the at least one processor 510. The instructions are executed by the at least one processor 510 to enable the at least one processor 510 to: A copy information acquisition request for a display page is obtained; the display page is a page that needs to be displayed on a display interface on a user terminal.

[0200] In response to the copy information acquisition request, a copy generation data set associated with the display page is acquired; the copy generation data set includes a view identifier, a copy filtering condition, and a copy template corresponding to the copy filtering condition; the copy filtering condition is set for a target field in the view represented by the view identifier.

[0201] Obtain the field value of the target field from the view represented by the view identifier; and determine whether the field value of the target field satisfies the text screening condition.

[0202] If the field value of the target field satisfies the text screening condition, text information for display in the display page is generated based on the text template.

[0203] The above is a schematic scheme of a copywriting generation device of this embodiment. It should be noted that the technical scheme of the copywriting generation device and the technical scheme of the copywriting generation method described above are of the same concept, and the details not described in detail in the technical scheme of the copywriting generation device can be referred to the description of the technical scheme of the copywriting generation method described above.

[0204] Based on the same idea, the embodiments of this specification also provide a computer-readable medium corresponding to the above method.

[0205] The computer-readable medium stores computer-readable instructions, which can be executed by a processor to implement the following method: A copy information acquisition request for a display page is obtained; the display page is a page that needs to be displayed on a display interface on a user terminal.

[0206] In response to the copy information acquisition request, a copy generation data set associated with the display page is acquired; the copy generation data set includes a view identifier, a copy filtering condition, and a copy template corresponding to the copy filtering condition; the copy filtering condition is set for a target field in the view represented by the view identifier.

[0207] Obtain the field value of the target field from the view represented by the view identifier; and determine whether the field value of the target field satisfies the text screening condition.

[0208] If the field value of the target field satisfies the text screening condition, text information for display in the display page is generated based on the text template.

[0209] The above is a schematic scheme of a computer-readable storage medium of this embodiment. It should be noted that the technical scheme of the storage medium and the technical scheme of the above-mentioned copywriting generation method belong to the same concept, and the details not described in detail in the technical scheme of the storage medium can be referred to the description of the technical scheme of the above-mentioned copywriting generation method.

[0210] Based on the same idea, the embodiments of this specification also provide a computer program product corresponding to the above method.

[0211] The computer program product includes a computer program / instruction, which implements the steps of the above-mentioned copywriting generation method when executed by a processor.

[0212] The above is a schematic scheme of a computer program product of this embodiment. It should be noted that the technical scheme of the computer program product and the technical scheme of the above-mentioned copywriting generation method belong to the same concept, and the details not described in detail in the technical scheme of the computer program product can be referred to the description of the technical scheme of the above-mentioned copywriting generation method.

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

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

[0215] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0216] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented 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.

[0217] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0218] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0219] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

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

[0221] Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.

[0222] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules 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 technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined in this article, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0223] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0224] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0225] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0226] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A copywriting generation method, comprising: Get the copy information acquisition request for the display page; The display page is a page that needs to be displayed on the display interface of the user terminal; In response to the copy information acquisition request, acquiring a copy generation data set associated with the display page; the copy generation data set includes a view identifier, a copy screening condition, and a copy template corresponding to the copy screening condition; The text screening condition is set for the target field in the view represented by the view identifier; Obtaining a 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 screening condition; If the field value of the target field satisfies the text screening condition, text information for display in the display page is generated based on the text template.

2. The method according to claim 1, wherein generating the copy information for displaying on the display page based on the copy template specifically comprises: The content of the text template is determined as the text information for display in the display page.

3. The method according to claim 1, wherein the text template includes a field placeholder; and generating text information for display on the display page based on the text template specifically comprises: Obtaining, from the view represented by the view identifier, a field value of a specified field corresponding to the field placeholder; The field placeholder is replaced with the field value of the specified field to obtain the copy information corresponding to the copy template.

4. The method of claim 1, wherein: The text screening condition specifically includes two or more text screening sub-conditions; the determining whether the field value of the target field satisfies the text screening condition specifically includes: If the field value of the target field satisfies all of the two or more text screening sub-conditions, text information for display in the display page is generated based on the text template.

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

6. The method according to claim 5, wherein one copy selection condition corresponds to two or more copy templates; and the step of generating copy information for display on the display page based on the copy templates specifically comprises: If the field value of the target field meets the text screening condition, two or more text information pieces are generated for display in the display page based on the two or more text templates; wherein the text templates in the two or more text templates correspond to the text information in the two or more text information pieces one by one; The displaying of the copywriting information on the display page specifically includes: According to a preset multi-template display rule, at least part of the two or more pieces of text information are displayed in the display page.

7. The method according to claim 6, wherein displaying at least part of the two or more pieces of text information in the display page according to a preset multi-template display rule specifically comprises: In the display page, at least part of the two or more pieces of copy information are displayed simultaneously; or, In the display page, display the first copy information among the two or more copy information; After a preset time from the moment when the first copy information is displayed, the second copy information among the two or more copy information is displayed in the display page.

8. The method of claim 1, wherein: The display page includes two or more position areas for displaying text information; the step of obtaining, in response to the text information acquisition request, a text generation data set associated with the display page specifically includes: In response to the copy information acquisition request, for a target location area among the two or more location areas, acquiring a copy generation data set associated with the target location area; If the field value of the target field meets the text screening condition, generating text information for display on the display page based on the text template specifically includes: If the field value of the target field meets the text screening condition, text information for display in the target location area is generated based on the text template.

9. The method according to claim 8, wherein in response to the copy information acquisition request, acquiring the copy generation data set associated with the display page specifically comprises: In response to the copy information acquisition request, acquiring a first copy generation data set and a second copy generation data set associated with the target location area; The generating of the copy information for displaying on the display page based on the copy template specifically includes: generating first copy information for display in the target location area based on a first copy template in the first copy generation data set; generating second copy information for display in the target location area based on a second copy generation template in the second copy generation data set; A preset copy selection engine is used to determine target copy information for display in the target location area from the first copy information and the second copy information; wherein the copy selection engine is used to determine copy information with a better user guidance effect from two or more copy information; the user guidance effect is used to reflect the probability of a user performing an operation guided by the specified copy information after browsing the specified copy information; After the copy information for displaying on the display page is generated based on the copy template, the method further includes: The target copy information is displayed at the target position.

10. The method according to claim 1, before obtaining the copywriting generation data set associated with the display page in response to the copywriting information acquisition request, further comprising: Obtain manually entered conditional information for a target field in a preset view; Based on the condition information, generating a copywriting screening condition for the target field; Obtaining a copywriting template corresponding to the copywriting screening condition; The view identifier of the preset view, the text screening condition and the text template are associated and stored as a text generation data set.

11. The method according to claim 10, wherein obtaining a text template corresponding to the text screening condition comprises: Obtaining a selection operation for a specified field in the preset view and manually input template text information; Based on the selection operation and the template text information, generating a text template corresponding to the text screening condition; The text template includes a field placeholder, and the field placeholder is used to indicate the position of the field value filled in the specified field.

12. A copywriting generation device, comprising: A request receiving module, used to obtain a copy information acquisition request for a display page; The display page is a page that needs to be displayed on the display interface of the user terminal; A data set acquisition module, configured to acquire a copy generation data set associated with the display page in response to the copy information acquisition request; the copy generation data set includes a view identifier, a copy screening condition, and a copy template corresponding to the copy screening condition; The text screening condition is set for the target field in the view represented by the view identifier; A field value acquisition module, used to acquire the field value of the target field from the view represented by the view identifier; A condition judgment module, used to judge whether the field value of the target field meets the text screening condition; The text generation module is used to generate text information for display in the display page based on the text template if the field value of the target field meets the text screening condition.

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, the instructions being executed by the at least one processor to enable the at least one processor to: Obtaining a copy information acquisition request for a display page; the display page is a page that needs to be displayed on a display interface on a user terminal; In response to the copy information acquisition request, a copy generation data set associated with the display page is acquired; the copy generation data set includes a view identifier, a copy screening condition, and a copy template corresponding to the copy screening condition; the copy screening condition is set for a target field in the view represented by the view identifier; Obtaining the field value of the target field from the view represented by the view identifier; determining 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, text information for display in the display page is generated based on the text 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

  • Cboth information processing method and device, electronic equipment and computer readable medium

    CN114970470A

  • Page copywriting processing method and device, electronic equipment and storage medium

    CN118503513A

  • Copywriting generation method and apparatus, model training method and apparatus, and device and storage medium

    WO2023221934A1